The paper reports a new phenomenon called contextual entrainment, where language models give higher probability to tokens that have appeared earlier in the prompt, even if those tokens are irrelevant. This effect is largely mechanistic but is modulated by semantic factors, with counterfactual prompts amplifying it more than factual ones. The authors identify a set of attention heads—entrainment heads—responsible for this behavior, and show that disabling these heads reduces the entrainment effect, suggesting a path toward mitigating distraction in large language models.
By Jingcheng Niu, Xingdi Yuan, Tong Wang, Hamidreza Saghir, Amir H. Abdi
As large language models (LLMs) grow more capable, they are increasingly deployed in context-rich settings where task inputs are often accompanied by long, partially irrelevant context. In a controlled setting, we find that state-of-the-art models often appear robust to task-irrelevant context at the aggregate level: prepending it to benchmark questions causes little change in overall accuracy.
arXiv:2506.19549v2 Announce Type: replace-cross
Abstract: Identifying which tokens and activations truly influence model predictions is critical for both the efficiency and interpretability of large...
By Debabrata Mahapatra, Shubham Agarwal, Apoorv Saxena, Subrata Mitra
arXiv:2606. 09525v1 Announce Type: cross Abstract: During instruction fine-tuning (IFT), large language models (LLMs) learn to follow instructions by using the provided context to answer a query.
By Nadya Yuki Wangsajaya, Haeun Yu, Isabelle Augenstein
arXiv:2610.18674v1 Announce Type: cross
Abstract: Large language models rely on prompt context to perform in-context learning, follow formats, and adapt to local evidence. This ability, however, also...
By Jinghan Zheng, Jiajun Shi
The paper investigates how depth growth and looping in language models influence in-context learning (ICL). It shows that models with these architectural features rely more on contextual information, acquire ICL earlier, and retain it better than fully dense counterparts. Attention analysis reveals that depth growth propagates early induction heads across layers, and ablations confirm that these models depend more on induction-ranked heads for few‑shot performance and token prediction.
By Ferdinand Kapl, Kaitlin Maile, Stefan Bauer, Johannes von Oswald