Towards a Probabilistic Framework for Analyzing and Improving LLM-Enabled Software
Juan Manuel Baldonado, Flavia Bonomo-Braberman, V\'ictor Adri\'an, Braberman

TL;DR
This paper introduces a probabilistic framework to analyze and enhance the reliability of LLM-enabled systems by modeling output distributions, demonstrated through improving autoformalization tasks.
Contribution
It presents a novel probabilistic approach for analyzing and refining LLM-based components, advancing the development of more reliable and interpretable systems.
Findings
Distribution-aware analysis identifies weaknesses in LLM outputs.
Guided alignment improvements enhance system reliability.
Framework facilitates iterative refinement of LLM components.
Abstract
Ensuring the reliability and verifiability of large language model (LLM)-enabled systems remains a significant challenge in software engineering. We propose a probabilistic framework for systematically analyzing and improving these systems by modeling and refining distributions over clusters of semantically equivalent outputs. This framework facilitates the evaluation and iterative improvement of Transference Models--key software components that utilize LLMs to transform inputs into outputs for downstream tasks. To illustrate its utility, we apply the framework to the autoformalization problem, where natural language documentation is transformed into formal program specifications. Our case illustrates how distribution-aware analysis enables the identification of weaknesses and guides focused alignment improvements, resulting in more reliable and interpretable outputs. This principled…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
