EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC-SA 4.0

Improving the Reliability of LLM-Generated Training Pipelines with Feedback-Driven Iterative Code Refinement

Haoyu Lin, Chenxi Guo

International Journal of Machine Learning and Engineering · 25.06.2026 · 2 (1) · 70-81

DOI: 10.66238/pyk3aq74 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Machine Learning and Engineering, online erschienen am 25.06.2026. Verfasst von Haoyu Lin und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The emergence of large language models (LLMs) as automated code generation tools has introduced compelling opportunities for constructing machine learning (ML) training pipelines from natural language specifications. However, LLM-generated pipelines frequently suffer from syntactic errors, API incompatibilities, data flow mismatches, and numerical instability that undermine reliability in deployment. This paper proposes the Feedback-Driven Iterative Code Refinement (FDICR) framework, which integrates a containerized execution sandbox, a hierarchical error taxonomy, and a context-aware prompt reformulation module to enable structured multi-round refinement of LLM-generated training pipelines. The design of FDICR's iterative loop draws conceptual inspiration from controller-based architecture search, wherein a generator receives performance signals from an execution environment and updates its outputs accordingly. The multi-stage pipeline structure incorporates meta-level initialization, Bayesian optimization, and ensemble validation components that parallel established automated machine learning (AutoML) architectures. Experimental evaluation across three benchmark tasks demonstrates that FDICR reduces critical pipeline failures by 78.3% and improves first-pass execution success rates from 42.1% to 89.6% relative to single-pass baselines, yielding speedup magnitudes consistent with neural-augmented program synthesis systems. The framework supports PyTorch, TensorFlow, and scikit-learn backends and introduces a novel pipeline reliability scoring metric.

Zitieren

APA

Lin, H., & Guo, C. (2026). Improving the Reliability of LLM-Generated Training Pipelines with Feedback-Driven Iterative Code Refinement. International Journal of Machine Learning and Engineering, 2(1), 70-81. https://doi.org/10.66238/pyk3aq74

Vancouver

Lin H, Guo C. Improving the Reliability of LLM-Generated Training Pipelines with Feedback-Driven Iterative Code Refinement. International Journal of Machine Learning and Engineering. 2026;2(1):70-81. doi:10.66238/pyk3aq74

BibTeX
@article{Lin2026,
  author = {Lin, Haoyu and Guo, Chenxi},
  title = {Improving the Reliability of LLM-Generated Training Pipelines with Feedback-Driven Iterative Code Refinement},
  journal = {International Journal of Machine Learning and Engineering},
  year = {2026},
  volume = {2},
  number = {1},
  pages = {70--81},
  doi = {10.66238/pyk3aq74}
}
Kostenlos starten →