Training Language Models to Generate Text with Citations via Fine-grained Rewards

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Huang, Chengyu, Wu, Zeqiu, Hu, Yushi, Wang, Wenya
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916376424218624
author Huang, Chengyu
Wu, Zeqiu
Hu, Yushi
Wang, Wenya
author_facet Huang, Chengyu
Wu, Zeqiu
Hu, Yushi
Wang, Wenya
contents While recent Large Language Models (LLMs) have proven useful in answering user queries, they are prone to hallucination, and their responses often lack credibility due to missing references to reliable sources. An intuitive solution to these issues would be to include in-text citations referring to external documents as evidence. While previous works have directly prompted LLMs to generate in-text citations, their performances are far from satisfactory, especially when it comes to smaller LLMs. In this work, we propose an effective training framework using fine-grained rewards to teach LLMs to generate highly supportive and relevant citations, while ensuring the correctness of their responses. We also conduct a systematic analysis of applying these fine-grained rewards to common LLM training strategies, demonstrating its advantage over conventional practices. We conduct extensive experiments on Question Answering (QA) datasets taken from the ALCE benchmark and validate the model's generalizability using EXPERTQA. On LLaMA-2-7B, the incorporation of fine-grained rewards achieves the best performance among the baselines, even surpassing that of GPT-3.5-turbo.
format Preprint
id arxiv_https___arxiv_org_abs_2402_04315
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Training Language Models to Generate Text with Citations via Fine-grained Rewards
Huang, Chengyu
Wu, Zeqiu
Hu, Yushi
Wang, Wenya
Computation and Language
While recent Large Language Models (LLMs) have proven useful in answering user queries, they are prone to hallucination, and their responses often lack credibility due to missing references to reliable sources. An intuitive solution to these issues would be to include in-text citations referring to external documents as evidence. While previous works have directly prompted LLMs to generate in-text citations, their performances are far from satisfactory, especially when it comes to smaller LLMs. In this work, we propose an effective training framework using fine-grained rewards to teach LLMs to generate highly supportive and relevant citations, while ensuring the correctness of their responses. We also conduct a systematic analysis of applying these fine-grained rewards to common LLM training strategies, demonstrating its advantage over conventional practices. We conduct extensive experiments on Question Answering (QA) datasets taken from the ALCE benchmark and validate the model's generalizability using EXPERTQA. On LLaMA-2-7B, the incorporation of fine-grained rewards achieves the best performance among the baselines, even surpassing that of GPT-3.5-turbo.
title Training Language Models to Generate Text with Citations via Fine-grained Rewards
topic Computation and Language
url https://arxiv.org/abs/2402.04315