Abstract
Fine-tuning large pretrained language models (PLMs) is a standard practice in NLP, but full-model fine-tuning (FFT) is computationally expensive. Parameter-Efficient Fine-Tuning (PEFT) methods offer a solution by updating only a small fraction of parameters. However, configuring PEFT—choosing module types, sizes, and layer placements—remains a manual and suboptimal process. We present AutoPEFT, a framework that automates this search using multi-objective Bayesian Optimization. AutoPEFT identifies Pareto-optimal configurations that balance task performance and parameter count, often matching FFT performance with less than 1% of the parameters.
Introduction
While PEFT methods like Adapters, LoRA, and Prefix-Tuning reduce the cost of fine-tuning, they introduce a complex design space. Researchers typically rely on manual heuristics, such as inserting identical modules across all layers. These "rule-of-thumb" configurations are rarely optimal, as the ideal architecture often depends on the specific task and the available parameter budget. AutoPEFT addresses this by treating PEFT configuration as a Neural Architecture Search (NAS) problem, systematically exploring millions of potential combinations to find the most efficient designs.
Methods
AutoPEFT employs a structured approach to navigate the high-dimensional configuration space of Transformer models.
Search Space and Optimization
The framework defines an expressive search space ($~10^{10}$ configurations for RoBERTa-large) encompassing three primary building blocks: Serial Adapters (SA), Parallel Adapters (PA), and Prefix-Tuning (PT). The search determines which modules to activate, their bottleneck sizes, and their specific layer placements.
To optimize this space efficiently, AutoPEFT uses Multi-Objective Bayesian Optimization (BO) with a SAAS-GP surrogate (Gaussian Process with Sparse Axis-Aligned Subspaces). This model identifies the most impactful dimensions (layers/modules) to focus the search. To manage compute costs, candidate configurations are evaluated using a low-fidelity proxy—training for only a single epoch—which the authors found to be a reliable indicator of final performance rankings.
Results and Key Insights
AutoPEFT was evaluated on the GLUE and SuperGLUE benchmarks using BERT-base, RoBERTa-large, and T5-base models.
Performance vs. Efficiency
AutoPEFT consistently outperformed standard manual PEFT baselines. On the GLUE benchmark, it achieved an average score of 83.17, matching FFT (83.15) while utilizing only 0.76% of the total parameters.
Architectural Discoveries
The search revealed several non-intuitive design patterns:
- Layer Specialization: Unlike manual configurations that apply modules uniformly, AutoPEFT often disables modules in early layers, concentrating the parameter budget in middle or late layers.
- Module Synergy: Optimal configurations frequently combine different module types (e.g., PA and PT) within the same layer, suggesting complementary benefits.
- Transferability: Configurations discovered on small, difficult tasks (like RTE) transfer effectively to other tasks, allowing for a "search once, use many times" strategy that reduces the total overhead of the search process to approximately 1.9% of the cost of fine-tuning the full GLUE suite.
Conclusion
AutoPEFT demonstrates that automated search can significantly improve the efficiency and performance of PEFT. By moving beyond manual heuristics, the framework uncovers specialized architectures that outperform standard baselines. Future work includes expanding the search space to include more diverse modules like BitFit and scaling the framework to billion-parameter large language models (LLMs).
Summary updated