The Benefits of Model-Based Generalization in Reinforcement Learning

Auteurs : Kenny Young, Aditya Ramesh, Louis Kirsch, Jürgen Schmidhuber

Soumis à arXiv le 04 Nov. 2022
Résumé scientifique

Model-Based Reinforcement Learning (RL) is widely believed to have the potential to improve sample efficiency by allowing an agent to synthesize large amounts of imagined experience. Experience Replay (ER) can be considered a simple kind of model, which has proved extremely effective at improving the stability and efficiency of deep RL. In principle, a learned parametric model could improve on ER by generalizing from real experience to augment the dataset with additional plausible experience. However, owing to the many design choices involved in empirically successful algorithms, it can be very hard to establish where the benefits are actually coming from. Here, we provide theoretical and empirical insight into when, and how, we can expect data generated by a learned model to be useful. First, we provide a general theorem motivating how learning a model as an intermediate step can narrow down the set of possible value functions more than learning a value function directly from data using the Bellman equation. Second, we provide an illustrative example showing empirically how a similar effect occurs in a more concrete setting with neural network function approximation. Finally, we provide extensive experiments showing the benefit of model-based learning for online RL in environments with combinatorial complexity, but factored structure that allows a learned model to generalize. In these experiments, we take care to control for other factors in order to isolate, insofar as possible, the benefit of using experience generated by a learned model relative to ER alone.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche Cité par cet article Une méthode qu’il utilise
    When to use parametric models in reinforcement learning?
    H. V. Hasselt, Matteo Hessel, John Aslanides · 2019 · Neural Information Processing Systems · cité 216 fois · Pas encore résumé
    Résumé scientifique

    We examine the question of when and how parametric models are most useful in reinforcement learning. In particular, we look at commonalities and differences between parametric models and experience replay. Replay-based learning algorithms share important traits with model-based approaches, including the ability to plan: to use more computation without additional data to improve predictions and behaviour. We discuss when to expect benefits from either approach, and interpret prior work in this context. We hypothesise that, under suitable conditions, replay-based algorithms should be competitive to or better than model-based algorithms if the model is used only to generate fictional transition…

  2. Très proche
    A survey on model-based reinforcement learning
    Fan Luo, Tian Xu, Hang Lai et al. · 2022 · Science China Information Sciences · cité 202 fois · Pas encore résumé
    Résumé scientifique

    Reinforcement learning (RL) interacts with the environment to solve sequential decision-making problems via a trial-and-error approach. Errors are always undesirable in real-world applications, even though RL excels at playing complex video games that permit several trial-and-error attempts. To improve sample efficiency and thus reduce errors, model-based reinforcement learning (MBRL) is believed to be a promising direction, as it constructs environment models in which trial-and-errors can occur without incurring actual costs. In this survey, we investigate MBRL with a particular focus on the recent advancements in deep RL. There is a generalization error between the learned model of a non-t…

  3. Très proche
    Advances and challenges in learning from experience replay
    Daniel Eugênio Neves, Lucila Ishitani, Z. K. G. Do Patrocínio · 2024 · Artificial Intelligence Review · cité 36 fois · Pas encore résumé
    Résumé scientifique

    From the first theoretical propositions in the 1950s to its application in real-world problems, Reinforcement Learning (RL) is still a fascinating and complex class of machine learning algorithms with overgrowing literature in recent years. In this work, we present an extensive and structured literature review and discuss how the Experience Replay (ER) technique has been fundamental in making various RL methods in most relevant problems and different domains more data efficient. ER is the central focus of this review. One of its main contributions is a taxonomy that organizes the many research works and the different RL methods that use ER. Here, the focus is on how RL methods improve and ap…

  4. Proche Cité par cet article
    When to Trust Your Model: Model-Based Policy Optimization
    Michael Janner, Justin Fu, Marvin Zhang et al. · 2019 · Neural Information Processing Systems · cité 1 396 fois · Pas encore résumé
    Résumé scientifique

    Designing effective model-based reinforcement learning algorithms is difficult because the ease of data generation must be weighed against the bias of model-generated data. In this paper, we study the role of model usage in policy optimization both theoretically and empirically. We first formulate and analyze a model-based reinforcement learning algorithm with a guarantee of monotonic improvement at each step. In practice, this analysis is overly pessimistic and suggests that real off-policy data is always preferable to model-generated on-policy data, but we show that an empirical estimate of model generalization can be incorporated into such analysis to justify model usage. Motivated by thi…

  5. Proche
    A Survey of Generalisation in Deep Reinforcement Learning
    Robert Kirk, Amy Zhang, Edward Grefenstette et al. · 2021 · Machine Learning · cité 323 fois · Résumé IA disponible
    Résumé scientifique

    The study of generalisation in deep Reinforcement Learning (RL) aims to produce RL algorithms whose policies generalise well to novel unseen situations at deployment time, avoiding overfitting to their training environments. Tackling this is vital if we are to deploy reinforcement learning algorithms in real world scenarios, where the environment will be diverse, dynamic and unpredictable. This survey is an overview of this nascent field. We provide a unifying formalism and terminology for discussing different generalisation problems, building upon previous works. We go on to categorise existing benchmarks for generalisation, as well as current methods for tackling the generalisation problem…

  6. Proche
    Concept-modulated model-based offline reinforcement learning for rapid generalization
    Nicholas A. Ketz, Praveen K. Pilly · 2022 · Machine Learning · preprint, non relu par les pairs · cité 1 fois · Résumé IA disponible
    Résumé scientifique

    The robustness of any machine learning solution is fundamentally bound by the data it was trained on. One way to generalize beyond the original training is through human-informed augmentation of the original dataset; however, it is impossible to specify all possible failure cases that can occur during deployment. To address this limitation we combine model-based reinforcement learning and model-interpretability methods to propose a solution that self-generates simulated scenarios constrained by environmental concepts and dynamics learned in an unsupervised manner. In particular, an internal model of the agent's environment is conditioned on low-dimensional concept representations of the inpu…

  7. Proche
    Revisiting Fundamentals of Experience Replay
    W. Fedus, Prajit Ramachandran, Rishabh Agarwal et al. · 2020 · International Conference on Machine Learning · cité 348 fois · Pas encore résumé
    Résumé scientifique

    Experience replay is central to off-policy algorithms in deep reinforcement learning (RL), but there remain significant gaps in our understanding. We therefore present a systematic and extensive analysis of experience replay in Q-learning methods, focusing on two fundamental properties: the replay capacity and the ratio of learning updates to experience collected (replay ratio). Our additive and ablative studies upend conventional wisdom around experience replay -- greater capacity is found to substantially increase the performance of certain algorithms, while leaving others unaffected. Counterintuitively we show that theoretically ungrounded, uncorrected n-step returns are uniquely benefici…

  8. Proche
    On the Power of Pre-training for Generalization in RL: Provable Benefits and Hardness
    Haotian Ye, Xiao-Yu Chen, Liwei Wang et al. · 2022 · International Conference on Machine Learning · cité 11 fois · Pas encore résumé
    Résumé scientifique

    Generalization in Reinforcement Learning (RL) aims to learn an agent during training that generalizes to the target environment. This paper studies RL generalization from a theoretical aspect: how much can we expect pre-training over training environments to be helpful? When the interaction with the target environment is not allowed, we certify that the best we can obtain is a near-optimal policy in an average sense, and we design an algorithm that achieves this goal. Furthermore, when the agent is allowed to interact with the target environment, we give a surprising result showing that asymptotically, the improvement from pre-training is at most a constant factor. On the other hand, in the …

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche
    Efficient Model-Based Reinforcement Learning through Optimistic Policy Search and Planning
    Sebastian Curi, Felix Berkenkamp, A. Krause · 2020 · Neural Information Processing Systems · cité 124 fois · Pas encore résumé
    Résumé scientifique

    Model-based reinforcement learning algorithms with probabilistic dynamical models are amongst the most data-efficient learning methods. This is often attributed to their ability to distinguish between epistemic and aleatoric uncertainty. However, while most algorithms distinguish these two uncertainties for {\em learning} the model, they ignore it when {\em optimizing} the policy. In this paper, we show that ignoring the epistemic uncertainty leads to greedy algorithms that do not explore sufficiently. In turn, we propose a {\em practical optimistic-exploration algorithm} (\alg), which enlarges the input space with {\em hallucinated} inputs that can exert as much control as the {\em epistemi…

  2. Proche
    Shaping Belief States with Generative Environment Models for RL
    K. Gregor, Danilo Jimenez Rezende, Frederic Besse et al. · 2019 · Neural Information Processing Systems · cité 127 fois · Pas encore résumé
    Résumé scientifique

    When agents interact with a complex environment, they must form and maintain beliefs about the relevant aspects of that environment. We propose a way to efficiently train expressive generative models in complex environments. We show that a predictive algorithm with an expressive generative model can form stable belief-states in visually rich and dynamic 3D environments. More precisely, we show that the learned representation captures the layout of the environment as well as the position and orientation of the agent. Our experiments show that the model substantially improves data-efficiency on a number of reinforcement learning (RL) tasks compared with strong model-free baseline agents. We fi…

  3. Proche
    Procedural Generalization by Planning with Self-Supervised World Models
    Ankesh Anand, Jacob Walker, Ya-Zhe Li et al. · 2021 · International Conference on Learning Representations · cité 37 fois · Pas encore résumé
    Résumé scientifique

    One of the key promises of model-based reinforcement learning is the ability to generalize using an internal model of the world to make predictions in novel environments and tasks. However, the generalization ability of model-based agents is not well understood because existing work has focused on model-free agents when benchmarking generalization. Here, we explicitly measure the generalization ability of model-based agents in comparison to their model-free counterparts. We focus our analysis on MuZero (Schrittwieser et al., 2020), a powerful model-based agent, and evaluate its performance on both procedural and task generalization. We identify three factors of procedural generalization -- p…

  4. Apparenté Utilisé en profondeur par cet article Une méthode qu’il utilise
    Mastering Atari with Discrete World Models
    Danijar Hafner, T. Lillicrap, Mohammad Norouzi et al. · 2020 · International Conference on Learning Representations · cité 1 439 fois · Résumé IA disponible
    Résumé scientifique

    Intelligent agents need to generalize from past experience to achieve goals in complex environments. World models facilitate such generalization and allow learning behaviors from imagined outcomes to increase sample-efficiency. While learning world models from image inputs has recently become feasible for some tasks, modeling Atari games accurately enough to derive successful behaviors has remained an open challenge for many years. We introduce DreamerV2, a reinforcement learning agent that learns behaviors purely from predictions in the compact latent space of a powerful world model. The world model uses discrete representations and is trained separately from the policy. DreamerV2 constitut…

  5. Apparenté Utilisé en profondeur par cet article
    Dream to Control: Learning Behaviors by Latent Imagination
    Danijar Hafner, T. Lillicrap, Jimmy Ba et al. · 2019 · International Conference on Learning Representations · cité 2 543 fois · Pas encore résumé
    Résumé scientifique

    To select effective actions in complex environments, intelligent agents need to generalize from past experience. World models can represent knowledge about the environment to facilitate such generalization. While learning world models from high-dimensional sensory inputs is becoming feasible through deep learning, there are many potential ways for deriving behaviors from them. We present Dreamer, a reinforcement learning agent that solves long-horizon tasks purely by latent imagination. We efficiently learn behaviors by backpropagating analytic gradients of learned state values through trajectories imagined in the compact state space of a learned world model. On 20 challenging visual control…

Les articles qui le citent

  1. Proche
    Closing the Gap between TD Learning and Supervised Learning - A Generalisation Point of View
    Raj Ghugare, Matthieu Geist, Glen Berseth et al. · 2024 · International Conference on Learning Representations · cité 36 fois · Pas encore résumé
    Résumé scientifique

    Some reinforcement learning (RL) algorithms can stitch pieces of experience to solve a task never seen before during training. This oft-sought property is one of the few ways in which RL methods based on dynamic-programming differ from RL methods based on supervised-learning (SL). Yet, certain RL methods based on off-the-shelf SL algorithms achieve excellent results without an explicit mechanism for stitching; it remains unclear whether those methods forgo this important stitching property. This paper studies this question for the problems of achieving a target goal state and achieving a target return value. Our main result is to show that the stitching property corresponds to a form of comb…

  2. Proche
    Long-Horizon Model-Based Offline Reinforcement Learning Without Explicit Conservatism
    Tian-Wei Ni, Esther Derman, Vineet Jain et al. · 2025 · cité 3 fois · Pas encore résumé
    Résumé scientifique

    Popular offline reinforcement learning (RL) methods rely on explicit conservatism, penalizing out-of-dataset actions or restricting rollout horizons. We question the universality of this principle and revisit a complementary Bayesian perspective for test-time adaptation. By modeling a posterior over world models and training a history-dependent agent to maximize expected return, the Bayesian approach directly addresses epistemic uncertainty without explicit conservatism. We first illustrate in a bandit setting that Bayesianism excels on low-quality datasets where conservatism fails. Scaling to realistic tasks, we find that long-horizon rollouts are essential to control value overestimation o…

  3. Proche
    Equivariant Data Augmentation for Generalization in Offline Reinforcement Learning
    Cristina Pinneri, Sarah Bechtle, Markus Wulfmeier et al. · 2023 · arXiv.org · preprint, non relu par les pairs · cité 4 fois · Pas encore résumé
    Résumé scientifique

    We present a novel approach to address the challenge of generalization in offline reinforcement learning (RL), where the agent learns from a fixed dataset without any additional interaction with the environment. Specifically, we aim to improve the agent's ability to generalize to out-of-distribution goals. To achieve this, we propose to learn a dynamics model and check if it is equivariant with respect to a fixed type of transformation, namely translations in the state space. We then use an entropy regularizer to increase the equivariant set and augment the dataset with the resulting transformed samples. Finally, we learn a new policy offline based on the augmented dataset, with an off-the-s…

  4. Proche
    Towards Optimal Policy Improvement
    Yaniv Oren, Viliam Vadocz, W. Zabka et al. · 2026 · Pas encore résumé
    Résumé scientifique

    Practical Reinforcement Learning (RL) algorithms learn to solve Markov Decision Processes (MDPs) through iterative policy improvement in the presence of approximate evaluation. We study policy improvement from first principles, defining optimal policy improvement as producing the best policy attainable in a single update under specified constraints. We show that optimal improvement restricted to a set of states is equivalent to solving an induced MDP, characterizing planning with an explicit or implicit model as a path towards optimal policy improvement. Because practical methods commonly solve such induced problems through iterative improvement in the form of greedification, we take steps t…

  5. Proche
    On the Limited Representational Power of Value Functions and its Links to Statistical (In)Efficiency
    David Cheikhi, Daniel Russo · 2024 · arXiv.org · preprint, non relu par les pairs · Pas encore résumé
    Résumé scientifique

    Identifying the trade-offs between model-based and model-free methods is a central question in reinforcement learning. Value-based methods offer substantial computational advantages and are sometimes just as statistically efficient as model-based methods. However, focusing on the core problem of policy evaluation, we show information about the transition dynamics may be impossible to represent in the space of value functions. We explore this through a series of case studies focused on structures that arises in many important problems. In several, there is no information loss and value-based methods are as statistically efficient as model based ones. In other closely-related examples, informa…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 4 novembre 2026.

Le guide illustré des articles autour d’un article