Configuration Validation with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Misconfigurations are major causes of software failures. Existing practices rely on developer-written rules or test cases to validate configurations, which are expensive. Machine learning (ML) for configuration validation is considered a promising direction, but has been facing challenges such as the need of large-scale field data and system-specific models. Recent advances in Large Language Models (LLMs) show promise in addressing some of the long-lasting limitations of ML-based configuration validation. We present a first analysis on the feasibility and effectiveness of using LLMs for configuration validation. We empirically evaluate LLMs as configuration validators by developing a generic LLM-based configuration validation framework, named Ciri. Ciri employs effective prompt engineering with few-shot learning based on both valid configuration and misconfiguration data. Ciri checks outputs from LLMs when producing results, addressing hallucination and nondeterminism of LLMs. We evaluate Ciri's validation effectiveness on eight popular LLMs using configuration data of ten widely deployed open-source systems. Our analysis (1) confirms the potential of using LLMs for configuration validation, (2) explores design space of LLMbased validators like Ciri, and (3) reveals open challenges such as ineffectiveness in detecting certain types of misconfigurations and biases towards popular configuration parameters.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 48 of its 110 references that are in the map. First posted on arXiv 15 Oct 2023.
Builds on
48 of 110 references.
References · 48
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2022Emergent Abilities of Large Language Modelscited by 2,483
36 more
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2023Multimodal Chain-of-Thought Reasoning in Language Modelscited by 740
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2022Large Language Models Can Self-Improvecited by 656
- 2022Towards Reasoning in Large Language Models: A Surveycited by 593
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2020Towards a Human-like Open-Domain Chatbotcited by 467
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 197
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2020A Transformer-based Approach for Source Code Summarizationcited by 129
- 2022Few-shot training LLMs for project-specific code-summarizationcited by 128
- 2018Mapping Language to Code in Programmatic Contextcited by 104
- 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2022Language Models Can Teach Themselves to Program Bettercited by 75
- 2019Make Up Your Mind! Adversarial Generation of Inconsistent Natural Language Explanationscited by 71
- 2022Automated Repair of Programs from Large Language Modelscited by 71
- 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 38
- 2021An Evolutionary Study of Configuration Design and Implementation in Cloud Systemscited by 7
- 2018Mining Container Image Repositories for Software Configuration and Beyondcited by 2
- 2019Configuration Testing: Testing Configuration Values as Code and with Codecited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 1.
4 papers.
- 2024Large Language Models for Networking: Workflow, Advances and Challengescited by 15
- 2025Prompting for Performance: Exploring LLMs for Configuring Softwarecited by 1
- 2024Rephrase and Contrast: Fine-Tuning Language Models for Enhanced Understanding of Communication and Computer Networkscited by 0
- 2026Large Language Models in the Loop: A Stability- and Network-Aware Survey in Networked Control, Cyber-Physical, and Multi-Agent Systemscited by 0
- 2026Large Language Models in the Loop: A Stability- and Network-Aware Survey in Networked Control, Cyber-Physical, and Multi-Agent Systems15 Sep 2026
- 2025Prompting for Performance: Exploring LLMs for Configuring Software13 Jul 2025
- 2024Rephrase and Contrast: Fine-Tuning Language Models for Enhanced Understanding of Communication and Computer Networks21 Sep 2024
- 2024Large Language Models for Networking: Workflow, Advances and Challenges19 Apr 2024