[Paper Review] Learning from Explanations with Neural Execution Tree
This paper proposes Neural Execution Tree (NExT), a framework that enhances text classification in low-resource settings by transforming natural language (NL) explanations into executable logical forms and using neural modules to generalize over linguistic variants. By softening exact matching with fuzzy, modularized matching (string, counting, logic, and deterministic functions), NExT significantly boosts recall and generalization, achieving state-of-the-art performance on relation extraction and sentiment analysis with minimal annotation effort.
While deep neural networks have achieved impressive performance on a range of NLP tasks, these data-hungry models heavily rely on labeled data, which restricts their applications in scenarios where data annotation is expensive. Natural language (NL) explanations have been demonstrated very useful additional supervision, which can provide sufficient domain knowledge for generating more labeled data over new instances, while the annotation time only doubles. However, directly applying them for augmenting model learning encounters two challenges: (1) NL explanations are unstructured and inherently compositional, which asks for a modularized model to represent their semantics, (2) NL explanations often have large numbers of linguistic variants, resulting in low recall and limited generalization ability. In this paper, we propose a novel Neural Execution Tree (NExT) framework to augment training data for text classification using NL explanations. After transforming NL explanations into executable logical forms by semantic parsing, NExT generalizes different types of actions specified by the logical forms for labeling data instances, which substantially increases the coverage of each NL explanation. Experiments on two NLP tasks (relation extraction and sentiment analysis) demonstrate its superiority over baseline methods. Its extension to multi-hop question answering achieves performance gain with light annotation effort.
Motivation & Objective
- To address the challenge of low recall and poor generalization in using natural language explanations for training text classifiers.
- To model the compositional and structured nature of NL explanations for better semantic understanding.
- To reduce dependency on exact lexical matching by introducing fuzzy, neural-based generalization of logical forms.
- To enable effective use of unlabeled data in low-resource NLP tasks through weak supervision from human-annotated NL explanations.
- To extend the framework to multi-hop question answering with minimal annotation effort.
Proposed method
- Parse NL explanations into logical forms using a combinatory categorial grammar (CCG)-based semantic parser.
- Introduce four neural matching modules: String Matching, Soft Counting, Logical Calculation, and Deterministic Function modules to generalize over linguistic variants.
- Use fuzzy matching scores instead of exact matching to increase coverage of labeled instances.
- Train a joint model on both labeled data and pseudo-labeled instances from the raw corpus using confidence thresholds.
- Apply a joint learning algorithm that leverages both labeled and unlabeled data to improve model generalization.
- Adapt the framework to multi-hop question answering by using 21 NL explanations and 5 hand-written rules.
Experimental results
Research questions
- RQ1Can natural language explanations be effectively transformed into executable logical forms to improve model generalization in low-resource NLP tasks?
- RQ2How can linguistic variability in explanations be addressed to improve recall and robustness in labeling new instances?
- RQ3Can neural modules be used to soften exact matching and enable fuzzy, compositional generalization of explanation-based labeling rules?
- RQ4To what extent can NExT improve performance on text classification and multi-hop question answering with minimal human-annotated explanations?
- RQ5How does the joint learning of labeled and pseudo-labeled data enhance model performance compared to traditional weak supervision?
Key findings
- NExT achieved 75.60% accuracy on the SemEval-2010 Task 8 dataset when using unlabeled data with confidence threshold >0.1, outperforming baselines.
- The framework improved performance by 1% in multi-hop question answering using only 21 natural language explanations and 5 rules.
- NExT significantly increased the coverage of explanations by generalizing over linguistic variants, avoiding failure on semantically equivalent but lexically different sentences.
- The Soft Counting and Logical Calculation modules were particularly effective in handling variations in phrasing and numerical expressions.
- The joint training strategy with confidence-based filtering of pseudo-labeled instances led to consistent performance gains across multiple datasets.
- NExT demonstrated strong generalization, enabling effective use of unlabeled data while maintaining high reliability in labeling decisions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.