Abstract
Large Language Models (LLMs) frequently exhibit a "pessimistic" behavior in binary decision tasks, characterized by a strong negative bias where "No" is used as a shortcut for complex reasoning. This paper identifies Negative Attention Score (NAS) as a metric to pinpoint the specific attention heads driving this bias. We propose NASA (NAS Alignment), a surgical fine-tuning method that corrects these heads, significantly improving model recall and reliability without compromising general performance.
The Negative Bias Problem
When tasked with Yes/No questions involving complex reasoning—such as difficult math word problems or logical puzzles—LLMs often demonstrate high precision but strikingly low recall. In practice, this means that while a "Yes" answer is usually correct, the model defaults to "No" far too often, even when "Yes" is the logically sound conclusion.
This negative bias suggests that LLMs use "No" as a cautious shortcut. This behavior is rooted in the model's internal mechanics: specific attention heads focus excessively on the "No" token in the prompt's instructions, regardless of the question's logic. This discrepancy between internal knowledge and final output undermines the trustworthiness of LLM-based reasoning services.
Methodology: NAS and NASA
To address this bias, we developed a two-step framework:
- Negative Attention Score (NAS): A diagnostic metric that quantifies bias by calculating the log-ratio of attention weights directed toward "No" versus "Yes" tokens in the instruction. Attention heads that consistently prioritize the "No" candidate are flagged as biased.
- NAS Alignment (NASA): A parameter-efficient fine-tuning (PEFT) technique. NASA identifies the top-N most biased heads and fine-tunes only their Query (Q) and Key (K) projection modules.
The process utilizes a probing set (derived from HotpotQA) to identify questions where the model possesses the necessary parametric knowledge but fails due to bias. To ensure stability, we implement safety mechanisms like early stopping and update cancellation to prevent over-correction or the introduction of new biases.
Experimental Setup
The effectiveness of NASA was evaluated across several demanding reasoning domains, rephrased for binary decision-making:
- Multi-hop QA: StrategyQA and MuSiQue.
- Mathematical Reasoning: GSM8K and MATH.
- Logical Reasoning: AR-LSAT.
Key Insights and Model Calibration
Analysis reveals that "negative heads" are often query-agnostic, focusing on the "No" token regardless of the specific input. This supports the "shortcut hypothesis," where the model avoids false affirmations by defaulting to a low-effort "No."
By surgically adjusting just a few dozen attention heads, NASA dramatically shifts decision-making behavior and improves the Expected Calibration Error (ECE), aligning the model's confidence more closely with its actual accuracy.
Key Results
NASA yielded significant improvements across LLaMA3, Mistral, Gemma, and Qwen:
- Recall Boost: On GSM8K, LLaMA3-8B’s recall increased from 0.336 to 0.838.
- F1 Score Gains: Substantial improvements were seen across all datasets; for instance, Mistral's F1 on MuSiQue rose from 0.558 to 0.682.
- Preserved Generalization: The tuning specifically addressed binary decision bias without degrading the model's performance on general short-answer QA tasks.
Limitations and Future Work
While effective for binary decisions, the applicability of these findings to multiple-choice or open-ended tasks remains to be explored. Additionally, while NASA is parameter-efficient, the sequential nature of head-wise tuning could be optimized. Future research should also investigate the root causes of negative bias during pre-training to develop inherently more balanced models.
Summary updated