potentialpaper

AdaptiveResidual: Inference-Time Trust Calibration for Contextual Knowledge Injection

Songlin Zhai, Jiaye Li, Tianyu Zhang, Yuan Meng, Guilin Qi

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. In modern large language models (LLMs), injecting external knowledge via the context to guide models' outputs toward desired outcomes (e.g., through RAG) is a standard practice. However, recent research reveals that once conflicts arise between the contextual information and the internal parametric knowledge, LLMs tend to underutilize the external evidence, leading to unreliable or even contradictory outputs. This raises a fundamental question: how can we dynamically reconcile these knowledge conflicts to ensure faithful integration of contextual information ? Inspired by mechanism interpretability findings that identify the Attention module as the primary aggregator of external context and the FFN module as the locus of internal knowledge lookup, we pinpoint the vanilla residual pathway as the crucial junction where these two information streams are integrated. Based on this insight, we introduce AdaRes (Adaptive Residual), a lightweight, parameter-free trust calibration mechanism that operates at test-time. Specifically, AdaRes recalibrates the standard residual connection to dynamically balance the influence of external knowledge (from Attention) and internal knowledge (from FFN). This balancing is guided by two instance-specific "trust scores", which are calculated on-the-fly by probing how much the input query relies on contextual versus parametric knowledge sources. By adaptively reweighting these contributions without altering any model parameters, AdaRes effectively mitigates knowledge conflicts. Experiments on different benchmarks verify the effectiveness of AdaRes in regulating contextual and parametric knowledge.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…