Towards a Probabilistic Framework for Analyzing and Improving LLM-Enabled Software

Juan Manuel Baldonado, Flavia Bonomo-Braberman, Víctor Adrián Braberman
1/10/2025
cs.SEcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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 approach offers a foundation for addressing critical challenges in the development of robust LLM-enabled systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{baldonado2025towards,
  title  = {Towards a Probabilistic Framework for Analyzing and Improving LLM-Enabled Software},
  author = {Juan Manuel Baldonado and Flavia Bonomo-Braberman and Víctor Adrián Braberman},
  year   = {2025},
  eprint = {2501.06370},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.06370v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.06370.svg)](https://codeofpaper.com/paper/2501.06370)

Discussion