Papers
Topics
Authors
Recent
Search
2000 character limit reached

RepRL: Theory-Informed Reinforcement Learning

Updated 6 July 2026
  • RepRL is a reinforcement learning framework that embeds policies into a compact latent space, reformulating exploration as a representation-exploitation problem.
  • It employs a variational encoder-decoder architecture to predict policy values linearly in the latent space, using UCB or Thompson sampling for efficient bandit-based policy selection.
  • Empirical results on benchmarks like MuJoCo and MinAtar demonstrate that RepRL improves exploration efficiency and stability over traditional methods through precise policy representation.

Searching arXiv for the primary paper and closely related theory-informed RL frameworks to ground the article with current citations. Representation-Driven Reinforcement Learning (RepRL) is a theory-informed reinforcement-learning framework that represents policies as estimates of their expected values and leverages techniques from contextual bandits to guide exploration and exploitation. Its central claim is that embedding a policy network into a linear feature space allows the exploration-exploitation problem to be reframed as a representation-exploitation problem, so that good policy representations enable optimal exploration. In this formulation, the critical object is not a state-action feature map, but a latent representation of entire policies, on top of which optimism or posterior sampling can be applied for policy selection (Nabati et al., 2023).

1. Formal setting and value-based policy representation

RepRL is formulated on an infinite-horizon discounted Markov Decision Process

M=(S,A,r,T,B,γ),M = (S, A, r, T, B, \gamma),

