Automated Parameter Selection for Formal Verification

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 233 papers41 conceptsfrozen 2026-10-04

Formal verification tools provide mathematical guarantees that a system—whether a self-driving car, a chemical reactor, or a neural network—will never enter an unsafe state. However, these tools are notoriously brittle. To succeed, they often require an "expert-in-the-loop" to manually tune a dizzying array of internal parameters: integration step sizes, Taylor model orders, approximation precisions, and memory bounds.

A growing body of research aims to transform these tools from expert-only instruments into "push-button" automated solutions. By replacing manual trial-and-error with adaptive heuristics and machine learning, researchers are making formal safety guarantees accessible to non-specialists and scalable to real-world engineering workflows.

The Expert Bottleneck in Reachability Analysis

The core challenge in verifying continuous and hybrid systems is reachability analysis: calculating the set of all possible states a system can reach over time. Because exact reachability is often uncomputable for nonlinear systems, tools must use "over-approximations"—geometric shapes like zonotopes or Taylor models that are guaranteed to contain the true reachable set.

As noted in the ARCH-COMP23 report by Luca Geretti and Luis Benet, the effectiveness of these tools depends heavily on the manual selection of algorithmic parameters. If the integration step size is too large, the over-approximation "blows up," becoming so large that it intersects with unsafe zones even if the system is actually safe. If the step size is too small, the computation becomes prohibitively slow.

Historically, this has turned verification into a manual, iterative process. Experts like Stanley Bak and Christian Schilling developed tools like Hypy to script these human-in-the-loop workflows, but the underlying need for manual intervention remained a significant barrier to entry.

Adaptive Tuning via Error Bounds

To eliminate the expert, the verification algorithm must be able to "sense" its own approximation error and adjust its parameters dynamically. Mark Wetzlinger, Niklas Kochdumper, and Matthias Althoff have pioneered fully automated algorithms for linear systems that do exactly this.

The intuition is to derive rigorous error bounds based on the Hausdorff distance between the true system behavior and the approximation. By setting a user-defined error tolerance, the algorithm can automatically adjust the time step and the complexity of the set representation (e.g., the number of generators in a zonotope) during runtime. This adaptive parameter tuning allows the tool to be faster than manual tuning while providing a "push-button" experience for the user.

Machine Learning for Configuration Prediction

While error-bound-driven tuning works well for continuous dynamics, software verification often involves discrete configuration flags (e.g., solver selection, loop unrolling depths) that are harder to tune mathematically.

In FuSeBMC AI, Kaled M. Alshmrany and Lucas C. Cordeiro apply machine learning to this problem. By training a model on a large corpus of programs, the tool can predict the optimal configuration for a new, unseen C program. This approach has demonstrated up to an 86% reduction in resource consumption, proving that "learned heuristics" can replace the intuition of a human verification engineer.

Scaling to Neural Networks

The need for automation is perhaps most acute in Neural Network Verification (VNN). As models scale to ResNets and UNets, the search space for proofs (often involving branch-and-bound frameworks) becomes massive.

The VNN-COMP 2022 summary by Mark Niklas Mueller and others highlighted that reducing the human-in-the-loop requirement is essential for real-world deployment. Recent tools like NeuralSAT, developed by Hai Duong and ThanhVu Nguyen, have shown that it is possible to achieve state-of-the-art performance using a single default configuration. By incorporating robust, automated heuristics into the solver itself, NeuralSAT matches the success rates of systems that previously required extensive per-benchmark manual tuning.

The Path to Autonomy

The transition from manual to automated parameter selection represents a maturity milestone for the field. As summarized in the ARCH-COMP24 report, the goal is no longer just to prove safety for a single, carefully tuned benchmark, but to create tools that can adapt to any model without human intervention.

Whether through the rigorous mathematical bounds of Matthias Althoff or the learned heuristics of Kaled M. Alshmrany, the direction is clear: the future of formal verification is "push-button," where the complexity of the proof is hidden behind a simple, automated interface.

Papers in this version

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 20 papers
  2. Version 1 · 2026-10-04 · 33 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_manual_parameter_tuning_verification_too_46537a56,
  title = {manual parameter tuning (verification tool autonomy)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/manual-parameter-tuning-verification-tool-autonomy/rdr_46537a562d9e46c7a8dcb6d617b8e996},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_automated_parameter_selection_for_formal_46537a56_v1,
  title = {Automated Parameter Selection for Formal Verification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/automated-parameter-selection-for-formal-verification/rdr_46537a562d9e46c7a8dcb6d617b8e996/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}