arXiv:2503.03705cs.CLcs.LG2025-03EMNLP被引 3

通过多样化表述提升大模型对知识的泛化能力

Enhancing LLM Knowledge Learning through Generalization

  • 用格式变换生成同义文本,保持事实不变
  • 结合尖锐性感知优化器,增强跨语境预测能力
  • 适合需要持续更新知识的大模型应用

随着大语言模型(LLMs)在各类场景中广泛应用,如何准确整合不断演进的事实知识仍是关键挑战。持续预训练时使用改写数据已被证明有助于知识获取,但该方法成本高且不可靠,依赖外部模型或人工重写,可能无意改变事实内容。本文提出并实证验证:大模型在不同改写语境下持续预测同一知识词元的能力,与其通过问答提取知识的能力正相关。基于此,我们提出两种策略以提升模型在多样表述下的知识预测泛化能力:一是格式化数据增强,通过改变文档格式而非内容来多样化表达相同知识,确保事实完整;二是采用尖锐性感知最小化(sharpness-aware minimization)作为优化器,改善泛化性能。大量实验表明,该方法在持续预训练和指令微调中均有效,与改写数据结合可进一步提升效果。

原文摘要 · Abstract (English)

As Large language models (LLMs) are increasingly deployed in diverse applications, faithfully integrating evolving factual knowledge into these models remains a critical challenge. Continued pre-training on paraphrased data has shown empirical promise for enhancing knowledge acquisition. However, this approach is often costly and unreliable, as it relies on external models or manual effort for rewriting, and may inadvertently alter the factual content. In this work, we hypothesize and empirically show that an LLM's ability to continually predict the same factual knowledge tokens given diverse paraphrased contexts is positively correlated with its capacity to extract that knowledge via question-answering. Based on this view and aiming to improve generalization to diverse paraphrased contexts, we introduce two strategies to enhance LLMs' ability to predict the same knowledge tokens given varied contexts, thereby enhancing knowledge acquisition. First, we propose formatting-based data augmentation, which diversifies documents conveying the same knowledge by altering document formats rather than their content, thereby preserving factual integrity. Second, we adopt sharpness-aware minimization as the optimizer to better improve generalization. Extensive experiments demonstrate our methods' effectiveness in both continued pre-training and instruction tuning, and further gains can be achieved by combining with paraphrased data.

大模型知识学习泛化能力数据增强

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