← Latest papers
🤖 machine learning

Value Functions as Supermartingale Certificates

This paper establishes a theoretical connection showing that value functions for policies satisfying ω\omega-regular properties encode Streett supermartingale certificates, thereby bridging formal verification and reinforcement learning to enable principled certificate synthesis across finite, countably infinite, and continuous state spaces.

Original authors: Alessandro Abate, Daniel Contro, Mirco Giacobbe, Agustín Martínez-Suñé, Diptarko Roy

Published 2026-06-01
📖 5 min read🧠 Deep dive

Original authors: Alessandro Abate, Daniel Contro, Mirco Giacobbe, Agustín Martínez-Suñé, Diptarko Roy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a robot to navigate a maze. You want the robot to follow a complex set of rules, like "Keep going until you find the treasure, then stay in the safe zone forever, and never step in the lava." In the world of computer science, this is called satisfying an "omega-regular" property (a fancy way of saying a rule that applies to an infinite journey).

For a long time, there have been two separate ways to handle this:

  1. The "Math Proof" Way (Verification): Mathematicians use something called a Supermartingale Certificate. Think of this as a "safety scorecard." If you can draw a map where the score always goes down (or stays the same) as the robot moves, and it hits zero only when the robot is safe, you have a mathematical proof that the robot will never fail, no matter how the dice roll (stochasticity). The problem is, drawing this map by hand for complex mazes is incredibly hard and doesn't scale well.
  2. The "Trial and Error" Way (Reinforcement Learning): This is where the robot learns by doing. It tries actions, gets rewards for good moves, and learns a Value Function. Think of the Value Function as a "happiness map" that tells the robot how much future reward it can expect from any given spot. While this works great for finding a good path, it usually lacks a formal guarantee that the robot will succeed, especially in complex, infinite, or continuous worlds.

The Big Breakthrough
This paper bridges the gap between these two worlds. The authors discovered a surprising secret: If a robot's "happiness map" (Value Function) is built using a very specific type of reward system, that map is the "safety scorecard" (Supermartingale Certificate).

Here is how they did it, using simple analogies:

The Two Reward Recipes

The authors propose two different ways to give the robot rewards so that its resulting "happiness map" automatically becomes a valid safety proof.

Recipe 1: The "Safe Zone" Reward

  • How it works: You tell the robot: "You get a point every time you step into the 'Safe Zone' (or a zone where you are guaranteed to stay safe forever)."
  • The Magic: If the robot is actually following the rules, its "happiness map" will naturally start high outside the safe zone and drop lower as it gets closer to safety. Once it's in the safe zone, the map stays flat.
  • The Catch: To use this, you need to know exactly which areas are "Safe Zones" where the robot gets stuck forever. This is hard to know in advance for complex systems.

Recipe 2: The "Penalty and Prize" Reward

  • How it works: You tell the robot: "You get a small penalty (negative points) every time you are in the 'Danger Zone' (waiting for the goal), and a big prize when you finally reach the 'Goal'."
  • The Magic: As the robot moves through the danger zone, the "happiness map" increases because it is getting closer to the big prize and escaping the penalties. Once it hits the goal, the map stabilizes.
  • The Catch: This doesn't require knowing the "Safe Zones" in advance; it only needs to know the rules (the specification). However, it requires a slightly more complex math setup (a special discount factor) to make the numbers work out.

What They Proved

The authors proved mathematically that if you use either of these reward recipes, and the robot actually succeeds in following the rules, the resulting "happiness map" is a valid Supermartingale Certificate.

This means:

  • You don't need to manually draw the safety map.
  • You can use standard Reinforcement Learning tools to train the robot.
  • Once trained, you can look at the robot's "happiness map," flip it upside down (mathematically), and instantly have a formal, mathematical proof that the robot will succeed almost 100% of the time.

The Experiment

They tested this on a computer simulation of a "slippery maze" (where the robot might slide the wrong way by accident).

  • They trained robots to follow various complex rules (like "Find 'b' and never hit 'h'").
  • They calculated the "happiness map" for the successful robots.
  • They checked the map against the safety rules.
  • Result: The maps passed the test perfectly. The successful robots had valid certificates; the failing robots did not.

Why This Matters (According to the Paper)

This creates a new, principled path to Certified Reinforcement Learning. Instead of just hoping a learned policy works, or struggling to write complex proofs by hand, we can now:

  1. Train a policy using standard AI methods.
  2. Evaluate its Value Function.
  3. Check if that function satisfies the "safety scorecard" rules.

If it does, we have a formal guarantee that the policy works, even in complex, continuous, or infinite environments. The paper suggests this could eventually allow us to use data-driven methods (like neural networks) to build these safety proofs for systems that are too big for humans to analyze manually.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →