Tasnim Ahmed
PhD Student at Queen's University

TasnimAhmed

Researcher in AI, Optimization & Intelligent Systems

Bridging natural language and mathematical optimization through deep learning, building frameworks that translate human intent into computational solutions.

Scroll to explore
About Me

Pushing the Boundaries of AI Research

I'm a PhD candidate in Computing at Queen's University, Canada, where I develop innovative frameworks that bridge natural language understanding with mathematical optimization and code generation.

My research spans Large Language Models, Optimization, Computer Vision, and Medical AI. I've created frameworks like LM4OPT, OPT2CODE, and CHORUS that translate human intent into solver-ready optimization code.

Previously, I was a Faculty Member at Islamic University of Technology, teaching Machine Learning and Software Development while co-supervising research theses in bioinformatics and data mining.

0+
Years Research
0
Journal Papers
0
Conference Papers
0
Institutions
Experience

Professional Journey

From Amazon to academia, building AI systems that matter

2025
Amazon.com

Applied Scientist Intern

Amazon.com

Contributing to personalized recommendation systems for Amazon shoppers in the Deals domain.

July 2025 – Oct 2025Irvine, CA, USA
2023
Queen's University

Research & Teaching Assistant

Queen's University

Developed LM4OPT, OPT2CODE, and CHORUS frameworks. Head TA for CISC/CMPE 223.

Sept 2023 – PresentKingston, ON, Canada
2024
WizeWerks, WaiveTheWait, CE Strategies

Mitacs Research Intern

WizeWerks, WaiveTheWait, CE Strategies

Built agentic RAG systems and layout-aware OCR pipeline reducing clinical workload by ~60%.

2024 – 2025Canada
2020
Islamic University of Technology

Faculty Member (Lecturer)

Islamic University of Technology

Taught ML, OOP, Server Programming. Co-supervised undergraduate theses in bioinformatics.

Jan 2020 – Sept 2023Gazipur, Bangladesh
2018
Samsung R&D Institute Bangladesh

Software Engineer Intern

Samsung R&D Institute Bangladesh

Worked on mobile application development and optimization.

Nov 2018 – Jan 2019Dhaka, Bangladesh
Upcoming
Current
Recent
Past
Education

Academic Journey

Present
Queen's University

PhD in Computing

Queen's University

Kingston, ON, Canada

Research focus on AI, NLP, and Optimization

2023 – Present

2023
Islamic University of Technology

MSc in CSE

Islamic University of Technology

Gazipur, Bangladesh

Thesis: Enhancement of Anatomical Structures using Deep Generative Models

2020 – 2023

2019
Islamic University of Technology

BSc in CSE

Islamic University of Technology

Gazipur, Bangladesh

Thesis: ECG Signal Classification using Deep Neural Networks

2016 – 2019

Publications

Research Output

681
Total Citations
10
Journals
19
Conferences
0
Posters

Last updated: 12/4/2025

OPT2CODE: A Retrieval-Augmented Framework for Solving Linear Programming Problems

Tasnim Ahmed and Salimur Choudhury

2025ElsevierView Paper

Mathematical optimization drives decisions across domains such as supply chains, energy grids, and financial systems, among others. Linear programming (LP), a tool for optimizing objectives under constraints, requires domain expertise to translate real-world problems into executable models. We explore automating this translation using Large Language Models (LLMs), generating solver-ready code from textual descriptions to reduce reliance on specialized knowledge. We propose OPT2CODE, a Retrieval-Augmented Generation (RAG) framework that utilizes compact LLMs to transform problem descriptions into optimization solver executable code. OPT2CODE utilizes code documentation for document retrieval and incorporates multiple LLM-as-a-Judge components to improve baseline performance. In addition, OPT2CODE is solver flexible and LLM flexible, and it can generate code for a broad range of …

LM4OPT: Unveiling the potential of Large Language Models in formulating mathematical optimization problems

Tasnim Ahmed and Salimur Choudhury

202428 citationsTaylor & FrancisView Paper

In the fast-paced domain of natural language processing, converting linguistic descriptions into mathematical optimization problems is a complex task, requiring profound comprehension and processing skills from Large Language Models (LLMs). In this study, various LLMs were evaluated, including GPT-3.5, GPT-4, and smaller variants with seven billion parameters: Llama-2, Falcon, Mistral, and Zephyr. This research investigated their performance in both zero-shot and one-shot settings for this task, revealing that GPT-4 outperformed others, particularly in the one-shot scenario. A core contribution of this study is the development of LM4OPT, a progressive fine-tuning framework specifically designed for smaller LLMs. This framework leverages noisy embeddings and specialized datasets to enhance the performance of the models. Regardless of the inherent limitations of smaller models in processing complex and …

Decoding depression: Analyzing social network insights for depression severity assessment with transformers and explainable AI

Tasnim Ahmed, Shahriar Ivan, Ahnaf Munir, and Sabbir Ahmed

202412 citationsElsevierView Paper

