Rethinking Full-Weight LoRA with Domain and Task Adapter Scaling for Question Answering over Portuguese Well Drilling Reports

Computer Science > Computation and Language arXiv:2611.26833 (cs) [Submitted on 19 Nov 2026] Title: Rethinking Full-Weight LoRA with Domain and Task Adapter Scaling for Question Answering over Portuguese Well Drilling Reports Authors: Luan B. Guerra, Diogo M. Paes, Marcelo N. Grimberg, Arnaldo C. Junior, Wallace Casaca, Lucas C. Ribas.

计算机科学 > 计算与语言 arXiv:2611.26833 (cs) [提交于 2026 年 11 月 19 日] 标题:重新思考全权重 LoRA 与领域及任务适配器缩放,用于葡萄牙语油井钻探报告的问答任务。作者:Luan B. Guerra, Diogo M. Paes, Marcelo N. Grimberg, Arnaldo C. Junior, Wallace Casaca, Lucas C. Ribas。

Abstract: Adapting large language models (LLMs) to specialized domains remains challenging, particularly for technical documents such as Portuguese well drilling reports, where annotated data are scarce and domain adaptation may compromise instruction-following capabilities. Although Low-Rank Adaptation (LoRA) is widely used for parameter-efficient adaptation, its scaling after training remains insufficiently explored.

摘要:将大型语言模型(LLM)适配到专业领域仍然具有挑战性,特别是对于葡萄牙语油井钻探报告等技术文档,因为此类文档的标注数据稀缺,且领域适配可能会损害模型的指令遵循能力。尽管低秩自适应(LoRA)被广泛用于参数高效的适配,但其在训练后的缩放机制尚未得到充分探索。

This study investigates the impact of LoRA adapter scaling on question answering over Portuguese drilling reports using Qwen2.5-7B and Llama-3.1-8B. Domain-adaptive pretraining (DAPT) is performed either directly on instruction-tuned models or on their base counterparts, with subsequent adapter transfer, while task-specific adapters are trained on WellQuest, an open-source question-answering dataset derived from Portuguese drilling reports.

本研究探讨了 LoRA 适配器缩放对葡萄牙语钻探报告问答任务的影响,使用了 Qwen2.5-7B 和 Llama-3.1-8B 模型。领域自适应预训练(DAPT)直接在指令微调模型或其基础模型上进行,随后进行适配器迁移;同时,任务特定的适配器是在 WellQuest 上训练的,这是一个源自葡萄牙语钻探报告的开源问答数据集。

The two adapters are also combined using complementary weights. Scaling factors ranging from 0.1 to 1.0 are evaluated across multiple training checkpoints using BERTScore. Results show that fractional scaling consistently improves DAPT performance over full-weight application, increasing F1 from 68.8% to 71.9% for Qwen2.5-7B and from 63.2% to 68.5% for Llama-3.1-8B.

这两个适配器还通过互补权重进行了组合。研究使用 BERTScore 在多个训练检查点上评估了 0.1 到 1.0 之间的缩放因子。结果表明,与全权重应用相比,分数缩放能持续提升 DAPT 的性能,使 Qwen2.5-7B 的 F1 分数从 68.8% 提高到 71.9%,Llama-3.1-8B 的 F1 分数从 63.2% 提高到 68.5%。

QA adapters perform best at high but fractional weights, while base-to-instruct transfer yields better results than direct DAPT on instruct-tuned models. Adapter merging provides a modest improvement for Llama-3.1-8B. Overall, these findings demonstrate that post-training adapter scaling can improve domain adaptation without additional data or training.

问答适配器在高权重但非全权重的情况下表现最佳,而从基础模型到指令模型的迁移比直接在指令微调模型上进行 DAPT 的效果更好。适配器合并为 Llama-3.1-8B 带来了适度的改进。总体而言,这些发现表明,训练后的适配器缩放可以在无需额外数据或训练的情况下改善领域适配效果。