paper-with-me

Papers

LeGo-Code: Can Modular Curriculum Learning Advance Complex Code Generation? Insights from Text-to-SQL

2026-04-20 · Salmane Chafik, Saad Ezzini, Ismail Berrada arxiv

Recently, code-oriented large language models (LLMs) have demonstrated strong capabilities in translating natural language into executable code. Text-to-SQL is a significant application of this ability, enabling non-technical users to interact with relational databases using natural language. However, state-of-the-art models continue to struggle with highly complex logic, particularly deeply nested statements involving multiple joins and conditions, as well as with real-world database schemas that are noisy or poorly structured. In this paper, we investigate whether curriculum learning can improve the performance of code-based LLMs on Text-to-SQL tasks. Employing benchmarks including Spider and BIRD, we fine-tune models under different curriculum strategies. Our experiments show that naive curriculum, simply ordering training samples by complexity in a single epoch, fails to surpass standard fine-tuning due to catastrophic forgetting. To overcome this, we propose a Modular Adapter Composition (MAC) strategy. By sequentially training tier-specific adapters on incremental complexity levels (Easy to Extra-Hard), we create a scaffolded learning environment that improves performance on complex queries. Our approach not only produces measurable performance gains on the Spider and BIRD benchmarks but also provides a flexible, "Lego-like" architecture, allowing models to be composed and deployed based on specific schema difficulty requirements. These findings demonstrate that structured, modular learning is a superior alternative to monolithic fine-tuning for mastering the syntax and logic of complex code generation.

📄 PDF Abstract BibTeX arXiv:2604.18254

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Lego-Features: Exporting modular encoder features for streaming and deliberation ASR

2023-03-31 · Rami Botros, Rohit Prabhavalkar, Johan Schalkwyk, Ciprian Chelba 외

In end-to-end (E2E) speech recognition models, a representational tight-coupling inevitably emerges between the encoder and the decoder. We build upon recent work that has begun to explore building encoders with modular …

Decoderspeech-recognitionSpeech Recognition

RF-LEGO: Modularized Signal Processing-Deep Learning Co-Design for RF Sensing via Deep Unrolling

2026-04-11 · Luca Jiang-Tao Yu, Chenshu Wu arxiv

Wireless sensing, traditionally relying on signal processing (SP) techniques, has recently shifted toward data-driven deep learning (DL) to achieve performance breakthroughs. However, existing deep wireless sensing model…

SLEGO: A Collaborative Data Analytics System with LLM Recommender for Diverse Users

2024-06-17 · Siu Lung Ng, Hirad Baradaran Rezaei, Fethi Rabhi

This paper presents the SLEGO (Software-Lego) system, a collaborative analytics platform that bridges the gap between experienced developers and novice users using a cloud-based platform with modular, reusable microservi…

Language ModelingLanguage ModellingLarge Language ModelRecommendation Systems

LEGO-Prover: Neural Theorem Proving with Growing Libraries

2023-10-01 · Haiming Wang, Huajian Xin, Chuanyang Zheng, Lin Li 외

Despite the success of large language models (LLMs), the task of theorem proving still remains one of the hardest reasoning tasks that is far from being fully solved. Prior methods using language models have demonstrated…

Automated Theorem Proving

SWE-Lego: Pushing the Limits of Supervised Fine-tuning for Software Issue Resolving

2026-01-04 · Chaofan Tao, Jierun Chen, Yuxin Jiang, Kaiqi Kou 외 arxiv

We present SWE-Lego, a supervised fine-tuning (SFT) recipe designed to achieve state-ofthe-art performance in software engineering (SWE) issue resolving. In contrast to prevalent methods that rely on complex training par…

Reinforcement Learning