Hao Peng
Author directoryOther people with similar names: Hao Peng, Hao Peng, Hao Peng, Hao Peng
Unverified author pages with similar names: Hao Peng
2026
Gaming the Judge: How Unfaithful Chain-of-Thought Can Undermine Agent Evaluation
Muhammad Khalifa | Lajanugen Logeswaran | Jaekyeom Kim | Sungryull Sohn | Yunxiang Zhang | Moontae Lee | Hao Peng | Lu Wang | Honglak Lee
Findings of the Association for Computational Linguistics: EMNLP 2026
Muhammad Khalifa | Lajanugen Logeswaran | Jaekyeom Kim | Sungryull Sohn | Yunxiang Zhang | Moontae Lee | Hao Peng | Lu Wang | Honglak Lee
Findings of the Association for Computational Linguistics: EMNLP 2026
Large language models (LLMs) are increasingly used as judges to evaluate agent performance, particularly in non-verifiable settings where judgments rely on agent trajectories including chain-of-thought (CoT) reasoning. This paradigm implicitly assumes that the agent’s CoT faithfully reflects both its internal reasoning and the underlying environment state. We show this assumption is brittle: LLM judges are highly susceptible to manipulation of agent reasoning traces. By systematically rewriting agent CoTs while holding actions and observations fixed, we demonstrate that manipulated reasoning alone can increase false positive rates of state-of-the-art vision-language model (VLM) judges by up to 117% relative to the unmanipulated baseline across 800 trajectories spanning diverse web tasks. We study manipulation strategies spanning style-based approaches that alter only the presentation of reasoning and content-based approaches that fabricate signals of task progress, and find that content-based manipulations are consistently more effective. We evaluate mitigation strategies including manipulation-aware prompting and judge-time scaling, which can reduce but do not eliminate the vulnerability. Our findings reveal a fundamental vulnerability in LLM-based evaluation and highlight the need for judging mechanisms that verify reasoning claims against observable evidence.
Tackling Distractor Documents in Multi-Hop QA with Reinforcement and Curriculum Learning
Jerry Huang | Siddarth Madala | Risham Sidhu | Cheng Niu | Hao Peng | Julia Hockenmaier | Tong Zhang
Findings of the Association for Computational Linguistics: EACL 2026
Jerry Huang | Siddarth Madala | Risham Sidhu | Cheng Niu | Hao Peng | Julia Hockenmaier | Tong Zhang
Findings of the Association for Computational Linguistics: EACL 2026
Retrieval-augmented generation (RAG) systems rely on retrieval models for identifying relevant contexts and answer generation models for utilizing those contexts. However, retrievers exhibit imperfect recall and precision, limiting downstream performance. We introduce RAG-RL, an answer generation model trained for multi-hop question answering (MHQA) to not only generate answers but also to identify and cite relevant information from larger sets of retrieved contexts, shifting some of the burden of identifying relevant documents from the retriever to the answer generator. Our approach uses curriculum learning, where models are trained across retrieval settings with varying levels of noise. Our experiments show that training samples with fewer distractor documents enable models to acquire citation and reasoning skills with greater sample efficiency and generalizability, demonstrating strong model performance even as the number of irrelevant passages increases. We benchmark our methods on three open-domain MHQA datasets and report significant gains in answer and citation accuracy. Furthermore, our experiments provide empirical insights into how simpler training samples can give models stronger signals for learning specific skills (e.g., citation generation) and how different components of post-training (e.g., training set construction, rule-based rewards, training sample ordering, etc.) impact final model performance.
Countdown-Code: A Testbed for Studying The Emergence and Generalization of Reward Hacking in RLVR
Muhammad Khalifa | Zohaib Khan | Omer Tafveez | Hao Peng | Lu Wang
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Muhammad Khalifa | Zohaib Khan | Omer Tafveez | Hao Peng | Lu Wang
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Reward hacking is a form of misalignment in which models overoptimize proxy rewards without genuinely solving the underlying task. Precisely measuring reward hacking occurrence remains challenging because true task rewards are often expensive or impossible to compute. We introduce Countdown-Code, a minimal environment where models can both solve a mathematical reasoning task and manipulate the test harness. This dual-access design creates a clean separation between proxy rewards (test pass/fail) and true rewards (mathematical correctness), enabling accurate measurement of reward-hacking rates. Using this environment, we study reward hacking in open-weight LLMs and find that such behaviors can be unintentionally learned during supervised fine-tuning (SFT) when even a small fraction of reward-hacking trajectories leak into training data. As little as 1% contamination in distillation SFT data is sufficient for models to internalize reward hacking which resurfaces during subsequent reinforcement learning (RL). We further show that RL amplifies misalignment and drives its generalization beyond the original domain. We open-source our environment and code to facilitate future research on reward hacking in LLMs. Our results reveal a previously underexplored pathway through which reward hacking can emerge and persist in LLMs, underscoring the need for more rigorous validation of synthetic SFT data.
2025
FACTCHECKMATE: Preemptively Detecting and Mitigating Hallucinations in LMs
Deema Alnuhait | Neeraja Kirtane | Muhammad Khalifa | Hao Peng
Findings of the Association for Computational Linguistics: EMNLP 2025
Deema Alnuhait | Neeraja Kirtane | Muhammad Khalifa | Hao Peng
Findings of the Association for Computational Linguistics: EMNLP 2025
Language models (LMs) hallucinate. We inquire: Can we detect and mitigate hallucinations before they happen? This work answers this research question in the positive, by showing that the internal representations of LMs provide rich signals that can be used for this purpose. We introduce FactCheckmate, which preemptively detects hallucinations by learning a classifier that predicts whether the LM will hallucinate, based on the model’s hidden states produced over the inputs, before decoding begins. If a hallucination is detected, FactCheckmate then intervenes by adjusting the LM’s hidden states such that the model will produce more factual outputs. FactCheckmate provides fresh insights that the inner workings of LMs can be revealed by their hidden states. Practically, both its detection and mitigation models are lightweight, adding little inference overhead; FactCheckmate proves a more efficient approach for mitigating hallucinations compared to many post-hoc alternatives. We evaluate FactCheckmate over LMs of different scales and model families (including Llama, Mistral, Qwen and Gemma), across a variety of QA datasets from different domains. Our results demonstrate the effectiveness of FactCheckmate, achieving over 70% preemptive detection accuracy. On average, outputs generated by LMs with intervention are 34.4% more factual compared to those without.
Improving Influence-based Instruction Tuning Data Selection for Balanced Learning of Diverse Capabilities
Qirun Dai | Dylan Zhang | Jiaqi W. Ma | Hao Peng
Findings of the Association for Computational Linguistics: EMNLP 2025
Qirun Dai | Dylan Zhang | Jiaqi W. Ma | Hao Peng
Findings of the Association for Computational Linguistics: EMNLP 2025
Selecting appropriate training data is crucial for instruction fine-tuning of large language models (LLMs), which aims to (1) elicit strong capabilities, and (2) achieve balanced performance across different tasks. Influence-based methods show promise in achieving (1), by estimating the contribution of each training example to the model’s predictions, but often struggle with (2). Our systematic investigation reveals that this underperformance can be attributed to an inherent bias, where some tasks intrinsically have greater influence than others. As a result, data selection is often biased towards these tasks, not only hurting the model’s performance on others but also, counterintuitively, harming performance on these high-influence tasks themselves. To address this, we propose BIDS, a Balanced and Influential Data Selection algorithm. BIDS first normalizes influence scores of the training data, and then iteratively chooses the training example with the highest influence on the most underrepresented task. Experiments with both Llama-3 and Mistral-v0.3 on seven benchmarks spanning five diverse capabilities show that BIDS consistently outperforms both state-of-the-art influence-based algorithms and other non-influence-based frameworks. Surprisingly, training on a 15% subset selected by BIDS can even outperform full-dataset training with a much more balanced performance. Our analysis highlights the importance of both instance-level normalization and iterative optimization of selected data for balanced learning of diverse capabilities.
Context Length Alone Hurts LLM Performance Despite Perfect Retrieval
Yufeng Du | Minyang Tian | Srikanth Ronanki | Subendhu Rongali | Sravan Babu Bodapati | Aram Galstyan | Azton Wells | Roy Schwartz | Eliu A Huerta | Hao Peng
Findings of the Association for Computational Linguistics: EMNLP 2025
Yufeng Du | Minyang Tian | Srikanth Ronanki | Subendhu Rongali | Sravan Babu Bodapati | Aram Galstyan | Azton Wells | Roy Schwartz | Eliu A Huerta | Hao Peng
Findings of the Association for Computational Linguistics: EMNLP 2025
Large language models (LLMs) often fail to scale their performance on long-context tasks performance in line with the context lengths they support. This gap is commonly attributed to retrieval failures—the models’ inability to identify information in the long inputs that is relevant to the task they are solving. Accordingly, recent efforts often focus on evaluating and improving LLMs’ retrieval performance: if retrieval is perfect, a model should, in principle, perform just as well on a long input as it does on a short one—or should it? This paper presents findings that the answer to this question may be negative. Our systematic experiments across 5 open- and closed-source LLMs on math, question answering, and coding tasks reveal that, even when models can perfectly retrieve all relevant information, their performance still degrades substantially (13.9%–85%) as input length increases but remains well within their claimed context lengths. This failure occurs even when the irrelevant tokens are replaced with minimally distracting whitespace, and, more surprisingly, when they are all masked and the models are forced to attend only to the relevant tokens. A similar performance drop is observed when all relevant evidence is placed immediately before the question. Our findings reveal a previously-unrealized limitation: the sheer length of the input alone can hurt LLM performance, independent of retrieval quality and without any distraction. They motivate our simple, model-agnostic mitigation strategy that transforms a long-context task into a short-context one by prompting the model to recite the retrieved evidence before attempting to solve the problem. On RULER, we observe a consistent improvement of GPT-4o up to 4% on an already strong baseline.
2024
Measuring and Improving Attentiveness to Partial Inputs with Counterfactuals
Yanai Elazar | Bhargavi Paranjape | Hao Peng | Sarah Wiegreffe | Khyathi Chandu | Vivek Srikumar | Sameer Singh | Noah A. Smith
Findings of the Association for Computational Linguistics: EMNLP 2024
Yanai Elazar | Bhargavi Paranjape | Hao Peng | Sarah Wiegreffe | Khyathi Chandu | Vivek Srikumar | Sameer Singh | Noah A. Smith
Findings of the Association for Computational Linguistics: EMNLP 2024
The inevitable appearance of spurious correlations in training datasets hurts the generalization of NLP models on unseen data. Previous work has found that datasets with paired inputs are prone to correlations between a specific part of the input (e.g., the hypothesis in NLI) and the label; consequently, models trained only on those outperform chance. Are these correlations picked up by models trained on the full input data? To address this question, we propose a new evaluation method, Counterfactual Attentiveness Test (CAT). CAT uses counterfactuals by replacing part of the input with its counterpart from a different example (subject to some restrictions), expecting an attentive model to change its prediction. Using CAT, we systematically investigate established supervised and in-context learning models on ten datasets spanning four tasks: natural language inference, reading comprehension, paraphrase detection, and visual & language reasoning. CAT reveals that reliance on such correlations is mainly data-dependent. Surprisingly, we find that GPT3 becomes less attentive with an increased number of demonstrations, while its accuracy on the test data improves. Our results demonstrate that augmenting training or demonstration data with counterfactuals is effective in improving models’ attentiveness. We show that models’ attentiveness measured by CAT reveals different conclusions from solely measuring correlations in data.
Search
Fix author
Co-authors
- Muhammad Khalifa 3
- Lu Wang 2
- Deema Alnuhait 1
- Sravan Babu Bodapati 1
- Khyathi Chandu 1
- Qirun Dai 1
- Yufeng Du 1
- Yanai Elazar 1
- Aram Galstyan 1
- Julia Hockenmaier 1
- Jerry Huang 1
- Eliu A Huerta 1
- Zohaib Khan 1
- Jaekyeom Kim 1
- Neeraja Kirtane 1
- Honglak Lee 1
- Moontae Lee 1
- Lajanugen Logeswaran 1
- Jiaqi W. Ma 1
- Siddarth Madala 1
- Cheng Niu 1
- Bhargavi Paranjape 1
- Srikanth Ronanki 1
- Subendhu Rongali 1
- Roy Schwartz 1
- Risham Sidhu 1
- Sameer Singh 1
- Noah A. Smith 1
- Sungryull Sohn 1
- Vivek Srikumar 1
- Omer Tafveez 1
- Minyang Tian 1
- Azton Wells 1
- Sarah Wiegreffe 1
- Dylan Zhang 1
- Tong Zhang 1
- Yunxiang Zhang 1