Efficient Fine-Tuning Methods for Portuguese Question Answering: A Comparative Study of PEFT on BERTimbau and Exploratory Evaluation of Generative LLMs

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Advanced, medium

Summary

A study systematically evaluates Parameter-Efficient Fine-Tuning (PEFT) and quantization techniques on BERTimbau for Brazilian Portuguese Question Answering using the SQuAD-BR dataset. Researchers tested 40 configurations, combining four PEFT methods (LoRA, DoRA, QLoRA, QDoRA) with BERTimbau models of 110M (Base) and 335M (Large) parameters. Key findings indicate that LoRA on BERTimbau-Large achieved 95.8% of baseline performance while reducing training time by 73.5% (F1 of 81.32 vs. 84.86). Higher learning rates (2e-4) significantly boosted PEFT performance, yielding F1 gains up to +19.71 points. Larger models demonstrated twice the quantization resilience, with an F1 loss of 4.83 points compared to 9.56 for smaller models. The research also includes an exploratory evaluation of generative models Tucano and Sabiá, noting their higher GPU memory and training time requirements.

Key takeaway

For AI Engineers developing Question Answering systems for Brazilian Portuguese, prioritizing encoder-based models like BERTimbau with PEFT techniques offers substantial computational efficiency. You should consider LoRA with higher learning rates (2e-4) to achieve competitive performance with significantly reduced training time and GPU memory, making your solutions more sustainable and accessible than large generative LLMs.

Key insights

PEFT methods efficiently fine-tune encoder-based models for low-resource languages, outperforming generative LLMs in resource usage.

Principles

Method

The study systematically evaluated 40 configurations of PEFT methods (LoRA, DoRA, QLoRA, QDoRA) and quantization on BERTimbau (Base/Large) for Question Answering on SQuAD-BR.

In practice

Topics

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.