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

AILA——局部主义语言模型的首次实验

AILA--First Experiments with Localist Language Models

Psychology Network Pty Ltd(心理学网络有限公司)

Joachim Diederich

AI总结:

本文提出AILA框架,通过可调局部性参数λ实现Transformer语言模型在局部主义与分布式表征之间的连续可控插值,实验证明中间局部性值可兼顾可解释性与性能。

摘要:

本文首次对Transformer语言模型中的可控局部性进行了实证演示,提出了一种新颖的架构框架,通过一个可调的局部性旋钮参数实现对表征局部化程度的连续控制。与仅依赖分布式表征的传统语言模型不同,我们的方法允许在高度可解释的局部主义编码与高效的分布式表征之间进行动态插值,且无需重新训练模型。我们在WikiText语料库上使用两层Transformer架构进行了实验,系统地将局部性参数λ在从1.0(完全局部主义)到0.0(完全分布式)的整个范围内变化。结果表明,局部主义配置实现了显著更低的注意力熵,λ=1.0时为5.36比特,而λ=0.0时为7.18比特,同时保持了显著更高的指针保真度分数,反映出与规则指定目标更强的对齐。预测实验表明,中间局部性值优化了可解释性与性能之间的权衡,λ=0.6时测试困惑度达到4.65,准确率达到84.7%。这些发现确立了局部主义语言模型为受监管领域中同时需要透明性和能力的应用提供了一个实用框架,通过显式惩罚阈值和信息论设计原则,对可解释性-性能谱提供了精确的数学控制。

英文摘要:

This paper presents the first empirical demonstration of controllable locality in transformer language models, a novel architectural framework that enables continuous control over the degree of representation localization through a tunable locality dial parameter. Unlike traditional language models that rely exclusively on distributed representations, our approach allows dynamic interpolation between highly interpretable localist encodings and efficient distributed representations without requiring model retraining. We conducted experiments on the WikiText corpus using a two-layer transformer architecture, systematically varying the locality parameter λ across the full spectrum from 1.0 (fully localist) to 0.0 (fully distributed). Our results demonstrate that localist configurations achieve dramatically lower attention entropy, with λ = 1.0 yielding 5.36 bits compared to 7.18 bits at λ = 0.0, while maintaining substantially higher pointer fidelity scores reflecting stronger alignment with rule-specified targets. Prediction experiments reveal that intermediate locality values optimize the tradeoff between interpretability and performance, with λ = 0.6 achieving test perplexity of 4.65 and accuracy of 84.7%. These findings establish that localist language models provide a practical framework for applications in regulated domains requiring both transparency and capability, offering precise mathematical control over the interpretability-performance spectrum through explicit penalty thresholds and information-theoretic design principles.

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

↑