Andrey Kofnov
· 3 previous affiliations
- TU WienSince 2021
- Postdoc · Since 2025
- PhD student · 2021–2025
- MS student · 2015–2017
- Lomonosov Moscow State University2011–2015
- Undergrad student · 2011–2015
Research Overview
Andrey Kofnov focuses on the intersection of formal verification, probabilistic modeling, and numerical analysis. His work primarily addresses the challenge of analyzing systems with stochastic behaviors, specifically through the use of Density Reconstruction with Orthogonal Polynomial Expansions and moment-based estimation. By leveraging Orthogonal Polynomial Bases for Stable Numerical Learning, Kofnov develops methods to approximate the behavior of complex probabilistic loops and quantify uncertainty in neural network outputs. His research trajectory demonstrates a transition from the formal verification of software loops to the broader application of statistical methods in machine learning and cyber-physical systems.
Research Trajectory
Kofnov’s early research, beginning around 2022, focused on Closed Form Loop Analysis via Linear Recurrences. A central problem in this domain is the "while" loop, which introduces significant complexity when state variables are updated non-deterministically. Traditional symbolic execution often fails to scale when loops involve non-polynomial updates or unknown termination points. Kofnov addressed this by developing methods to automatically approximate moment-based invariants. By using polynomial chaos expansion (PCE), he provided a way to transform non-linear functional updates into sums of orthogonal polynomials, allowing for the estimation of state-variable moments of all orders. This work was particularly applied to "Prob-solvable" loops, which are a class of probabilistic programs where moments can be computed exactly or approximated with high precision.
By 2023, Kofnov’s work deepened the investigation into the numerical stability of these approximations. The choice of basis functions in polynomial expansions is critical; while standard monomials are mathematically equivalent to other bases, they often lead to numerical instability in finite-precision computing. Kofnov’s research emphasized the use of orthogonal bases to ensure that the recovery of unknown probability densities remains computationally tractable and precise. This period of his work bridged the gap between theoretical program verification and practical numerical methods, applying these techniques to diverse fields such as monetary policy (the Taylor rule) and robotics (turning vehicle models).
In 2025, Kofnov’s research expanded into the domain of machine learning reliability and Correcting Boundary Bias in Nonparametric Estimation. He introduced frameworks for calculating guaranteed bounds on the output distributions of neural networks subject to noisy inputs. This shift represents an evolution from verifying discrete program logic to quantifying aleatoric uncertainty in continuous, high-dimensional models. His recent work also introduces the "K-series" estimation approach, a method for eliciting univariate and multivariate distributions from a finite set of moments. This methodology serves as a general-purpose tool for the probabilistic analysis of systems ranging from biology to cyber-physical software.
Current Directions
Kofnov’s current work is characterized by a dual focus on rigorous uncertainty quantification and the development of the K-series estimation framework. He is particularly interested in the "sandwiching" of general neural networks between specialized ReLU-based networks to provide exact error guarantees for output distributions. This approach addresses a critical need in safe AI, where understanding the full distribution of potential outcomes is more valuable than a single point estimate.
Furthermore, his research continues to refine the K-series approach for density elicitation. This method is designed to statically approximate the joint and marginal distributions of random variables in non-nested loops with nonlinear assignments. By focusing on the recovery of distributions from moments, Kofnov provides a pathway for analyzing complex systems where the underlying density is unknown but the statistical moments can be derived or observed. This work remains grounded in the necessity of balancing the flexibility of nonparametric models with the computational efficiency required for real-time system analysis.
Representative Work
Moment-Based Invariants for Probabilistic Loops with Non-polynomial Assignments In this first-author paper, Kofnov presents a method for approximating moment-based invariants in probabilistic programs. The core contribution is the application of polynomial chaos expansion to handle non-polynomial updates of continuous state variables. This allows for the automatic estimation of moments of all orders in a class of loops previously difficult to analyze. The paper demonstrates the utility of this approach through examples in vehicle dynamics and economic modeling.
Moment-based Invariants for Probabilistic Loops with non-polynomial assignments As the second author of this 2023 work, Kofnov contributed to the refinement of the PCE-based approximation method. This research reinforces the strategy of using orthogonal polynomials to accommodate complex dynamics within probabilistic loops, ensuring that the resulting invariants are both accurate and computationally feasible.
Exact Upper and Lower Bounds for the Output Distribution of Neural Networks with Random Inputs In this 2025 first-author paper, Kofnov introduces a mathematically rigorous framework for quantifying aleatoric uncertainty in neural networks. The method involves "sandwiching" a target network between two ReLU-based networks to produce guaranteed upper and lower bounds on the output distribution. This approach provides exact error guarantees that converge as the resolution of the approximation increases, offering a significant advancement in the formal verification of neural network behavior.
Moment-based Density Elicitation with Applications in Probabilistic Loops This work proposes the K-series estimation approach for recovering unknown univariate and multivariate distributions from a finite number of moments. The method is applied to the analysis of probabilistic loops in various domains, including robotics and macroeconomics. It provides a static means of approximating joint and marginal distributions in systems with nonlinear assignments, further extending Kofnov's contributions to the field of probabilistic system analysis.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Exact Upper and Lower Bounds for the Output Distribution of Neural Networks with Random Inputs | ICML | 2025 |
| Moment-based Density Elicitation with Applications in Probabilistic Loops | ACM Transactions on Probabilistic Machine Learning | 2025 |
| Moment-based Invariants for Probabilistic Loops with Non-polynomial Assignments | arXiv | 2022 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake