Gated Activation Steering for Reducing Sycophancy & Hallucination in Medical Question Answering

arXiv cs.AI Papers

Summary

This paper introduces Gated Activation Steering, a method to reduce sycophancy and hallucination in large language models for medical question answering using inference-time interventions. Evaluated on clinical data, it demonstrates improved robustness under user pressure.

arXiv:2608.23666v1 Announce Type: new Abstract: Sycophancy and hallucination are persistent failure modes of Large Language Models (LLMs) across domains. However, it becomes particularly consequential in clinical question answering, where responses must remain grounded in the provided context and robust to user pressure. Hallucination can introduce information that is unsupported by the context, while sycophancy can cause a model to abandon a previously correct answer when challenged by the user. Existing approaches, such as prompt-based safeguards and always-on activation steering, often address these behaviors separately or apply interventions broadly across turns, which can unnecessarily deteriorate responses that were already correct. To address these limitations within a single framework, we employ Inference Time Intervention (ITI) to jointly control both behaviors by learning separate steering directions for hallucination and sycophancy from contrastive clinical pairs and applying them to causally verified attention heads. During runtime, behavior-specific gates then determine when intervention is needed: the hallucination component mitigates unsupported claims, while the sycophancy component mitigates answer shifts caused by user pressure. We evaluate this framework on clinical questions grounded in EHR data while keeping the model weights frozen. Across all evaluation settings, we conducted 15,900 model-response runs. Across 600 pressure trajectories for the 4-billion-parameter model, the unsteered model caved in 570 cases. At the same time, gated steering helped it last longer in 551 of them. It held its ground under pressure at levels comparable to those of models with more than 100 billion parameters, showing that targeted inference-time steering can improve robustness without intervening at every turn.
Original Article
View Cached Full Text

Cached at: 08/26/26, 09:11 AM

# Gated Activation Steering for Reducing Sycophancy & Hallucination in Medical Question Answering
Source: [https://arxiv.org/abs/2608.23666](https://arxiv.org/abs/2608.23666)
[View PDF](https://arxiv.org/pdf/2608.23666)

> Abstract:Sycophancy and hallucination are persistent failure modes of Large Language Models \(LLMs\) across domains\. However, it becomes particularly consequential in clinical question answering, where responses must remain grounded in the provided context and robust to user pressure\. Hallucination can introduce information that is unsupported by the context, while sycophancy can cause a model to abandon a previously correct answer when challenged by the user\. Existing approaches, such as prompt\-based safeguards and always\-on activation steering, often address these behaviors separately or apply interventions broadly across turns, which can unnecessarily deteriorate responses that were already correct\. To address these limitations within a single framework, we employ Inference Time Intervention \(ITI\) to jointly control both behaviors by learning separate steering directions for hallucination and sycophancy from contrastive clinical pairs and applying them to causally verified attention heads\. During runtime, behavior\-specific gates then determine when intervention is needed: the hallucination component mitigates unsupported claims, while the sycophancy component mitigates answer shifts caused by user pressure\. We evaluate this framework on clinical questions grounded in EHR data while keeping the model weights frozen\. Across all evaluation settings, we conducted 15,900 model\-response runs\. Across 600 pressure trajectories for the 4\-billion\-parameter model, the unsteered model caved in 570 cases\. At the same time, gated steering helped it last longer in 551 of them\. It held its ground under pressure at levels comparable to those of models with more than 100 billion parameters, showing that targeted inference\-time steering can improve robustness without intervening at every turn\.

## Submission history

From: Himanshu Tripathi \[[view email](https://arxiv.org/show-email/d7d19710/2608.23666)\] **\[v1\]**Mon, 24 Aug 2026 17:22:34 UTC \(2,606 KB\)

Similar Articles

GAPS: Dimension-Level Gates for Conditional Activation Steering

arXiv cs.CL

GAPS introduces dimension-level gating for conditional activation steering in language models, combining static and dynamic gates to selectively intervene and improve behavior-capability trade-off, with significant gains in toxicity mitigation and concept removal tasks.

Present but Rescaled: Chat-to-Agent Transfer of Additive Activation Steering

arXiv cs.LG

This paper presents the first systematic study of how additive activation steering, calibrated in single-turn chat, transfers to tool-using ReAct agents. It finds that while the injected direction reaches late layers at near-full strength across settings, the behavioral coupling varies unpredictably between models and contexts, with amplification up to 2x or attenuation, posing immediate safety concerns.