SynMOE: A Syntax-Aware MOE-Guided Approach for PEFT-Based Code Intelligence Learning
Shuo Liu, Hao Ning, Jacky Keung, Zhen Yang, Xiao Yu, Xing Hu, Yicheng Sun
Key points
From the paper's conclusion- We evaluate the effectiveness of the proposed approach by applying it to two typical PEFT methods, LoRA and $(IA)^3$, across three diverse code intelligence tasks.
Abstract
Parameter-Efficient Fine-Tuning (PEFT) has emerged as an important approach for adapting Language Models (LMs) in downstream tasks. However, in the domain of code intelligence, the performance of most PEFT methods relatively drops compared to Full fine-Tuning (FT), hindering their broader applicability. One of the main reasons is that current PEFT methods are generally based on assumptions about the low-rank nature or sparsity of parameter updates, lacking explicit modeling of code-related information. To tackle this limitation, we propose SynMOE, a syntax-aware MOE-guided approach for PEFT on code intelligence learning. Specifically, SynMOE contains two stages: syntactic information extraction and syntax-aware MOE-guided adaptation. It first obtains the syntactic labels of source code from Abstract Syntax Trees (ASTs), and then aligns the labels with the input tokens of code LMs. In the second stage, syntactic labels are integrated into the MOE module, participating in the routing decision of MOE for a more powerful syntactic-aware token representation. We evaluate the effectiveness of the proposed approach by applying it to two typical PEFT methods, LoRA and $(IA)^3$, across three diverse code intelligence tasks. Experimental results show that SynMOE achieves consistent and significant improvements. Even compared to FT, SynMOE achieves comparable or superior performance while being more computationally efficient. In addition, we also conduct ablation studies, hyperparameter analysis, and evaluation in the low-resource scenario to provide a comprehensive investigation of the proposed approach.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CogAdapt: Cognition-informed Sparse Adaptation of Code LLMsarXiv · 2026
- Causal Syntax Circuits in CodeLMs: Budget and Probe Decide What Looks LocalisedarXiv · 2026
- SAEM: Stage-Aware Expert Management for Memory-Efficient MoE Inference in Chain-of-Thought ReasoningarXiv · 2026
- Self-Adaptive Code Representation: Grammar-Guided or Token-Based?Proceedings of the ACM on Software Engineering · 2026
- An Empirical Study of Parameter-Efficient Fine-Tuning for Mixture-of-Experts LLMsarXiv · 2026
- SARG-QLoRA: Syntax-Aware Retrieval-Guided Parameter-Efficient Fine-Tuning for Dependency Parsing with Autoregressive Large Language ModelsJournal of Intelligent Decision Making and Information Science · 2026