About me

Hello, I'm Rakib, currently serving as a lecturer in the Department of CSE, United International University. I completed my Bachelor's degree at the Bangladesh University of Engineering and Technology (BUET).

My primary interest lies in Trustworthy AI. I have research experience in exploring adversarial attacks on large language models. Recently I collaborated with Md Rafi Ur Rashid (Penn State University), where we developed a novel single-query jailbreak attack that exploits attention dilution phenomenon to achieve a significantly higher jailbreak success rate against the latest LLMs.

My undergraduate thesis focuses on applying computer vision techniques to detect methane emissions using satellite imagery, under the supervision of Dr. Tanzima Hashem (BUET). We developed a robust methane detection framework using Unet enhanced with attention gates and spectral indices.

I am actively looking for fully funded PhD opportunities, targetting Fall '26 admissions.

You can download my CV from here.

Outside of academics, I enjoy working on generative art (also known as algorithmic art) where intricate visuals are produced using code. You can see some of my artworks here.

Research Interests

  1. Trustworthy AI

  2. Computer Vision

  3. Deep Learning

Research Experience

  1. '*' denotes equal contribution

  1. SequentialBreak: Large Language Models Can be Fooled by Embedding Jailbreak Prompts into Sequential Prompt Chains (2024-2025)

    Bijoy Ahmed Saiem*, MD Sadik Hossain Shanto*, Rakib Ahsan*, Md Rafi ur Rashid

    Trustworthy AI, Adversarial ML

    [DOI]

    With collaboration with Md Rafi Ur Rashid (Penn State University), we developed a novel automated jailbreak attack for LLMs. Our methodology exploited the attention dilution phenomenon by embedding the harmful prompt within a series of benign prompts in a single query. We showed three different example attack scenarios where sequential prompt structure can be used to elicit harmful responses. While existing jailbreak methods often require multiple rounds for success, our one-shot attack achieved a substantially high attack success rate against recent LLM models like Llama-3 and GPT-4o.

  2. A Survey of Attacks and Defenses in LLM Agents and Vision‑Language Models (2025-Current)

    Bijoy Ahmed Saiem*, MD Sadik Hossain Shanto*, Raihan Sobhan*, Rakib Ahsan*, Md Rafi ur Rashid

    (Accepted) ACL Student Research Workshop (SRW) 2025

    Trustworthy AI

    Ongoing project on a comprehensive survey in collaboration with Md Rafi Ur Rashid (Penn State University), examining the landscape of attacks and defenses targeting large language model (LLM) agents and vision-language models. The survey covers a broad spectrum of security threats, including adversarial attacks, jailbreaks, data poisoning, backdoors, privacy breaches, and model extraction attacks.

  3. AttMetNet: Attention-Enhanced Deep Neural Network for Methane Plume Detection in Sentinel-2 Satellite Imagery (2024-2025)

    Undergraduate Thesis

    Rakib Ahsan*, MD Sadik Hossain Shanto*, Md Sultanul Arifin, Tanzima Hashem

    Under preparation for "NeurIPS 2025 Workshop: Tackling Climate Change with Machine Learning"

    Computer Vision, Remote Sensing

    Undergraduate thesis project under Dr. Tanzima Hashem (BUET). Methane is the second-largest contributor to greenhouse gas emissions, and its reduction offers a rapid path to limiting global temperature rise. Our aim in this work is to develop a lightweight framework that outputs accurate segmentation masks of methane plumes from multispectral satellite imagery. For segmentation model, we enhanced U-net with attention gates for improved focus in methane-specific region. We also showed that introducing spectral indices as an extra input channel significantly improves segmentation boundaries. Experiments show that our method outperforms the state-of-the-art detection methods in real-world conditions.

  4. DFCon: Attention-Driven Supervised Contrastive Learning for Robust Deepfake Detection (2024)

    MD Sadik Hossain Shanto*, Mahir Labib Dihan*, Souvik Ghosh*, Riad Ahmed Anonto*, Hafijul Hoque Chowdhury*, Abir Muhtasim*, Rakib Ahsan*, MD Tanvir Hassan*, MD Roqunuzzaman Sojib*, Sheikh Azizul Hakim, M. Saifur Rahman

    Computer Vision

    [arxiv]

    This work originated from our submission to the IEEE SPS Signal Processing Cup 2025, where our team (Straw Hats) was the 1st runner-up. The task involved classifying human faces as deepfake or real. Our approach utilized MaxViT, CoAtNet, and EVA‑02 as backbone models, fine-tuned with supervised contrastive loss to enhance feature separation. Final predictions were obtained through a majority voting ensemble across the backbone classifiers.

Experience

  1. Lecturer (Full-time)

    Department of Computer Science and Engineering,

    United International University

    April 2024 — Present

    Courses taken:

    1. CSE 2233: Theory of Computation; CSE 2215: Data Structure and Algorithms I [Spring 2025]

    2. CSE 2213: Discrete Mathematics; CSE 4509: Operating Systems [Summer 2025]

    3. CSE 3712: Computer Networks Lab; CSE 4510: Operating Systems Lab [Spring 2025, Summer 2025]

