Metraipolis › archive › dc_edf667d55a28
CoSTAR: Data Synthesis-Driven Constraint-Aware COBOL Section Summarization for Legacy System Modernization — arXiv:2609.11332
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.11332
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T05:57:37.237Z
- SHA-256 of the archived text
75aea8591a7d258638feb01fed7c0b28ebeb3c53debd53515e022be9eaa5dbc9- Stable URL of this page
https://metraipolis.com/documento/dc_edf667d55a28
How to cite
CoSTAR: Data Synthesis-Driven Constraint-Aware COBOL Section Summarization for Legacy System Modernization — arXiv:2609.11332 — arXiv (en), https://arxiv.org/abs/2609.11332 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_edf667d55a28 (Metraipolis archive dc_edf667d55a28, sha256 75aea8591a7d258638feb01fed7c0b28ebeb3c53debd53515e022be9eaa5dbc9)
BibTeX
@misc{dcedf667d55a28,
title = {CoSTAR: Data Synthesis-Driven Constraint-Aware COBOL Section Summarization for Legacy System Modernization — arXiv:2609.11332},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.11332},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_edf667d55a28; sha256 75aea8591a7d258638feb01fed7c0b28ebeb3c53debd53515e022be9eaa5dbc9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.11332. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
COBOL remains critical to governments, financial institutions, and large enterprises; yet, aging technologies, shrinking expertise, and missing documentation make modernization of COBOL-based legacy systems increasingly urgent. Before migration, code summarization is a common practice to support legacy system understanding. However, COBOL code summarization, especially on section-level, faces two key challenges: data scarcity and migration constraint preservation. To address these challenges, we propose CoSTAR, an integrated framework that combines execution-validated data synthesis with constraint-aware model training. CoSTAR repurposes general-purpose programming tasks to synthesize execution-validated COBOL code-summary data through LLM-based generation to overcome data scarcity. Based on the synthesized data, CoSTAR augments target sections with relevant data declarations and natural-language explanations, and uses constraint-guided structured rationales to train smaller base LLMs. The trained LLMs preserve the migration constraints for COBOL section summarization. We evaluate CoSTAR on both public and confidential enterprise COBOL systems. CoSTAR effectively synthesizes 3,764 execution-validated training instances. Based on these instances, CoSTAR built on 7B/8B base LLMs can improve these LLMs with average relative gains of 25.38% on ROUGE-L, 53.84% on METEOR, and 37.22% on chrF. In real-world enterprise evaluation, CoSTAR built on only Qwen3-8B, outperforms the enterprise-deployed Qwen3-235B in accuracy, completeness, and conciseness. These results show that CoSTAR enables small, locally deployable LLMs to achieve performance competitive with substantially larger LLMs for privacy-sensitive COBOL legacy systems. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-11 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.11332 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T05:45:13.300Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).