QUILL: Quotation Generation Enhancement of Large Language Models

Jin Xiao, Bowei Zhang, Qianyu He, Jiaqing Liang, Feng Wei +4 more
11/6/2024
1 citation
cs.CLcs.AI

Official code: GraceXiaoo/QUILL (4 stars, Python, last commit 2025-02-18).

Abstract

While Large language models (LLMs) have become excellent writing assistants, they still struggle with quotation generation. This is because they either hallucinate when providing factual quotations or fail to provide quotes that exceed human expectations.

Show full abstract

To bridge the gap, we systematically study how to evaluate and improve LLMs' performance in quotation generation tasks. We first establish a holistic and automatic evaluation system for quotation generation task, which consists of five criteria each with corresponding automatic metric. To improve the LLMs' quotation generation abilities, we construct a bilingual knowledge base that is broad in scope and rich in dimensions, containing up to 32,022 quotes. Moreover, guided by our critiria, we further design a quotation-specific metric to rerank the retrieved quotations from the knowledge base. Extensive experiments show that our metrics strongly correlate with human preferences. Existing LLMs struggle to generate desired quotes, but our quotation knowledge base and reranking metric help narrow this gap. Our dataset and code are publicly available at https://github.com/GraceXiaoo/QUILL.

View on arXivView PDF

Code Implementations(1)

GraceXiaoo/QUILLOfficial100%

QUILL: Quotation Generation Enhancement of Large Language Models

40Python, ShellNov 5, 20241 years ago

Similar Papers

Cite this paper

@article{xiao2024quill,
  title  = {QUILL: Quotation Generation Enhancement of Large Language Models},
  author = {Jin Xiao and Bowei Zhang and Qianyu He and Jiaqing Liang and Feng Wei and Jinglei Chen and Zujie Liang and Deqing Yang and Yanghua Xiao},
  year   = {2024},
  eprint = {2411.03675},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.03675v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.03675.svg)](https://codeofpaper.com/paper/2411.03675)

Discussion