← Latest papers
🤖 machine learning

Learning Policy from a Single Trajectory in Average-Reward Markov Decision Process

This paper establishes the first finite sample complexity guarantees for learning policies from a single trajectory in weakly communicating average-reward MDPs by introducing novel model-free methods that achieve O~(1/ε2)\widetilde{O}(1/\varepsilon^2) and O~(1/ε4)\widetilde{O}(1/\varepsilon^4) bounds without requiring restrictive assumptions like ergodicity or a generative model.

Original authors: Jongmin Lee, Ernest K. Ryu, Vaneet Aggarwal

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

Original authors: Jongmin Lee, Ernest K. Ryu, Vaneet Aggarwal

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

The Big Picture: Navigating a Maze Without a Map

Imagine you are trying to find the best route through a massive, endless maze. Your goal isn't just to get to the exit quickly (which is like a "discounted" reward where the future matters less), but to maximize your average speed over a very long, perhaps infinite, journey. This is what researchers call an Average-Reward Markov Decision Process (MDP).

In the past, figuring out the best strategy for these mazes usually required one of two things:

  1. A "God Mode" Simulator: A magical tool that lets you teleport to any spot in the maze and see exactly what happens next (called a "generative model").
  2. A Perfectly Mixed Maze: A maze where no matter where you start, you are guaranteed to eventually visit every single corner (called "ergodicity").

The Problem: Real life isn't a perfect maze, and we rarely have a "God Mode" simulator. Usually, we just have one single path we walked through the maze. We don't know the layout, and we might get stuck in a dead-end area (a "transient" state) before finally finding the main loop where the action happens.

The Paper's Breakthrough:
This paper says, "We can solve this using only that single path you walked, even if the maze is messy and has dead ends." They developed two new methods (one based on values, one based on policies) that can learn the best strategy just by analyzing that one journey, without needing a map or a simulator.


Key Concepts & Analogies

1. The "Transient" vs. "Recurrent" States

Imagine the maze has two types of areas:

  • Transient States (The Hallway): You walk through here once and never come back. It's a dead end or a one-way street.
  • Recurrent States (The Main Loop): Once you enter this area, you get stuck in a loop. You will keep visiting these spots over and over again forever.

The Challenge: If you start in the "Hallway," you might wander around for a while before you finally stumble into the "Main Loop." Previous methods struggled because they didn't know how to handle that initial wandering time or how to distinguish the loop from the dead ends.

The Paper's Solution:
The authors created a clever "scout" algorithm (Algorithm 1). It says: "Walk for a while. If you haven't seen a new spot in a long time, you've likely entered the Main Loop. Let's start taking notes only on the spots in that loop."
They mathematically proved that after a certain amount of walking, you are almost guaranteed to be in the Main Loop, and you can ignore the initial hallway wandering.

2. The "Anchoring" Technique (SAVIC)

The first method they propose is called SAVIC (Stochastic Anchored Value Iteration).

  • The Analogy: Imagine you are trying to find the center of a room by taking steps. If you just keep walking forward based on your last step, you might get dizzy and spin in circles.
  • The Trick: The "Anchoring" technique is like tying a rope to the spot where you started. Every time you take a new step, you pull yourself slightly back toward your starting point.
  • Why it works: This prevents the algorithm from going crazy or drifting too far off course. It keeps the learning process stable and ensures that, even with noisy data from a single path, the algorithm converges to the correct answer efficiently.

3. The "No-Map" Method (SAVIC+)

For mazes where every spot is part of the Main Loop (called "communicating" MDPs), the authors created SAVIC+.

  • The Innovation: Previous methods needed to know specific numbers about the maze beforehand (like "how long does it take to walk around the loop?").
  • The Paper's Claim: SAVIC+ is the first method that doesn't need to know these numbers in advance. It figures out the right amount of walking and learning as it goes, using a "doubling trick" (it tries a little, then twice as much, then twice that, until it's sure it has enough data).

4. The Policy Mirror Ascent (SCPMA)

The second method is SCPMA, which focuses on changing the strategy (the "policy") rather than just calculating values.

  • The Analogy: Imagine you are a chef trying to perfect a recipe. Instead of just tasting the soup (value), you are adjusting the ingredients (policy).
  • The "Clipping" Trick: To make sure the chef doesn't accidentally remove an essential ingredient (which would break the recipe), the algorithm "clips" the changes. It ensures that every ingredient has at least a tiny amount in the mix. This mathematical safety net guarantees that the learning process doesn't crash, even in messy mazes.

What Did They Actually Prove?

The paper provides mathematical guarantees (proofs) about how much "walking" (data) is needed to find a near-perfect strategy.

  • For the Value Method (SAVIC): They proved that to get a strategy that is very close to perfect (within a tiny error margin ϵ\epsilon), you need roughly 1/ϵ21/\epsilon^2 steps of data.
  • For the Policy Method (SCPMA): They proved you need roughly 1/ϵ41/\epsilon^4 steps.

Why is this a big deal?
Before this paper, no one had proven that you could get these specific guarantees using only one single trajectory in a messy, weakly-communicating maze. Most previous work assumed you had a magic simulator or a perfectly mixed maze. This paper removes those "magic" requirements and says, "Here is how you learn from a single, real-world walk."

Summary

This paper is like a guidebook for learning the best route through a complex, unpredictable maze using only the path you just walked. It introduces new mathematical tools (Anchoring, Clipping, and Stopping Times) to handle the messiness of real-world data, proving that you don't need a map or a simulator to learn effectively—you just need to know how to analyze the single journey you took.

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 →