EMNLP Findings2025
This is not a Disimprovement: Improving Negation Reasoning in Large Language Models via Prompt Engineering
Joshua Jose Dias Barreto, Abhik Jana
摘要
Negation reasoning remains a challenge for large language models (LLMs), often causing incorrect interpretations of negated statements.
In this study, we analyze various LLMs for their handling of negation and propose two genres of prompts (Warning-based and Persona-based), which improve overall absolute accuracy by up to 3.17% and distractor negation accuracy by up to 25.14% over most competitive baselines. Next, we assess the robustness of LLMs by reordering prompts while preserving meaning, observing instability linked to positional encoding schemes. Further, we introduce a negative token attention score (NTAS) to quantify attention to negation words. From the comprehensive analysis, we point out that within a specific LLM family, the performance of a model (measured using accuracy) correlates more with NTAS than with model size. The code is publicly available: https://github.com/Joshua-Dias- Barreto/This-is-not-a-Disimprovement Figure 1: Improvement of Negation Reasoning using Warning-based prompt for Qwen2.5-14B, 'Default Approach' represents the Baseline Prompt and the 'Proposed Approach' represents the concatenation of Warning-based prompt and Baseline Prompt.
问 Lune
尽管问,回答会引用原文。
Lune 会读完全文和相关的 Paper,每个回答都附上所依据的原文段落。
它引用的 Paper9
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingMelanie Sclar, Yejin Choi, Yulia Tsvetkov, Alane SuhrICLR 2024 · 682 次引用
- Two Tales of Persona in LLMs: A Survey of Role-Playing and PersonalizationYu-Min Tseng, Yu-Chao Huang, Teng-Yun Hsiao, Wei-Lin Chen 等EMNLP Findings 2024 · 87 次引用
- An Analysis of Natural Language Inference Benchmarks through the Lens of NegationMd Mosharaf Hossain, Venelin Kovatchev, Pranoy Dutta, Tiffany Kao 等EMNLP 2020 · 61 次引用
相关 Paper
- Towards the Roots of the Negation Problem: A Multilingual NLI Dataset and Model Scaling AnalysisTereza Vrabcová, Marek Kadlcík, Petr Sojka, Michal Stefánik 等EMNLP Findings 2025 · 1 次引用
- How Language Models Process NegationZhejian Zhou, Tianyi Zhou, Robin Jia, Jonathan MayICML 2026
- This is not a Dataset: A Large Negation Benchmark to Challenge Large Language ModelsIker García-Ferrero, Begoña Altuna, Javier Álvez, Itziar Gonzalez-Dios 等EMNLP 2023 · 8 次引用
- NegVQA: Can Vision Language Models Understand Negation?Yuhui Zhang, Yuchang Su, Yiming Liu, Serena Yeung-LevyACL Findings 2025 · 7 次引用
- NDAD: Negative-Direction Aware Decoding for Large Language Models via Controllable Hallucination Signal InjectionPanjia Qiu, Mingyuan Fan, Cen Chen, Daixin WangICLR 2026
