arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15836cs.CLcs.LG
收藏

潜在分类体系:语言模型预训练中属性归纳的发展机制

Latent Taxonomies: How Property Induction Develops in Language Model Pre-training

EPFL(洛桑联邦理工学院);AXA(安盛集团);Sorbonne University(索邦大学);Polish Academy of Science(波兰科学院)

Jan Sobotka, Ekaterina Goliakova, Marcin Detyniecki, Antoine Bosselut, Xavier Renard

AI总结:

该研究探究仅通过下一个 token 预测训练的语言模型是否发展出人类式的基于类别属性归纳,通过向 Pythia、OLMo 2 模型注入潜在分类体系,发现归纳能力随预训练量增强、随模型规模增大(数据固定)减弱等规律,揭示模型归纳泛化反映训练数据的潜在组织方式。

摘要:

当得知知更鸟拥有籽骨时,人们更倾向于将该属性延伸至麻雀而非鲸鱼,这种被称为基于类别属性归纳的行为在人类中已得到充分证实,但仅通过预测下一个 token 训练的语言模型是否会发展出该能力、以及如何发展尚不明确。为阐明这一问题,我们构建了一个由共享属性的合成实体组成的分层分类体系,随后将该潜在分类体系中的事实注入到 Pythia 和 OLMo 2 模型(参数规模从 70M 到 7B)的持续预训练中,并追踪归纳行为的发展。我们发现,仅通过下一个 token 预测就会出现与分类体系一致的归纳现象:从一个实体学到的属性在其分类体系内的迁移强度高于跨类别迁移。在模型内部,共享更深层级类别的实体在激活空间中变得更相似,聚类可从实体表示中恢复完整的分类树。与规模越大性能越好的常规预期相反,我们发现在数据预算固定时,归纳能力会随模型规模增大而减弱,这表明更大的模型会记忆单个事实而非将其压缩为共享结构。此外,归纳能力会随分类体系注入前的预训练量增加而增强,可迁移至新的上下文属性,还可被提示隐含的潜在分类体系覆盖。综上,这些结果表明模型的归纳泛化反映了其训练数据的潜在组织方式,对数据整理及预测所学事实的传播范围具有启示意义。

英文摘要:

When told that robins have sesamoid bones, people are far more prone to extend the property to sparrows than to whales. This behavior, called category-based property induction, is well documented in humans, but whether and how it develops in language models trained only to predict the next token is unclear. To shed light on this, we construct a hierarchical taxonomy of synthetic entities grouped by the properties they share. We then inject facts from this latent taxonomy into the continued pre-training of Pythia and OLMo 2 models from 70M to 7B parameters, and track the development of inductive behaviors. We find that taxonomically aligned induction emerges from next-token prediction alone: a property learned for one entity transfers more strongly within its taxonomic category than across categories. Internally, entities that share a deeper category become more similar in activation space, and clustering recovers the full taxonomic tree from entity representations. Contrary to the usual expectation that scale helps, we find that induction weakens with model size when the data budget is fixed, suggesting that larger models memorize individual facts rather than compress them into shared structure. Induction also strengthens with more pre-training before the taxonomy injection, transfers to novel in-context properties, and can be overridden by a latent taxonomy implied by the prompt. Together, these results show that a model's inductive generalization reflects the latent organization of its training data, with implications for data curation and for predicting how far a learned fact will spread.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