paper-with-me

홈 › Papers

FSM: A Finite State Machine Based Zero-Shot Prompting Paradigm for Multi-Hop Question Answering

2024-07-03 · Xiaochen Wang, Junqing He, Zhe Yang, Yiru Wang, Xiangdi Meng, Kunhao Pan, Zhifang Sui

Large Language Models (LLMs) with chain-of-thought (COT) prompting have demonstrated impressive abilities on simple nature language inference tasks. However, they tend to perform poorly on Multi-hop Question Answering (MHQA) tasks due to several challenges, including hallucination, error propagation and limited context length. We propose a prompting method, Finite State Machine (FSM) to enhance the reasoning capabilities of LLM for complex tasks in addition to improved effectiveness and trustworthiness. Different from COT methods, FSM addresses MHQA by iteratively decomposing a question into multi-turn sub-questions, and self-correcting in time, improving the accuracy of answers in each step. Specifically, FSM addresses one sub-question at a time and decides on the next step based on its current result and state, in an automaton-like format. Experiments on benchmarks show the effectiveness of our method. Although our method performs on par with the baseline on relatively simpler datasets, it excels on challenging datasets like Musique. Moreover, this approach mitigates the hallucination phenomenon, wherein the correct final answer can be recovered despite errors in intermediate reasoning. Furthermore, our method improves LLMs' ability to follow specified output format requirements, significantly reducing the difficulty of answer interpretation and the need for reformatting.

📄 PDF Abstract BibTeX arXiv:2407.02964

Code (0)

등록된 구현이 없습니다.

Tasks

HallucinationMulti-hop Question AnsweringQuestion Answering

Similar Papers 제목 키워드 기반

SG-FSM: A Self-Guiding Zero-Shot Prompting Paradigm for Multi-Hop Question Answering Based on Finite State Machine

2024-10-22 · Xiaochen Wang, Junqing He, Liang Chen, Reza Haf Zhe Yang 외

Large Language Models with chain-of-thought prompting, such as OpenAI-o1, have shown impressive capabilities in natural language inference tasks. However, Multi-hop Question Answering (MHQA) remains challenging for many …

HallucinationMulti-hop Question AnsweringNatural Language InferenceQuestion Answering

Enabling Natural Zero-Shot Prompting on Encoder Models via Statement-Tuning

2024-04-19 · Ahmed Elshabrawy, Yongxin Huang, Iryna Gurevych, Alham Fikri Aji

While Large Language Models (LLMs) exhibit remarkable capabilities in zero-shot and few-shot scenarios, they often require computationally prohibitive sizes. Conversely, smaller Masked Language Models (MLMs) like BERT an…

DiversityZero-shot Generalization

Multilingual LLM Prompting Strategies for Medical English-Vietnamese Machine Translation

2025-09-19 · Nhu Vo, Nu-Uyen-Phuong Le, Dung D. Le, Massimo Piccardi 외 arxiv

Medical English-Vietnamese machine translation (En-Vi MT) is essential for healthcare access and communication in Vietnam, yet Vietnamese remains a low-resource and under-studied language. We systematically evaluate prom…

Machine Translation

Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Models

2023-05-06 · Lei Wang, Wanyu Xu, Yihuai Lan, Zhiqiang Hu 외

Large language models (LLMs) have recently been shown to deliver impressive performance in various NLP tasks. To tackle multi-step reasoning tasks, few-shot chain-of-thought (CoT) prompting includes a few manually crafte…

Math

Cross-lingual Prompting: Improving Zero-shot Chain-of-Thought Reasoning across Languages

2023-10-23 · Libo Qin, Qiguang Chen, Fuxuan Wei, Shijue Huang 외

Chain-of-thought (CoT) is capable of eliciting models to explicitly generate reasoning paths, thus promoting reasoning accuracy and attracting increasing attention. Specifically, zero-shot CoT achieves remarkable improve…