arXiv Science⌕ Search

arXiv subjects

Viktor Mazanov

Publications and source records attributed to Viktor Mazanov.

3 recordsLinked to original sources

Bayesian Evidence Fusion for Uncertainty Quantification of AI Agents

AI agents complete tasks through sequences of diverse actions: large language model (LLM) generations, tool calls, and revisions. Existing uncertainty quantification (UQ) techniques typically assess the reliability of individual LLM generations, leaving open how to aggregate and propagate uncertainty across different types of actions within an agent trajectory. We formulate UQ for LLM agents as Bayesian belief tracking over final task correctness, integrating generation-level uncertainty with tool outcomes through Bayesian updates. Our framework requires no changes to the agentic harness or LLM, and can be applied post hoc without additional agent executions, thus introducing negligible latency. We conduct an extensive evaluation across five LLMs, eight agent harnesses, and 15 agentic environments spanning coding, retrieval, and interactive tasks. The basic Bayesian fusion achieves the highest average outcome-ranking scores on coding and retrieval, while a variant that separately models trajectory length, history, and final-step evidence leads on interactive tasks. Bayesian fusion generalizes well across models, harnesses, and datasets within the same domain. For larger environment and domain shifts, adaptation with little or no labeled target data improves performance.

cs.AI↗

Bayesian control for coding agents

Modern coding agents pair LLM generators with various tools, including cheap diagnostics and expensive verifiers. The tool-use decisions are typically governed by orchestrators that often use fixed rules and ignore uncertainty. We formulate orchestration as cost-sensitive sequential hypothesis testing: a Bayesian controller maintains a belief over candidate correctness and dynamically decides whether to gather more evidence, refine the candidate, verify it, or stop. Across six generators and nine coding benchmarks, Bayesian control proves to be most valuable when verification is costly and critics are informative but imperfect. Beyond control, the belief state yields an interpretable correctness score that outperforms token-probability and raw tool-success baselines for uncertainty quantification.

cs.AI↗

ThinkBooster: A Unified Framework for Seamless Test-Time Scaling of LLM Reasoning

Test-time compute (TTC) scaling has emerged as a powerful paradigm for improving large language model (LLM) reasoning by allocating additional compute during inference, e.g., via multi-sample generation and verifier-based reranking. Existing TTC scaling strategies and reasoning scorers remain fragmented, evaluated under inconsistent protocols, and are rarely analyzed through the lens of quality-cost trade-offs. We introduce ThinkBooster, a unified framework for seamless test-time compute scaling of LLM reasoning, which consists of (i) a modular Python library implementing state-of-the-art TTC scaling strategy and scorer families, (ii) a benchmark that jointly evaluates performance and computational efficiency, and (iii) a deployable OpenAI-compatible proxy service that enables drop-in integration of adaptive reasoning into real-world applications. We further provide a demo visual debugger for inspecting the reasoning trajectories, intermediate selection decisions, and alternative reasoning paths. Empirical results on mathematical and coding tasks reveal the performance-compute trade-offs of TTC scaling strategies and scoring methods and demonstrate that ThinkBooster provides practical gains in real-world tasks. The code is available online under an MIT license.

cs.CL↗