← Latest papers
📊 statistics

On-Policy and Off-Policy Learning for Large Action Spaces

This thesis addresses the challenges of policy learning in contextual bandits with large action spaces by proposing structured Bayesian methods for on-policy learning to improve exploration and regret bounds, alongside novel off-policy techniques that mitigate estimation errors and control bias-variance trade-offs through optimized objectives and differentiable pessimistic approaches.

Original authors: Imad Aouali

Published 2026-07-31
📖 6 min read🧠 Deep dive

Original authors: Imad Aouali

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 the captain of a massive spaceship trying to find the best route through a galaxy with millions of stars. Every time you pick a star to visit, you get a tiny, fuzzy signal telling you if it was a good choice or a bad one. This is the world of contextual bandits, a branch of artificial intelligence that helps computers make decisions when they don't know the rules of the game yet. The "context" is the situation you're in (like the weather or your mood), the "action" is what you do (like picking a star), and the "reward" is the result (like finding treasure or hitting an asteroid).

The tricky part is the sheer number of choices. If you have to guess which of a million stars is the best one, and you can only check a few at a time, you might spend your whole life exploring the wrong ones. This is the "large action space" problem. It's like trying to find a single specific needle in a haystack the size of a city, but you can only pull out one straw at a time and hope it's the needle. Scientists care about this because it's the engine behind things like recommending movies, showing you the right ads, or even designing new medicines. If the computer gets stuck guessing randomly, it wastes time and money.

This thesis tackles the problem of how to teach a computer to make smart choices when faced with millions of options, using two different strategies: learning while you go (on-policy) and learning from old logs (off-policy).

The On-Policy Adventure: Learning by Doing with a Map

First, the author looks at the "on-policy" scenario, where the computer learns by interacting with the world in real-time. Imagine you are exploring a giant library with millions of books, but you don't know which ones are good. A standard explorer would pick a book, read a page, and if it's boring, move to a completely different book, starting from scratch. This is slow and inefficient.

The paper introduces a smarter explorer using Mixed-Effect Thompson Sampling (meTS). Instead of treating every book as a unique mystery, this explorer notices that books belong to genres. It learns that "Sci-Fi" books share common traits. By grouping books into categories (like "Action," "Romance," or "Mystery"), the explorer can learn about the whole genre from just a few books. If it reads one great Sci-Fi book, it gets a hint that other Sci-Fi books might be good too. This "sharing of information" drastically speeds up learning. The math shows that instead of needing to learn about millions of individual books, the computer only needs to learn about a few dozen "genres" (latent effects) and the specific quirks of each book within those genres.

The author then takes this idea even further with Diffusion Thompson Sampling (dTS). If the first method was like grouping books by genre, this new method is like having a super-smart librarian who understands the deep, complex connections between books. Maybe a book is a mix of "Cyberpunk" and "Historical Fiction," or maybe it shares a specific writing style with a book from a different century. Using a type of AI called a "diffusion model" (the same tech behind some image generators), the computer learns a rich, deep map of how all the books relate to each other. This allows it to explore the library much faster, even if the library is huge. In simulations, these methods found the best books much quicker than older methods that treated every book as a stranger.

The Off-Policy Challenge: Learning from a Messy Diary

Next, the paper tackles the "off-policy" scenario. Imagine you can't explore the library yourself anymore. Instead, you have to learn from a messy diary left by a previous explorer who had very different tastes. Maybe that explorer only read horror movies, and now you need to find the best romance movies. This is the "off-policy" problem: learning from data collected by someone else.

The author challenges a common belief in the field: that the most important thing is to build the most accurate "reward estimator" (a crystal ball that predicts how good a choice will be). The paper argues that in huge libraries, optimization is actually the bigger problem. It's like having a perfect map (the estimator) but trying to navigate it with a broken compass (the optimization algorithm). The math shows that standard ways of using these maps often get stuck in "flat plateaus" or local traps, making it impossible to find the best path, no matter how good the map is.

To fix this, the author proposes a new approach: Policy-Weighted Log-Likelihood (PWLL). Instead of trying to predict the exact reward, this method focuses on making the optimization path smooth and easy to walk. It's like switching from a jagged, rocky mountain path to a gentle, winding road. Even if the road isn't perfectly straight, it's much easier to get to the top. In experiments with up to one million actions, this simple, smooth approach consistently beat the complex, "smart" estimators that were getting stuck.

The paper also introduces a new way to handle the "noise" in the old diary. When the previous explorer rarely visited certain sections, the data is unreliable. The author suggests using Exponential Smoothing combined with "principled pessimism." Think of this as being a cautious explorer who trusts the diary but adds a safety buffer. If the diary says a path is great but the data is shaky, the explorer assumes it might be slightly worse than reported to avoid disaster. The paper proves mathematically that this method keeps the explorer safe while still allowing them to learn effectively, and it works well even when the data is sparse.

The Big Picture

In short, this thesis shows that when you have millions of choices, you can't just brute-force your way through. You need to find the hidden structures (like genres or deep connections) to share what you learn, and you need to make sure your learning path is smooth enough to actually find the solution. Whether you are learning in real-time or digging through old logs, the key is to be smart about how you group information and how you navigate the math. The results, tested on both fake data and real-world movie recommendation datasets, suggest that these new methods are a significant step forward in making AI decision-making scalable and efficient.

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 →