Depression is a mental state characterized by recurrent feelings of melancholy, hopelessness, and disinterest in activities, having a significant negative influence on everyday functioning and general well-being. Millions of users express their thoughts and emotions on social media platforms, which can be used as a rich source of data for early detection of depression. In this connection, this work leverages an ensemble of transformer-based architectures for quantifying the severity of depression from social media posts into four categories — non-depressed, mild, moderate, and severe. At first, a diverse range of preprocessing techniques is employed to enhance the quality and relevance of the input. Then, the preprocessed samples are passed through three variants of transformer-based models, namely vanilla BERT, BERTweet, and ALBERT, for generating predictions, which are combined using a weighted soft …

Redefining real-time road quality analysis with vision transformers on edge devices

Tasnim Ahmed, Naveed Ejaz, and Salimur Choudhury

202412 citationsIEEEView Paper

Road infrastructure is essential for transportation safety and efficiency. However, the current methods for assessing road conditions, crucial for effective planning and maintenance, suffer from high costs, time-intensive procedures, infrequent data collection, and limited real-time capabilities. This article presents an efficient lightweight system to analyze road quality from video feeds in real time. The backbone of the system is EdgeFusionViT, a novel vision transformer (ViT)-based architecture that uses an attention-based late fusion mechanism. The proposed architecture outperforms lightweight convolutional neural network (CNN)-based and ViT-based models. Its practicality is demonstrated by its deployment on an edge device, the Nvidia Jetson Orin Nano, enabling real-time road analysis at 12 frames per second. EdgeFusionViT outperforms existing benchmarks, achieving an impressive accuracy of 89.76% on the …

DEPTWEET: A typology for social media texts to detect depression severities

Mohsinul Kabir, Tasnim Ahmed, Md Bakhtiar Hasan, Md Tahmid Rahman Laskar, Tarun Kumar Joarder, Hasan Mahmud, and Kamrul Hasan

202388 citationsPergamonView Paper

Mental health research through data-driven methods has been hindered by a lack of standard typology and scarcity of adequate data. In this study, we leverage the clinical articulation of depression to build a typology for social media texts for detecting the severity of depression. It emulates the standard clinical assessment procedure Diagnostic and Statistical Manual of Mental Disorders (DSM-5) and Patient Health Questionnaire (PHQ-9) to encompass subtle indications of depressive disorders from tweets. Along with the typology, we present a new dataset of 40191 tweets labeled by expert annotators. Each tweet is labeled as ‘non-depressed’ or ‘depressed’. Moreover, three severity levels are considered for ‘depressed’ tweets: (1) mild, (2) moderate, and (3) severe. An associated confidence score is provided with each label to validate the quality of annotation. We examine the quality of the dataset via representing …

Fracatlas: A dataset for fracture classification, localization and segmentation of musculoskeletal radiographs

Iftekharul Abedeen, Md Ashiqur Rahman, Fatema Zohra Prottyasha, Tasnim Ahmed, Tareque Mohmud Chowdhury, and Swakkhar Shatabda

202377 citationsNature Publishing Group UKView Paper

Digital radiography is one of the most common and cost-effective standards for the diagnosis of bone fractures. For such diagnoses expert intervention is required which is time-consuming and demands rigorous training. With the recent growth of computer vision algorithms, there is a surge of interest in computer-aided diagnosis. The development of algorithms demands large datasets with proper annotations. Existing X-Ray datasets are either small or lack proper annotation, which hinders the development of machine-learning algorithms and evaluation of the relative performance of algorithms for classification, localization, and segmentation. We present FracAtlas, a new dataset of X-Ray scans curated from the images collected from 3 major hospitals in Bangladesh. Our dataset includes 4,083 images that have been manually annotated for bone fracture classification, localization, and segmentation with the help of …

GaitGCN++: Improving GCN-based gait recognition with part-wise attention and DropGraph

Md Bakhtiar Hasan, Tasnim Ahmed, Sabbir Ahmed, and Md Hasanul Kabir

202312 citationsElsevierView Paper

Gait recognition is becoming one of the promising methods for biometric authentication owing to its self-effacing nature. Contemporary approaches of joint position-based gait recognition generally model gait features using spatio-temporal graphs which are often prone to overfitting. To incorporate long-range relationships among joints, these methods utilize multi-scale operators. However, they fail to provide equal importance to all joint combinations resulting in an incomplete realization of long-range relationships between joints and important body parts. Furthermore, only considering joint coordinates may fail to capture discriminatory information provided by the bone structures and motion. In this work, a novel multi-scale graph convolution approach, namely ‘GaitGCN++’, is proposed, which utilizes joint and bone information from individual frames and joint-motion data from consecutive frames providing a …

Less is more: Lighter and faster deep neural architecture for tomato leaf disease classification

Sabbir Ahmed, Md Bakhtiar Hasan, Tasnim Ahmed, Md Redwan Karim Sony, and Md Hasanul Kabir

2022181 citationsIEEEView Paper