Education

  1. B.Sc., Computer Science and Engineering

    Bangladesh University of Engineering and Technology

    February 2020 — March 2025

    CGPA: 3.90/4.00

    Notable Courses: Machine Learning, Computer Security, Computer Networks, Artificial Intelligence, Computer Graphics, Software Engineering, Operating System, Compiler

  2. Higher Secondary School Certificate (HSC)

    Dinajpur Govt. College

    2017 — 2019

    GPA: 5.00/5.00

  3. Secondary School Certificate (SSC)

    Dinajpur Zilla School

    2015 — 2017

    CGPA: 5.00/5.00

Technical Skills

  1. Programming Languages

    C/C++, C\#, Java, Python, Javascript, x86 Assembly, SQL, Bash

  2. Tools & Softwares

    Git, Shell, LaTeX, Cisco Packet Tracer, Unity Engine, WireShark, Metasploit

  3. Machine Learning

    Pytorch, Numpy, Pandas, Gymnasium, Matplotlib, Scikit‑learn, Seaborn, OpenCV

  4. Dev Frameworks

    NodeJS, ReactJS, Bootstrap, Tailwind CSS, P5.js

Projects

  • Coastline Detection using Satellite Imagery

    ppml

    View on Github

    Pytorch, OpenCV, SentinelHub, Google Earth Engine

    A deep learning semantic segmentation taskto segment coastline land and water area. 12 channel Sentinel‑2 images were preprocessed and fed to different segmentation models for comparison. Unet, Unet with attention and transformer‑based segmentation models were becnhmarked. This was a term Project for CSE 472: Machine Learning Sessional offered by the CSE Department of BUET.

  • Convolutional Neural Network from Scratch

    ppml

    View on Github

    Numpy, Seaborn, Matplotlib

    A complete neural network framework implemented from scratch using only NumPy without using high-level frameworks like TensorFlow or PyTorch. Implemented forward/backward propagation, activation functions (ReLU, Sigmoid, SoftMax), loss functions (Cross-entropy loss), Optimizers (SGD and Adam), dropout, batch normalization and early stopping. For model training and testing, FashionMNIST dataset was used.

  • DormEase: A Dormitory Management System

    ns3

    View on Github

    NodeJS, Express, ReactJS, Tailwind CSS, Supabase

    DormEase is a dormitory management system simplifying the processes of room allotment, mess managing and complaint resolution. Residents and administrators can communicate with a dedicated new feed and noticeboard. This was a term Project for CSE 408: Software Development Sessional offered by the CSE Department of BUET.

  • HomeSpace: A Home Rental Solution

    forage

    View on Github

    NodeJS, Express JS, Oracle DB, Handlebars

    A web app for seamless rental property booking. Home owners can register and list their rental homes while tenants can browse and book. Monthly bill tracking, maintenance tracking and messaging features are also availabe. This was the term Project for CSE 216: Database Sessional offered by the CSE Department of BUET.

  • Deep Q-Learning Maze Solver

    forage

    View on Github

    Pytorch, Gymnasium, Numpy

    deep Q‑learning (DQN) agent implemented to solve a maze represented as a grid. This project demonstrates reinforcement learning applied to maze navigation problems.

  • TCP Adaptive Reno with NS-3

    forage

    View on Github

    NS-3

    With NS-3, TCP Adaptive Reno algorithm is implemented that adaptively adjusts its behavior based on network conditions. TCP Adaptive Reno extends TCP Westwood+ with RTT-based congestion estimation and dynamic window sizing. A dumbbell topology was used for comparing TCP algorithms.

  • Compiler from scratch

    compiler

    View on Github

    Flex, Bison

    A compiler for subset of C language is made from scratch using flex and bison. This assignments are for the CSE 310: Compiler Sessional course offered by the CSE Department of BUET.

  • Ray Tracing

    forage

    View on Github

    Graphics, OpenGL

    Followed by implementation of the raster based graphics pipeline, implemented ray tracing using OpenGL. This was the term project for the CSE 410: Computer Graphics Sessional course offered by the CSE Department of BUET.

Achievements

Competitions & Awards

  1. 1st Runner Up - IEEE SPS Signal Processing Cup 2025 [event link]

    The competition task was to identify images whether they are real or fake. Our team, Straw Hats, became 1st-runner up in the competition.

  2. University Merit Scholarship

    Awarded across four semesters for consistent academic excellence in undergraduate studies.

  3. Dean’s List

    Recognized on the Dean’s List every semester of the academic year.

  4. SSC & HSC board scholarships

Leadership Skills

  1. Organizer

    BUET CSE FEST 2024

    October 2024 - November 2024

    Worked as an organizer at the GameJam event. Also took an workshop on Game development using Unity for the same event.