arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.23047cs.CLcs.AIcs.CE
收藏

参数化知识与检索行为在电子设计自动化RAG微调中的研究

Parametric Knowledge in RAG-SFT for Domain-Specific Document Generation

Institute for Applied Informatics (InfAI) at Leipzig University(莱比锡大学应用信息学院);CELUS GmbH, Munich(慕尼黑CELUS GmbH)

Julian Oestreich, Maximilian Bley, Frank Binder, Lydia Müller, André Alcalde, Maksym Sydorenkoq

AI总结:

本文探讨RAG微调在电子设计自动化长文本生成中的应用,提出TriFEX评估框架和参数化知识精度指标,揭示传统指标的局限性,并展示小型模型在专用任务中的有效性。

摘要:

Retrieval-Augmented Generation (RAG)微调在电子设计自动化长文本生成中表现出显著改进,但大多数研究集中在文档问答任务。本文评估了不同上下文增强策略下的7B模型,引入TriFEX评估框架,该框架通过人类验证,将生成的声明归因于其来源、用户查询、上下文和参考。我们提出了参数化知识精度(PKP),通过过滤提示中泄露的声明来隔离内部化知识。研究表明ROUGE和BERTScore无法检测到我们基于三元组的评估所揭示的事实差异。此外,我们发现现有知识内部化指标对检索敏感,约75%的跨条件方差由内部知识表达率(PR)的变化驱动,而非正确性(PKP)的变化。微调后的7B变体在大多数指标上优于72B基线,进一步显示了在不同条件下的泛化能力及在相关基准上的表现。这些结果凸显了现有RAG评估指标的局限性,并展示了小型模型在专用任务中进行高效本地部署的可行性。

英文摘要:

Retrieval-Augmented Generation (RAG) fine-tuning has shown substantial improvements over vanilla RAG, yet most studies target document question answering, leaving open whether these gains transfer to specialized tasks. We study supervised RAG fine-tuning (RAG-SFT) for requirements document generation in the electronics engineering domain, adapting two 7B models under two different training data strategies. Because Rouge and BertScore poorly capture factuality on long technical text, we introduce C-FEX, a claim-based evaluation pipeline that attributes each response claim to its origin (augmented prompt or reference response), and propose Parametric Knowledge Precision (PKP), which isolates claims originating from the model's weights and measures their correctness. We show that a prior metric to assess parametric knowledge decomposes as PKP $\times$ PR, separating the rate of parametric output (PR) from its quality (PKP). Empirically, fine-tuned 7B models match or exceed a 72B baseline; standard metrics disagree with claim-based factuality and can mislead about fine-tuning gains; and, fine-tuning does not reinforce correct parametric knowledge but suppresses hallucination---models speak from their weights less often but far more reliably.

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

↑