[Paper Review] MonaLog: a Lightweight System for Natural Language Inference Based on Monotonicity
MonaLog is a lightweight natural language inference system based on monotonicity calculus and surface-level logical rules, using minimal background knowledge to generate interpretable entailment and contradiction proofs. It achieves competitive performance on SICK and significantly boosts BERT accuracy by generating high-quality, compositional training data through monotonicity-based data augmentation.
We present a new logic-based inference engine for natural language inference (NLI) called MonaLog, which is based on natural logic and the monotonicity calculus. In contrast to existing logic-based approaches, our system is intentionally designed to be as lightweight as possible, and operates using a small set of well-known (surface-level) monotonicity facts about quantifiers, lexical items and tokenlevel polarity information. Despite its simplicity, we find our approach to be competitive with other logic-based NLI models on the SICK benchmark. We also use MonaLog in combination with the current state-of-the-art model BERT in a variety of settings, including for compositional data augmentation. We show that MonaLog is capable of generating large amounts of high-quality training data for BERT, improving its accuracy on SICK.
Motivation & Objective
- To develop a minimal, interpretable logic-based NLI system using only surface-level monotonicity facts and polarity tagging.
- To establish a reliable lower-bound performance for simple logical systems on standard NLI benchmarks.
- To explore the feasibility of using monotonicity reasoning for compositional data augmentation in neural NLP models.
- To improve the robustness and generalization of state-of-the-art models like BERT through high-quality synthetic training data.
- To correct annotation inconsistencies in the SICK dataset and evaluate model performance on a cleaned benchmark.
Proposed method
- Applies polarity tagging (↑, ↓) to tokens based on lexical items and quantifiers using a small set of well-known monotonicity facts.
- Uses a span replacement mechanism guided by monotonicity rules to generate entailments and contradictions from premise-hypothesis pairs.
- Employs a generation and search pipeline to determine whether a hypothesis can be derived from a premise using surface-form reasoning.
- Integrates MonaLog with BERT by using its generated entailment and contradiction pairs as additional training data.
- Applies a confidence threshold (0.95) to relabel ambiguous predictions as neutral, reducing error propagation.
- Uses dependency parsing to model syntactic structure and identify inference-critical relations for future extensions.
Experimental results
Research questions
- RQ1Can a minimal logic system based on monotonicity achieve competitive performance on standard NLI benchmarks like SICK?
- RQ2To what extent can monotonicity-based reasoning generate high-quality, compositional training data for neural models?
- RQ3How does data quality (e.g., corrected annotations) affect the performance of logic-based and neural NLI systems?
- RQ4Can MonaLog’s synthetic data improve the accuracy of state-of-the-art models like BERT, even with class imbalance?
- RQ5How effective is monotonicity reasoning in handling syntactic variation in natural language inputs?
Key findings
- MonaLog achieves 85.00% accuracy on the corrected SICK benchmark using only surface-level monotonicity facts and minimal background knowledge.
- Adding 30k MonaLog-generated examples (14k contradictions, 14k entailments) to the SICK training set improves BERT’s accuracy from 85.95% to 87.49%.
- The hybrid system (MonaLog + BERT) with all generated data and thresholding reaches 87.49% accuracy, exceeding the baseline by over 1.5 percentage points.
- Even with significant class imbalance, BERT maintains robust performance, demonstrating the quality of the generated training data.
- Raising the confidence threshold for E/C predictions from 0.95 improves accuracy by 0.2 percentage points, correcting 10 misclassified examples.
- The corrected SICK dataset used in experiments shows that annotation errors significantly affect benchmark reliability, highlighting the need for data quality checks.
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.