Automated Code Translation using an Engineering-Driven Pipeline Approach of Language ModelsShow others and affiliations
2025 (English)In: Proceedings of the 1st ECAI Workshop on Machine Learning Operations (MLOps25@ECAI 2025): co-located with the 28th European Conference on Artificial Intelligence (ECAI 2025) / [ed] L. Quaranta, G. Mallardi, A. Carbonaro, CEUR Workshop Proceedings , 2025, Vol. 4109, p. 48-54Conference paper, Published paper (Refereed)
Abstract [en]
This paper presents an engineering-driven approach to pipelining large language models (LLMs) for automatic code translation. The method is applied in an ongoing industrial project with Danfoss Power Solutions aimed at translating five million lines of their code from Delphi to C#. To manage this scale, the codebase is first divided into chunks, each processed independently through the LLM pipeline and subsequently reassembled. Due to the inherent stochasticity of LLM outputs, the pipeline incorporates processing and validation functions to ensure consistency and correctness. While still in its early stages, this approach demonstrates promising results. With this publication, we share our initial LLM agents orchestration with an initial draft pipeline used in the industry case, with insights to inform future development and application in similar large-scale translation tasks.
Place, publisher, year, edition, pages
CEUR Workshop Proceedings , 2025. Vol. 4109, p. 48-54
Series
CEUR Workshop Proceedings (CEUR-WS.org), E-ISSN 1613-0073 ; 4109
Keywords [en]
Code Translation, Large Language Models, MLOps, LLMOps, LLM Pipeline, Pipeline Orchestration
National Category
Software Engineering Computer Sciences
Research subject
Computer Science, Software Technology
Identifiers
URN: urn:nbn:se:lnu:diva-150349Scopus ID: 2-s2.0-105039092844OAI: oai:DiVA.org:lnu-150349DiVA, id: diva2:2113211
Conference
1st ECAI Workshop on Machine Learning Operations (MLOps25@ECAI 2025) co-located with 28th European Conference on Artificial Intelligence (ECAI 2025), Bologna, Italy, October 25, 2025
2026-10-272026-10-272026-11-04Bibliographically approved