arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.18137cs.CLcs.AIcs.LG
收藏

代理对抗问答:提升领域特定大语言模型

Agentic Adversarial QA for Improving Domain-Specific LLMs

Stanford University(斯坦福大学);Polish Academy of Science, IBS PAN, Warsaw, Poland(波兰科学院、IBS PAN、华沙、波兰)

Vincent Grari, Ciprian Tomoiaga, Sylvain Lamprier, Tatsunori Hashimoto, Marcin Detyniecki

AI总结:

本研究提出了一种对抗性问题生成框架,通过生成语义具有挑战性的问题来提升领域特定大语言模型的适应能力。

摘要:

大型语言模型(LLMs)尽管在广泛的互联网语料库上进行了广泛的预训练,往往难以有效适应专门的领域。目前,对这些模型进行微调以适应此类领域存在越来越多的兴趣;然而,进展受到高质量、任务相关数据稀缺和覆盖范围有限的限制。为了解决这个问题,人们通常应用诸如改写或知识提取之类的合成数据生成方法。虽然这些方法在事实回忆和概念知识方面表现出色,但它们有两个关键缺点:(i)它们对这些专门领域中的解释推理能力提供极小的支持,(ii)它们经常产生过于庞大且冗余的合成语料库,导致样本效率低下。为了克服这些差距,我们提出了一种对抗性问题生成框架,生成一组语义具有挑战性的问题。这些问题是通过比较要适应的模型和一个基于参考文档的稳健专家模型的输出,使用迭代、反馈驱动的过程来揭示和解决理解差距。在LegalBench语料库的专门子集上进行评估,证明我们的方法在使用显著较少的合成样本的情况下实现了更高的准确性。

英文摘要:

Large Language Models (LLMs), despite extensive pretraining on broad internet corpora, often struggle to adapt effectively to specialized domains. There is growing interest in fine-tuning these models for such domains; however, progress is constrained by the scarcity and limited coverage of high-quality, task-relevant data. To address this, synthetic data generation methods such as paraphrasing or knowledge extraction are commonly applied. Although these approaches excel at factual recall and conceptual knowledge, they suffer from two critical shortcomings: (i) they provide minimal support for interpretive reasoning capabilities in these specialized domains, and (ii) they often produce synthetic corpora that are excessively large and redundant, resulting in poor sample efficiency. To overcome these gaps, we propose an adversarial question-generation framework that produces a compact set of semantically challenging questions. These questions are constructed by comparing the outputs of the model to be adapted and a robust expert model grounded in reference documents, using an iterative, feedback-driven process designed to reveal and address comprehension gaps. Evaluation on specialized subsets of the LegalBench corpus demonstrates that our method achieves greater accuracy with substantially fewer synthetic samples.

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

↑