跳到正文
arXiv cs.CL· Jian Gu, Hongyu Zhang, Chunyang Chen, Aldeida Aleti·· 2 天前AI 评分24

Lexical Reference Frames:用模型原生语义解读 LM 残差流

Lexical Reference Frames: Interpreting LM Residual Streams in Native Semantics

AI 导读

研究者提出 Lexical Reference Frames,通过模型自身剩余层读取隐藏状态,为每个隐藏状态构建原生参考框架。在 SmolLM3-3B 和 OLMo3-7B 中层深度,一阶框架 LexFrame[1] 一致性达 0.97,远超固定透镜的 0.30 和 0.35,读取状态与模型输出仅差 0.16 nats。

正文 · 原文

View PDF HTML (experimental)

Abstract:The vocabulary of a language model is its native semantics: the embedding and the unembedding fix the meaning of a state at the two ends of the residual stream. Between them, existing methods either reuse a fixed lens or treat the states as a point cloud, and neither reads a state the way the model does. We argue that every hidden state has a native reference frame, induced by the layers that read it next and adaptive to the context. Lexical reference frames approximate it by reading a state through the model's own remaining layers with a stated number of rounds of attention between positions and a typical attention output for the rest, without fitting to the model's output. No lens, with fixed directions per layer, can exceed the square root of the native frame's coherence, 0.30 and 0.35 at mid-depth of SmolLM3-3B and OLMo3-7B, whereas the first-order frame, LexFrame[1], reaches 0.97 and 0.97 and reads a state within 0.16 nats of the model's output. Its coefficients attribute predictions more faithfully than attribution patching, its lexical basis steers a prediction while sparing other tokens, and its confident readings would let an early exit skip 0.45 and 0.42 of the layers, where lenses skip almost none. In this way, lexical reference frames make every hidden state of the model readable, attributable and steerable.
Comments: Code: this https URL
Subjects: Computation and Language (cs.CL); Machine Learning (cs.LG)
Cite as: arXiv:2610.22169 [cs.CL]
  (or arXiv:2610.22169v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.22169

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Jian Gu [view email]
[v1] Thu, 15 Oct 2026 16:29:27 UTC (219 KB)

来源:arXiv cs.CL · arxiv.org