arXiv:2611.06069cs.SENov 2026

Manuscript Offprint

arXiv:2611.06069

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

SHUO LIU*, City University of Hong Kong, China

HAO NING*, Shandong University, China

JACKY KEUNG, City University of Hong Kong, China

ZHEN YANG†, Shandong University, China

XIAO YU, Zhejiang University, China

XING HU, Zhejiang University, China

YICHENG SUN, City University of Hong Kong, China

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)³, 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.

CCS Concepts: • Do Not Use This Code → Generate the Correct Terms for Your Paper; Generate the Correct Terms for Your Paper; Generate the Correct Terms for Your Paper; Generate the Correct Terms for Your Paper.

Additional Key Words and Phrases: Code Language Models, Parameter-Efficient Fine-Tuning, Mixture-of-Experts, Code Intelligence

*Shuo Liu and Hao Ning contributed equally to this work and are co-first authors. †Zhen Yang is the sole corresponding author.

Authors' Contact Information: Shuo Liu, City University of Hong Kong, Hong Kong, China, sliu273-c@my.cityu.edu.hk; Hao Ning, Shandong University, Qingdao, China, hning@mail.sdu.edu.cn; Jacky Keung, City University of Hong Kong, Hong Kong, China, Jacky.Keung@cityu.edu.hk; Zhen Yang, Shandong University, Qingdao, China, zhenyang@sdu.edu.cn; Xiao Yu, Zhejiang University, Hangzhou, China, xiao.yu@zju.edu.cn; Xing Hu, Zhejiang University, Hangzhou, China, xinghu@zju.edu.cn; Yicheng Sun, City University of Hong Kong, Hong Kong, China, yicsun2-c@my.cityu.edu.hk.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2018 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Liu et al.

ACM Reference Format:

Shuo Liu, Hao Ning, Jacky Keung, Zhen Yang, Xiao Yu, Xing Hu, and Yicheng Sun. 2018. SynMOE: A Syntax-Aware MOE-Guided Approach for PEFT-Based Code Intelligence Learning. In Proceedings of Make sure to enter the correct conference title from your rights confirmation email (Conference acronym 'XX). ACM, New York, NY, USA, 24 pages. https://doi.org/XXXXXXX.XXXXXXX

References (16)