Paper: 2612.04579 — Architectural Limits on Working Memory Make LLMs More Human-Like Authors: Samuel Joseph Amouyal, Aya Meltzer-Asscher, Jonathan Berant Categories: cs.CL Reading scope: Full original arXiv HTML (https://arxiv.org/html/2612.04579, 1,078,396 bytes, Sections 1–6 and Appendices A–I read without excerpting). Figures in the arXiv HTML are embedded as inline graphics rather than standalone image files, so all numerical claims are drawn directly from Tables 1–20 and the prose of Sections 2–5 and Appendices A–H.

The Problem

Read this sentence once and try to answer who resigned: “The reporter that the senator that the editor praised attacked resigned.” Or try keeping track of who greeted whom in “The waitress that the hostess praised greeted the customer.” or “The nurse beside the teacher near the waitress behind the maid greeted the visitor.” (Table 1 and Tables 6–8).

Human readers stumble badly on sentences like these. In the authors’ new Prolific comprehension study covering 21 conditions across 840 items and 8,069 human answers (Section 5.1, Table 17), human participants average 61% accuracy on working-memory-straining sentences—dropping to 51% on double center-embedding, 52%–57% when two to four noun phrases intervene, and 34%–45% when similar nouns interfere with each other. On sentences that are hard for reasons unrelated to working memory—such as rare words (“The philologist annotated the palimpsest.”, 87%), cataphora (89%), or pseudo-clefts (92%)—humans average 81%, a 20-point gap.

Unmodified large language models barely break a sweat. Across five pretrained base checkpoints from two open families—OLMo-2 (7B, 13B) with standard multi-head attention and Qwen3 (4B, 8B, 14B) with grouped-query attention—base models score 81%–93% on the working-memory sentences and 95%–98% on the non-working-memory sentences (Table 17), losing only 4 to 14 points and sitting 26 to 35 RMSE percentage points away from humans (Table 18).

Psycholinguists often blame this gulf on capacity: human working memory can juggle only a handful of items before retrieval interference sets in, whereas a Transformer attends freely across every prior token. Earlier efforts to make LLMs more human-like tried to hobble working memory from the outside—truncating the context window, adding recency biases, injecting noise into attention activations, or restricting context length during training (Section 1). Those interventions alter what enters the attention layer without changing how the Transformer architecture itself stores or processes short-term information. (The one architectural precedent, Timkey and Linzen 2023, tested an RNN with a single attention head rather than a modern multi-billion-parameter Transformer.)

If you instead constrain working memory directly inside the Transformer’s wiring, does the model start breaking on the same sentences humans break on—and does it start slowing down where humans slow down?

The Explanation

The authors test this hypothesis by running controlled architectural surgeries on all five base LLMs, allowing each modified model to adapt via 6 billion tokens of continued pretraining (“recovery”) on SlimPajama (Section 2, Appendix A.4), and comparing two working-memory-targeted constraints against a non-working-memory control.

Splitting Working Memory into Storage, Processing, and a Control

Drawing on Baddeley’s cognitive framework (Section 1 and Section 2.2), working memory has two jobs: storing information faithfully and processing it through retrieval and integration. Each intervention is applied uniformly across layers at four keep ratios—90%, 75%, 50%, and 25%—and remains active during both recovery and evaluation:

  1. Limiting processing — Attention-head pruning (HP): Remove entire key-value (KV) head groups in every layer, keeping the highest-magnitude groups by the Frobenius norm criterion of LLM-Pruner (Section 2.2.1, Appendix A.1). Because attention is the only mechanism that retrieves and integrates tokens across positions, cutting heads directly constrains working-memory operations.
  2. Limiting storage — Residual-stream bottleneck / down-projection (DP): Insert a low-rank down-and-up linear projection between every pair of internal layers, squeezing the residual stream from width d down to s times d (initialized via PCA on WikiText-2 activations and jointly trained during recovery, Section 2.2.2, Appendix A.2). This limits how much information can pass from layer to layer.
  3. Non-working-memory control — Fixed FFN-neuron dropout (FFN): Randomly zero a fixed fraction of SwiGLU feed-forward units in each layer before the down-projection (Section 2.2.3, Appendix A.3). Because FFN layers are commonly associated with long-term parametric knowledge rather than in-context working memory, this perturbs general capacity without directly restricting cross-token retrieval or residual width.

The Crucial Measurement Trick: Controlling for General Damage

There is an immediate trap when comparing surgeries across architectures: keeping 50% of attention heads does not inflict the same general language-modeling damage as zeroing 50% of FFN neurons. Measured by the rise in negative log-likelihood (Delta NLL) on WikiText-2 after recovery (Section 2.4, Figure 2), FFN dropout and down-projection average 0.41 and 0.39 nats of damage (peaking at 1.14 nats for OLMo-2 13B at 25% FFN), whereas head pruning averages only 0.23 nats.

To avoid comparing a scratched model against a crippled one, the authors fit a least-squares slope through the unmodified base model relating each task’s drop to WikiText-2 Delta NLL (Section 2.4, Appendix F.1). Every comparison is then expressed as performance lost per nat of general language-modeling damage—isolating how selectively an intervention hits working memory.

Stage 1: Both Architectural Limits Hurt Classic Working Memory

First, the authors verify that both surgeries actually impair working memory on six classic verbal WM tasks (Section 3, Appendix B): Sternberg-style word, number, and sentence probes, continuous word recognition, forward/reverse digit span, and character-to-city variable mapping with relocations.

Normalized per nat of WikiText-2 NLL damage (Section 3.2, Table 14):

  • Head pruning inflicts a larger WM cost than FFN dropout in 28 of 30 model–task pairs (5/5 models, one-sided sign test p = 0.031 at model level, 4.3e-7 across pairs).
  • Hidden-dimension bottlenecking also inflicts a larger WM cost than FFN dropout in 26 of 30 pairs (5/5 models, p = 3.0e-5 across pairs).
  • Head pruning beats bottlenecking in 27 of 30 pairs (5/5 models, p = 4.2e-6 across pairs).

Both targeted architectural limits genuinely degrade classic working memory beyond general language damage.

Stage 2: On Sentence Comprehension, Only Attention-Head Pruning Is Selective

Next comes the real test: yes/no comprehension questions on three sentence groups (Section 4, Tables 1–2, 4, 15–16)—simple baseline sentences (“The sky is clear and blue today.”), working-memory sentences (center embedding, intervening noun-phrase count, and similarity-based interference), and hard non-WM contrast sentences (cataphora, it-clefts, pseudo-clefts, passives, and rare words).

All base models and non-collapsed runs score well above 95% on baseline sentences, confirming they understand the task itself. (Fourteen of 80 intervened runs—11 at keep ratio 0.25 and 3 at 0.5—collapsed to chance or near-constant answers and are excluded from slope fits; Appendix D.3.3.)

Here the first surprise lands. On raw averages across all four strengths (Table 2), all three interventions lower WM accuracy by nearly the same amount (17.8 to 18.2 percentage points), while head pruning spares non-WM sentences far better (9.7 points lost vs. 12.7 for FFN dropout and 13.4 for down-projection). Once normalized per 0.1 nat of WikiText-2 NLL rise (Section 4.3.2, Tables 15–16):

  • Attention-head pruning is surgically selective: per 0.1 nat of damage, it drops WM comprehension by 4.9 to 10.8 percentage points more than non-WM comprehension across the five models, outperforming both FFN dropout (0.7 to 4.7 pp) and down-projection (1.8 to 5.4 pp) in all 15 of 15 model–WM-set cells (p = 3.1e-5) and all 5 of 5 models (p = 0.031).
  • Storage bottlenecking loses its advantage: despite hurting classic WM list-recall tasks in Stage 1, squeezing the hidden dimension cannot be reliably distinguished from random FFN dropout on sentence comprehension (higher WM cost in 8/15 cells and 3/5 models, p = 0.50; higher selectivity in 10/15 cells and 4/5 models, p = 0.15–0.19).

In Transformer sentence comprehension, restricting retrieval and integration (attention heads) selectively breaks center-embedded and interference-heavy sentences; squeezing residual-stream storage width does not.

Stage 3: Closer to Human Comprehension—Yet Blind to Human Reading Times

Does breaking WM sentences selectively actually make LLMs behave more like humans? Section 5 tests two facets of human language processing and uncovers a sharp split:

Attention-head pruning (after 6B-token recovery)
  |
  +--> Classic WM tasks (6 tasks)       : Strongly impaired (28/30 vs. FFN)
  +--> WM vs. non-WM sentence accuracy  : Selectively impaired (15/15 vs. FFN & DP)
  +--> Human comprehension accuracy     : Closes 40%-61% of RMSE gap (5/5 models)
  |                                       Condition-level r rises 0.20-0.51 -> 0.70-0.85
  |                                       (Within-condition item ranking: NO gain)
  +--> Human reading times (120 sets)   : NO meaningful improvement (-0.4% to +2.0% WM)

1. Human comprehension accuracy (Section 5.1, Tables 18–19): Comparing model balanced accuracy against the 21-condition Prolific human dataset, the single run closest to humans out of all 12 intervened runs is always a head-pruning run in every model (keep ratio 0.5 in four models, 0.25 in OLMo-2 13B; confirmed in 97%–100% of 2,000 bootstrap replicates). Head pruning closes 40% to 61% of the RMSE gap to humans (bringing RMSE down from 26–35 points to 12–20 points) and outperforms both FFN dropout (5/5 models reliably) and down-projection (5/5 models, 4 reliably) at equal NLL rise.

It also recovers which constructions humans find hardest: Pearson correlation across the 21 condition accuracies climbs from 0.20–0.51 for base models up to 0.70–0.85 for the best head-pruning run in every model (Table 19). At equal NLL rise, head pruning leads both controls in 4 of 5 models—with Qwen3 8B as a reliable exception where down-projection leads (HP - DP = -0.21). Crucially, however, Appendix H.3 (Figure 8) reveals a granularity limit: no intervention reliably improves within-condition item-level correlation with human errors (base rank correlation stays at 0.16–0.23 against a 0.57 human noise ceiling).

2. Human reading times (Section 5.2, Figure 7, Table 20, Appendix H.4) — the counterintuitive null result: Across 120 controlled reading-time contrasts with reliable human effects drawn from 15 self-paced reading, eye-tracking, and Maze datasets (62 WM contrasts covering center embedding, interference, and long dependencies; 58 non-WM contrasts covering garden paths and grammaticality violations), base LLM surprisal predicts 12%–16% of human slowdowns on non-WM constructions, but essentially nothing (-2% to +2%) on WM constructions.

Restricting the model’s architecture barely moves that needle. Across all 62 WM contrasts, the intervened models shift the predicted share of human slowdown by only -0.4% to +2.0% (while non-WM prediction actually slips 2–3 percentage points at maximum strength). The sole WM-specific flicker occurs on the 8 embedding-depth contrasts of Hahn et al. (2022), where predicted slowdown rises +7.8 percentage points per nat under head pruning and +5.1 under down-projection across all five models (vs. +0.5 for FFN dropout); even there, maximum head pruning only pulls the average share from -3.7% up to roughly 0% (driven mainly by a +12.5-point jump on Qwen3 4B vs. +0.9 to +3.1 on the other models), and the 6 missing-verb-phrase center-embedding contrasts do not move at all.

Core Concepts

1. Per-Nat Damage Normalization

Comparing structural lesions by raw keep ratio (say, removing 50% of attention heads vs. 50% of FFN neurons) confounds how much you broke the model with what you broke—here, FFN dropout causes nearly double the WikiText-2 NLL damage of head pruning (0.41 vs. 0.23 nats on average, Section 2.4). Measuring task degradation per unit of WikiText-2 NLL rise turns raw accuracy drops into a fair selectivity slope: on “The reporter that the senator that the editor praised attacked resigned.” versus “The philologist annotated the palimpsest.”, it shows whether the surgery specifically eroded working memory rather than making the whole model dumber. Without this normalization, raw WM drops across the three interventions look almost identical (17.8–18.2 points, Table 2).

2. Retrieval/Integration Processing vs. Residual Storage Width

In cognitive models of working memory, holding items in mind (storage) and binding or retrieving the right item amidst distractors (processing) are distinct bottlenecks. Mapped onto a Transformer, squeezing the residual stream between layers limits storage width, whereas pruning KV attention-head groups limits cross-token retrieval and integration. On “The nurse beside the teacher near the waitress behind the maid greeted the visitor.”, both limits hurt abstract list-memory drills (Stage 1), yet only pruning attention heads selectively impairs sentence comprehension relative to rare words or clefts (Stage 2)—suggesting that Transformer sentence comprehension under load hinges more on parallel attention routing than on residual-stream dimensionality.

3. Comprehension Outcome vs. Incremental Surprisal Dissociation

A model can end up answering “Did the senator attack the reporter?” with human-like error rates across sentence types while its word-by-word next-token surprisal still fails to spike where human eyes pause. Pruning attention heads aligns the offline outcome (which constructions break comprehension) without repairing the online link from surprisal to reading time across 120 psycholinguistic contrasts (Section 5.2). That dissociation warns against treating human-like accuracy and human-like processing time as interchangeable proxies for cognitive similarity.

The Insight

The study delivers a nuanced, two-part empirical conclusion for cognitive modeling with Transformers: pruning attention heads—not shrinking residual-stream width or lesioning FFN layers—selectively reproduces human-like working-memory failures in sentence comprehension, closing 40%–61% of the accuracy gap across both MHA and GQA model families; yet architectural working-memory limits alone do not make next-token surprisal predict human reading-time slowdowns. In other words, limiting attention heads brings comprehension outcomes closer to humans at the condition level, while leaving the core puzzle of human online processing times intact.

A Critical Reading

The experimental discipline is strong: five models across two attention layouts (MHA in OLMo-2, GQA in Qwen3), 6B-token recovery pretraining, a non-WM FFN lesion control, WikiText-2 damage normalization, newly collected human comprehension benchmarks, and 120 reading-time contrasts across 15 studies. Several grounded limitations and open caveats stand out directly from the text and appendices:

  • No unmodified recovery-trained control (explicitly noted in Appendix H.2): All intervened checkpoints received 6B tokens of continued SlimPajama pretraining, whereas the base models did not. While between-intervention comparisons (head pruning vs. FFN dropout) cancel this out, part of any shift relative to the unmodified base model may stem from continued pretraining itself.
  • Asymmetric lesion mechanics (Appendices A.1–A.3): Head pruning retains the most important KV groups by Frobenius norm, FFN dropout zeroes random SwiGLU units, and down-projection actually introduces extra trainable bottleneck parameters (2(L-1)dr). Moreover, Table 18’s bottom rows show that while head pruning leads FFN dropout in 5/5 models when matched on equal NLL rise or equal balanced accuracy lost, per-nat slope puts head pruning ahead of FFN in only 3 of 5 models for closing the human accuracy gap.
  • Human study response bias and low item reliability (Appendix H.1): Because each human set used only one question polarity (yes for embedding depth, no for the other six sets), human participants displayed a yes-bias—scoring below chance on similarity interference (34%–45%) and simple it-clefts (46%). Condition-level split-half reliability is very high (0.99), but with ~9 answers per item, item-level reliability is only 0.33, and models had to be evaluated via balanced accuracy rather than the exact unbalanced probe humans saw.
  • Post-hoc surgery rather than developmental pretraining (Section 6): Cutting heads out of an already-pretrained model and recovering for 6B tokens is not the same as pretraining a narrow-attention model from scratch, and combining head pruning with hidden-dimension bottlenecks remains untested.
  • Why reading times stayed flat remains open: The authors note (Section 6) that why comprehension gains fail to transfer to reading-time prediction is still unexplained—whether the missing piece is pretraining from scratch, explicit recency/decay dynamics, or the linear surprisal-to-millisecond linking hypothesis itself (which held the base model’s linking slope fixed, Appendix H.4).

What You Can Use

Return to the opening question: how to study or build cognitively constrained LLMs that mirror human limits on complex nested and interference-heavy sentences—or conversely, what engineers risk when compressing deployed models.

  • For cognitive scientists modeling human language processing: If your goal is to test working-memory constraints inside modern Transformers rather than hacking prompts or context windows, pruning attention-head groups (around 50% keep ratio after recovery) is a far cleaner architectural lever than bottlenecking hidden dimension or ablating FFN units. Just do not stop at comprehension accuracy—and do not assume a model that mirrors human condition-level errors will automatically capture human item-level errors or eye-tracking slowdowns.
  • For LLM compression and pruning engineers: Flip the finding around. Pruning attention heads looks deceptively benign on standard perplexity benchmarks (raising WikiText-2 NLL by only 0.23 nats on average—almost half the NLL cost of FFN pruning at matching keep ratios, Section 2.4), yet per unit of perplexity lost, head pruning quietly inflicts the steepest damage on tracking nested clauses, long-distance bindings, and confusable entities (Tables 3 and 16). If you prune KV or attention heads for inference speed, WikiText perplexity will hide working-memory regressions—evaluate pruned checkpoints explicitly on multi-entity tracking, variable updates, and deeply nested comprehension before shipping.

论文: 2612.04579 — Architectural Limits on Working Memory Make LLMs More Human-Like 作者: Samuel Joseph Amouyal, Aya Meltzer-Asscher, Jonathan Berant 分类: cs.CL 阅读范围: 通读 arXiv 原文完整 HTML(https://arxiv.org/html/2612.04579,1,078,396 字节,正文第 1–6 节与附录 A–I 未截取片段)。原文图表以内联矢量形式嵌入 HTML,未提供独立位图文件,本文所有定量数据均直接核对自正文第 2–5 节、附录 A–H 及表 1–20。

问题

试着一口气读完下面这个英语句子,然后马上回答是谁辞职了:“The reporter that the senator that the editor praised attacked resigned.”(“编辑表扬的那位参议员攻击的那名记者辞职了。”) 或者再看一句角色高度相似的句子:“The waitress that the hostess praised greeted the customer.”(“女领班表扬的女服务员向顾客打了招呼。”)以及主谓之间隔着一串人名的句子:“The nurse beside the teacher near the waitress behind the maid greeted the visitor.”(表 1 与表 6–8)。

人类读者碰到这类句子很容易晕头转向。 作者在 Prolific 平台上新收集了覆盖 21 种语言条件、840 道题、8,069 份人类作答的句子理解数据(第 5.1 节,表 17):人类在高工作记忆负荷句上的平均正确率只有 61%——双重中心嵌套句跌到 51%,主谓间插入 2 到 4 个名词短语时跌到 52%–57%,高度相似名词互相干扰时更是只有 34%–45%。 相比之下,在同样困难但不怎么消耗工作记忆的句子上——比如生僻词句(“The philologist annotated the palimpsest.”,87%)、前指代词句(89%)或伪分裂句(92%)——人类平均能答对 81%,两类句子相差整整 20 个百分点。

可未经改动的大语言模型几乎毫不费力。 在两个开源家族的五个纯预训练基座模型上——采用标准多头注意力的 OLMo-2(7B、13B) 和采用分组查询注意力的 Qwen3(4B、8B、14B)——模型在工作记忆敏感句上高达 81%–93%,在非工作记忆难句上高达 95%–98%(表 17),两类差距只有 4 到 14 个百分点,整体与人类正确率的均方根误差(RMSE)远隔 26 到 35 个百分点(表 18)。

心理语言学界常把这种鸿沟归因于容量差异:人类工作记忆同时能攥住的信息极少,稍微多几个相似角色就会检索串台,而 Transformer 却能无损回看前面的每个词元。 以往想把大模型拉近人类认知的研究,大多是在外部输入侧动刀——截断上下文窗口、给注意力加近因偏置、往注意力激活里掺噪声,或者在训练时故意收窄上下文长度(第 1 节)。 这些做法改的是送进注意力层的输入,却没有改变 Transformer 架构本身存储和加工工作记忆的机制。(唯一的架构先例是 Timkey 和 Linzen 2023 年在单注意力头循环神经网络上的实验,离今天的十亿级 Transformer 相去甚远。)

如果直接对现代 Transformer 的内部结构动手术、从架构上掐紧它的工作记忆,模型会不会开始在人类犯错的句子上跟着犯错——又会不会在人类读得慢的地方跟着慢下来?

翻译

为了回答这个问题,作者给五个基座大模型分别实施了受控的架构干预,每次改完架构后再用 SlimPajama 语料续训 60 亿词元让网络适应恢复(第 2 节、附录 A.4),并把两种瞄准工作记忆的手术与一种非工作记忆对照组放在同一标尺下比试。

把工作记忆拆成“存”与“算”,外加一个对照组

按照 Baddeley 的经典认知模型(第 1 节与第 2.2 节),工作记忆干两件事:存储(把短时信息忠实留住)和加工(把存着的信息检索、整合起来)。 作者在模型所有层上统一施加干预,设置 90%、75%、50%、25% 四档保留比例,在恢复训练和评测阶段全程生效:

  1. 限制加工——剪除注意力头(Head Pruning, HP):按 LLM-Pruner 的权重弗罗贝尼乌斯范数重要性标准,在每层删掉整组键值(KV)注意力头(第 2.2.1 节、附录 A.1)。 注意力是 Transformer 跨词元检索与整合信息的唯一通道,剪掉注意力头就等于直接掐紧工作记忆的加工能力。
  2. 限制存储——残差流维度瓶颈(Down-projection, DP):在相邻两层之间插入一对低秩降维—升维线性投影矩阵,把层间残差流宽度从原维度压到原宽度的 s 倍(用 WikiText-2 激活的主成分分析初始化,并在恢复阶段联合训练,第 2.2.2 节、附录 A.2),以此限制每层之间能携带的信息带宽。
  3. 非工作记忆对照——固定前馈神经元失活(FFN Dropout, FFN):在每层 SwiGLU 前馈网络里随机固定清零一定比例的隐藏单元(第 2.2.3 节、附录 A.3)。 前馈层通常被认为存的是长期参数化知识而非上下文工作记忆,因此它用来对照“纯属打伤模型整体能力”会产生什么效果。

最关键的一步标尺:按通用语言损伤做归一化

不同架构手术对模型整体能力的破坏极不均等:同样保留 50%,剪一半注意力头和清零一半前馈神经元完全不是一回事。 用恢复训练后在 WikiText-2 上的负对数似然增幅(Delta NLL,单位为 nat)衡量语言建模总损伤(第 2.4 节、图 2),前馈失活和维度瓶颈平均让损失抬高了 0.41 和 0.39 nat(最高在 OLMo-2 13B 的 25% 前馈失活处飙到 1.14 nat),而剪注意力头平均只抬高了 0.23 nat。

为了不拿“擦破点皮的模型”和“已经重伤的模型”硬比,作者对每个模型、每种干预和每项任务,都穿过未改动基座(原点)拟合一条“任务掉分随 WikiText-2 Delta NLL 上升”的最小二乘直线(第 2.4 节、附录 F.1)。 这样一来,所有对比都落在同一把尺子上:每多承受 1 nat 的通用语言建模损伤,工作记忆究竟多掉多少分?

第一关:经典工作记忆测试,两种靶向手术都见效

作者先在六项经典言语工作记忆任务上验明正身(第 3 节、附录 B):Sternberg 风格的词表/数字/句子再认、连续词流再认、正背与倒背数字广度,以及角色搬家后的城市变量追踪更新。

按每 nat 通用语言损伤归一化后(第 3.2 节、表 14):

  • 剪注意力头在 30 组模型—任务对里的 28 组(5/5 个模型,单侧符号检验模型级 p = 0.031,配对级 p = 4.3e-7)上,对工作记忆的伤害都超过前馈失活对照。
  • 残差流降维瓶颈也在 30 组里的 26 组(5/5 个模型,配对级 p = 3.0e-5)上伤得比前馈失活更重。
  • 两者互比,剪注意力头在 30 组里的 27 组(5/5 个模型,配对级 p = 4.2e-6)上比降维瓶颈伤得更狠。

这说明在纯粹的记忆表和变量追踪任务上,限“存”和限“算”确实都在靶向削弱工作记忆。

第二关:一进句子理解,只有剪注意力头保住了选择性

真正的考题来了:用是非理解题测三类句子(第 4 节、表 1–2、4、15–16)——送分基线句(“今天天空晴朗蔚蓝”)、工作记忆高负荷句(嵌套深度、插入名词短语数、相似特征干扰),以及非工作记忆难句对照(前指、it 分裂句、伪分裂句、被动句、生僻词)。

所有基座和未崩溃的干预模型在基线句上准确率都远超 95%,说明它们完全懂怎么做题。(80 次干预运行中有 14 次因为强度过高崩溃到瞎猜或恒答一侧——11 次出在 25% 保留档,3 次出在 50% 档——已被剔除出斜率回归,附录 D.3.3。)

第一个意外在这里浮出水面。 只看四档平均的原始掉分(表 2),三种干预在工作记忆句上掉得几乎一样多(17.8 到 18.2 个百分点),但剪注意力头在非工作记忆难句上明显更手下留情(只掉 9.7 分,而前馈失活掉 12.7 分,降维瓶颈掉 13.4 分)。 一旦换成每 0.1 nat 通用语言损伤的选择性指标(第 4.3.2 节、表 15–16):

  • 剪注意力头展现出手术刀般的选择性:每损失 0.1 nat,它在工作记忆句上比非工作记忆句多掉 4.9 到 10.8 个百分点,在全部 15 个模型—句型单元里的 15 个(p = 3.1e-5)和全部 5 个模型(p = 0.031)上,全面压过前馈失活(0.7 到 4.7 分)和降维瓶颈(1.8 到 5.4 分)。
  • 降维瓶颈的选择性却哑火了:尽管第一关里它明显伤了经典记忆任务,可在真实句子理解上,残差流收窄跟随机前馈失活在统计上已经分不出高下(工作记忆斜率仅在 8/15 单元、3/5 模型领先,p = 0.50;选择性仅在 10/15 单元、4/5 模型领先,p = 0.15–0.19)。

也就是说,在 Transformer 理解复杂句子时,真正卡住嵌套与干扰的不是层间“通道有多宽”,而是跨词元检索整合的注意力头够不够用。

第三关:理解准确率大幅靠拢人类,阅读时间却纹丝不动

选择性削弱工作记忆之后,模型真的更像人了吗? 第 5 节拿两类人类行为数据一验,劈出了一道极具启发性的分水岭:

剪除注意力头(并续训 60 亿词元恢复)
  |
  +--> 经典工作记忆任务(6 项)     : 显著受损(28/30 胜过前馈对照)
  +--> 工作记忆 vs. 非工作记忆句   : 高度选择性受损(15/15 胜过前馈与降维)
  +--> 人类句子理解准确率(21 条件): 缩小 40%-61% 均方根差距(5/5 模型)
  |                                  条件难度相关从 0.20-0.51 升至 0.70-0.85
  |                                  (但同条件内单句排错顺序:无改善)
  +--> 人类阅读时间(120 组对照)   : 几乎无实质改善(工作记忆占比仅动 -0.4% 至 +2.0%)

1. 人类理解准确率:明显变像了(第 5.1 节、表 18–19)。 把模型的平衡准确率拿来跟 Prolific 上 21 个条件的人类准确率比对,在全部五个模型里,12 次干预运行中离人类最近的那一档无一例外全是剪注意力头(四个模型在 50% 保留档,OLMo-2 13B 在 25% 档;2,000 次自助法重抽样中 97%–100% 稳定夺冠)。 剪注意力头一口气把模型与人类之间 26–35 个百分点的均方根差距压到了 12–20 个百分点,缩小了 40% 到 61% 的鸿沟;在同等语言损失增量下,它在 5/5 个模型上稳赢前馈对照,在 5/5 个模型上领先降维瓶颈(其中 4 个统计显著)。

同时,模型也更懂哪些句型对人类最难:21 个条件准确率与人类的皮尔逊相关系数,从基座模型的 0.20–0.51 飙升到最佳剪头档位的 0.70–0.85(表 19)。 在同等语言损失增量下,剪注意力头在 4 个模型上击败两个对照,唯一的显著例外是 Qwen3 8B(该模型上降维瓶颈表现更好,两者差 -0.21)。 不过附录 H.3(图 8)紧接着泼了一盆清醒的冷水:如果钻到同一个条件内部,看模型能不能预测人类到底在哪一句上栽跟头,所有干预都没有带来可靠提升(单句秩相关停在 0.16–0.23,远低于 0.57 的人类数据噪声上限)。

2. 人类阅读时间:最反直觉的零结果(第 5.2 节、图 7、表 20、附录 H.4)。 作者汇总了 15 项自定步速阅读、眼动追踪和 Maze 实验里 120 组存在稳定人类效应的阅读时间对照(62 组工作记忆句:中心嵌套、干扰、长距离依赖;58 组非工作记忆句:花园路径句与语法违背句),用模型在关键区域及溢出区的惊奇度(surprisal)差值换算预测放慢毫秒数。

未改动基座模型在非工作记忆句上能解释 12%–16% 的人类阅读放慢,可在工作记忆句上几乎为零(-2% 到 +2%)。 动完架构手术之后,结果几乎没动弹:在全部 62 组工作记忆对照上,三种干预让预测占比的变动只有 -0.4% 到 +2.0%(而在非工作记忆句上,最强档位反而倒退了 2 到 3 个百分点)。 唯一冒出一点工作记忆特异性火花的,是 Hahn 等人(2022)的 8 组嵌套深度对照——剪注意力头每 nat 抬升 +7.8 个百分点、降维瓶颈抬升 +5.1(前馈对照仅 +0.5),且五个模型方向一致;可即便拉到最强档,剪注意力头也只是把预测占比从 -3.7% 拉回到接近 0%(主要靠 Qwen3 4B 跳了 12.5 分,其余模型只动了 0.9 到 3.1 分),另外 6 组缺动词短语中心嵌套对照则完全一动不动。

核心概念

1. 按每 nat 语言损伤归一化

如果直接比“砍一半注意力头”和“砍一半前馈神经元”,会把“打伤多严重”和“打伤了什么功能”搅成一锅粥——前馈失活带来的 WikiText-2 损失增量(平均 0.41 nat)几乎是剪注意力头(平均 0.23 nat)的两倍(第 2.4 节)。 换成“每增加 1 nat 通用困惑度损伤,目标任务掉多少分”的斜率,就能把“记者—参议员—编辑”嵌套句和“生僻词”句放在同一公平起跑线上比较选择性。 没有这把尺子,表 2 里三种干预在工作记忆句上的原始掉分全挤在 17.8–18.2 分,根本看不出剪注意力头的独特性。

2. 跨词元加工(注意力头)与层间存储带宽(残差流维度)的分化

认知心理学把工作记忆拆成“留得住”和“提得准、合得上”。 放到 Transformer 里,收窄层间残差流限的是通道存储宽度,剪除 KV 注意力头组限的是跨词元检索与整合算力。 回到“护士—老师—女服务员—女仆”那句长距干扰句,两种限制在抽象的词表记忆实验里都会拉低分数,但一进入完整句子理解,只有剪注意力头打出了相对非工作记忆难句的选择性掉分——说明 Transformer 在句法负荷下能否理清谁对谁做了什么,瓶颈更偏重注意力检索路由而非残差流宽度。

3. 理解结果像人,与实时阅读放慢不像人的分离

一个模型完全可能在做完阅读理解题时,在各类句型上的错题分布越来越像人类,可它逐词吐出概率时,却照样不在人类眼睛卡壳的地方表现出惊奇度飙升。 剪注意力头修齐了离线理解结局(大类条件难度),却没能打通在线阅读时间的 120 组对照(第 5.2 节)。 这提醒研究者:理解正确率和阅读耗时背后很可能连着不同的认知机制,不能拿其中一个当另一个的替身。

洞见

这篇论文为“用大模型模拟人类认知局限”留下了一项非常扎实、两面分明的判断:在 Transformer 内部,真正能选择性复现人类句子理解工作记忆短板的架构旋钮是剪除注意力头,而不是收窄残差流维度或打伤前馈层——它能把模型与人类在句型难度和准确率上的鸿沟缩小 40%–61%;但单靠这种架构工作记忆限制,仍然不足以让下一个词的惊奇度去预测人类的实时阅读放慢。 换句话说,架构限流拉近了“理解对不对”,却尚未触及“读起来卡不卡”的深层机制。

博导审稿

这篇工作的实验设计相当扎实:横跨多头注意力(OLMo-2)与分组查询注意力(Qwen3)两个家族五个规模,每种干预都做了 60 亿词元恢复训练,配了前馈失活对照组、按 WikiText-2 损失做了归一化,还新采了 8,000 多条人类理解数据并挂接了 15 项研究的 120 组阅读时间对照。 不过贴着原文和附录细查,有几处边界和隐患必须点出来:

  • 缺少“不改动架构、只续训 60 亿词元”的基线(附录 H.2 坦承):所有干预模型都在 SlimPajama 上续训了 60 亿词元,而基座模型没有。 虽然三种干预两两互比(如剪头对比前馈失活)能抵消这一因素,但干预模型相对基座的一部分变化,可能夹杂着续训数据本身的偏移。
  • 三种手术的施工方式并不完全对称(附录 A.1–A.3):剪注意力头按权重范数留的是“最重要”的 KV 组,前馈失活却是“随机”清零神经元,而降维瓶颈甚至额外引入了一批可训练的投影参数。 而且表 18 底部自己也列出了敏感性:按同等 NLL 增量或同等平衡准确率损失对齐时,剪头在 5/5 模型上胜过前馈;但换算成过原点的每 nat 斜率时,剪头在缩小人类差距这一项上只在 3/5 个模型领先前馈。
  • 人类理解数据带有作答偏差且单句信度偏低(附录 H.1):因为每个句型集给人类看的是单一方向的问题(嵌套深度全答“是”,其余六集全答“否”),人类表现出明显的“偏答是”倾向——导致相似干扰句(34%–45%)和简单 it 分裂句(46%)掉到随机水平以下。 条件级的分半信度高达 0.99,但每题平均仅约 9 人作答,单句级信度只有 0.33;模型端也因此改用正反成对问题的平衡准确率来评测,与人类实际面对的未平衡题面存在细微错位。
  • 事后动手术不等同于从零受限发育(第 6 节):先靠超大记忆预训练完再剪头恢复,跟从小就顶着有限注意力头学语言不是一回事,而且“剪头 + 降维”同时施加的交互效应也尚未测试。
  • 阅读时间纹丝不动的根因仍待解开:为什么模型在理解题上已经像人一样被嵌套和干扰绊倒,惊奇度却依然不放慢?究竟是缺了从零预训练、缺了显式衰减机制,还是“用基座固定斜率把惊奇度线性换算成毫秒”(附录 H.4)这条桥接假设本身不够,原文还没有答案。

启发

回到开头那两类最关心这个问题的读者:想拿大模型做认知模拟的研究者,和在生产环境给模型做剪枝瘦身的工程师。

  • 给语言认知建模研究者:如果你想在现代 Transformer 里检验工作记忆假说,而不只是在提示词或上下文窗口外面打补丁,剪除约一半 KV 注意力头组并做轻量恢复训练,比压窄隐藏层维度或随机屏蔽前馈层精准得多。 但验收时切忌只看条件级平均准确率——记得把同条件内单句错题排序和实时阅读时间对照一并纳入,因为理解像人并不自动推出在线加工像人。
  • 给大模型剪枝与压缩工程师:把这篇论文的结论反过来看,是一个极值钱的避坑预警。 剪注意力头在常规困惑度指标上看起来格外“划算”(WikiText-2 损失平均只涨 0.23 nat,几乎只有同等比例剪前馈层的一半,第 2.4 节),可摊到每单位困惑度损失上,剪注意力头恰恰是悄悄摧毁多层嵌套理解、长距指代和相似实体区分最狠的一刀(表 3 与表 16)。 如果你为了省显存和 KV 缓存加速推理而裁剪注意力头,别被好看的 WikiText 困惑度蒙过去——上线前务必专门加测多实体追踪、状态更新和复杂嵌套句理解。