NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Farhan Ahmed

IBM Research - Thomas J. Watson Research Center
2 previous affiliations
26Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Farhan Ahmed focuses on the safety, alignment, and robust evaluation of large language models, alongside foundational work in adversarial machine learning. His early research addressed system-level vulnerabilities and demographic biases in predictive models. Recently, his work emphasizes data curation for preference optimization, uncertainty quantification, and the development of agentic architectures for complex reasoning tasks.

Research Trajectory

Ahmed’s early research examined the reliability and security of predictive models, particularly in social data and adversarial contexts. In 2022, he and his collaborators evaluated sociodemographic selection biases in social media predictions with Correcting Sociodemographic Selection Biases for Population Prediction from Social Media. The study demonstrated that standard restratification techniques often fail to improve, and can even degrade, prediction accuracies when inferring community health statistics. Concurrently, he investigated system-level vulnerabilities in machine learning by introducing Ares: A System-Oriented Wargame Framework for Adversarial ML. Ares modeled the attacker-defender dynamic as a reinforcement learning-based, turn-based game, revealing that even advanced defenses like moving target defense remain vulnerable due to shared loss gradients.

In 2023, Ahmed's research expanded across several distinct domains. He explored the dynamics of distributed networks within the area of Adoption Thresholds in Decentralized Collaborative Systems, and investigated methodologies in the research area of Overcoming Reporting Latency in Public Health Surveillance. During this period, he also began addressing the temporal robustness of natural language processing systems, contributing to the research direction of Adapting Language Models to Temporal Drift.

By 2024, his focus on realistic threat models informed a critical assessment of adversarial machine learning in Taking off the Rose-Tinted Glasses: A Critical Look at Adversarial ML Through the Lens of Evasion Attacks, which argued that the community's focus on pixel-perfect evasion attacks has stalled defensive progress. Alongside this security-focused work, he continued advancing robust social modeling, contributing to Robust language-based mental health assessments in time and space through social media.

As large language models (LLMs) became central to artificial intelligence, Ahmed’s focus shifted toward their safety, alignment, and post-training refinement. To address the generation of toxic language and hazardous knowledge, he and his collaborators developed SPUNGE, detailed in Split, Unlearn, Merge: Leveraging Data Attributes for More Effective Unlearning in LLMs. The framework improves machine unlearning by partitioning data based on specific attributes, unlearning subsets separately, and merging the resulting models. This interest in maintaining safe behavior extended into the research direction of Preserving Safety Alignment During Downstream Fine-Tuning. In SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging, he proposed a lightweight framework that restores safety alignment without degrading newly acquired task performance. By selectively merging only the specific model layers that drift from safe behavior, the work contributed significantly to the broader area of Safety Alignment as a Geometric Subspace.

Ahmed has also investigated the critical role of data quality in model performance. He participated in comparative studies of post-training corpora in Fixing It in Post: A Comparative Study of LLM Post-Training Data Quality and Model Performance, addressing the lack of transparency in alignment datasets. His work on massive-scale pre-training data curation includes GneissWeb: Preparing High Quality Data for LLMs at Scale, which introduced a 10-trillion-token open-source dataset utilizing exact substring deduplication and category-aware quality filters to outperform existing baselines. Extending this rigorous approach to alignment techniques, he co-authored When Data is the Algorithm: A Systematic Study and Curation of Preference Optimization Datasets. The study audited Direct Preference Optimization (DPO) datasets, revealing high rates of misalignment, and introduced UltraMix, a highly curated dataset that delivers superior benchmark performance despite being significantly smaller than baselines.

Alongside data curation, Ahmed has advanced the evaluation and deployment of LLM capabilities. He contributed to rigorous evaluation benchmarks with MermaidSeqBench: An Evaluation Benchmark for LLM-to-Mermaid Sequence Diagram Generation, highlighting gaps in models' ability to generate visual software engineering diagrams from natural language. His investigations into model capabilities during this time also touched upon the broader area of The Emergent Reasoning Threshold in Language Models. To better understand model reliability during deployment, he introduced LogitScope: A Framework for Analyzing LLM Uncertainty Through Information Metrics, a model-agnostic approach for computing uncertainty directly from token probabilities without requiring labeled data.

Most recently, Ahmed has explored the development of autonomous systems and multi-turn reinforcement learning. He participated in the design of TSR: Trajectory‑Search Rollouts for Multi‑Turn RL of LLM Agents, a training-time approach that uses tree-style search to construct high-quality trajectories in stochastic environments with sparse rewards. Applying these agentic concepts to domain-specific challenges, he co-authored Against the Monolithic Wireless World Model: Why NextG Needs Composable and Agentic Intelligence, advocating for orchestrated, specialized reasoning models in 6G networks rather than monolithic architectures.

Current Directions

Recent work investigates the intersection of data quality, uncertainty quantification, and agentic reasoning in large language models. The most recent papers in the evidence address the systematic curation of preference optimization datasets to improve model alignment, as well as the development of lightweight frameworks for analyzing model uncertainty through information-theoretic metrics. Additionally, Ahmed is exploring multi-turn reinforcement learning for LLM agents, focusing on trajectory-search rollouts to overcome sparse rewards. This extends into applied domains, where he is advocating for composable, agentic architectures to manage the complex, context-dependent requirements of next-generation wireless networks.

Profile updated

See something wrong? Report a mistake