Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?
Abhilasha Ravichander, Yonatan Belinkov, Eduard Hovy
Introduction
Neural models have established state-of-the-art performance on several NLP benchmarks Kim (2014); Seo et al. (2017); Chen et al. (2017); Devlin et al. (2019). However, these models can be opaque and difficult to interpret, posing barriers to widespread adoption and deployment in safety-critical or user-facing settings Belinkov and Glass (2019). How can we know what information, if any, neural models learn and leverage to perform a task? This question has spurred considerable community effort to develop methods to analyze neural models, motivated by interest not just to have models perform tasks well, but also to understand the mechanisms by which they operate.
A popular approach to model introspection is to associate the representations learned by the neural network with linguistic properties of interest, and examine the extent to which these properties can be recovered from the representation Adi et al. (2017). This paradigm has alternatively been called probing Conneau et al. (2018), auxiliary prediction tasks Adi et al. (2017) and diagnostic classification Veldhoen et al. (2016); Hupkes et al. (2018). As an example of this approach, let us walk through an application to analyze information about tense stored in a Natural Language Inference (NLI) model. In Conneau et al. (2018), three sentence-encoder models are trained on a NLI dataset (MultiNLI; Williams et al., 2018). The encoder weights are frozen, and the encoders are then used to form sentence representations for the auxiliary task— predicting the tense of the verb in the main clause of the sentence. A separate classifier, henceforth called the probing classifier, is trained to predict this property based on the constructed representation. The probing task itself is typically selected to be relevant to the training task, and high probing performance is considered as evidence that the property is encoded in the learned representation. Due to its simplicity, a growing body of work uses this approach to pinpoint the information models rely on to do a task Alt et al. (2020); Giulianelli et al. (2018); Saleh et al. (2020).
In this work, we examine the connection between the information encoded in a representation and the information a model relies on. Through a set of carefully designed experiments on the benchmark SentEval probing framework Conneau et al. (2018), we shed light on information use in neural models. Our story unfolds in four parts:
First, we establish careful control versions of the training task such that task performance is invariant to a chosen linguistic property (Figure 1). We show that even when models cannot use a linguistic property to perform the task, the property can be reliably recovered from the neural representations through probing (§4.1).
Word embeddings could be a natural suspect for this discrepancy. We demonstrate that initializing models with pretrained word embeddings does play a role in encoding some linguistic properties in sentence representations. We speculate that probing experiments with pretrained word embeddings conflate two tasks — training word embeddings and the main task under consideration (§4.2).
What happens if we neutralize the effect of pre-trained word embeddings? Even when word embeddings are trained from scratch, we demonstrate that models still encode linguistic properties when they are not actually required for a task (§4.3).
Finally, through a carefully controlled synthetic scenario we demonstrate that neural models can encode information incidentally, even if it is distributed as random noise with respect to the training task (§5). We discuss several considerations when interpreting the results of probing experiments and highlight avenues for future research needed in this important area of understanding models, tasks and datasets (§6).
Background and Related Work
Progress in Natural Language Understanding (NLU) has been driven by a history of defining tasks and corresponding benchmarks for the community Marcus et al. (1993); Dagan et al. (2006); Rajpurkar et al. (2016). These tasks are often tied to specific practical applications, or to developing models demonstrating competencies that transfer across applications. The corresponding benchmark datasets are utilized as proxies for the tasks themselves. How can we estimate their quality as proxies? While annotation artifacts are one facet that affects proxy-quality Gururangan et al. (2018); Poliak et al. (2018); Kaushik and Lipton (2018); Naik et al. (2018); Glockner et al. (2018), a dataset might simply not have coverage across competencies required for a task. Additionally, it might consist of alternate “explanations”, features correlated with the task label in the dataset while not being task-relevant, which models can exploit to give the impression of good performance at the task itself.
Two analysis methods have emerged to address this limitation: 1) Diagnostic examples, where a small number of samples in a test set are annotated with linguistic phenomena of interest, and task accuracy is reported on these samples Williams et al. (2018); Joshi et al. (2020). However, it is difficult to determine if models perform well on diagnostic examples because they actually learn the linguistic competency, or if they exploit spurious correlations in the data McCoy et al. (2019); Gururangan et al. (2018); Poliak et al. (2018). 2) External challenge tests Naik et al. (2018); Isabelle et al. (2017); Glockner et al. (2018); Ravichander et al. (2019); McCoy et al. (2019), where examples are constructed, either through automatic methods or by experts, exercising a specific phenomenon in isolation. However, it is challenging and expensive to build these evaluations, and non-trivial to isolate phenomena Liu et al. (2019).
Thus, probing or diagnostic classification presents a compelling alternative, wherein learned representations can directly be probed for linguistic properties of interest Ettinger et al. (2016); Belinkov et al. (2017); Adi et al. (2017); Tenney et al. (2019); Zhang and Bowman (2018); Warstadt et al. (2019). There has been a variety of research that employs probing to test hypotheses about the mechanisms models used to perform tasks. Shi et al. (2016) examine learned representations in machine translation for syntactic knowledge. Vanmassenhove et al. (2017) investigate aspect in neural machine translation systems, finding that tense information could be extracted from the encoder, but that part of this information may be lost when decoding. Conneau et al. (2018) use probing to examine the correlation between linguistic properties and downstream tasks (including MT and NLI). Hupkes et al. (2018) train a ’diagnostic classifier’ to extract information from a sequence of hidden representations in a neural network. If the classifier achieves high accuracy, it is concluded that the network is keeping track of the hypothesized information. Giulianelli et al. (2018) use diagnostic classifiers to predict number from the internal states of a language model. Kim et al. (2019) study what different NLP tasks teach models about function word comprehension. Alt et al. (2020) analyze learned representations in relation extraction, through a set of fourteen probing tasks for relevant linguistic properties. Saleh et al. (2020) examine the representations learned by neural dialog models for insights into what the model learns about engaging in dialog. See the survey by Belinkov and Glass (2019) for many more examples.
Closely related to our work is that of Hewitt and Liang (2019), which studies the role of lexical memorization in probing, and recently the work of Pimentel et al. (2020) and Voita and Titov (2020) who analyze probing from an information-theoretic perspective. These works join an ongoing debate on the correct way to characterize the expressivity of the probing classifier, with the latter proposing ease of extractability as a criterion for selecting appropriate probes. Our work pursues an orthogonal line of inquiry, demonstrating that relying on diagnostic classifiers to interpret model reasoning for a task suffers from a fundamental limitation: properties may be incidentally encoded even when not required for a task. Thus, our work is also related to a broader investigation of how neural models encode information Tishby and Zaslavsky (2015); Voita et al. (2019), studying to what extent information encoded in neural representations is indicative of information needed to perform tasks.
Methodology
In this section we describe our modified probing pipeline (Figure 1), where we construct control datasets, such that a particular linguistic feature is not required in making task judgements.While our motivating example of a task is natural language inference, we expect control datasets can be constructed for most text classification tasks with a small finite label space. Control datasets are based on the intuition that a linguistic feature is not informative for a model to discriminate between classes if the linguistic feature remains constant across classes. For a task label and linguistic property , when every example in the control dataset has the same value for , the linguistic property in isolation is not discriminative of the task label .
To construct control datasets we hold constant the relevant property value across the whole dataset. In practice, the control datasets are constructed from existing large-scale datasets by partitioning them on the value of a linguistic property, such that every example in the sampled dataset has the same value of linguistic property.All probing tasks in this work take a sentence representation as input and perform mappings to binary labels {0, 1}. They are designed with the following considerations:
The linguistic property of interest is auxiliary to the main task and a function of the input, but not of the task decision.
Every sample in the training and test sets has the same fixed value of the linguistic property.
The training set is large in order to train parameter-rich neural classifiers for the task.
We next describe our main training task, our three auxiliary prediction tasks, and procedures to construct control datasets corresponding to each auxiliary property. Models are trained either on datasets constructed for the main task, or on control datasets, and then probed for the auxiliary property using data from a probing dataset. In this work, we use the experimental settings of Conneau et al. (2018) for both the training task and probing task, due to its popularity as a probing benchmark. However, the conclusions we draw are meant to illustrate the limits and generality of probing as a diagnostic method, rather than discuss the specific experimental settings of Conneau et al. (2018).
We study the Natural Language Inference (NLI) training task from Conneau et al. (2018) as the main task for training sentence encoders. NLI is a benchmark task for research on natural language understanding Cooper et al. (1996); Haghighi et al. (2005); Harabagiu and Hickl (2006); Dagan et al. (2006); Giampiccolo et al. (2007); Zanzotto et al. (2006); MacCartney (2009); Dagan et al. (2010); Marelli et al. (2014); Williams et al. (2018). Broadly, the goal of the task is to decide if a given hypothesis can be inferred from a premise in a justifiable manner. Typically, this is framed as the 3-way decision of whether a hypothesis is true given the premise (entailment), false given the premise (contradiction), or whether the truth value cannot be determined (neutral). We use MultiNLI Williams et al. (2018), a broad-coverage NLI dataset, to train sentence encoders.
Auxiliary Tasks:
We consider three tasks that probe sentence representations for semantic information from Conneau et al. (2018), all of which “require some understanding of what the sentence denotes”. We construct the probing datasets such that lexical items that are associated with the probing task do not occur across the train/dev/test split for the target. This design controls for the effect of memorizing word types associated with target categories Hewitt and Liang (2019). The tasks considered in this study are:
Tense: Categorize sentences based on the tense of the main verb.
Subject Number: Categorize sentences based on the number of the subject of the main clause.
Object Number: Categorize sentences based on number of the direct object of the main clause.
Control:
For each auxiliary task, we partition MultiNLI such that premises and hypotheses agree on a single value of the linguistic property. For example, for the auxiliary task Tense, sentences with VBP/VBZ/VBG forms are labeled as present and VBD/VBN as past tense.These heuristics are specific to English, as is MultiNLI. We use the Stanford Parser for constituency, POS and dependency parsing Manning et al. (2014). Subsequently, premise-hypothesis pairs where the main verbs in both premise and hypothesis are in past tense are extracted from train/dev sets to form the control datasets for tense. Thus, every sentence in the dataset (both premises and hypotheses), has the same value of the auxiliary property.This procedure replicates the original SentEval probing labels Conneau et al. (2018) with 89.37% accuracy on tense, 87.77% accuracy on subject number and 88.19% accuracy on object number.
This procedure results in three control datasets/tasks: MultiNLI-PastTense, MultiNLI-SingularSubject, and MultiNLI-SingularObject. For all three, we fix the value of the linguistic property to the one that results in the maximum number of training instances on partitioning, namely fixing past tense, singular subject number, and singular object number. Descriptive statistics for each dataset appears in Table 1.
Models:
We use CBOW and BiLSTM-based sentence-encoder architectures. The choice of these models is motivated by their demonstrated utility as NLI architectures Williams et al. (2018), and because their learned representations have been extensively studied for the three linguistic properties used in this work Conneau et al. (2017).We leave an exploration of recent transformer-based architectures to future work, noting however that this study stands alone as evidence that probing performance does not correlate to task importance.
Majority:
The hypothetical performance of a classifier that always predicts the most frequent label in the test set.
CBOW:
A simple Continuous Bag-Of-Words Model (CBOW). The sentence representation is the sum of word embeddings of constituent words. Word embeddings are finetuned during training.
BiLSTM-Last/Avg/Max:
For a sequence of words in a sentence , the bidirectional LSTM (BiLSTM; Hochreiter and Schmidhuber (1997)) computes N vectors extracted from its hidden states . We produce fixed-length vector representations in three ways: by selecting the last hidden state (BiLSTM-Last), by averaging the produced hidden states (BiLSTM-Avg) or by selecting the maximum value for each dimension in the hidden units (BiLSTM-Max).
All models produce separate sentence vectors for the premise and hypothesis. They are concatenated with their element-wise product and difference Mou et al. (2016), passed to a tanh layer and then to a 3-way softmax classifier. Models are initialized with 300D GloVe embeddings Pennington et al. (2014) unless specified otherwise, and implemented in Dynet Neubig et al. (2017). After the model is trained for the NLI task, the learned sentence vectors for the premise and hypothesis are probed. The probing classifier is a 1-layer multi-layered perceptron (MLP) with 200 hidden units.
Probing the Probing Paradigm
As a first step, we ask the question: to what extent is the information encoded in learned representations, as reflected in probing accuracies, driven by information that is useful for the training task? We construct multiple versions of the task (both training and development sets) where the entailment decision is independent of the given linguistic property, through careful partitioning as described in §3. To control for the effect of training data size, we downsample MultiNLI training data to match the number of samples in each partitioned version of the task. These results are in Table 2.
Strikingly, we observe that even when models are trained on tasks that do not require the linguistic property at all for the main task (rows with PT in Table 2), probing classifiers still exhibit high accuracy (sometimes up to 80%). Probing data is split lexically by target across partitions, and thus lexical memorization Hewitt and Liang (2019) cannot explain why these properties are encoded in the sentence representations. Across models, on the version of the task where a particular linguistic property is not needed, classifiers trained on data that does not require that property perform comparably to classifiers trained on MultiNLI training data (DS vs PT models, on Dev-ST, Dev-SS, and Dev-SO).
2 Effect of Word Embeddings
A potential explanation lies in our definition of a “task”. Previous work directly probes models trained for a target task such as NLI. However, when models are initialized with pre-trained word embeddings, the conflated results of two tasks are being probed – the main training task of interest, and the task that was used to train the word embeddings. Both tasks may contribute to the encoding of information in the learned representation, and it is unclear to what extent they interact. Previous work has noted the considerable amount of information present in word embeddings, and proposed methods to measure this effect, such as comparing with bag-of-word baselines or random encoders Wieting and Kiela (2018). However, these methods fail to isolate the contribution of the training task.
To study this, we compare models initialized with pre-trained word embeddings Pennington et al. (2014) and then trained for the main task, to models initialized with random word embeddings and then updated during the main task. These results are presented in Table 3. We observe that probing accuracies drop across linguistic properties in this setting (compare rows with Word and Rand in the table), indicating that models with randomly initialized embeddings generate representations that contain less linguistic information than the models with pretrained embeddings. This result calls into question how to interpret the contribution of the main task to the encoding of a linguistic property, when the representation has already been initialized with pre-trained word embeddings. The word embeddings could themselves encode a significant amount of linguistic information, or the main task might contribute to encoding information in a way already largely captured by word embeddings.
3 How do models encode linguistic properties?
When we isolate the effect of the main task with randomly initialized word embeddings, are properties not predictive of the main task judgement still being encoded? To study this, we revisit our linguistic control tasks but train all models with randomly initialized word embeddings. We also train comparable models on downsampled MultiNLI training data. These results can be found in Table 4. We observe that even in the setting with randomly initialized word embeddings, these properties are still encoded to a similar extent (and above the majority baseline) in the downsampled and control versions of their task.
A Synthetic Experiment: Analyzing Encoding Dynamics
We have demonstrated that models encode properties even when they are not required for the main task. Thus, probing accuracy cannot be considered indicative of competencies any given model relies on. What circumstances could lead to models encoding properties incidentally? Can we determine when a linguistic property is not needed by a model for a task? To study this, we build carefully controlled synthetic tests, each capturing a kind of noise that could arise in datasets.
We consider a task where the premise P and hypothesis H are strings from of maximum length 30, and the hypothesis H is said to be entailed by the premise P if it begins with the same letter a or b,A task with a similar objective was used by Belinkov et al. (2019a) to demonstrate unlearning bias in datasets. The task is equivalent to XOR, which is learnable by an MLP. for example:
Consider the auxiliary task of predicting whether a sentence contains the character c from a representation, analogous to probing for a task-irrelevant property. We sample premises/hypotheses from a set of strings of maximum length 30, and simulate four kinds of correlations that could occur in a dataset by inserting c at a random position in the string after the first character:We additionally explore the utility of adversarial learning, as a potential approach to identifying properties required by a model to perform a task, by suppressing a property and measuring task performance (Appendix. A). We find in our exploration that adversarial approaches are not completely successful at suppressing the linguistic property under consideration, though capacity of the adversary could play a role.
Noise : The property could be distributed as noise in the training data. To simulate this, we insert c into 50% of randomly sampled premise and hypothesis strings.
Uncorrelated : The property could be unrelated to the task decision, but correlated to some other property in the data. To simulate this, we insert c to premises beginning with a.
Partial: The property could provide a partial explanation for the main task decision. To simulate this, we insert c to premise and hypothesis strings beginning with a.Models can use either the presence of c, or the first character of the strings being a to make their prediction, but they must use whether the first character of the strings is b.
Full: The property provides a complete alternate explanation for the main task decision. We insert c to premise and hypothesis strings whenever the hypothesis is entailed.
Descriptive statistics of all datasets are in Table 6.
2 Results
Figure 2(a) presents the performance of the model and the probe on the four test sets. We observe that we are able to train a classifier to predict the presence of c considerably above chance-level in all four cases. This is notable, considering that even when the property is distributed as random noise (Noise) uncorrelated with the actual task, the model encodes it. This simple synthetic task suggests that models learn to encode linguistic properties incidentally, implying it is a mistake to rely on the accuracy of probes to measure what information the model relies upon to solve a task. We further discuss the role of representation capacity and probing classifier expressivity:
Lower-capacity models may encode task-specific information at the expense of irrelevant properties. To examine this, we train the BiLSTM architecture with hidden size 10, 50, 100, 200, 300 and 600 units, and train the probing classifier on the auxiliary task. These results are reported in Figure 2(a). We observe that while the main task accuracy remains consistent across choice of dimension, probing accuracy decreases for models with lower capacity across categories. This suggests that the capacity of the representation may play a role in which information it encodes, with lower capacity models being less prone to incidentally encoding irrelevant information.
Probing classifier capacity:
We examine whether probing classifier capacity is a factor in the incidental encoding of linguistic properties. A more complex probing classifier may be more effective at extracting linguistic properties from representations. We experiment with probing classifiers utilizing 1-layer and 2-layer MLP’s of dimensions {10, 50, 100, 200, 1000}. The results are shown in Figure 2(b). We find that a higher-capacity probing classifier does not necessarily imply higher probing accuracy. Further, in all the settings of probing classifier capacity we study, we are able to perform the auxiliary task considerably above chance accuracy, even when the property is distributed as random noise.
Discussion
We briefly discuss our findings, with the goal of providing considerations for deciding which inferences can be drawn from a probing study, and highlighting avenues for future research.
Linguistic properties can be incidentally encoded: Probing only indicates that some property correlated with a linguistic property of interest is encoded in the sentence representation — but we speculate that it cannot isolate what that property might be, whether the correlation is meaningful, or how many such properties exist. As shown in the controlled synthetic tests, even if a particular property is not needed for a task, the information can be extracted from the representation with high accuracy. Thus, probing cannot determine if the property is actually needed to do a task, and should not be used to pinpoint the information a model is relying upon. A negative result here can be more meaningful than a positive one. Adversarially suppressing the property may help determine if an alternate explanation is readily available to the model, with an appropriate choice of probing classifier. In this case, if the model maintains task accuracy while suppressing the information, one can conclude the property is not needed by the model for the task, but its failure to do so is not indicative of property importance. Causal alternatives to probing classifiers that intervene in model representations to examine effects on prediction also present another promising direction for future work Giulianelli et al. (2018); Bau et al. (2018); Vig et al. (2020).
Careful controls and baselines: We emphasize the need for probing work to establish careful controls and baselines when reporting experimental results. When probing accuracy for a linguistic competence is high, it may not be directly attributable to the training task. In this work we identify two confounds: incidental encoding and interaction between training tasks. Perhaps future work will determine causes of incidental encoding and identify further baselines and controls that allow reliable conclusions to be drawn from probing studies.
Lack of gold-standard data of task requirements: While prior work has discussed the different linguistic competencies that might be needed for a task based on the results of probing studies, these claims are inherently hard to reliably quantify given that the exact linguistic competencies, as well as the extent to which they are required, are difficult to isolate for most real-world datasets. Controlled test cases (such as those in §5.1) are effective as basic sanity checks for claims based on diagnostic classification, and provide insight into encoding dynamics in sentence representations.
Datasets are proxies for tasks, and proxies are imperfect reflections: Finally, we speculate that while datasets are used as proxies for tasks, they might not reflect the full complexity of the task. Aside from having dataset-specific idiosyncrasies in the form of unwanted biases and correlations, they might also not require the full range of competencies that we expect models to need to succeed on the task. Future work should refine or move beyond the probing paradigm to carefully identify what the competencies reflected in any dataset are, and how representative they are of overall task requirements.
What probes are good for: This work explores only the implications of probing as a diagnostic tool for pinpointing the information models use to do a task. However, when sentence representations are used subsequently downstream (after being trained on the main task), probing can give insight into what information is encoded in the model (irrespective of how that encoding came to be). Future work could include exploring the connection between information encoded in the representation and whether models successfully learn to use them in downstream tasks.
Conclusion
The probing paradigm has evoked considerable interest as a useful tool for model interpretability. In this work, we examine the utility of probing for providing insights into what information models rely on to do tasks, and requirements for tasks themselves. We identify several considerations when probing sentence representations, most strikingly that linguistic properties can be incidentally encoded even when not needed for a main task. This line of questioning highlights several fruitful areas for future research: how to successfully identify the set of linguistic competencies necessary for a dataset, and consequently how well any dataset meets task requirements, how to reliably identify the exact information models rely upon to make predictions, and how to draw connections between information encoded by a model and used by a model downstream.
Acknowledgements
This research was supported in part by grants from the National Science Foundation Secure and Trustworthy Computing program (CNS-1330596, CNS15-13957, CNS-1801316, CNS-1914486) and a DARPA Brandeis grant (FA8750-15-2-0277). The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the NSF, DARPA, or the US Government. This research was also supported by the ISRAEL SCIENCE FOUNDATION (grant No. 448/20). Y.B. was also supported by the Harvard Mind, Brain, and Behavior Initiative. The authors would like to extend special gratitude to Carolyn Rose and Aakanksha Naik, for insightful discussions related to this work. The authors are also grateful to Yanai Elazar, Lucio Dery, John Hewitt, Paul Michel, Shruti Rijhwani and Siddharth Dalmia for reviews while drafting this paper, and to Marco Baroni for answering questions about the SentEval probing tasks.
References
Appendix A Adversarial Learning Framework
We explore an adversarial framework, as a potential approach to identifying incidentally-encoded properties. We study the utility of this framework within the controlled setting of the synthetic task described in Section 5, where a hypothesis H is entailed by a premise P, if they both begin with the same letter ’a’ or ’b’.
We train an adversarial classifier to suppress task-irrelevant information, in this case the presence of ‘c’. The goal is to analyze whether adversarial learning can help a model ignore this information while maintaining task performance. If the model succeeds, it indicates the model does not need the linguistic property for the task. Table 7 provides descriptive statistics for Noise, Uncorrelated, Partial and Full synthetic datasets, as well as the probing dataset used to train the external attack classifier. We ensure that datasets do not have any data leakage in the form of strings appearing across train/dev/test splits, or across task and probing splits in either the main task or the external held-out attacker dataset.
We follow the adversarial learning framework illustrated in Figure 3. In this setup, we have premise-hypothesis pairs and entailment labels , as well as labels for linguistic properties in each premise–hypothesis pair . We would like to train sentence encoders f() and f() and a classification layer such that (f(), f()), in a way that does not use . We do this by incorporating an adversarial classification layer such that = (f()), (f() Goodfellow et al. (2014); Ganin and Lempitsky (2015). Following Elazar and Goldberg (2018), we also have an external ‘attacker’ classifier to predict and from the learned sentence representation.We train the attacker on a held-out dataset with the linguistic property distributed as random noise (Table 7). We also ensure all examples in the attacker data are unseen in the main task, to prevent data leakage. A similar setup has been used by Belinkov et al. (2019b) to remove hypothesis-only biases from NLI models.
In training the adversarial classifier is trained to predict from the sentence representations , and the sentence encoder is trained to make the adversarial classifier unsuccessful at doing so. This is operationalized through the following training objectives optimized jointly:
where L is cross-entropy loss. The optimization is implemented through a Gradient Reversal Layer Ganin and Lempitsky (2015) which is placed between the sentence encoder and the adversarial classifier. It acts as an identity function in the forward pass, but during backpropogation scales the gradients by a factor controls the extent to which we try to suppress the property., resulting in the objective:
: We implemented the adversarial model using the Dynet framework Neubig et al. (2017), with a BiLSTM architecture of hidden dimension 200 units. Fixed length vector representations are constructed using the last hidden state and the model is trained for 10 epochs using early stopping. The attacker classifier is a 1-layer MLP with hidden size of 200 dimensions.
Results
Table 8 reports the performance of the adversarial and attacker classifiers on the four test sets. We observe that information about irrelevant properties can be extracted by attackers even under adversarial suppression, consistent with the findings of Elazar and Goldberg (2018) and Belinkov et al. (2019b). In the case of random noise, we do not find any setting of adversary weight that suppresses the attribute. We further explore issues of adversarial classifier strength:
Adversarial classifier capacity:
A more powerful adversarial classifier may be more effective at suppressing task-irrelevant information. To examine this, we fix the attacker classifier and experiment with adversarial classifiers with 1-layer and 2-layer MLP probes and dimensions 100, 200, 1000, 5000 and 10000 units, as reported in Figure 4. We find that varying the capacity of the adversarial classifier can decrease the attacker accuracy, though the choice of capacity depends on the setup used.
Considerations:
1) In synthetic tests, the main task function is learnable by a neural network. However, in practice for most NLP datasets this might not be true, making it difficult for models to reach comparable task performance while suppressing correlated linguistic properties. 2) Information might be encoded, but may still not be recoverable by the choice of probing classifierAll claims related to probing task accuracy, as in most prior work, are with respect to the probing classifier used.. 3) Adversarial learning does not remove all information from the representation Elazar and Goldberg (2018). 4) If comparable task accuracy can’t be reached, one cannot conclude a property is not relevant.This could be because the main task might be more complex to learn or unlearnable, or multiple alternate confounds could be present in data which are not representative of the decision-making needed for the main task.