Using “Annotator Rationales” to Improve Machine Learning for Text Categorization
Summary
Building supervised classifiers needs many labeled examples, and labeling is costly. Zaidan, Eisner and Piatko propose having annotators state not only the label of an example but also why they chose it. While classifying a document, the annotator highlights the text spans ("rationales") that drove the decision. The authors added such highlights to the movie review polarity corpus of Pang and Lee.
To use rationales in an SVM, they build "contrast" documents by masking one or all highlighted spans. They then require the model to score the original document more confidently than each contrast version, by a tunable margin. These extra constraints become weighted pseudo-examples, so a standard soft-margin SVM solver can still be used. The method improves sentiment classification significantly, even when only part of the training set carries rationales. A separate study showed reasonable agreement between annotators on which spans matter.
The broader point is that, in some settings, an annotator's time may be better spent explaining a few labels than labeling more examples. This gives a new way to ease the annotation bottleneck, alongside active and semi-supervised learning.
Key points
- Data: version 2.0 of the polarity dataset, drawn from work by Pang et al. (2002) and by Pang and Lee (2004).
- It has 1000 positive and 1000 negative IMDb reviews by 312 authors, split into 10 folds.
- Author A0 marked rationales on folds 0–8 (1,800 documents).
- A0 averaged 8.55 rationales per review, with a median of 8 and a mode of 7.
- Method: each contrast example yields a constraint w·(x − v) ≥ µ(1 − ξ), with its own slack cost C_contrast.
- Dividing by µ turns these constraints into ordinary pseudo-examples (x − v)/µ.
- A 0 is prepended to each pseudo-example instead of the bias 1.
- The values of µ, C and C_contrast are tuned on held-out data.
- Agreement study: 150 randomly chosen documents were annotated by four annotators.
- Their thoroughness varied widely, from 5.02 rationales per document (A1) to 11.36 (AY).
- 91.4% of A1's rationales overlapped with spans marked by at least one other annotator.
- Annotators needed no knowledge of the classifier's features; they simply boldfaced phrases in an HTML editor.
- The rationale-annotated corpus is released publicly at cs.jhu.edu/~ozaidan/rationales.
- Proposed future work is a generative, log-linear model that jointly predicts labels and rationales.
- It would model the annotator's limited patience, sloppiness and bias.
- It would remove the need for contrast examples.
Interesting ideas
- I1. Explanations as cheap supervision. Asking annotators to highlight supporting evidence while they label costs little extra effort. It addresses the credit-assignment problem directly, so it could help any low-resource labeling effort, such as Ukrainian text classification.
- I2. Contrast examples via masking. Removing the evidence a human marked as important should make the model less confident. This turns a vague "focus here" hint into concrete training constraints, and the idea can be reused wherever spans can be deleted or masked.
- I3. Reducing a new constraint type to the standard solver. Rescaling the difference vectors lets off-the-shelf SVM software handle the margin between originals and contrasts. This is a handy pattern for adding side information without writing a custom optimizer.
- I4. Feature-agnostic annotation. Annotators mark raw text rather than judging features. The same rationale data can therefore be reused with different feature sets or learners, which makes the resource last longer.
- I5. "Lazy annotator" simulation. The authors kept only a random fraction of A0's rationales and found no notable difference in results. This suggests annotation guidelines could deliberately ask for only the most obvious evidence to save time, and that it is worth testing such cost–benefit trade-offs before large annotation campaigns.
Cited by
- A Diagnostic Study of Explainability Techniques for Text Classification
- Interpretable Neural Predictions with Differentiable Binary Variables
- Analysis Methods in Neural Language Processing: A Survey
- Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Cases
- ERASER: A Benchmark to Evaluate Rationalized NLP Models
- Why are You Taking this Stance? Identifying and Classifying Reasons in Ideological Debates
- Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizes
- Large Language Models Can Self-Improve
- Learning to Faithfully Rationalize by Construction
- Human Rationales as Attribution Priors for Explainable Stance Detection
- Symbolic Chain-of-Thought Distillation: Small Models Can Also “Think” Step-by-Step
- Towards Faithful Model Explanation in NLP: A Survey
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning
- Arabic Dialect Identification
Cite
@inproceedings{zaidan2007using,
title = {{Using “Annotator Rationales” to Improve Machine Learning for Text Categorization}},
author = {Zaidan, Omar and Eisner, Jason and Piatko, Christine},
booktitle = {Human Language Technologies 2007: The Conference of the North American Chapter of the Association for Computational Linguistics; Proceedings of the Main Conference},
year = {2007},
url = {https://aclanthology.org/N07-1033/}
}References
- Y. S. Abu-Mostafa. 1995. Hints. Neural Computation, 7:639– 671, July. find
- P. Beineke, T. Hastie, and S. Vaithyanathan. 2004. The sentimental factor: Improving review classification via human-provided information. In Proc. of ACL, pages 263–270. find
- A. L. Blum and R. L. Rivest. 1992. Training a 3-node neural network is NP-complete. Neural Networks, 5(1):117–127. find
- A. Culotta and A. McCallum. 2005. Reducing labeling effort for structured prediction tasks. In AAAI, pages 746–751. find
- S. Dumais. 1998. Using SVMs for text categorization. IEEE Intelligent Systems Magazine, 13(4), July/August. find
- T. Joachims. 1998. Text categorization with support vector machines: Learning with many relevant features. In Proc. of the European Conf. on Machine Learning, pages 137–142. find our card
- P. Kuusela and D. Ocone. 2004. Learning with side information: PAC learning bounds. J. of Computer and System Sciences, 68(3):521–545, May. find
- D. D. Lewis and W. A. Gale. 1994. A sequential algorithm for training text classifiers. In Proc. of ACM-SIGIR, pages 3–12. find
- B. Pang and L. Lee. 2004. A sentimental education: Sentiment analysis using subjectivity summarization based on minimum cuts. In Proc. of ACL, pages 271–278. find our card
- B. Pang, L. Lee, and S. Vaithyanathan. 2002. Thumbs up? Sentiment classification using machine learning techniques. In Proc. of EMNLP, pages 79–86. find our card
- H. Raghavan, O. Madani, and R. Jones. 2005. Interactive feature selection. In Proc. of IJCAI, pages 41–46. or black, since that would cause new features to fire. Possibly one could simply suppress any feature that depends in any way on the highlighted pixels, but this would take away too many import… find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/zaidan-2007-annotator-rationales-improve-machine-learning/