arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22182cs.IR
收藏

使用大型语言模型生成合成数据以实现个性化社区问答

Synthetic Data Generation with Large Language Models for Personalized Community Question Answering

Marco Braga, Pranav Kasela, Alessandro Raganato, Gabriella Pasi

AI总结:

针对个性化社区问答缺乏训练数据的问题,本文利用LLM和多种提示技术基于SE-PQA构建合成数据集Sy-SE-PQA,证明合成数据可替代人工训练数据。

摘要:

信息检索(IR)中的个性化是研究界长期研究的课题。然而,目前仍缺乏可用于开展个性化IR大规模评估的数据集;这主要是因为收集和整理高质量的用户相关信息需要投入大量成本与时间。此外,个性化IR(PIR)任务数据集的构建还受到隐私顾虑以及对准确用户相关数据需求的双重影响,而这些数据通常并不公开。近来,研究人员已开始探索使用大型语言模型(LLM)生成合成数据集,这为低资源任务生成数据提供了一种可能的解决方案。本文研究了大型语言模型(LLM)在生成合成文档方面的潜力,以训练用于个性化社区问答任务的IR系统。为研究在LLM生成数据上微调的IR模型的有效性,我们提出了一个名为Sy-SE-PQA的新数据集。我们基于现有数据集SE-PQA构建Sy-SE-PQA,后者由发布在热门StackExchange社区上的问题和答案组成。从SE-PQA中的问题出发,我们使用不同的提示技术和LLM生成合成答案。研究结果表明,LLM在生成贴合用户需求的数据方面具有很高潜力。即使生成的数据可能包含不正确信息,合成数据仍可替代人工编写的训练数据。

英文摘要:

Personalization in Information Retrieval (IR) is a topic studied by the research community since a long time. However, there is still a lack of datasets to conduct large-scale evaluations of personalized IR; this is mainly due to the fact that collecting and curating high-quality user-related information requires significant costs and time investment. Furthermore, the creation of datasets for Personalized IR (PIR) tasks is affected by both privacy concerns and the need for accurate user-related data, which are often not publicly available. Recently, researchers have started to explore the use of Large Language Models (LLMs) to generate synthetic datasets, which is a possible solution to generate data for low-resource tasks. In this paper, we investigate the potential of Large Language Models (LLMs) for generating synthetic documents to train an IR system for a Personalized Community Question Answering task. To study the effectiveness of IR models fine-tuned on LLM-generated data, we introduce a new dataset, named Sy-SE-PQA. We build Sy-SE-PQA based on an existing dataset, SE-PQA, which consists of questions and answers posted on the popular StackExchange communities. Starting from questions in SE-PQA, we generate synthetic answers using different prompt techniques and LLMs. Our findings suggest that LLMs have high potential in generating data tailored to users' needs. The synthetic data can replace human-written training data, even if the generated data may contain incorrect information.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