Introduction
Deep Reinforcement Learning (RL) agents often struggle in "rich-observation" environments—such as 3D worlds with first-person pixel views, text instructions, and sparse rewards. To succeed in these complex domains, an agent fundamentally needs two things:
- Good Representations: A mechanism to compress high-dimensional inputs (like pixels) into features that capture the underlying logic and dynamics of the environment.
- Efficient Exploration: A strategy to systematically visit new states when the extrinsic reward signal is rare or absent.
Existing methods often treat these as separate problems. Representation techniques like Variational Autoencoders (VAEs) can get bogged down in irrelevant visual details (the "noisy TV" problem), while exploration methods like Random Network Distillation (RND) are often decoupled from the agent's internal model of the world. Furthermore, many spectral methods assume transitions are symmetric, which is rarely true in directed RL tasks.
To address this, researchers introduce De-Rex (Decomposition-based Representation and Exploration), a unified framework that uses Singular Value Decomposition (SVD) to solve both hurdles simultaneously. By decomposing the environment's transition structure, De-Rex produces representations that respect the "flow" of the world while providing "free" pseudo-counts to drive exploration.
The De-Rex Framework
The core of De-Rex is based on the SVD of a weighted transition matrix.
Instead of building a massive, intractable transition matrix for continuous spaces, the authors derive a loss function that can be trained using deep neural networks and mini-batches.
- The Loss Function: The method trains two networks, $f$ (for current states or histories) and $g$ (for next states or futures). The objective is to make the product of their outputs resemble a diagonal matrix of singular values. This encourages the networks to find the "principal components" of the environment's dynamics.
- The Double-Sampling Trick: To ensure gradients remain unbiased during mini-batch training—a common pitfall when squaring expectations—the authors use two independent batches of data to calculate the off-diagonal "leakage" in their matrix.
- Extension to POMDPs: For partially observable settings, De-Rex draws on Predictive State Representations (PSRs). Instead of relying solely on the current state, the agent evaluates the relationship between the history (past events) and the test (future events).
Experimental Setup
The authors evaluated De-Rex across three main benchmarks:
- 4-Rooms (Gridworld): A foundational environment used primarily for qualitative visualization of how the representations cluster and how the exploration bonus behaves.
- DM-Lab-30: A suite of 30 diverse 3D navigation and puzzle tasks involving multi-modal inputs (pixels, language instructions, and rewards).
- DM-Hard-8: A subset of DeepMind Lab specifically designed for "hard exploration," where rewards are extremely sparse and require specific, complex action sequences to trigger.
Key Findings
- SVD as a Unified Tool: The left singular vectors of the transition matrix naturally serve as a state representation that preserves transition structure. Unlike autoencoders that reconstruct pixels, De-Rex focuses on dynamics. If two visually distinct rooms lead to the same future states, De-Rex assigns them similar representations.
- Exploration for Free: Mathematically, the norm of these learned representations is inversely proportional to the state visitation frequency. The agent automatically receives a "pseudo-count" (a measure of state novelty) without needing a separate density model.
- Handling Asymmetry: By utilizing SVD instead of Eigen-decomposition or Laplacians, De-Rex correctly handles directed, asymmetric transitions (e.g., falling down a hole but being unable to jump back up).
- Superior Representations & Hard Exploration: On DM-Lab-30, De-Rex significantly outperformed the VMPO baseline and Laplacian-based methods, proving particularly effective at deducing the current task in multi-task settings without explicit labels. In the DM-Hard-8 suite, where the base RL agent failed entirely and baselines solved only one task, De-Rex solved nearly four.
- Belief Decoding: In partially observable tests, a simple linear classifier trained on top of De-Rex features accurately predicted the agent's true (hidden) location, proving the representation captures essential "belief" states.
Limitations and Future Work
While powerful, De-Rex has limitations. The current representation is learned purely from transitions, making it "reward-blind." Explicitly incorporating reward signals into the decomposition could yield features even more tailored to specific tasks. Additionally, while the mathematics are rigorous for tabular cases, theoretical guarantees for scaling with non-linear function approximators (deep networks) require further exploration. Finally, the method introduces new hyperparameters—such as the representation dimension ($k$) and the diagonalization loss weight ($\lambda_r$)—which require careful tuning across different domains.
Summary updated