2023 · 65 citations · 6 references
ComputingComputer EngineeringComputer ScienceDesign AutomationFormal MethodsProgramming LanguagesConfiguration ManagementDeductive VerificationModel CheckingRoutingSpecification LanguagesVerificationLarge Language Model TranslationLarge Language ModelsNetwork VerificationPolicy VerificationRouting PoliciesUse Cases
We investigate whether Large Language Models (e.g., GPT-4) can synthesize correct router configurations with reduced manual effort. We find GPT-4 works very badly by itself, producing promising draft configurations but with egregious errors in topology, syntax, and semantics. Our strategy, that we call Verified Prompt Programming, is to combine GPT-4 with verifiers, and use localized feedback from the verifier to automatically correct errors. Verification requires a specification and actionable localized feedback to be effective. We show results for two use cases: translating from Cisco to Juniper configurations on a single router, and implementing a no-transit policy on multiple routers. While human input is still required, if we define the leverage as the number of automated prompts to the number of human prompts, our experiments show a leverage of 10X for Juniper translation, and 6X for implementing the no-transit policy, ending with verified configurations.
6
On the Dangers of Stochastic Parrots
Emily M. Bender, Timnit Gebru, Angelina McMillan-Major et al. · 2021 · 5.6K citations · Full text
Computing, Computer Science, English +12
Evaluating Large Language Models Trained on Code
arXiv (Cornell University) · 2021 · 1.4K citations · Full text
A general approach to network configuration analysis
Ari Fogel, Stanley P. Y. Fung, Luis Pedrosa et al. · 2015 · 149 citations
Naman Jain, Skanda Vaidyanath, Arun Iyer et al. · Proceedings of the 44th International Conference on Software Engineering · 2022 · 134 citations