arXiv:2505.21958cs.CL2025-05被引 1

针对医学指令微调中的知识冲突,提出有效数据筛选方法。

Resolving Knowledge Conflicts in Domain-specific Data Selection: A Case Study on Medical Instruction-tuning

  • 基于上下文与记忆知识对齐、内部一致性两个指标量化知识冲突
  • 筛选高冲突数据后,模型在医学任务上性能显著提升
  • 适合医疗等专业领域微调,能减少幻觉并增强泛化能力

领域特定的指令微调已成为提升大语言模型在专业应用(如医学问答)中表现的行业标准。由于指令微调数据集可能存在冗余或低质量数据,通常需进行数据选择(DS)以提高数据效率。尽管通用领域已取得成功,现有数据选择方法在特定领域仍面临挑战,主要原因在于忽视了知识冲突——即大模型预训练知识与指令数据上下文知识之间的差异,这会损害模型先验能力并导致幻觉。为此,我们提出一种简单而有效的知识感知数据选择框架(KDS),用于筛选符合大模型实际需求的领域特定指令微调数据。KDS的核心是利用两个知识感知指标,从上下文-记忆知识对齐和内部记忆知识一致性两个角度定量衡量知识冲突。通过过滤高冲突数据并采样高质量、多样化的数据,KDS可有效激发模型能力,实现更优的领域性能。以医学领域为实验基准,大量实验证明KDS优于其他基线,在所有大模型上均带来显著且一致的性能提升。更令人鼓舞的是,KDS有效提升了模型泛化能力,并缓解了幻觉问题。

原文摘要 · Abstract (English)

Domain-specific instruction-tuning has become the defacto standard for improving the performance of large language models (LLMs) in specialized applications, e.g., medical question answering. Since the instruction-tuning dataset might contain redundant or low-quality data, data selection (DS) is usually required to maximize the data efficiency. Despite the successes in the general domain, current DS methods often struggle to select the desired data for domain-specific instruction-tuning. One of the main reasons is that they neglect the impact of knowledge conflicts, i.e., the discrepancy between LLMs' pretrained knowledge and context knowledge of instruction data, which could damage LLMs' prior abilities and lead to hallucination. To this end, we propose a simple-yet-effective Knowledge-aware Data Selection (namely KDS) framework to select the domain-specific instruction-tuning data that meets LLMs' actual needs. The core of KDS is to leverage two knowledge-aware metrics for quantitatively measuring knowledge conflicts from two aspects: context-memory knowledge alignment and intra-memory knowledge consistency. By filtering the data with large knowledge conflicts and sampling the high-quality and diverse data, KDS can effectively stimulate the LLMs' abilities and achieve better domain-specific performance. Taking the medical domain as the testbed, we conduct extensive experiments and empirically prove that KDS surpasses the other baselines and brings significant and consistent performance gains among all LLMs. More encouragingly, KDS effectively improves the model generalization and alleviates the hallucination problem.

数据选择医学AI大模型知识冲突

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。