[Paper Review] Deep Latent Competition: Learning to Race Using Visual Control Policies in Latent Space
Deep Latent Competition (DLC) is a model-based multi-agent reinforcement learning algorithm that learns competitive visual control policies through imagined self-play in a learned latent space. By combining a joint transition function and opponent viewpoint prediction, DLC enables scalable, consistent multi-agent planning from raw image observations, achieving superior racing performance over baselines that do not reason about opponents in imagination.
Learning competitive behaviors in multi-agent settings such as racing requires long-term reasoning about potential adversarial interactions. This paper presents Deep Latent Competition (DLC), a novel reinforcement learning algorithm that learns competitive visual control policies through self-play in imagination. The DLC agent imagines multi-agent interaction sequences in the compact latent space of a learned world model that combines a joint transition function with opponent viewpoint prediction. Imagined self-play reduces costly sample generation in the real world, while the latent representation enables planning to scale gracefully with observation dimensionality. We demonstrate the effectiveness of our algorithm in learning competitive behaviors on a novel multi-agent racing benchmark that requires planning from image observations. Code and videos available at https://sites.google.com/view/deep-latent-competition.
Motivation & Objective
- To address the challenge of learning competitive, high-speed driving behaviors in multi-agent environments with partial observability and high-dimensional image inputs.
- To enable efficient training of visual control policies by replacing costly real-world rollouts with imagined self-play in a learned world model.
- To improve reasoning about opponent behavior by jointly modeling agent states and predicting opponent viewpoints from ego observations.
- To develop a scalable, consistent latent-world model that supports long-horizon planning under partial observability.
- To demonstrate the effectiveness of imagined self-play with joint dynamics and belief estimation in a novel continuous control racing benchmark.
Proposed method
- Learns a multi-agent world model using a variational autoencoder to encode image observations into a compact latent space.
- Employs a joint transition function that propagates both agents' latent states simultaneously, ensuring consistency in imagined trajectories.
- Introduces a separate decoder head to predict the opponent's visual observation from the ego agent's perspective, enabling belief estimation.
- Uses the learned world model to generate long-horizon imagined rollouts for self-play training, with policy gradients backpropagated through the imagined trajectories.
- Optimizes the policy via analytic gradient updates using the imagined game outcomes, avoiding real-world environment interaction during training.
- Trains the agent end-to-end using a combination of reconstruction loss, prediction loss, and policy gradient loss.
Experimental results
Research questions
- RQ1Can imagined self-play in a learned latent space enable effective training of competitive visual control policies without real-world rollouts?
- RQ2How well can a joint world model maintain consistency in multi-agent predictions when only one agent observes the opponent?
- RQ3Does predicting the opponent's viewpoint from the ego agent's perspective improve policy performance in competitive racing?
- RQ4Can a latent-space world model scale to high-dimensional image observations while maintaining planning fidelity?
- RQ5How does imagined self-play with joint dynamics compare to separate propagation of agent states in terms of policy performance?
Key findings
- The DLC agent achieves superior racing performance compared to baselines that do not reason about opponents in imagination, demonstrating the value of joint planning.
- Imagined trajectories show consistent predictions of both agents' views over 25 timesteps, with accurate track features and relative positions preserved.
- The model accurately reconstructs visible opponents and reasonably predicts their behavior when not observed, avoiding noise-only outputs.
- The joint transition function ensures that predictions remain consistent across agents, enabling reliable estimation of action impacts.
- The agent learns to overtake opponents by forcing them off the track in imagined sequences, indicating strategic reasoning.
- The method enables effective training from raw image observations without privileged information such as state lists or maps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.