paper-with-me

홈 › Papers

Feedback Loops and Code Perturbations in LLM-based Software Engineering: A Case Study on a C-to-Rust Translation System

2025-12-02 · Martin Weiss, Jesko Hecking-Harbusch, Jochen Quante, Matthias Woehrle arxiv

The advent of strong generative AI has a considerable impact on various software engineering tasks such as code repair, test generation, or language translation. While tools like GitHub Copilot are already in widespread use in interactive settings, automated approaches require a higher level of reliability before being usable in industrial practice. In this paper, we focus on three aspects that directly influence the quality of the results: a) the effect of automated feedback loops, b) the choice of Large Language Model (LLM), and c) the influence of behavior-preserving code changes. We study the effect of these three variables on an automated C-to-Rust translation system. Code translation from C to Rust is an attractive use case in industry due to Rust's safety guarantees. The translation system is based on a generate-and-check pattern, in which Rust code generated by the LLM is automatically checked for compilability and behavioral equivalence with the original C code. For negative checking results, the LLM is re-prompted in a feedback loop to repair its output. These checks also allow us to evaluate and compare the respective success rates of the translation system when varying the three variables. Our results show that without feedback loops LLM selection has a large effect on translation success. However, when the translation system uses feedback loops the differences across models diminish. We observe this for the average performance of the system as well as its robustness under code perturbations. Finally, we also identify that diversity provided by code perturbations can even result in improved system performance.

📄 PDF Abstract BibTeX arXiv:2512.02567

Code (0)

등록된 구현이 없습니다.

Tasks

Code TranslationCode Repair

Similar Papers 제목 키워드 기반

Cheap Code, Costly Judgment: A Case Study on Governable Agentic Software Engineering

2026-07-01 · James C. Davis, Paschal C. Amusuo, Tanmay Singla, Berk Çakar 외 arxiv

Generative AI is shifting software engineering from a practice organized around scarce implementation effort toward one organized around abundant, low-cost code production. This shift changes the central engineering prob…

Hidden Technical Debt in Machine Learning Systems

2015-12-01 · NeurIPS 2015 12 · D. Sculley, Gary Holt, Daniel Golovin, Eugene Davydov 외

Machine learning offers a fantastically powerful toolkit for building useful complexprediction systems quickly. This paper argues it is dangerous to think ofthese quick wins as coming for free. Using the software enginee…

BIG-bench Machine Learning

The Meta-Prompting Protocol: Orchestrating LLMs via Adversarial Feedback Loops

2025-12-17 · Fanzhe Fu arxiv

The transition of Large Language Models (LLMs) from stochastic chat interfaces to reliable software components necessitates a fundamental re-engineering of interaction paradigms. Current methodologies, predominantly heur…

Prompt Engineering

Navigating the challenges in creating complex data systems: a development philosophy

2022-10-21 · Sören Dittmer, Michael Roberts, Julian Gilbey, Ander Biguri 외

In this perspective, we argue that despite the democratization of powerful tools for data science and machine learning over the last decade, developing the code for a trustworthy and effective data science system (DSS) i…

Philosophy

LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDB

2026-04-15 · Vekil Bekmyradov, Noah C. Pütz, Thomas Bartz-Beielstein arxiv

Large Language Models (LLMs) have achieved impressive results on public benchmarks, often leading to claims of advanced reasoning and understanding. However, recent research in cognitive science reveals that these models…