Abstract
Natural Language Inference (NLI) in the clinical domain is a high-stakes task where models must determine if a clinical trial report (premise) supports or contradicts a specific claim (hypothesis). However, Large Language Models (LLMs) often suffer from "shortcut learning" and lack robustness when faced with minor semantic or lexical variations. This paper introduces a multi-pronged data augmentation strategy developed by DKE-Research for the SemEval-2024 Task 2 competition. By combining generative AI (GPT-3.5) for semantic and numerical reasoning with biomedical knowledge graphs for domain-specific vocabulary, the proposed system significantly enhances model faithfulness and consistency.
Introduction
In medical NLI, a model might correctly identify a claim as an "entailment," yet fail if a single synonym is changed or a sentence is slightly rephrased. This lack of robustness undermines trust in AI tools for healthcare. The authors address this by targeting the lack of precise numerical reasoning and the sensitivity to medical terminology. Their approach moves beyond standard training to "stress test" models using synthetic data that mimics real-world linguistic and logical complexities.
Methods
The core architecture utilizes DeBERTa, enhanced by three distinct data augmentation techniques designed to improve logical grounding and domain awareness.
- Numerical Question Answering (NQA): GPT-3.5 transforms clinical statements into multiple-choice questions. This forces the model to perform quantitative reasoning (e.g., comparing patient counts) as an auxiliary task in a multi-task learning framework.
- Semantic Perturbation (SP): The authors generate paraphrases (to maintain entailment) and logic-flipping contradictions (e.g., changing "cohort 1" to "cohort 2") using GPT-3.5. This helps the model distinguish between stylistic changes and actual semantic shifts.
- Vocabulary Replacement (VR): Key medical terms identified via TF-IDF are replaced with synonyms from biomedical knowledge graphs (MeSH) and specialized word embeddings (BioWordVec) to ensure the model is not over-reliant on specific lexical markers.
Experimental Setup
The study utilized the NLI4CT 2024 benchmark dataset, consisting of clinical trial reports (CTRs). The training set included 1,700 instances (850 entailment, 850 contradiction). Evaluation focused on "perturbed" samples in the validation and test sets, specifically designed to measure if a model remains consistent under rephrasing and faithful to the evidence when logic is altered.
Results and Discussion
The integration of these augmentation strategies led to marked improvements in robustness metrics. As shown in the performance table, the DeBERTa-large + all augmentations (+NQA) configuration achieved the highest scores in faithfulness and consistency.
Key Insights
- Semantic Perturbation is Most Effective: Iterative testing revealed that rephrasing entire sentences (SP) contributed more to performance gains than individual word swapping (VR). This suggests that while transformers handle lexical variation well, they struggle more with global sentence logic.
- The Robustness Trade-off: Interestingly, as faithfulness and consistency increased, performance on the "clean" control set saw a slight decrease. This indicates a regularization effect where the model stops over-fitting to the specific phrasing of the training data.
- LLMs as Teachers: The results validate a distillation pattern where a large general-purpose model (GPT-3.5) creates high-quality synthetic data to train a smaller, more efficient specialized model (DeBERTa).
On the test set, the best model reached 79.98% Faithfulness (up from a 67.13% baseline) and 74.54% Consistency (up from 71.06%). These results placed the team 8th in consistency and 12th in faithfulness out of 32 participating teams.
Conclusion
The DKE-Research approach demonstrates that data-centric augmentation, particularly using generative AI to simulate logical perturbations, is a powerful tool for improving NLI robustness in specialized domains. Future work will focus on refining generative filters to reduce "noisy" or hallucinated synthetic data and exploring the direct incorporation of structured knowledge into the model's pre-training phase.
Summary updated