Differential Backpack语言模型:用带符号上下文化权重实现语义抑制
Differential Backpack Language Models: Sense Inhibition via Signed Contextualization Weights
Differential Backpack通过差分注意力计算语义权重,允许上下文主动抑制某个词义,在WikiText-103等参数下将Backpack与Transformer的困惑度差距缩小31%。该模型在OpenWebText上扩展至350M参数仍保持优势,学到的抑制可直接解释,如金融语境将bank的河流义权重压至-0.50,零样本句子相似度最高提升33%。
arXiv:2611.15642v1 Announce Type: new Abstract: Backpack language models predict with a strictly linear combination of non-contextual per-word sense vectors, weighted by non-negative contextualization scores. We show that non-negativity conflates two properties: the linear readout, which carries the interpretability, and the conic combination, which merely restricts it. We relax the latter by computing the sense weights with differential attention, a difference of two softmax maps with a learned per-sense gain, so context can actively inhibit a sense; we call the result a differential Backpack. At equal parameters on WikiText-103 this cuts the Backpack's perplexity gap to a Transformer by 31%, improves over the softmax Backpack at every sense count, persists with a shrinking margin up to 350M parameters on OpenWebText, and is localized at the sense layer by ablations and controls. The learned inhibition is directly interpretable (a financial context drives the river sense of bank to -0.50), and the preserved per-sense attribution predicts counterfactual removals exactly. We tested a number of combination rules, showing the linear interface is nearly free. Making the readout nonlinear gains only 0.43 perplexity points while invalidating two thirds of the decomposition. The differential Backpack's senses are also better representations, improving zero-shot sentence similarity by up to 33%.
来源:arXiv (AI + Vision + Imaging) · arxiv.org