TL;DR
Differential Backpacks improve the performance of interpretable language models by allowing them to actively inhibit incorrect word senses using signed weights. By replacing standard non-negative weights with a "differential" mechanism—the difference of two softmax maps—the authors cut the performance gap between interpretable models and black-box Transformers by 31% while maintaining exact, inspectable attribution.
What Problem Does This Paper Address?
Most modern language models are "black boxes"—we can't easily tell why they made a specific prediction. Backpack language models were designed to fix this by construction. They represent every word as a linear combination of fixed "sense vectors" (e.g., the word "bank" might have a "finance" sense and a "river" sense).
However, original Backpacks had a major limitation: their contextualization weights were non-negative (using a standard softmax). This meant the model could choose to use a sense or ignore it, but it could never oppose it. If "bank" appears in a financial context, the "river" sense might still "leak" into the final prediction because the model lacks a mechanism to actively cancel it out. This constraint leads to an "interpretability tax"—a significant drop in accuracy (perplexity) compared to standard Transformers.
Methods
The authors introduce Differential Sense Contextualization. Instead of computing sense weights with a single softmax, they use the difference of two: $$A^\ell = \text{softmax}(Q_1K^\top) - \lambda_\ell \text{softmax}(Q_2K^\top)$$ This allows the weights to be negative. The first map "excites" relevant senses, while the second "inhibits" wrong ones. A learned per-sense gain ($\lambda_\ell$) controls the strength of this inhibition.
Crucially, they keep the linear readout intact. Because the final prediction is still a simple weighted sum of sense vectors, we can still calculate the exact contribution of any specific sense to any specific prediction.
Datasets
The models were trained and evaluated on:
- WikiText-103: Used for the main 70M parameter experiments and ablation studies.
- OpenWebText: Used to test scaling behavior at 170M and 350M parameters.
- Downstream Probes: Evaluation included POS tagging (UD English-EWT), sentence similarity (STS-B), sentiment analysis (SST-2), and word-sense disambiguation (WiC).
Key Insights and Ideas
- Inhibition is a powerful disambiguator: In a financial context, the model doesn't just ignore the "river" sense of "bank"; it actively subtracts it (driving its weight to -0.50). This "differential denoising" significantly cleans up the model's internal representations.
- Linearity isn't the bottleneck: The authors tested a "ladder" of combination rules. They found that making the readout non-linear (adding an MLP) only improved performance slightly but destroyed the model's interpretability. The real "tax" comes from the reduced depth of the Transformer "trunk" needed to accommodate the sense dictionary's parameters.
- Better Semantic Representations: Because the model is forced to separate senses more cleanly to allow for inhibition, the resulting sense vectors are much better at capturing sentence-level meaning. The Differential Backpack improved zero-shot sentence similarity scores by up to 33% over the original version.
Key Results
- Perplexity: On WikiText-103, the Differential Backpack reduced the perplexity gap to a parameter-matched Transformer from 3.51 to 2.43 points (a 31% reduction).
- Debiasing: The authors demonstrated "sense-level control" by identifying gendered senses of profession nouns. By suppressing these senses (setting weights to negative values), they reduced gender bias by 39.7% at the 170M scale with minimal "collateral damage" to the model's overall performance.
- Word Sense Disambiguation: Qualitative analysis shows the model successfully separates distinct meanings. For the word "rock," the differential model devoted one sense to minerals and another to music, whereas the softmax model tended to blend these meanings together.
Limitations and Future Work
- Scaling Diminishing Returns: The relative advantage of the differential mechanism shrinks as the model size increases (from 4.4% at 70M to 2.5% at 350M). It remains to be seen if the benefit persists at the billion-parameter scale.
- Computational Cost: Adding the second attention map increases training time by 12–16% because the operation is memory-bound.
- Fixed Dictionary: The model still relies on a fixed per-token dictionary. The authors suggest that the "natural next step" is moving toward a global, overcomplete dictionary to further improve flexibility while maintaining the linear, interpretable interface.
Summary updated