跳到主要导航 跳到搜索 跳到主要内容

Instructing Large Language Models to Identify and Ignore Irrelevant Conditions

  • Xi'an Jiaotong University
  • University of Notre Dame

科研成果: 书/报告/会议事项章节会议稿件同行评审

4 引用 (Scopus)

摘要

Math word problem (MWP) solving requires generating a reasoning path based on a given problem description that often contains irrelevant conditions. Existing chain-of-thought (CoT) prompting methods elicited multi-step reasoning abilities of large language models (LLMs) to solve MWPs. However, they were seriously confused by the irrelevant conditions, resulting in low accuracy. In this paper, we propose a novel approach named I3C that instructs LLMs to identify and ignore irrelevant conditions. It identifies a set of irrelevant condition candidates that have a weak semantic relevance with the question. Then it prompts LLMs to verify the irrelevant conditions. Lastly it instructs the LLMs with the verification on relevant and irrelevant conditions to avoid confusion and improve reasoning paths. Moreover, we propose to select (problem, reasoning paths) pairs as demonstrations to enhance I3C with few-shot reasoning. We develop I3C-Select that selects the most confusing problems based on the semantic relevance measurement. We conduct extensive experiments on eight MWP datasets. I3C can be combined with any CoT prompting methods to improve the performance of solving MWPs. Notably, with GPT-3.5-Turbo and I3C-Select, we achieve an accuracy of 96.0 and 94.1 on GSM-IC2-1K and GSM-ICM-1K, respectively, significantly outperforming the state-of-the-art few-shot prompting method Complex-CoT by +11.7 and +11.1. Our implementation is made publicly available at https://wzy6642.github.io/I3C.github.io/.

源语言英语
主期刊名Long Papers
编辑Kevin Duh, Helena Gomez, Steven Bethard
出版商Association for Computational Linguistics (ACL)
6799-6819
页数21
ISBN(电子版)9798891761148
DOI
出版状态已出版 - 2024
活动2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL 2024 - Hybrid, Mexico City, 墨西哥
期限: 16 6月 202421 6月 2024

出版系列

姓名Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL 2024
1

会议

会议2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL 2024
国家/地区墨西哥
Hybrid, Mexico City
时期16/06/2421/06/24

学术指纹

探究 'Instructing Large Language Models to Identify and Ignore Irrelevant Conditions' 的科研主题。它们共同构成独一无二的指纹。

引用此