NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PLEX: Adaptive Parameter-Efficient Fine-Tuning for Code LLMs using Lottery-Tickets

Jaeseong Lee, Hojae Han, Jongyoon Kim, Seung-won Hwang, Naun Kang, KyungJun An, Sungho JangNAACL 2025

Abstract

Large Language Models (LLMs) for code often struggle with underrepresented or private programming languages due to the "curse of multilinguality." Standard adaptation methods like LoRA or full fine-tuning are either computationally expensive or fail to capture the nuances of rare languages. We present PLEX (Adaptive Parameter-Efficient Fine-Tuning using Lottery-Tickets), a method that adaptively selects model parameters for tuning based on language familiarity. By prioritizing dense layers for underrepresented languages, PLEX achieves state-of-the-art performance on code generation benchmarks while maintaining efficiency.

Introduction

Fine-tuning Code LLMs is essential for specializing models to specific domains or proprietary codebases. However, existing methods face significant hurdles. Full fine-tuning is resource-intensive, while Low-Rank Adaptation (LoRA) may oversimplify the model's internal representations. Lottery Ticket Sparse Fine-Tuning (LT-SFT) offers a middle ground by identifying important sub-networks, but it often allocates updates inefficiently—for instance, focusing on embedding layers when adapting to rare languages where structural logic in dense layers is more critical.

Methodology: Adaptive Parameter Selection

PLEX introduces a dual-strategy approach to parameter selection, grounded in the "lottery ticket hypothesis." The core innovation lies in where the model is updated:

  1. Well-Supported Languages: For languages the model already knows well (e.g., Python, Java), PLEX searches the entire model architecture to find the most impactful "lottery ticket" parameters.
  2. Underrepresented/Private Languages: For languages with limited pre-training exposure, PLEX restricts its search to dense layers (Attention and MLP blocks). This forces the model to adapt its core processing logic rather than just its vocabulary (embeddings).
PLEX's dual strategy for parameter selection based on language representation.

To scale this to larger models like StarCoder-7B, the authors developed PLEX-E. This variant uses a low-rank approximation during the initial "search" phase to identify lottery tickets, significantly reducing memory overhead compared to standard sparse tuning.

Experimental Setup

The effectiveness of PLEX was evaluated using SantaCoder-1.1B and StarCoder-7B models. Fine-tuning was performed on the MegaCodeTraining corpus. Performance was measured using the MultiPL-E benchmark, which adapts HumanEval and MBPP problems into multiple target languages including C++, PHP, and Swift.

Key Results and Insights

Experimental results demonstrate that PLEX consistently outperforms existing PEFT methods. On the SantaCoder-1.1B model, PLEX achieved a 21.3% score on MBPP for C++, surpassing LT-SFT's 18.3%.

A critical insight from the study is that the location of parameter updates is more important than the quantity of parameters tuned when dealing with rare languages. As shown in the performance comparison, PLEX achieves higher Pass@1 scores by ensuring that 100% of its updated parameters are located within the dense layers of the transformer blocks, unlike standard LT-SFT which may only update a small fraction of dense layer parameters.

Performance comparison (Pass@1) and dense layer parameter utilization across different PEFT methods.

Conclusion

PLEX offers a robust and efficient framework for adapting Code LLMs to diverse programming languages. By intelligently targeting dense layers for underrepresented languages, it overcomes the limitations of previous sparse tuning and low-rank methods. Future work will explore applying PLEX to instruction tuning and further optimizing the initial lottery ticket search process.

Summary updated

BibTeX
@inproceedings{lee2025plex,
  author = {Jaeseong Lee and Hojae Han and Jongyoon Kim and Seung-won Hwang and Naun Kang and KyungJun An and Sungho Jang},
  title = {{PLEX: Adaptive Parameter-Efficient Fine-Tuning for Code LLMs using Lottery-Tickets}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-industry.60},
}
Figure