Rethinking Full-Weight LoRA with Domain and Task Adapter Scaling for Question Answering over Portuguese Well Drilling Reports
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. 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. 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. 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.
Create a lesson
Related papers
No Audio, No Transcripts, No Problem: LLM-based ASR Adaptation Using Only Domain Documents
Shared title terminology · Sergio Burdisso, Dairazalia Sánchez-Cortés, Esaú Villatoro-Tello et al.
TableRoute: Capability-Aware Routing for Scalable Table Question Answering
Shared title terminology · Yuxiang Wang, Junhao Gan, Jianzhong Qi
FinVeriQA: Financial Research Agents for Question Answering: Routing, Retrieval, MCP Tool Use, and Provenance-Aware Evidence Verification
Shared title terminology · Meenakshi Rajpurohit, Anna Phan, Ravikumar Komandur Narayanan et al.
Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers
Shared title terminology · Houman Mehrafarin, Ioannis Konstas
MoE--LoRA Methods for Multilingual Adaptation: A Systematic Empirical Study
Shared title terminology · Nikit Srivastava, Joel Dag, René Speck et al.
Typhoon OCR 2: From Thai Document Transcription to Multilingual, Multi-Task OCR
Shared title terminology · Surapon Nonesung, Natapong Nitarach, Sittipong Sripaisarnmongkol et al.