Abstract
Deep reinforcement learning (DRL) methods often face challenges in environments characterized by large state spaces, long action horizons, and sparse rewards, where effective exploration and credit assignment are critical. We introduce Generative Proto-Sequence (GPS), a novel generative DRL approach that produces variable-length discrete action sequences. By generating entire action sequences in a single decision rather than selecting individual actions at each timestep, GPS reduces the temporal decision bottleneck that impedes learning in long-horizon tasks. This sequence-level abstraction provides three key advantages: (1) it facilitates more effective credit assignment by directly connecting state observations with the outcomes of complete behavioral patterns; (2) by committing to coherent multi-step strategies, our approach facilitates better exploration of the state space; and (3) it promotes better generalization by learning macro-behaviors that transfer across similar situations rather than memorizing state-specific responses. Evaluations across diverse maze navigation tasks of varying sizes and complexities demonstrate that GPS outperforms leading action repetition and temporal methods in the large majority of tested configurations, where it converges faster and achieves higher success rates.
Introduction
Traditional Deep Reinforcement Learning (DRL) agents typically operate on a step-by-step basis, selecting a single action for every state observation. While effective in short-horizon tasks, this paradigm struggles in complex environments where the goal may be hundreds of steps away and rewards are sparse. In such scenarios, agents face two primary hurdles: the credit assignment problem and inefficient exploration.
The credit assignment problem refers to the difficulty of determining which specific action in a long sequence led to a successful outcome. Inefficient exploration occurs when agents, taking random individual steps, "dither" in place rather than making meaningful progress toward distant regions of the state space. Generative Proto-Sequence (GPS) addresses these issues by enabling agents to make decisions at the sequence level, generating "macro-behaviors" that represent coherent multi-step strategies.
Methods
The GPS framework utilizes an Actor-Critic architecture that operates within a latent "behavior space" to overcome the temporal decision bottleneck.
The GPS Architecture
- The Actor: Instead of a single action, the Actor outputs a proto-sequence embedding—a continuous vector in a latent space that represents a complex, multi-step plan.
- The Proto-Sequence Decoder (PSD): This component is a pre-trained Variational Autoencoder (VAE) designed to translate the Actor's embedding into a variable-length sequence of discrete actions. The PSD is trained on a diverse set of synthetic sequences to learn a "grammar" of movement, allowing the agent to generate valid and coherent behaviors.
- The Critic: Unlike traditional critics that evaluate single actions, the GPS Critic evaluates the current state and the entire generated sequence jointly. This provides a significantly clearer reinforcement signal, as the reward is directly tied to a complete behavioral pattern.
- Differentiable Learning: To maintain an end-to-end trainable pipeline, GPS employs the Gumbel-Softmax trick, allowing gradients to flow from the Critic back through the discrete action sequence to the Actor.
- Subsequence Augmentation: To maximize sample efficiency, the system populates its replay buffer not just with full sequences, but with every possible sub-segment extracted from the agent's experiences.
Experimental Setup
The researchers benchmarked GPS against standard DRL baselines (such as DQN) and other temporal methods (TempoRL, DAR) using procedurally generated maze environments. These environments varied in size (8x8, 16x16, and 24x24) and structural complexity.
Four distinct maze types were utilized to test different navigation challenges:
- Empty: Open grids to establish a baseline for raw navigation.
- Obstacles: Grids containing 15% to 25% random blocks to test pathfinding.
- Rooms: Four large rooms connected by narrow doorways, requiring strategic movement.
- Corridors: Narrow, intersecting paths that demand precise maneuvering.
Key Results and Insights
GPS demonstrated significant performance gains, particularly as task complexity increased. In the largest 24x24 mazes with obstacles, GPS achieved success rates near 90%, while standard baselines like DQN and temporal methods struggled to exceed 30%.
Beyond success rates, GPS showed superior convergence speed. In 16x16 mazes, GPS reached a 90% success rate in approximately 3.3 hours, nearly twice as fast as DQN, which required over 5.8 hours. Qualitative analysis revealed that GPS agents quickly learn to move in the general direction of the goal even in unseen layouts, whereas step-by-step agents often become trapped in local loops.
The framework also exhibited natural robustness. By planning at a high level, the agent's "intent" remains stable even if individual steps are affected by environmental noise. Furthermore, because the Actor works in a continuous embedding space, it can interpolate between learned behaviors to generate novel sequences that were not present during the PSD's initial training.
Conclusion and Future Work
Generative Proto-Sequence offers a powerful alternative to step-by-step decision making in RL. By shifting the focus to macro-behaviors, it effectively bypasses the credit assignment and exploration bottlenecks of long-horizon tasks.
However, some limitations remain. Currently, a new PSD must be trained for every unique set of primitive actions, and the framework is primarily optimized for discrete action spaces. Future research will explore extending GPS to continuous control (such as joint torques in robotics) and developing methods to dynamically adapt sequence lengths based on the agent's environmental certainty.
Summary updated