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

主要是阅读:开卷评分在文档级LoRA适配器中测量的内容

Mostly Reading: What Open-Book Scores Measure in Document-Level LoRA Adapters

Bosch Center for Artificial Intelligence(博世人工智能中心);LMU Munich(慕尼黑大学);Munich Center for Machine Learning(慕尼黑机器学习中心)

Martino M. L. Pulici, Cuong Xuan Chu, Evgeny Kharlamov, Volker Tresp

AI总结:

该研究针对Llama-3.1-8B-Instruct训练150个维基百科文档的LoRA适配器,发现开卷评分主要测量通用阅读行为,而非适配器对特定文档事实的编码能力,合并适配器仅能恢复少量完形填空优势。

摘要:

单文档LoRA适配器已被提出作为可合并和检索的知识单元;然而,开卷评分(将文档纳入提示)既可以归功于文档自身的适配器(其专用适配器)对该文档的读取,也可以归功于该文档本身。我们在Llama-3.1-8B-Instruct上为150篇维基百科文章各训练一个适配器,发现开卷评分主要测量所有适配器共有的一种阅读行为:在开卷测试中,针对另一篇文档训练的随机适配器能恢复专用适配器相对于基础模型82%的优势,但在完形填空探针(不提供源文本,要求提取同一文档的事实)上仅能恢复2%的优势,该比例与零无显著差异。内容确实会影响权重,因为专用适配器在完形填空召回率上比基础模型高出0.094,且其更新的几何结构与所读取的文档一致;不过,在30个查询的测试中,通过权重空间邻近性或文本嵌入选择的适配器在两种探针上均与随机适配器无差异,尽管该测试无法排除查询自身适配器相对于随机适配器获得约五分之四优势的可能性。在16个及以上文档的情况下,正确缩放的合并操作能恢复专用适配器开卷优势的87%至89%,但仅能恢复其完形填空优势的12%至16%,区间从低于零到至多32%,而联合训练的优势为94%。我们还报告了四个静默错误,每个错误都产生了清晰的错误结果。

英文摘要:

Single-document LoRA adapters have been proposed as units of knowledge to be merged and retrieved; yet open-book scoring, with the document in the prompt, can credit a document's own adapter (its specialist) for reading that document as readily as for holding it. Training one adapter for each of 150 Wikipedia articles on Llama-3.1-8B-Instruct, we find that open-book scores mostly measure a reading behaviour every adapter shares: a random adapter trained on another document recovers 82 % of the specialist's open-book advantage over the base model but only 2 % of its advantage on a cloze probe that asks for the same document's facts without providing the source text, a share we cannot distinguish from zero. Content does reach the weights, since the specialists beat the base model in cloze recall by 0.094, and the geometry of their updates follows the documents they read; yet, in a test of 30 queries, adapters chosen by weight-space proximity or text embedding are not distinguishable from random ones on either probe, although that test cannot exclude an advantage of about four fifths of what a query's own adapter gains over a random one. At 16 documents or more, correctly scaled merges recover 87 % to 89 % of the specialists' open-book advantage but only 12 % to 16 % of their cloze advantage, with intervals that run from below zero to at most 32 %, against 94 % for joint training. We also report four silent errors, each of which produced a clean, wrong result.

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

↑