Skip to content
problem genome

One of 592 unsolved problems in the Problem Genome, a collection written up for student design and engineering teams.

digital · infrastructure · family: the theory hasn’t been invented yet

noprooffortheneuralnetworkinside

Formal verification methods break down when systems contain ML components

Source: NSF CISE Formal Methods in the Field (FMitF) Program (NSF 24-509) Open ↗source: primaryLast updated: 2026-10-20

Problem statement

Safety-critical systems increasingly embed machine learning components. The NSF Formal Methods in the Field solicitation says that many critical applications are increasingly dependent on machine learning to make important data-driven predictions or decisions, and may require interactions with the physical world or with humans in the loop; the Safe Learning-Enabled Systems solicitation lists deployed systems in healthcare and medicine, criminal justice, autonomous and cyber-physical systems, and finance. Traditional formal verification can prove that deterministic software meets its specification: formal methods, as the FMitF solicitation defines them, are principled approaches based on logic and mathematics to the specification, modeling, design, analysis, verification and synthesis (among other activities) of systems, networks and applications. ML components do not sit easily inside that frame. The Safe Learning-Enabled Systems solicitation says that traditional machine learning systems are evaluated pointwise against a fixed test set, that such static coverage gives only limited assurance under unprecedented conditions, and that verifying that learning components achieve safety guarantees for all possible inputs may be difficult, if not impossible. It adds that safety may require new methods for inspecting and interpreting the internal logic of learned models, to find unexpected behavior that black-box testing alone would miss. The open problem is a verification methodology that can provide end-to-end safety guarantees for systems that include both formally specified software and learned ML components; the solicitation requires that any such end-to-end guarantee be specified clearly and precisely and backed by rigorous evidence.

Why this matters

The FMitF solicitation says that computing and communication systems affect everything from economic and societal infrastructure to national security, that this complex ecosystem leads to error-prone systems lacking critical correctness and safety guarantees, with potentially catastrophic consequences, and that there is an urgent need to ensure reliability and resilience at all levels of the computing stack. The Safe Learning-Enabled Systems solicitation says that as AI systems grow in size and capability and are deployed in high-stakes settings, their safety becomes extremely important, and that ensuring safety takes more than accuracy, efficiency and scalability: systems must be robust to extreme events and monitored for anomalous and unsafe behavior. The SHF program names policy and regulatory compliance among the emerging areas for which it supports development of new formal techniques. Where approval depends on verification, the inability to verify ML components would stand between a manufacturer and certification; the sources named here do not discuss any specific certification standard or regulator.

What’s been tried and why it hasn’t worked

The three NSF program pages do not survey specific verification tools or report their results, so this section gives only what they say about the limits of current practice. The Safe Learning-Enabled Systems solicitation says that evaluating a machine learning system pointwise on a fixed test set gives only limited assurance under unprecedented conditions, that verifying safety guarantees for all possible inputs may be difficult if not impossible, and that black-box testing alone cannot find some unexpected behaviors in learned models. It says that safety also requires resilience to unknown unknowns, which calls for improved methods for monitoring for unexpected environmental hazards or anomalous system behaviors, including during deployment, and that a system's safety guarantees will often need to be established with respect to systematically generated data from realistic yet appropriately pessimistic operating environments. The SHF program names the formal techniques it supports, abstract interpretation, model checking, theorem proving, automated decision procedures and constraint solving, and asks for proposals that enhance their applicability, usability and efficiency. Named robustness verifiers, runtime assurance architectures and neurosymbolic methods are not discussed in the sources.

What would unlock progress

New formal frameworks that can express and verify probabilistic safety specifications rather than binary correctness. The SHF program supports probabilistic methods for the modeling and validation of systems involving discrete and continuous behavior, and the Safe Learning-Enabled Systems solicitation lists probabilistic, statistical and logical techniques for reasoning among the mathematical techniques in its scope. Compositional verification approaches that verify the ML component's contract (input-output specification) independently of the system, then verify the system against that contract; SHF names compositional and refinement-based methods among those it supports, though neither source describes a contract formalism for ML components. Advances in inspecting and interpreting the internal logic of learned models, which the Safe Learning-Enabled Systems solicitation says may be needed to identify unexpected behavior that black-box testing alone cannot find, together with methods for improving performance by directly adapting that internal logic. The same solicitation says that end-to-end safety guarantees must be specified clearly and precisely, and that a system claiming to satisfy a safety specification must provide rigorous evidence through analysis corroborated empirically and/or with mathematical proof.

Where to start

A student team could implement a runtime assurance framework (simplex architecture) for a small ML-controlled system (e.g., an RL-controlled drone in simulation), comparing system performance with and without the verified safety monitor and measuring how often the monitor intervenes. Alternatively, a team could benchmark existing neural network verification tools (CROWN, Marabou, NNV) on a realistic perception pipeline, documenting the gap between what can be verified and what safety certification requires. Relevant disciplines include computer science (formal methods, ML), systems engineering, and aerospace/automotive engineering.

Genes

Related problems

Stuck the same way, in other fields.

field: health & medicinethe fibers that won't regrowWhole eye transplantation cannot yet restore sight because the optic nerve cannot be reconnected to the brainit fell between the crackssource: primaryfield: food & the living worldwe cannot build what we cannot define as aliveWe cannot build a synthetic cell because we do not know what makes a cell aliveit fell between the crackssource: primaryfield: food & the living worldthe genome isn't the blueprintWe still cannot predict an organism's traits from its genomeit fell between the crackssource: primaryfield: water & energypromised megawatts, delivered by weatherGrid operators cannot quantify the physical delivery risk of variable renewable assetsit fell between the crackssource: primary

Sources

  • NSF CISE Formal Methods in the Field (FMitF) Program (NSF 24-509)
  • NSF Software and Hardware Foundations (SHF) Program, accessed 2026-10-20. Link ↗
  • NSF Safe Learning-Enabled Systems Program, accessed 2026-10-20, accessed 2026-02-15. Link ↗ Link 2 ↗
Revision notes

This brief gets checked against its sources and contains the following revisions. Future revisions get added here.

Worth knowing

  • the certification-bottleneck argument is the write-up's own reasoning; the NSF program pages name no standard or regulator

Sources read

  • NSF 24-509, Formal Methods in the Field (FMitF) solicitation: full text
  • NSF, Software and Hardware Foundations program page: full text
  • NSF 23-562, Safe Learning-Enabled Systems program page and solicitation: full text

What changed

  • Not found in the sources, replaced with what they say: the Problem Statement's examples (vehicle perception, medical devices, robotic surgery), billions of parameters, adversarial weakness and no end-to-end methodology (now the solicitations' statements on reliance on machine learning, where it is deployed, the limits of test-set evaluation, and the need for clearly specified guarantees); Why This Matters' aviation and automotive standards and the FAA, DoD, FDA and NHTSA (now the solicitations' statements on infrastructure, national security, high-stakes deployment and compliance); What's Been Tried's verification tools, scaling, simulation mileage, testing and architectures (now the sources' statements on current limits and the list of formal techniques NSF wants made more usable).
  • Numbers: an example safety target of a collision probability per hour, removed; the program's investment of $10.9M, now the solicitation's $20 million in total ($10 million a year in 2023 and 2024).
  • Quotations: the Safe Learning-Enabled Systems quotation now carries the program's own words; two Software and Hardware Foundations quotations were joined as one sentence; they come from different paragraphs.
  • Links: addresses added for the two program pages that had none.

Left open

None noted in this check.