# Verifying Neural Networks with Reinforcement Learning

*Hai Duong, Thanh Le, ThanhVu Nguyen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152311) · [OpenReview](https://openreview.net/forum?id=U2N3YhilwS) · [Open on the map](../papers.html#p152311)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Neural Network Robustness Verification](../pgroup/56.md) · Type: new method · Keywords: neural network verification, reinforcement learning branching, formal methods, safety-critical systems, branch-and-bound

## Summary
RSB is a reinforcement learning framework that learns to refine baseline branching heuristics for DNN verification, improving instance solving and reducing branch exploration.

## Explained to a 5-year-old
Computers use brain-like networks to make decisions. Sometimes we want to check that these decisions are safe. The old way of checking just looks at one part at a time. The new way uses a friendly robot that learns how to look at the right parts faster. This helps make sure the computers are trustworthy.

## Explained to a 5-year-old, longer
Computers sometimes use special math models called neural networks to help them think. These models are used in cars, phones, and many other things that need to be safe. To make sure they never make dangerous mistakes, we need to check their decisions carefully. Checking is like solving a puzzle where we try to see if a bad outcome is possible. The old checking methods just look at one piece of the puzzle at a time, which can take a long time. The new method uses a learning robot that watches how the puzzle pieces connect and decides which piece to examine next. This robot learns from many examples of puzzles to become better at finding the answer quickly. It pays attention to the tiny signals inside the network, like what each little part says. By focusing on the most important parts, it can skip many unnecessary steps. This makes the checking process faster and more reliable. As a result, we can verify more complex networks in less time, which helps keep us safe.

## For a technical reader
The paper introduces RSB, a reinforcement learning framework that learns to refine baseline branching heuristics for DNN verification. RSB employs an actor-critic architecture that processes raw neuron activations and graph embeddings to produce attention weights, which rescale baseline heuristic scores. By optimizing for cumulative future rewards rather than immediate scores, the approach makes more informed branching decisions, leading to better pruning. Evaluations on a large set of 600 challenging verification instances show that RSB solves 11% more problems while cutting branch exploration by half compared to state-of-the-art methods. This results in faster and more scalable verification, crucial for deploying DNNs in safety-critical systems.

## Problem
Existing DNN verification branching heuristics make greedy decisions based on static scoring functions, lacking long-term efficiency and failing to leverage verification data.

## Method
The approach uses an actor-critic reinforcement learning architecture that generates attention weights from neuron features and graph embeddings to rescale baseline heuristic scores, guiding branching decisions to maximize cumulative future rewards.

## Results
The approach solves 11% more verification instances and reduces branch exploration by 50% compared to state-of-the-art heuristics on the evaluated set.

## Contributions
It introduces a reinforcement learning framework that learns to refine branching heuristics by leveraging neuron features and graph embeddings, and demonstrates consistent improvements on a large benchmark of verification instances.

## Practical relevance
The improved verification can enhance the reliability of DNNs in safety-critical applications, enabling more efficient and scalable deployment.

## Research questions this paper is counted under

- [How can we achieve accurate and efficient verification of neural network reasoning without relying on ground-truth labels?](../q/471.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152311)
