Putting People in LLMs' Shoes: Generating Better Answers via Question Rewriter

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Junhao, Wang, Bowen, Jiang, Zhouqiang, Nakashima, Yuta
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929729737588736
author Chen, Junhao
Wang, Bowen
Jiang, Zhouqiang
Nakashima, Yuta
author_facet Chen, Junhao
Wang, Bowen
Jiang, Zhouqiang
Nakashima, Yuta
contents Large Language Models (LLMs) have demonstrated significant capabilities, particularly in the domain of question answering (QA). However, their effectiveness in QA is often undermined by the vagueness of user questions. To address this issue, we introduce single-round instance-level prompt optimization, referred to as question rewriter. By enhancing the intelligibility of human questions for black-box LLMs, our question rewriter improves the quality of generated answers. The rewriter is optimized using direct preference optimization based on feedback collected from automatic criteria for evaluating generated answers; therefore, its training does not require costly human annotations. The experiments across multiple black-box LLMs and long-form question answering (LFQA) datasets demonstrate the efficacy of our method. This paper provides a practical framework for training question rewriters and sets a precedent for future explorations in prompt optimization within LFQA tasks. Code is available at https://github.com/3244we/Question-Rewriter.
format Preprint
id arxiv_https___arxiv_org_abs_2408_10573
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Putting People in LLMs' Shoes: Generating Better Answers via Question Rewriter
Chen, Junhao
Wang, Bowen
Jiang, Zhouqiang
Nakashima, Yuta
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have demonstrated significant capabilities, particularly in the domain of question answering (QA). However, their effectiveness in QA is often undermined by the vagueness of user questions. To address this issue, we introduce single-round instance-level prompt optimization, referred to as question rewriter. By enhancing the intelligibility of human questions for black-box LLMs, our question rewriter improves the quality of generated answers. The rewriter is optimized using direct preference optimization based on feedback collected from automatic criteria for evaluating generated answers; therefore, its training does not require costly human annotations. The experiments across multiple black-box LLMs and long-form question answering (LFQA) datasets demonstrate the efficacy of our method. This paper provides a practical framework for training question rewriters and sets a precedent for future explorations in prompt optimization within LFQA tasks. Code is available at https://github.com/3244we/Question-Rewriter.
title Putting People in LLMs' Shoes: Generating Better Answers via Question Rewriter
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2408.10573