Ghost Context: Measuring Cross-Context Interference in Long-Context Language Models

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Natural Language Processing · Depth: Expert, medium

Summary

The paper "Ghost Context: Measuring Cross-Context Interference in Long-Context Language Models" by Rohith Namboothiri, presented at TrustNLP 2026, introduces "Ghost Context" as a phenomenon where irrelevant context spans silently influence long-context language model outputs. This leads to "misattributed grounding," where claims are supported by the wrong input context, making it undetectable by standard faithfulness metrics. The research formalizes Ghost Context and proposes a causal mask-and-rerun attribution protocol to measure it. Evaluating three widely used models across a 272-case corpus, the study found that under realistic contextual conflict, strict Ghost Context Rate (GCR) reached 38.3% for temporal contradictions, and open-ended distractor influence occurred in 20.4% of evaluations. Crucially, the paper demonstrates that these errors are remediable, with masking the highest-attributed distractor span resolving 95.5% of errors (Fix@1) with only 2.4% collateral damage. It also introduces Contextual Invariance Rate (CIR) as a robustness metric.

Key takeaway

For Machine Learning Engineers developing or deploying long-context language models, understanding "Ghost Context" is critical. Your systems implicitly trust models to use correct context, but irrelevant spans can silently misattribute grounding. You should implement attribution protocols like the causal mask-and-rerun method to detect these errors. Prioritize evaluating models with Ghost Context Rate (GCR) and Contextual Invariance Rate (CIR) to ensure reliability, as these errors are largely correctable by masking distractor spans.

Key insights

Irrelevant context in long-context LMs causes "Ghost Context" errors, leading to misattributed grounding that is detectable and correctable.

Principles

Method

A causal mask-and-rerun attribution protocol measures Ghost Context by identifying and masking distractor spans. Contextual Invariance Rate (CIR) quantifies robustness to irrelevant context.

In practice

Topics

Best for: Research Scientist, AI Architect, AI Engineer, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.