TL;DR
This paper investigates whether popular Transformer-based language models are truly "semantically faithful" – meaning they rely on the actual content of text to answer questions, not just superficial cues. The authors introduce novel "deletion" and "negation" interventions to test this, finding that even state-of-the-art models fail significantly, often relying on irrelevant information. They propose a training method that improves faithfulness for deletion interventions but not for negation or predicate-argument structure.
What Problem Does This Paper Address?
Transformer-based language models (like BERT, RoBERTa, XLNet) have achieved remarkable success across various Natural Language Processing (NLP) tasks, including question answering. However, their internal workings and the extent to which they truly "understand" text remain a significant research question. Specifically, this paper addresses the problem of semantic faithfulness: do these models base their inferences on the actual semantic content of the text, or do they rely on spurious correlations and superficial cues? This is crucial because if models are not semantically faithful, their outputs could be unreliable, leading to potentially serious consequences in real-world applications. The authors aim to quantify this lack of faithfulness and explore methods to improve it.
Methods
The core of the paper's methodology lies in input interventions. They introduce two novel interventions:
- Deletion Intervention: This involves removing a specific piece of text from the input story, called the "rationale," which is deemed necessary and sufficient for answering a particular question. A semantically faithful model should ideally fail to answer the question correctly after this removal.
- Negation Intervention: This modifies the text to make it inconsistent with the original answer to a question. A semantically faithful model should then provide a different answer (e.g., switch from "yes" to "no").
They also propose an intervention-based training (IBT) strategy. This involves training the model simultaneously on the original data and on data modified by interventions, specifically teaching it to predict "unknown" when the rationale is removed.
Finally, they investigate predicate-argument structure by asking models questions about object properties and semantically equivalent paraphrased questions.
Datasets
The authors use two established question answering datasets:
- CoQA (Conversational Question Answering): This dataset features stories, questions, and conversation histories, with human-annotated rationales for each question.
- HotpotQA (Multi-hop Question Answering): This dataset provides questions with supporting Wikipedia paragraphs and annotated rationales.
They also create modified versions of these datasets for their interventions (e.g., TS, TS-R, TS-R+Aug for CoQA).
Key Insights and Ideas
- Superficial Cues Dominate: The most striking insight is that even sophisticated Transformer models often rely on superficial cues rather than deep semantic understanding. For instance, a model might answer "What color was X?" by simply finding a color word near "X," even if that color is irrelevant to the actual question.
- Interventions Reveal Fragility: Deletion and negation interventions effectively expose the fragility of these models' reasoning. Removing or altering key semantic information causes significant performance drops, highlighting a lack of robust semantic grounding.
- IBT for Deletion, Not Negation: The proposed intervention-based training (IBT) significantly improves models' sensitivity to deletion interventions, reducing errors from ~50% to ~6%. However, this training does not help with negation interventions or predicate-argument structure tasks.
- Prompting vs. Fine-tuning: While InstructGPT models perform well on predicate-argument structure tasks, they, like other models, struggle with deletion and negation interventions, suggesting that prompting alone doesn't solve these fundamental faithfulness issues.
- Sensitivity to Irrelevant Words: Models can be surprisingly sensitive to semantically unimportant words or formatting changes (like extra spaces), indicating a lack of robust semantic processing.
Key Results
- Deletion Intervention: Models incorrectly predict the ground truth answer in approximately 50% of cases after deletion intervention.
- Negation Intervention: Models experience a ~20% drop in accuracy after negation intervention.
- IBT Effectiveness: Intervention-based training reduces deletion intervention errors to about 6%.
- Predicate-Argument Structure: Models show varying performance, with smaller models often struggling, and even large models exhibiting instability and sensitivity to irrelevant words.
- InstructGPT Performance: InstructGPT models perform well on predicate-argument structure but show similar failures to other models on deletion and negation interventions.
Limitations and Future Work
- Negation Intervention Remains Challenging: The authors acknowledge that their IBT strategy does not address the models' inability to handle negation intervention. Automating the creation of negation intervention data while preserving discourse coherence is a significant challenge.
- Predicate-Argument Structure Issues: Models struggle to reliably capture and utilize predicate-argument structure, often failing to distinguish between semantically equivalent questions or being misled by superficial word order.
- Future Work on Sensitivity: The authors propose exploring methods to measure and improve word sensitivity to their predicates, potentially by analyzing changes in contextualized embeddings when words are removed.
- Broader Applicability: They suggest extending the concept of semantic faithfulness to other domains like code generation and formal logic.
- Multiple Answers: The current work focuses on cases with a single ground truth answer. Future work could explore settings where multiple answers are possible.
Summary updated