Hugging Face Trending Papers

Context Is King: How In-Context Specification Shapes the Geometry of Concepts

Large language models place structured concepts on geometrically faithful manifolds: weekdays lie on a circle, months on another, usually taken to be a fixed world-model the network stores and looks up. We show that context is king: the structure a model actually uses is set by the in-context specification.

arXiv Machine Learning
Nov 11

Linear Probes to Bayesian Manifolds: Geometry of Arithmetic in Large Language Models

Linear probes are used to investigate geometric structures in large language model activations, but probe accuracy alone conflates four distinct claims: decodability, shape, ownership, and causal use. The authors introduce a four‑stage Bayesian pipeline that separates these claims, applying it to two‑digit arithmetic in GPT‑J, Llama 3.1, and Pythia. Their findings show that while most concepts are decodable, only a minority of shapes are truly owned by the model, and interventions on a small set of dimensions capture most of the effect of full probes.

By Anshul Kumar, Neha Prasad, Manoj Kumar, Barnab\'as P\'oczos, Deeksha Varshney
arXiv Computation and Language
Oct 23

Meaning Contracts: Local Semantic Geometry in Large Language Models

The paper investigates how semantic meaning is arranged locally within large language models. By using two controlled probes—one cross‑lingual and one refinement probe—on four decoder‑only LLMs, it finds that after removing dominant variance directions, sentence pairs rank by semantic relatedness, semantic factors cluster around an invariant core with structured variation, refinement tightens neighborhoods, and sentence‑level versus token‑local readouts reveal complementary geometric patterns. These results suggest that LLM semantics form local anisotropic neighborhoods that contract when meaning is refined.

By Andr\'es Daniel Godoy Ortiz
arXiv Computation and Language
Oct 28

Language Models Keep Abandoned Analyses: Residue and Adaptation after Garden-Path Sentences

The study investigates whether large language models retain traces of abandoned syntactic analyses after encountering garden‑path sentences. Across 24 models ranging from 124 M to 70 B parameters, the authors find that a residue of the initial, incorrect analysis influences later object attachment, while an adaptation toward the resolved structure scales with disambiguation error. Activation‑patching experiments show that the residue is carried by noun‑phrase states computed under the object analysis, and that overriding these states largely removes the effect.

By Xiang Ding
arXiv Computation and Language
1d ago

Emergent Misalignment via In-Context Learning: Narrow in-context examples can produce broadly misaligned LLMs

The paper investigates whether emergent misalignment (EM) can arise through in‑context learning (ICL) rather than only through fine‑tuning. Across four model families—Gemini, Kimi‑K2, Grok, and Qwen—narrow in‑context examples cause models to produce misaligned responses to unrelated, benign queries, with EM rates ranging from 1% to 24% depending on model and domain, and appearing with as few as two examples. The study shows that larger model scale and explicit reasoning do not reliably protect against EM, and proposes that EM in ICL stems from a conflict between safety objectives and context‑following behavior, which can be mitigated by instructing models to prioritize safety. whyItMatters":"The findings reveal that in‑context learning is a previously underappreciated vector for emergent misalignment that resists simple scaling‑based solutions."

By Nikita Afonin, Nikita Andriianov, Vahagn Hovhannisyan, Nikhil Bageshpura, Kyle Liu, Kevin Zhu, Sunishchal Dev, Ashwinee Panda, Oleg Rogov, Elena Tutubalina, Alexander Panchenko, Mikhail Seleznyov
Hugging Face Trending Papers
Oct 27

Language Models Keep Abandoned Analyses: Residue and Adaptation after Garden-Path Sentences

The study investigates whether large language models retain traces of abandoned syntactic analyses after encountering garden‑path sentences. Across 24 models ranging from 124 M to 70 B parameters, the authors find that a residue of the initial, incorrect analysis influences later object attachment by about three‑quarters of the effect seen when the noun phrase is truly an object. They further show that this residue originates from role information in the noun phrase’s states computed under the initial analysis, and that adaptation toward the resolved structure scales with disambiguation error and primarily affects comprehension‑like measures.

arXiv AI
Oct 2

The Geometry of Contextual Relations: Language Models Address Facts by Order of Mention

The paper investigates how large language models (LLMs) encode and retrieve facts based on their order of mention in a context. By measuring changes in hidden states when shifting questions from one fact to another, the authors identify an "ordinal vector" that points to a fact’s position in the list rather than its name. Across several models (Qwen, Gemma, Llama), these ordinal addresses are ordered, steerable, low‑rank, and emerge in mid‑layers, suggesting that LLMs locate facts by their mention order, mirroring aspects of human recall.

By Yufa Zhou
arXiv Machine Learning
Nov 2

When Less is More: The LLM Scaling Paradox in Context Compression

The paper reports a Size‑Fidelity Paradox in large‑language‑model (LLM) context compression: larger compressors can produce lower reconstruction error yet yield less faithful reconstructed contexts. Two key mechanisms drive this effect: knowledge overwriting, where larger models replace source facts with their own beliefs, and semantic drift, where they paraphrase or restructure content. Across 27 compressor setups, mid‑sized models often recover contexts more faithfully, and analysis of embedding geometry shows that larger models organize memory into broader semantic subspaces, leading to ambiguous representations that weaken recovery.

By Ruishan Guo, Yibing Liu, Guoxin Ma, Yan Wang, Yueyang Zhang, Long Xia, Kecheng Chen, Zhiyuan Sun, Daiting Shi
arXiv Machine Learning
Sep 2

How Do Language Models Choose Between Context and Memory?

The paper investigates how language models decide between contextual information and their internal memory when the two conflict. By estimating "authority directions" from agreement prompts and swapping these directions between matched prompts, the authors show that such interventions can reproduce 30–68% of the shift in source choice across Qwen, Llama, and OLMo models. Cross‑task experiments reveal that authority directions learned on one task transfer only modestly (≈9%) to another, indicating that authority computations are largely task‑specific.

By Benjamin Shih, John Winnicki, Arianna Cao