Introduction
Standard probing techniques in Natural Language Processing (NLP) are used to interpret the internal representations of models like BERT or RoBERTa. By training a small supervised classifier (a probe) on a model's layers, researchers attempt to quantify the linguistic knowledge—such as part-of-speech or sentiment—encoded within. However, a significant logical flaw exists in current practices: if a representation encodes only the complex aspects of a property while lacking the "easy" aspects already present in a baseline (like word identity), standard probing may incorrectly report that the representation is less informative than the baseline.
This paper introduces conditional probing, a framework grounded in the theory of $\mathcal{V}$-information (usable information). This method measures the unique, usable information a representation contains beyond what is already available in a simple baseline, revealing that linguistic properties are preserved much deeper into neural models than previously believed.
Methodology
Conditional probing shifts the focus from the total information in a layer to the additional information it provides. The technique involves training two specific probes:
- Probe 1: Trained on the concatenation of the baseline ($B$) and the representation ($\phi(X)$).
- Probe 2: Trained on the concatenation of the baseline ($B$) and a null vector ($0$).
The "conditional probing performance" is defined as the difference between these two. By including the baseline in both probes, the representation is only credited for the novel information it contributes to the task. This approach utilizes $\mathcal{V}$-information, which accounts for computational complexity by measuring what a specific family of functions (e.g., linear models) can actually extract, rather than relying on traditional Mutual Information which can be misleading in deep learning contexts.
Experimental Setup
The researchers evaluated conditional probing across several standard NLP benchmarks, including Ontonotes v5 (for upos, xpos, and ner), Universal Dependencies (for dependency relations), and SST-2 (for sentiment). They tested the framework on ELMo and RoBERTa-base (12 layers).
Key Results and Insights
Linguistic Persistence in RoBERTa
A major finding is that context-specific linguistic information does not decay as rapidly as standard probing suggests. In RoBERTa, standard probing shows part-of-speech (upos) accuracy peaking in middle layers and dropping sharply in later layers. However, conditional probing reveals that once word-identity information is filtered out, the "usable" context-sensitive information remains remarkably stable even in the deepest layers.
Refining the ELMo Narrative
Previous literature suggested a sharp functional divide between ELMo's first layer (syntactic) and second layer (semantic). Conditional probing nuances this narrative. While the first layer remains superior for syntax, the gap is significantly smaller than previously reported when accounting for the input baseline.
For the upos task, the difference between Layer 1 and Layer 2 dropped from 0.04 bits under standard probing to 0.02 bits under conditional probing, suggesting the layers are more similar in their unique contributions than they appear.
Stability in Abstract Tasks
For more abstract tasks like Named Entity Recognition (NER) and Sentiment Analysis (SST-2), conditioning on the input layer did not significantly alter the trends. This suggests that these properties are almost entirely learned through context rather than being inherent in word identity.
Discussion and Limitations
While conditional probing provides a clearer picture of "usable" information, it remains dependent on the choice of the predictive family ($\mathcal{V}$). Different families (e.g., linear vs. non-linear) may yield different insights, and the choice of baseline is also a critical researcher-defined parameter. Furthermore, the method incurs a slightly higher computational cost due to the requirement of training probes with concatenated inputs. Despite these factors, the framework offers a more theoretically sound way to measure how neural networks build upon basic input features to form complex representations.
Summary updated