Astraios: Parameter-Efficient Instruction Tuning Code Large Language Models

Terry Yue Zhuo, Armel Zebaze, Nitchakarn Suppattarachai, Leandro von Werra, Harm de Vries +2 more
1/1/2024
cs.CLcs.AIcs.SE

No official code found. Best implementation: AGI-Edgerunners/LLM-Adapters (1,235 stars, Apache-2.0, last commit 2024-03-10). 1 more below.

Abstract

The high cost of full-parameter fine-tuning (FFT) of Large Language Models (LLMs) has led to a series of parameter-efficient fine-tuning (PEFT) methods. However, it remains unclear which methods provide the best cost-performance trade-off at different model scales. We introduce Astraios, a suite of 28 instruction-tuned OctoCoder models using 7 tuning methods and 4 model sizes up to 16 billion parameters. Through investigations across 5 tasks and 8 different datasets encompassing both code comprehension and code generation tasks, we find that FFT generally leads to the best downstream performance across all scales, and PEFT methods differ significantly in their efficacy based on the model scale. LoRA usually offers the most favorable trade-off between cost and performance. Further investigation into the effects of these methods on both model robustness and code security reveals that larger models tend to demonstrate reduced robustness and less security. At last, we explore the relationships among updated parameters, cross-entropy loss, and task performance. We find that the tuning effectiveness observed in small models generalizes well to larger models, and the validation loss in instruction tuning can be a reliable indicator of overall downstream performance.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Code for our EMNLP 2023 Paper: "LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models"

1,235116Python, MakefileMar 29, 20232 years agoApache-2.0
adaptersfine-tuninglarge-language-modelsparameter-efficient
MIT

Astraios: Parameter-Efficient Instruction Tuning Code Language Models

632MDX, ShellNov 30, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhuo2024astraios,
  title  = {Astraios: Parameter-Efficient Instruction Tuning Code Large Language Models},
  author = {Terry Yue Zhuo and Armel Zebaze and Nitchakarn Suppattarachai and Leandro von Werra and Harm de Vries and Qian Liu and Niklas Muennighoff},
  year   = {2024},
  eprint = {2401.00788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.00788v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.00788.svg)](https://codeofpaper.com/paper/2401.00788)

Discussion