paper-with-me

Papers

TerraFormer: Automated Infrastructure-as-Code with LLMs Fine-Tuned via Policy-Guided Verifier Feedback

2026-01-13 · Prithwish Jana, Sam Davidson, Bhavana Bhasker, Andrey Kan, Anoop Deoras, Laurent Callot arxiv

Automating Infrastructure-as-Code (IaC) is challenging, and large language models (LLMs) often produce incorrect configurations from natural language (NL). We present TerraFormer, a neuro-symbolic framework for IaC generation and mutation that combines supervised fine-tuning with verifier-guided reinforcement learning, using formal verification tools to provide feedback on syntax, deployability, and policy compliance. We curate two large, high-quality NL-to-IaC datasets, TF-Gen (152k instances) and TF-Mutn (52k instances), via multi-stage verification and iterative LLM self-correction. Evaluations against 17 state-of-the-art LLMs, including ~50x larger models like Sonnet 3.7, DeepSeek-R1, and GPT-4.1, show that TerraFormer improves correctness over its base LLM by 15.94% on IaC-Eval, 11.65% on TF-Gen (Test), and 19.60% on TF-Mutn (Test). It outperforms larger models on both TF-Gen (Test) and TF-Mutn (Test), ranks third on IaC-Eval, and achieves top best-practices and security compliance.

📄 PDF Abstract BibTeX arXiv:2601.08734

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Exploring Code Language Models for Automated HLS-based Hardware Generation: Benchmark, Infrastructure and Analysis

2025-02-19 · Jiahao Gai, Hao Mark Chen, Zhican Wang, HongYu Zhou 외

Recent advances in code generation have illuminated the potential of employing large language models (LLMs) for general-purpose programming languages such as Python and C++, opening new opportunities for automating softw…

Code GenerationHigh-Level Synthesis

Automated Cloud Infrastructure-as-Code Reconciliation with AI Agents

2025-10-23 · Zhenning Yang, Hui Guan, Victor Nicolet, Brandon Paulsen 외 arxiv

Cloud infrastructure is managed through a mix of interfaces -- traditionally, cloud consoles, command-line interfaces (CLI), and SDKs are the tools of choice. Recently, Infrastructure-as-Code/IaC frameworks (e.g., Terraf…

ARPaCCino: An Agentic-RAG for Policy as Code Compliance

2025-07-11 · Francesco Romeo, Luigi Arena, Francesco Blefari, Francesco Aurelio Pironti 외 arxiv

Policy as Code (PaC) is a paradigm that encodes security and compliance policies into machine-readable formats, enabling automated enforcement in Infrastructure as Code (IaC) environments. However, its adoption is hinder…

Φ-Bench: Can Large Language Models Engineer the Infrastructure That Powers Them?

2026-09-09 · Leilei Ding, Shumin Wang, Yuting Huang, Fanqi Wan 외 arxiv

Large language models (LLMs) have demonstrated remarkable capabilities in reasoning and code generation, raising the prospect that they could assist in developing and optimizing the very infrastructure that powers them. …

Code Generation

VerilogDB: The Largest, Highest-Quality Dataset with a Preprocessing Framework for LLM-based RTL Generation

2025-07-09 · Paul E. Calzada, Zahin Ibnat, Tanvir Rahman, Kamal Kandula 외 arxiv

Large Language Models (LLMs) are gaining popularity for hardware design automation, particularly through Register Transfer Level (RTL) code generation. In this work, we examine the current literature on RTL generation us…

Code Generation