Adapting Code LLMs to Domain-specific Languages via Synthethic Instruction Generation and Reinforcement Learning with AI Feedback in Low-resource Settings
Large Language Models (LLMs) have significantly advanced automatic code generation in mainstream, high-resource, general-purpose programming languages. These models are trained on large instruction-code datasets with executable test environments, which can benchmark the performance of the outputs. However, they typically underperform on low-resource, proprietary Domain Specific Langauges (DSLs) due to limited training data. In this work, we introduce a fully automated, two-stage training pipeline for adapting coding LLMs to low-resource and proprietary DSL scenarios. Stage~1 performs supervised fine-tuning (SFT) using multi granular instructions synthesized directly from raw code and comments. Stage~2 conducts Reinforcement Learning with AI Feedback (RLAIF) by generating new instructions, and subsequently Direct Preference Optimization (DPO) by choosing a preferred output. We evaluate our approach using parser success, similarity and fidelity metrics, complemented with walkthrough studies. Our results suggest that this fully automated, two-stage pipeline can enable effective adaptation of LLMs to low-resource and proprietary DSL settings under realistic data and evaluation constraints.
- Link
- https://www.semanticscholar.org/paper/a312036060348eb85bf5687ca2c2800269673840
- Found by
- Semantic Scholar
- Authors
- Vedad Misirlic, Kevin Innerebner, Gerald Stieglbauer, Elisabeth Lex
- Categories
- benchmark, evaluation, dataset
- Published
- 2026-11-06
- Last seen by the radar
- 2026-11-08
- Citations
- 0
- Influential citations
- 0
- Radar score
- 46 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, dataset, evaluat, training data; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3799682.3839250