Abstract
Probing neural representations for linguistic features is a cornerstone of interpretability in Natural Language Processing (NLP). However, classical Shannon Information Theory is constrained by the Data-Processing Inequality, which suggests that processing cannot increase information content. This paper introduces a Bayesian Mutual Information (Bayesian MI) framework that models probes as agents learning from finite data. This approach accounts for the "ease of extraction" and demonstrates that high-quality representations accelerate learning, even though they may lead to negative information in extremely low-resource settings.
Introduction: The Probing Paradox
In NLP, "probing" involves training a simple classifier on top of frozen representations (e.g., BERT) to identify learned linguistic features. Traditionally, Shannon’s Mutual Information (MI) has been used to quantify this. However, Shannon’s MI is limited by the Data-Processing Inequality, which posits that information cannot be created through processing; it can only be lost. Under this view, a raw sentence and its BERT embedding contain identical information regarding a task like part-of-speech tagging. This theoretical limitation fails to capture why certain representations are more useful than others. The authors propose a framework that prioritizes ease of extraction and the constraints of finite training data, where processing data into a better representation actually makes a task easier for a learner.
Methodology: Bayesian Mutual Information
The authors introduce Bayesian Mutual Information, shifting the perspective from an omniscient observer to a Bayesian agent—a learner with prior beliefs and limited observations. Unlike Shannon’s MI, which assumes knowledge of the true data distribution, Bayesian MI is defined by the agent's evolving belief.
Key technical shifts include:
- From Entropy to Cross-Entropy: Bayesian entropy is defined as the cross-entropy between the true distribution and the agent’s belief.
- Violating the Data-Processing Inequality: Mathematically, the authors prove that Bayesian MI does not obey this inequality. Consequently, a processed representation (like an ALBERT embedding) can possess higher Bayesian MI than the original text by making information more accessible to the agent.
- Learning Trajectories: Probing is treated as a trajectory, measuring how Bayesian MI grows as the agent observes more data examples ($N$).
Experimental Setup
The framework was evaluated using the Universal Dependencies (UD 2.6) treebanks for two tasks: Part-of-Speech (POS) tagging and Dependency Arc Labeling. Experiments spanned four linguistically diverse languages: English, Basque, Marathi, and Turkish. Representations compared included ALBERT, RoBERTa, BERT, fastText, and Random Embeddings.
Key Results and Insights
The study reveals that the quality of a representation is defined by the rate at which the Bayesian MI curve ascends. A superior representation reaches high MI with significantly fewer data points.
- Information Can Hurt: Unlike standard theory where more info is always better, the Bayesian framework shows that high-dimensional representations can lead to negative Bayesian MI in low-data regimes due to overfitting. This occurs when the representation makes the agent less certain about the truth than if it had no representation at all.
- Model Performance: In English tasks, ALBERT consistently provided more extractable information than BERT or RoBERTa across almost all data volumes. However, for low-resource languages like Marathi and Turkish, multilingual BERT often offered no advantage over simple fastText embeddings when data was scarce.
- Convergence: As data volume approaches infinity, Bayesian MI eventually converges to Shannon’s MI, bridging the gap between practical machine learning and classical theory.
Limitations and Future Work
Current implementations rely on MAP (Maximum A Posteriori) estimates due to the computational cost of full posterior sampling. Additionally, results are sensitive to the choice of the agent's prior. Future research could explore more cognitively demanding tasks to further validate the "ease of extraction" metric and its implications for model design.
Summary updated