where SS is a possibly large state space, AA is the action space, T(ss,a)T(s'|s,a) is the transition kernel, r(s,a)[0,1]r(s,a)\in[0,1] is the reward function, BB is the initial state distribution, and γ[0,1)\gamma\in[0,1) is the discount factor (Nabati et al., 2023). A stationary stochastic policy πθ\pi_\theta maps states to distributions over actions, πθ(as)\pi_\theta(a|s), and the optimization objective is J(π)=V(π)J(\pi)=V(\pi) in episodic or continuing discounted tasks.

The discounted return of a trajectory generated by SS0 is

SS1

with SS2, SS3, and SS4. The policy value is

SS5

and the state-value function is

SS6

RepRL also uses the discounted state-action occupancy measure

SS7

The foundational representational statement is the linear embedding assumption:

SS8

This exactly holds with SS9 by taking AA0 and AA1, yielding

AA2

but RepRL targets AA3 (Nabati et al., 2023). The framework therefore treats policy value prediction as a problem of learning a compact latent representation in which value is approximately linear.

2. Learned latent space and variational objective

RepRL parameterizes a representation encoder

AA4

that maps policy parameters AA5 to a latent vector AA6. Values are then predicted linearly in AA7 through a linear-Gaussian decoder,

AA8

where AA9 are linear decoder parameters (Nabati et al., 2023). This induces a per-policy value representation shared across policies through the same linear predictor.

The encoder can be stochastic or deterministic. With deterministic T(ss,a)T(s'|s,a)0, the representation reduces to T(ss,a)T(s'|s,a)1. With stochastic T(ss,a)T(s'|s,a)2, RepRL trains the representation by the evidence lower bound

T(ss,a)T(s'|s,a)3

with a Gaussian prior T(ss,a)T(s'|s,a)4 and linear-Gaussian likelihood T(ss,a)T(s'|s,a)5 (Nabati et al., 2023). In the implementation-oriented form used for learning,

T(ss,a)T(s'|s,a)6

Within this formulation, representation quality is defined by the realizability error

T(ss,a)T(s'|s,a)7

High-quality representations yield tight confidence sets and well-calibrated optimism. This makes representation learning the central lever of the framework rather than an auxiliary component (Nabati et al., 2023).

3. Contextual-bandit grounding and theoretical guarantees

RepRL grounds policy selection in linear contextual bandits. After collecting latent-return pairs T(ss,a)T(s'|s,a)8, it maintains the regularized least-squares statistics

T(ss,a)T(s'|s,a)9

Uncertainty is quantified by

r(s,a)[0,1]r(s,a)\in[0,1]0

and upper-confidence action selection is

r(s,a)[0,1]r(s,a)\in[0,1]1

The Thompson-sampling alternative samples

r(s,a)[0,1]r(s,a)\in[0,1]2

and selects the embedding maximizing r(s,a)[0,1]r(s,a)\in[0,1]3 (Nabati et al., 2023).

The crucial embedding step is that, at episode r(s,a)[0,1]r(s,a)\in[0,1]4, RepRL constructs a decision set r(s,a)[0,1]r(s,a)\in[0,1]5 of candidate policies or candidate embeddings, evaluates each candidate by r(s,a)[0,1]r(s,a)\in[0,1]6 or Thompson sampling, and selects the optimistic policy for rollout. The latent context is therefore the policy representation r(s,a)[0,1]r(s,a)\in[0,1]7 rather than a state-action feature. Bandit updates occur once per episode after observing a scalar return signal r(s,a)[0,1]r(s,a)\in[0,1]8 (Nabati et al., 2023).

Under standard linear bandit assumptions—linear realizability, bounded features r(s,a)[0,1]r(s,a)\in[0,1]9, BB0-regularization, and sub-Gaussian reward noise—the cumulative regret after BB1 selections satisfies

BB2

This guarantee applies to the bandit stage of selecting policies through the latent embedding. RepRL does not establish regret bounds for the full RL process with function approximation and MDP-induced dependencies; its guarantees are confined to the policy-selection bandit stage (Nabati et al., 2023). This suggests that the framework is theoretically strongest as a representation-mediated selection mechanism, rather than as a complete end-to-end RL theory.

4. Algorithmic instantiations and inner trajectory sampling

RepRL is instantiated in two main algorithmic forms. Representation-Driven Evolution Strategies (RepES) samples BB3 Gaussian perturbations around the current parameters BB4,

BB5

maps each candidate to BB6, scores it by UCB or Thompson sampling, and updates parameters using a soft weighted finite-difference gradient,

BB7

BB8

Mixing with standard ES gradients can improve stability; the reported example is 20% ES and 80% RepRL bandit gradient (Nabati et al., 2023).

Representation-Driven Policy Gradient (RepPG) starts from a baseline policy-gradient loss BB9 from an on-policy method such as PPO, and augments it with a regularizer toward an optimistic parameter γ[0,1)\gamma\in[0,1)0 chosen from a decision set via the bandit score:

γ[0,1)\gamma\in[0,1)1

γ[0,1)\gamma\in[0,1)2

An alternative conceptual integration uses a latent-uncertainty exploration bonus, but the regularizer is the primary mechanism in the framework (Nabati et al., 2023).

A distinctive technical device is inner trajectory sampling. Rather than relying only on initial-state returns, RepRL defines

γ[0,1)\gamma\in[0,1)3

and proves the equivalence

γ[0,1)\gamma\in[0,1)4

Sampling along trajectories from γ[0,1)\gamma\in[0,1)5 therefore yields an unbiased target for the linear value model and can be used for representation learning and bandit updates (Nabati et al., 2023). In practice, states are sampled uniformly along stored trajectories, and for truncated rollouts the critic estimates the remainder.

The overall update schedule is alternating. Each episode maps γ[0,1)\gamma\in[0,1)6 to γ[0,1)\gamma\in[0,1)7, builds a decision set, selects γ[0,1)\gamma\in[0,1)8 via the bandit algorithm, rolls out to collect returns, and updates both the encoder-decoder pair γ[0,1)\gamma\in[0,1)9 and the bandit statistics

πθ\pi_\theta0

The inverse can be maintained by Sherman–Morrison updates if desired (Nabati et al., 2023).

5. Empirical behavior and benchmark results

The framework is evaluated on GridWorld, Sparse HalfCheetah, MuJoCo tasks, and MinAtar. In a nonuniform, noisy GridWorld reward landscape with a sparse high-reward goal, RepRL explored more efficiently than ES and found the optimal path. The reported t-SNE visualizations showed that the learned latent representation organizes policies by value better than raw parameter space (Nabati et al., 2023).

On Sparse HalfCheetah, policy-space, latent-space with gradient-based inversion, and history-based decision sets performed similarly, while policy-space sampling offered stable, simple implementations. On the MuJoCo suite, RepES matched or significantly outperformed ES in standard tasks and achieved distant goals more reliably than ES and SAC in sparse variants, despite occasional successes via random search in ES. The sparse settings awarded rewards at distance intervals with a control cost, creating strong exploration challenges (Nabati et al., 2023).

On MinAtar, RepPG regularized PPO and outperformed PPO across tasks such as SpaceInvaders and Breakout, particularly under sparse rewards. Inner trajectory sampling facilitated seamless integration with chunked rollouts (Nabati et al., 2023). Across these experiments, the empirical pattern is that policy-representation quality rather than hand-crafted exploration noise determines the usefulness of optimism or posterior sampling in the search process.

Practical details reported for these experiments include latent dimensions such as πθ\pi_\theta1 in MuJoCo, encoder-decoder learning rates such as Adam with πθ\pi_\theta2, policy-space Gaussian decision sets with variance πθ\pi_\theta3, and exact inverse maintenance by Sherman–Morrison updates when feasible (Nabati et al., 2023).

6. Positioning within theory-informed RL, practical guidance, and limitations

RepRL is positioned against several neighboring lines of work. Relative to neural contextual bandits, prior work maps states to features for action-level exploration, whereas RepRL maps entire policies to a linear space to drive exploration in policy space. Relative to successor features and linear MDPs, it likewise exploits linear structure for value prediction, but does so through a learned policy embedding explicitly optimized for linear value prediction and bandit-derived optimism (Nabati et al., 2023). In that sense, its theory-informed element is the importation of OFUL- or Thompson-style policy selection into RL through learned policy representations.

Other theory-informed RL frameworks organize theory differently. "A Game Theoretic Framework for Model Based Reinforcement Learning" casts model-based RL as a Stackelberg game between a policy player and a model player, with approximate equilibrium guarantees and leader-follower algorithm families such as Policy-as-Leader and Model-as-Leader (Rajeswaran et al., 2020). "Human-Level Reinforcement Learning through Theory-Based Modeling, Exploration, and Planning" formulates Theory-Based Reinforcement Learning through structured, causal, object-centric world models expressed in VGDL and used for exploration and planning (Tsividis et al., 2021). "Learning by Doing: An Online Causal Reinforcement Learning Framework with Causal-Aware Policy" instead places a causal graphical model over factorized state variables and uses interventions plus causal masks to restrict the action search space (Cai et al., 2024). "LESSON: Learning to Integrate Exploration Strategies for Reinforcement Learning via an Option Framework" uses an option-critic architecture to learn a policy over predefined exploration strategies, again separating the theory-guided exploration mechanism from the task policy (Kim et al., 2023). These comparisons indicate that “theory-informed” in contemporary RL can refer to bandit realizability assumptions, game-theoretic bi-level optimization, structured causal simulators, causal graphical constraints, or formal option decompositions, depending on which aspect of exploration or control is being regularized.

RepRL’s main failure modes are explicit. If πθ\pi_\theta4 is poorly approximated by a linear function of πθ\pi_\theta5, optimism may be miscalibrated and both exploration and stability can degrade. Latent decision sets can be problematic because inverting πθ\pi_\theta6 is challenging, and off-manifold parameters can lead to overestimation. Learned representations may drift under non-stationarity or partial observability, and the sub-Gaussian and independence assumptions inherited from linear bandits can be violated by temporally correlated RL data. Extremely sparse environments still remain difficult, and there is sensitivity to optimism parameters πθ\pi_\theta7 or πθ\pi_\theta8, decision-set variance πθ\pi_\theta9, latent dimension πθ(as)\pi_\theta(a|s)0, and the regularization weight πθ(as)\pi_\theta(a|s)1 in RepPG (Nabati et al., 2023).

The practical guidance follows directly from these limitations. The framework recommends starting with a deterministic encoder πθ(as)\pi_\theta(a|s)2 producing bounded-norm πθ(as)\pi_\theta(a|s)3, training πθ(as)\pi_\theta(a|s)4 via the ELBO, validating representation quality by regressing observed returns on πθ(as)\pi_\theta(a|s)5, and monitoring πθ(as)\pi_\theta(a|s)6 together with calibration of the confidence widths πθ(as)\pi_\theta(a|s)7 (Nabati et al., 2023). It also recommends tracking predictive residuals πθ(as)\pi_\theta(a|s)8, the diversity of selected parameters across episodes, and ablations over decision-set size, variance, latent dimension, and optimism scale. This suggests that RepRL is best understood not as a replacement for policy optimization, but as a structured representational layer that determines whether bandit-style exploration in policy space is statistically meaningful.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Theory-Informed Reinforcement-Learning Framework.