About Me
I am a Ph.D. candidate at George Mason University, where I have the fortune of being co-advised by Dr. Ziyu Yao and Dr. Gregory J. Stein. I also collaborate frequently with Dr. Erion Plaku. I am a member of the George Mason NLP Group. Prior to that I was part of the Darija NLP Lab at Al Akhawayn University, where I worked on low-resource languages and dialectical Arabic.
My research focuses on understanding and improving how intelligent agents reason, plan, and act in complex environments, with particular emphasis on evaluating, interpreting, and controlling agent behavior. I study why LLM agents fail, how their decision-making processes give rise to these failures, and how we can intervene to improve their behavior in both physical (e.g., robotics) and digital environments (e.g., web navigation). Ultimately, my goal is to understand the inner working of LLM-based Agents in order to make them safer, more reliable and controllable.
Research Interests
News
- November 2026 Passed my Ph.D. proposal defense and advanced to candidacy 🎓
- November 2026 Check out our new preprint on value–policy dissociation in LLM agents: they represent values internally but don't use them to act!
- October 2026 Check out our new position paper on LLM agent interpretability!
- August 2026 Our team (GMU-Veritaserum - Antik Ayan Khan, Mohamed Aghzal, and Prof. Ziyu Yao) won best white box approach at the Aletheia's Quest LLM lie detection challenge!
- July 2026 Heading to San Diego ☀️ for ACL'26
- May 2026 Check out our new paper on mechanistic interpretability for LLM agents
- May 2026 Received a Distinguished Academic Award from the Computer Science Department at GMU 🏆
- May 2026 Attended the North East AI Agents Day in New York City 🗽
- April 2026 Paper accepted to ACL 2026 🎉
- March 2026 Check out our new preprint on hierarchical evaluation of LLM Web Agents
- June 2025 Attended IEEE/CVF CVPR 2025 in Nashville, TN 🎸
- April 2025 Received a Travel Award for IEEE/CVF CVPR 2025
- Feb 2025 Attended AAAI 2025 in Philadelphia, PA
- Feb 2025 Paper accepted to IEEE/CVF CVPR 2025
- Feb 2025 Check out our new survey on the use of LLMs in Planning
- Nov 2024 Check out our new preprint
- June 2024 Paper accepted to IEEE CASE 2024
- Mar 2024 Paper accepted to LLM Agents at ICLR 2024
- Oct 2023 New preprint available on ArXiv
- Apr 2023 Presented a poster at MASC-SLL 2023
Publications
-
Preprint
Preprint.
Abstract
Mechanistic Interpretability (MI) is a subfield of interpretability seeking to explain the internal workings of a model. It has become a thriving subfield for interpreting large language models (LLMs). In this position paper, we argue that while MI can provide insight about LLMs in controlled and/or simplified task settings, it is not sufficient for interpreting LLMs in complex settings such as LLM agents. This is because understanding LLM agents, which consist of multiple interconnected components, operate over long trajectories, and interact with external environments, requires attributions beyond only the backbone model internals. Thus, we argue that interpreting LLM agents requires pairing MI with the traditional behavioral approaches, which examine the external input-output attributions of a model. As such, a chain of attributions tracing an agent’s action back to the output of the responsible component and timestep, then to the input that drove it, and finally to the internals of that component’s LLM backbone, can form a complete, traceable, causal, and actionable interpretation.
-
arXiv
arXiv:2611.10457
Abstract
Large language model (LLM) agents need to choose actions whose consequences unfold over multiple future steps, yet poor decisions do not reveal whether the model failed to represent those consequences or failed to use them. Mechanistic interpretability has studied internal representations of environment state and plans, but sequential decision making also requires evaluating how candidate actions change future outcomes. Reinforcement learning formalizes this as action value. We study this computation in Qwen2.5-7B-Instruct, Qwen2.5-32B-Instruct, and GPT-OSS-20B across a partially observed Grid environment and WebShop, a simulated web shopping environment. We find that the relative values of candidate actions are linearly decodable from intermediate hidden states, including at states where the policy prefers a worse action. We call this gap between value representation and policy choice value-policy dissociation. To investigate how represented value relates to action selection, we compare direct interventions along the value readout direction with Natural Value Transport (NVT), a transformation learned from hidden state changes that naturally result from differences in action value. While readout-direction interventions have limited and inconsistent effects, NVT more consistently influences action preferences, particularly at later layers. We also test a closed-loop controller that uses the value readout as a sensor and NVT as an actuator, observing improvements in task outcomes. These results suggest that LLM agents can represent useful prospective value without reliably translating it into policy choice.
-
arXiv
arXiv:2611.18514
Abstract
Mechanistic Interpretability (MI) has made significant progress in explaining the internal computations of Large Language Models (LLMs); however, these advances have yet to demonstrate comparable success in explaining the decision-making processes of LLM-based agents. This paper examines the challenges MI tools face when applied to realistic agentic failures. We focus on one such failure: web agents hallucinating actions that are not available on a website. We apply a series of mechanistic analyzes to Qwen2.5-7B-Instruct as it interacts with live websites. We find that a linear probe trained on the last prompt token can predict hallucinations before generation begins (0.80 AUC) and steering along a probe direction corrects 85% of hallucinations, but disrupts 7% of valid actions. However, these results only provide a partial explanation of why the agent hallucinates. The probe direction is sensitive to prompt formatting, losing much of its steering effect after a minor change to how actions are represented. Additionally, circuit identification can be difficult as the computation is distributed across multiple components and positions, and the information the agent relies on varies across examples. We discuss how these observations challenge the assumptions underlying standard MI methods for circuit discovery and feature identification, and outline future directions for making these methods better suited to explain failures in LLM-based agents.
-
ACL 2026
The 64th Annual Meeting of the Association for Computational Linguistics (ACL 2026)
Abstract
Large language model (LLM) web agents are increasingly used for web navigation but remain far from human reliability on realistic, long-horizon tasks. Existing evaluations focus primarily on end-to-end success, offering limited insight into where failures arise. We propose a hierarchical planning framework to analyze web agents across three layers (i.e., high-level planning, low-level execution, and replanning), enabling process-based evaluation of reasoning, grounding, and recovery. Our experiments show that structured Planning Domain Definition Language (PDDL) plans produce more concise and goal-directed strategies than natural language (NL) plans, but low-level execution remains the dominant bottleneck. These results indicate that improving perceptual grounding and adaptive control, not only high-level reasoning, is critical for achieving human-level reliability. This hierarchical perspective provides a principled foundation for diagnosing and advancing LLM web agents.
-
arXiv
arXiv:2502.12435
Abstract
The planning ability of Large Language Models (LLMs) has garnered increasing attention in recent years due to their remarkable capacity for multi-step reasoning and their ability to generalize across a wide range of domains. While some researchers emphasize the potential of LLMs to perform complex planning tasks, others highlight significant limitations in their performance, particularly when these models are tasked with handling the intricacies of long-horizon reasoning. In this survey, we critically investigate existing research on the use of LLMs in automated planning, examining both their successes and shortcomings in detail. We illustrate that although LLMs are not well-suited to serve as standalone planners because of these limitations, they nonetheless present an enormous opportunity to enhance planning applications when combined with other approaches. Thus, we advocate for a balanced methodology that leverages the inherent flexibility and generalized knowledge of LLMs alongside the rigor and cost-effectiveness of traditional planning methods.
-
CVPR 2025
IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2025)
Abstract
Despite their promise to perform complex reasoning, large language models (LLMs) have been shown to have limited effectiveness in end-to-end planning. This has inspired an intriguing question: if these models cannot plan well, can they still contribute to the planning framework as a helpful plan evaluator? In this work, we generalize this question to consider LLMs augmented with visual understanding, i.e., Vision-Language Models (VLMs). We introduce PathEval, a novel benchmark evaluating VLMs as plan evaluators in complex path-planning scenarios. Succeeding in the benchmark requires a VLM to be able to abstract traits of optimal paths from the scenario description, demonstrate precise low-level perception on each path, and integrate this information to decide the better path. Our analysis of state-of-the-art VLMs reveals that these models face significant challenges on the benchmark. We observe that the VLMs can precisely abstract given scenarios to identify the desired traits and exhibit mixed performance in integrating the provided information. Yet, their vision component presents a critical bottleneck, with models struggling to perceive low-level details about a path. Our experimental results show that this issue cannot be trivially addressed via end-to-end fine-tuning; rather, task-specific discriminative adaptation of these vision encoders is needed for these VLMs to become effective path evaluators.
-
CASE 2024
IEEE 20th International Conference on Automation Science and Engineering
Abstract
Large Language Models (LLMs) have shown impressive capabilities across a wide variety of tasks. However, they still face challenges with long-horizon planning. To study this, we propose path planning tasks as a platform to evaluate LLMs' ability to navigate long trajectories under geometric constraints. Our proposed benchmark systematically tests path-planning skills in complex settings. Using this, we examined GPT-4's planning abilities using various task representations and prompting approaches. We found that framing prompts as Python code and decomposing long trajectory tasks improve GPT-4's path planning effectiveness. However, while these approaches show some promise toward improving the planning ability of the model, they do not obtain optimal paths and fail at generalizing over extended horizons.
-
LLMAgents@ICLR
ICLR Workshop on LLM Agents, 2024
Abstract
Large language models (LLMs) have achieved remarkable success across a wide spectrum of tasks; however, they still face limitations in scenarios that demand long-term planning and spatial reasoning. To facilitate this line of research, in this work, we propose a new benchmark, termed Path Planning from Natural Language (PPNL). Our benchmark evaluates LLMs' spatial-temporal reasoning by formulating ''path planning'' tasks that require an LLM to navigate to target locations while avoiding obstacles and adhering to constraints. Leveraging this benchmark, we systematically investigate LLMs including GPT-4 via different few-shot prompting methodologies as well as BART and T5 of various sizes via fine-tuning. Our experimental results show the promise of few-shot GPT-4 in spatial reasoning, when it is prompted to reason and act interleavedly, although it still fails to perform long-term temporal reasoning. In contrast, while fine-tuned LLMs achieved impressive results on in-distribution reasoning tasks, they struggled to generalize to larger environments or environments with more obstacles.
-
Cogn. Comput. 2024
Big Data and Cognitive Computing
Abstract
Moroccan Darija, a dialect of Arabic, presents unique challenges for natural language processing due to its lack of standardized orthographies, frequent code switching, and status as a low-resource language. In this work, we focus on detecting offensive language in Darija, addressing these complexities. We present three key contributions that advance the field. First, we introduce a human-labeled dataset of Darija text collected from social media platforms. Second, we explore and fine-tune various language models on the created dataset. This investigation identifies a Darija RoBERTa-based model as the most effective approach, with an accuracy of 90% and F1 score of 85%. Third, we evaluate the best model beyond accuracy by assessing properties such as correctness, robustness and fairness using metamorphic testing and adversarial attacks. The results highlight potential vulnerabilities in the model’s robustness, with the model being susceptible to attacks such as inserting dots (29.4% success rate), inserting spaces (24.5%), and modifying characters in words (18.3%). Fairness assessments show that while the model is generally fair, it still exhibits bias in specific cases, with a 7% success rate for attacks targeting entities typically subject to discrimination. The key finding is that relying solely on offline metrics such as the F1 score and accuracy in evaluating machine learning systems is insufficient. For low-resource languages, the recommendation is to focus on identifying and addressing domain-specific biases and enhancing pre-trained monolingual language models with diverse and noisier data to improve their robustness and generalization capabilities in diverse linguistic scenarios.
-
CiST
7th IEEE Congress on Information Science and Technology (CiST)
Abstract
Over the past few years, pre-trained language models based on transformer architectures revolutionized the field of natural language processing, achieving state-of-the-art performance on various tasks. However, due to these models’ dependability on enormous corpora for training, very few such models were trained for underresourced languages and dialects, such as Moroccan Darija. In this work, we introduce DarRoBERTa and DarELECTRA which are two transformer-based language models for Darija. We evaluate the language models on the extrinsic tasks of text summarization and topic classification. As for the text summarization task, the results show that DarELECTRA achieves state-of-the art results with a score of 19.25 for Rouge 1, 5.79 for Rouge 2, and 18.01 for Rouge L. For the topic classification task, DarRoBERTa achieved an F1 score of 0.84 and accuracy of 0.86. While our Daija language models achieved results close the Arabic language models, they are much smaller and more efficient.
-
ACLing 2021
Procedia Computer Science
Abstract
In this paper, we build different word embedding representations for code-mixed Moroccan Darija-French-English text. We begin by collecting a large corpus based on social media posts and song lyrics. We then experiment with four algorithms: namely, Word2Vec using both Continuous Bag of Words (CBOW) and SkipGram flavors, FastText-CBOW and FastText-SkipGram. Finally, we evaluate these models on two tasks: Word Analogies and Word-Level Language Detection. The use of character n-grams in the FastText models allowed them to perform much better than their word2vec counterparts on the word analogy task, while Word2Vec-SkipGram performed best on the language identification. To the knowledge of the authors, our embeddings are the first set of distributed representations for Arabizi Moroccan Darija text. In the context of this work, we also managed to build the first ever code-switched English – French - Moroccan Darija word analogy dataset and the largest Arabizi code-switched English – French - Moroccan Darija.
-
ICDS 2020
IEEE Fourth International Conference on Intelligent Computing in Data Sciences (ICDS 2020)
Abstract
Parkinson's disease is a progressive neurodegenerative disorder. Although no cure has been found, medication can improve the symptoms. As such, early detection of the disease is essential to its treatment. However, most clinical methods used for diagnosis do not offer enough accuracy. In this work, a Histogram of Oriented Gradients is combined with a Convolutional Neural Network (CNN) to automatically detect Parkinson's disease based on handwritten patterns. The model achieved an accuracy of 87% and an F1 score of 83.21%, which outperforms state of the art clinical diagnosis techniques (79.6% accuracy without follow up, 83% with follow up).
Education
- Ph.D.Computer ScienceGeorge Mason University, Fairfax, VA, USA
- M.Sc.Computer ScienceGeorge Mason University, Fairfax, VA, USA
- B.Sc.Computer ScienceAl Akhawayn University, Ifrane, Morocco
Experience
- 2023 – presentGraduate Research AssistantGeorge Mason University, Fairfax, VA, USA
- 2022 – presentGraduate Teaching AssistantGeorge Mason University, Fairfax, VA, USA
- 2021 – 2022Adjunct Faculty MemberAl Akhawayn University, Ifrane, Morocco
- Summer 2021Research InternAttijariwafa Bank, Casablanca, Morocco
- 2020 – 2022Research AssistantAl Akhawayn University, Ifrane, Morocco
Teaching
- CS 310Data StructuresGraduate Teaching Assistant (Fall 2023, Spring 2026)
- CS 262Introduction to Low Level ProgrammingLab Instructor (Fall 2022, Spring 2023)
- CSC 3326 LDatabase SystemsInstructor (Fall 2021)
- CSC 1401 LComputer ProgrammingInstructor (Fall 2021, Spring 2022, Summer 2022)
- CSC 2303Object-Oriented ProgrammingGroup Tutor (Fall 2019, Spring 2021); Grader (Fall 2018)
- CSC 4399Deep LearningTeaching Assistant (Fall 2018, Fall 2020)
- CSC 2302Data StructuresGrader (Spring 2019)
- CSC 1400Introduction to ComputersGrader (Spring 2019)
- CSC 1401Computer ProgrammingGrader (Fall 2018)
Service
- Reviewer
- Secondary Reviewer