Abstract
Reinforcement learning (RL) algorithms are representative active learning algorithms that can be used to decide suitable actions on the basis of experience, simulations, and searches. While RL has been successfully applied in Markov decision processes (MDPs), real-world environments often present as partially observable MDPs (POMDPs). In POMDPs, agents face perceptual aliasing, where different states appear identical based on sensor inputs. This paper proposes a novel RL framework using complex numbers to represent state-action values, encoding temporal context into the phase to disambiguate aliased states without the need for extensive memory buffers or complex hierarchical structures.
Introduction: The Challenge of Perceptual Aliasing
In an ideal Reinforcement Learning (RL) scenario, an agent has full knowledge of its state. However, in real-world applications—such as autonomous robotics—sensors are often limited, leading to Partially Observable Markov Decision Processes (POMDPs). A critical hurdle in POMDPs is perceptual aliasing, where two or more physically distinct states produce identical sensor readings. For instance, a robot in a symmetrical building might see two identical doors; without memory of its previous path, it cannot determine which door it is facing.
Traditional solutions typically rely on large memory buffers to store past episodes or complex hierarchical models. These approaches are often computationally expensive and difficult to adapt to dynamic environments. This paper introduces Complex-Valued Reinforcement Learning (CVRL), which leverages the mathematical properties of complex numbers to provide an implicit, memory-efficient context tracker.
Methodology: Encoding Context in Phase
The core innovation of CVRL is the transition from real-valued reward functions $Q(s, a)$ to complex-valued functions $\dot{Q}(s, a)$. In this framework, the complex number's components serve dual purposes:
- Amplitude as Expected Reward: The magnitude of the complex value represents the expected cumulative reward, maintaining parity with traditional RL.
- Phase as Temporal Context: The angle (phase) of the complex number encodes the temporal context or "sequence marker."
As shown in Figure 1, the agent maintains an internal reference value ($\dot{I}_t$) that tracks current context. Action selection is performed by calculating the real part of the inner product between the $\dot{Q}$-value and this reference. During learning, the agent applies rotational updates using a rotation factor $\dot{\beta}$. This causes the value function to naturally form a spiral over time, ensuring that the same observation encountered at different points in a sequence will have distinct phases.
The authors extend these principles to several algorithms, including $\dot{Q}$-learning (integrated with eligibility traces), scPS (Simple Complex-valued Profit Sharing), and Complex-valued RBF Networks for continuous state spaces.
Experimental Evaluation and Results
The CVRL framework was evaluated across several benchmark POMDP environments designed to trigger perceptual aliasing:
- POMDP Maze: A grid-world with aliased observations. $\dot{Q}$-learning with eligibility traces successfully converged to the optimal 12-step path, whereas standard Q-learning failed.
- Miyazaki’s Environment: A stochastic POMDP benchmark. Both scPS and $\dot{Q}$-learning achieved near-optimal performance significantly faster than conventional memory-based methods.
- Mountain Car Task (Modified): A continuous task where the agent only observes position (not velocity). The complex-valued RBF network successfully learned the task by using phase to distinguish between moving left and right at the same position.
Conclusion and Future Directions
CVRL offers a "plug-and-play" extension to standard RL that treats context as a fundamental part of the value representation rather than an external memory module. By using phase as a "free" context tracker, agents can resolve perceptual aliasing with minimal computational overhead.
Future work will focus on adapting the phase update mechanism for highly dynamic environments, scaling the approach to high-dimensional sensor data (e.g., raw video), and testing robustness against the noise inherent in physical robotic systems.
Summary updated