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 co-first author

  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

    (Accepted) ACL Student Research Workshop (SRW) 2025



    [DOI] [Slides]

    When given multiple tasks at once, can LLMs effectively assess the safety of each task separately? In this work, I co-developed a novel blackbox jailbreak attack showing that LLMs tend to overlook harmful context while handling a series of prompts in a single query. While existing jailbreaks often require multiple rounds for success, our attack achieves a high success rate (~90% in JBB-Behaviors dataset) against recent LLMs with a single, simple query.
    Our strategy was to embed a harmful prompt within a series of benign ones, causing the model’s attention to be diluted across prompts and reducing its focus on the harmful prompt. We showed three different example attack scenarios (Question bank, dialog completion , and level-wise game scenario description) where sequential prompt structure can be used to elicit harmful responses. This research was done in collaboration with Penn State University.

  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

    Trustworthy AI

    [Writing Sample]

    As a follow-up to my previous collaboration, this is an ongoing project on a comprehensive survey examining the landscape of attacks and defenses targeting LLM agents and Vision-Language Models (VLMs). In this study, I aim to explore questions such as: What additional attack surfaces do multimodal models and AI agents introduce beyond those of unimodal LLMs? and To what extent and how can existing attacks and defenses for unimodal LLMs be adapted to multimodal models and agents?

  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

    Computer Vision, Remote Sensing

    Under preparation for ICASSP 2026


    Undergraduate thesis project under Dr. Tanzima Hashem (BUET). Methane detection and reduction offers a rapid path to limiting global temperature rise. But what makes methane detection a challenging segmentation problem? First, publicly available datasets are scarce and highly imbalanced, with a very high negative-to-positive ratio due to the scarcity of recorded methane leakage events. Second, the complex morphology of gas plumes and satellite data noise make the segmentation task even more difficult.

    Our contributions were mainly two: using U-Net with attention gates to dynamically focus on methane-specific regions, and demonstrating that spectral indices as an extra input channel can produce more accurate masks. We also address the high class imbalance in our dataset with focal loss. Our approach achieved a balanced performance by reducing both false positives and false negatives, which existing works could not achieve.

  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. For binary classification tasks like this, clearly separating features helps models generalize better to hard-to-classify cases. Building on this, our methodology employs MaxViT, CoAtNet, and EVA‑02 as backbones, fine-tuned using supervised contrastive loss to enhance feature separation. The final prediction is obtained through majority voting on the classification heads of the individual backbones. Supervised contrastive loss produces well-separated embedding spaces, while ensembling captures different perspectives from multiple models.

Experience

  1. Lecturer (Full-time)

    Department of Computer Science and Engineering,

    United International University, Bangladesh

    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

    Co-organized the GameJam event. Also took a workshop on Game development using Unity for the same event.