cd /news/large-language-models/sentence-level-contextual-entrainmen… · home topics large-language-models article
[ARTICLE · art-37194] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Sentence-Level Contextual Entrainment in Large Language Models

Researchers discovered sentence-level contextual entrainment in large language models, where sentences in prompts increase their probability during inference even if counterfactual. The phenomenon decreases with model size and is controlled by 2-4% of attention heads, which can be turned off to mitigate it without performance loss.

read1 min views2 publishedJun 24, 2026

arXiv:2606.24077v1 Announce Type: new Abstract: Contextual entrainment, which is a newly discovered phenomenon in large language models (LLMs), refers to the tendency of a model to assign higher probabilities to tokens that appear in its context. In this work, we extend this phenomenon from the token level to the sentence level by examining the per-token mean log-probability of a sentence instead of the probabilities of individual tokens. We investigate sentence-level contextual entrainment across 26 LLMs from seven families and two datasets, which cover both subjective and objective tasks. We find that sentence-level contextual entrainment exists. This means that the sentences in the prompt (even if they are counterfactual statements) can significantly increase their probability during model inference time. As the model size increases, contextual entrainment gradually decreases. We also find that contextual entrainment is controlled by 2% to 4% of the attention heads. Turning off these attention heads can effectively mitigate contextual entrainment without hurting the model's performance.

── more in #large-language-models 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/sentence-level-conte…] indexed:0 read:1min 2026-06-24 ·