Localist LLMs——动态局部性控制的数学框架
Localist LLMs -- A Mathematical Framework for Dynamic Locality Control
AI总结:
提出一种通过局部性调节旋钮动态控制大型语言模型局部化程度的数学框架,利用组稀疏惩罚等技术,使模型能在可解释与高性能模式间连续插值。
摘要:
我们提出了一种新颖的框架,用于训练具有连续可调内部表示的大型语言模型,这些表示跨越从局部(可解释、基于规则)到分布式(可泛化、高效)编码的完整范围。关键创新在于一个局部性调节旋钮,这是一个可调参数,能够在训练和推理期间动态控制局部化程度,而无需重新训练模型。这通过对注意力机制施加组稀疏惩罚、信息论锚点设计以及动态规则注入来实现。我们提供了严格的数学证明,确立了注意力可证明地集中于语义相关块的显式阈值条件,并对注意力熵和指针保真度给出了指数级界限。具体而言,我们证明当组稀疏惩罚超过特定阈值时,模型的注意力机制会集中于语义相关块,以可忽略的误差实现低熵和高保真度。该框架使从业者能够在可解释模式与高性能模式之间进行连续插值,支持在需要透明度和能力的受监管领域中的应用。
英文摘要:
We present a novel framework for training large language models with continuously adjustable internal representations that span the full spectrum from localist (interpretable, rule-based) to distributed (generalizable, efficient) encodings. The key innovation is a locality dial, a tunable parameter that dynamically controls the degree of localization during both training and inference without requiring model retraining. This is achieved through group sparsity penalties on attention mechanisms, information-theoretic anchor design, and dynamic rule injection. We provide rigorous mathematical proofs establishing explicit threshold conditions under which attention provably concentrates on semantically relevant blocks, with exponential bounds on attention entropy and pointer fidelity. Specifically, we prove that when group sparsity penalties exceed certain threshold values, the model's attention mechanisms concentrate on semantically relevant blocks, achieving low entropy and high fidelity with negligible error. This framework enables practitioners to continuously interpolate between interpretable and high-performance modes, supporting applications in regulated domains requiring both transparency and capability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。