paper-with-me

홈 › Papers

Resonant Context Anchoring: Decoupling Attention Routing and Signal Gain at Inference Time

2026-06-01 · Mingkuan Zhao, Yide Gao, Wentao Hu, Suquan Chen, Tianchen Huang, Zhenhua An, Zetao Chang, Xiayu Sun, Yuheng Min arxiv

Large Language Models (LLMs) frequently exhibit "contextual disregard" when faced with input evidence that conflicts with their internal parametric memory, leading to persistent factual hallucinations. Existing mitigation strategies primarily rely on suppressing specific neuron activations or employing computationally expensive contrastive decoding mechanisms, which often result in increased perplexity or significantly elevated inference latency. To address these limitations, we propose Resonant Context Anchoring (RCA), a lightweight inference-time intervention method grounded in the perspective of residual stream signal dynamics. RCA aims to resolve the signal attenuation of external evidence during its propagation through deep networks. The core mechanism involves the orthogonal decoupling of routing logic and information magnitude within the self-attention module. By utilizing raw pre-softmax attention scores as an instantaneous metric of semantic alignment, we construct a dynamic gain field via non-linear rectification to selectively amplify the norms of value vectors corresponding to context tokens, without altering the attention probability distribution. This mechanism effectively elevates the signal-to-noise ratio (SNR) of input evidence within the residual stream mixture, thereby robustly anchoring the generation trajectory to the truthful context during inference. Extensive experiments on the Llama-3 model series demonstrate that RCA significantly improves contextual faithfulness across multiple factual consistency and strong knowledge-conflict tasks, effectively suppressing parametric hallucinations. Furthermore, results confirm that as a training-free and computationally negligible plug-and-play module, RCA achieves a Pareto improvement in faithfulness and fluency while maintaining the model's general language understanding capabilities.

📄 PDF Abstract BibTeX arXiv:2606.01923

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

DTRNet: Dynamic Token Routing Network to Reduce Quadratic Costs in Transformers

2025-08-31 · Aman Sharma, Saeed Najafi, Parsa Farinneya, Benyamin Jamialahmadi 외 arxiv

Transformers achieve state-of-the-art results across many tasks, but their uniform application of quadratic self-attention to every token at every layer makes them computationally expensive. We introduce DTRNet (Dynamic …

CALYREX: Cross-Attention LaYeR EXtended Transformers for System Prompt Anchoring

2026-05-10 · Li Lixing arxiv

Modern large language models (LLMs) rely on system prompts to establish behavioral constraints and safety rules. Standard causal self-attention treats privileged instructions and untrusted user content with equal structu…

Representation over Routing: Diagnosing Temporal Routing Pathologies in Multi-Timescale PPO

2026-04-15 · Jing Sun arxiv

Temporal credit assignment in reinforcement learning is often approached by introducing value estimates at multiple discount factors. A natural next step is to let the actor dynamically route among these temporal heads, …

Reinforcement Learning

LINC: Decoupling Local Consequence Scoring from Hidden Matching in Constructive Neural Routing

2026-05-07 · Shaofeng Qin, Li Wang arxiv

Constructive neural routing solvers usually score the next action by matching a decoder context to candidate embeddings, hiding deterministic one-step consequences such as travel, waiting, slack, and capacity changes. We…

FOCAL-Attention for Heterogeneous Multi-Label Prediction

2026-04-21 · Chenghao Zhang, Qingqing Long, Ludi Wang, Wenjuan Cui 외 arxiv

Heterogeneous graphs have attracted increasing attention for modeling multi-typed entities and relations in complex real-world systems. Multi-label node classification on heterogeneous graphs is challenging due to struct…

Node Classification