[Paper Review] Deep Reinforcement Learning in Large Discrete Action Spaces
This paper proposes a deep reinforcement learning method for large discrete action spaces by embedding actions in a continuous space and using approximate nearest-neighbor search to enable sub-linear inference complexity. The approach achieves efficient training and inference on tasks with up to one million actions, demonstrating that only a small subset of nearest actions is sufficient for strong performance while maintaining generalization and scalability.
Being able to reason in an environment with a large number of discrete actions is essential to bringing reinforcement learning to a larger class of problems. Recommender systems, industrial plants and language models are only some of the many real-world tasks involving large numbers of discrete actions for which current methods are difficult or even often impossible to apply. An ability to generalize over the set of actions as well as sub-linear complexity relative to the size of the set are both necessary to handle such tasks. Current approaches are not able to provide both of these, which motivates the work in this paper. Our proposed approach leverages prior information about the actions to embed them in a continuous space upon which it can generalize. Additionally, approximate nearest-neighbor methods allow for logarithmic-time lookup complexity relative to the number of actions, which is necessary for time-wise tractable training. This combined approach allows reinforcement learning methods to be applied to large-scale learning problems previously intractable with current methods. We demonstrate our algorithm's abilities on a series of tasks having up to one million actions.
Motivation & Objective
- To address the intractability of deep reinforcement learning in environments with very large discrete action sets, such as recommender systems or industrial control.
- To enable generalization over actions without linear complexity scaling with action set size.
- To reduce inference time in large action spaces through efficient nearest-neighbor lookup in embedded action space.
- To demonstrate that learning from a small subset of top-k nearest actions is sufficient for strong performance.
- To enable scalable RL in real-world systems where action sets exceed millions.
Proposed method
- Actions are embedded into a continuous vector space using prior knowledge, enabling generalization across similar actions.
- The policy network outputs a continuous action vector in the embedded space, which is then mapped to the nearest discrete actions via approximate nearest-neighbor (ANN) search.
- ANN libraries (e.g., FLANN) are used to achieve logarithmic-time lookup complexity relative to the number of actions.
- The agent selects the best action from the k-nearest neighbors in the embedded space, either directly or via value-based refinement.
- The method is trained using actor-critic frameworks with policy gradient methods, such as DDPG, in environments with large discrete action spaces.
- Action representations can be pre-trained or jointly optimized during training to improve embedding quality.
Experimental results
Research questions
- RQ1Can deep reinforcement learning be made tractable in environments with up to one million discrete actions?
- RQ2Does using only the k-nearest actions in a learned embedding space maintain performance while reducing computational cost?
- RQ3How does approximate nearest-neighbor search impact learning performance and training speed in large action spaces?
- RQ4Can action embeddings enable generalization across actions without requiring full enumeration of the action set?
- RQ5To what extent can guided exploration improve learning efficiency in large-action-space environments?
Key findings
- The method achieved stable training and strong performance on tasks with up to one million discrete actions, demonstrating scalability beyond prior methods.
- Using only 1% of actions (k=131) in a 13,138-action task achieved 37% of the performance of the full-action baseline, with a 15x speedup in training time.
- Performance degraded significantly when using low-recall FLANN settings, but medium and fast settings had minimal impact on performance.
- On the 13,138-action task, k=5% (656 actions) achieved 12 steps per second with approximate nearest-neighbor search, while full-action training ran at only 1.5 steps per second.
- Smaller action representations (20D vs. 200D) improved convergence stability in smaller tasks, suggesting trade-offs in embedding dimensionality.
- Training with guided exploration (restricted epsilon to likely actions) improved performance by 50% compared to uniform random exploration in large tasks.
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.