To ensure global food security and the overall profit of stakeholders, the importance of correctly detecting and classifying plant diseases is paramount. In this connection, the emergence of deep learning-based image classification has introduced a substantial number of solutions. However, the applicability of these solutions in low-end devices requires fast, accurate, and computationally inexpensive systems. This work proposes a lightweight transfer learning-based approach for detecting diseases from tomato leaves. It utilizes an effective preprocessing method to enhance the leaf images with illumination correction for improved classification. Our system extracts features using a combined model consisting of a pretrained MobileNetV2 architecture and a classifier network for effective prediction. Traditional augmentation approaches are replaced by runtime augmentation to avoid data leakage and address the class …

Two decades of bengali handwritten digit recognition: A survey

ABM Ashikur Rahman, Md Bakhtiar Hasan, Sabbir Ahmed, Tasnim Ahmed, Md Hamjajul Ashmafee, Mohammad Ridwan Kabir, and Md Hasanul Kabir

202250 citationsIEEEView Paper

Handwritten Digit Recognition (HDR) is one of the most challenging tasks in the domain of Optical Character Recognition (OCR). Irrespective of language, there are some inherent challenges of HDR, which mostly arise due to the variations in writing styles across individuals, writing medium and environment, inability to maintain the same strokes while writing any digit repeatedly, etc. In addition to that, the structural complexities of the digits of a particular language may lead to ambiguous scenarios of HDR. Over the years, researchers have developed numerous offline and online HDR pipelines, where different image processing techniques are combined with traditional Machine Learning (ML)-based and/or Deep Learning (DL)-based architectures. Although evidence of extensive review studies on HDR exists in the literature for languages, such as English, Arabic, Indian, Farsi, Chinese, etc., few surveys on Bengali …

Performance analysis of transformer-based architectures and their ensembles to detect trait-based cyberbullying

Tasnim Ahmed, Shahriar Ivan, Mohsinul Kabir, Hasan Mahmud, and Kamrul Hasan

202244 citationsSpringer ViennaView Paper

The influence of social media is one of the most dominating characteristics of the current era, and this has led cyberbullying to grow into a more serious social issue. As a result, automated cyberbullying detection systems need to be an integral part of almost all social media platforms. Past studies on this domain have primarily focused on hand-picked features and traditional machine learning approaches for cyberbullying detection from user comments on social media. Recently, transformers have been proved to be quite effective in various language-related tasks; however, their effectiveness has not been extensively explored in this particular domain. In this study, we evaluate the individual performance of several well-known transformer-based architectures and aim to contribute to the development of automated cyberbullying detection systems by proposing our own transformer-based ensemble framework. Our …

Awards & Fellowships

Recognition & Honors

2025-2026

Duncan and Urlla Carmichael Fellowship

Awarded to master's and doctoral students with first-class standing, valued at $10,000

2023-2025

Mitacs Accelerate Fellowship

Awarded for academic and research excellence in Computer Science by Mitacs Inc.

2024

AIware 2024 Best Challenge Paper Award

Best challenge paper at the ACM International Conference on AI-powered Software

2024-2025

Conference Travel Awards

Awarded by Queen's University for attending AAAI 2024, ICC 2024, and ICS 2025

2022-2023

Publication Incentive Award

Awarded by Islamic University of Technology for impactful publications

2016-2019

IUT Admission Scholarship

Outstanding academic performance in admission test (Country rank - 51st)

Projects

Featured Work

AI

Automated University Course Scheduling

Automates university course scheduling using PDDL and temporal planners like OPTIC and POP-F.

PDDLOPTICAI Planning
ML

Codeforces Rating Predictor

Predicts Codeforces contest rating changes using attention-based DQN reinforcement learning.

PythonDQNRLAttention
Web

Interactive LP Problem Grader

Verifies linear programming formulations from natural language using the Zephyr-7B-β model.

ReactJSPythonLLMs
ML

Mastering RAG

Comprehensive RAG approaches using LangChain with advanced techniques like indexing and CRAG.

PythonLangChainRAG
Web

IUT 10th ICT Fest Website

Official website for the largest ICT event in Bangladesh with registration and scheduling.

LaravelMySQLPHP
Skills

Technical Expertise

Programming Languages

CC++PythonRJavaJavaScriptSQL

ML & Data Science

PyTorchTensorFlowLangChainScikit-learnPandas

Development Frameworks

ReactJSNext.jsExpressLaravelFlask

GIS & Visualization

ArcGISGeoServerCesiumJSMatplotlib

DevOps & Tools

GitDockerLinuxMongoDBPostgreSQL
Contact

Let's Connect

Interested in research collaboration, speaking opportunities, or just want to say hello?

Get in Touch

Email

tasnim.ahmed@queensu.ca

Location

Kingston, ON, Canada

Send a Message

ধীরে ধীরে রাত বাড়তে লাগলো। চাঁদ হেলে পড়লো পশ্চিমে। উঠোনের ছায়া দীর্ঘ থেকে দীর্ঘতর হলো। পরীর দীঘির পারে একটা রাতজাগা পাখির পাখা ঝাপটানোর আওয়াজ শোনা গেলো। রাত বাড়ছে। হাজার বছরের পুরনো সেই রাত।
হাজার বছর ধরে, জহির রায়হান