Introduction
Standard Reinforcement Learning (RL) often relies on the Markov assumption, which posits that the current state of an environment contains all necessary information to predict future outcomes. However, in complex robotic tasks, this assumption frequently fails due to partial observability or time-delayed effects. For instance, a robot might perform an action—such as dipping a brush in paint—whose effects are only manifest much later. While recurrent architectures like LSTMs or GRUs attempt to address this by maintaining a history of observations, they often function as "black boxes," requiring vast amounts of data and offering little interpretability.
This paper introduces an algorithm designed to discover "hidden" causal links between past actions and future outcomes. By incrementally constructing a causal graph with interpretable memory units, the approach enhances both data efficiency and model transparency in model-based RL.
Methodology: Greedy Causal Graph Construction
The core of the proposed approach is the Greedy Causal Graph Construction algorithm. Rather than learning a complex history-dependent model from scratch, the system begins with a simple Markovian transition model and expands its memory only when necessary.
The process follows four key steps:
- Uncertainty Identification: The model monitors variables that exhibit high conditional entropy (i.e., appear stochastic). High uncertainty in rewards or next-state predictions suggests the presence of a missing hidden cause.
- Causal Event Search: The algorithm searches the history of actions and observations for events that explain this uncertainty. These events are modeled as hyper-spheres within the robot's state space.
- Trigger Optimization: Using gradient descent, the model optimizes the location and radius of these hyper-spheres to maximize Information Gain. This identifies the specific "trigger zone" the robot must enter to effect a state change.
- Memory Unit Integration: Once a causal event is identified, a binary memory unit ($M$) is added. This unit acts as a persistent switch, flipping from 0 to 1 when the trigger condition is met, providing a clear signal for the predictive model.
Experimental Evaluation
The researchers evaluated the algorithm on two challenging robotic tasks requiring long-term memory:
- Robotic Painting: Conducted in both the Gazebo simulator and on a real-world KUKA robotic arm. The robot must learn that dipping the brush into a paint bucket is a prerequisite for successfully painting a target surface.
- Tire Removal: A complex simulation where a robot must loosen four specific lug nuts (representing four distinct hidden states) before the tire can be removed.
Key Results and Discussion
The proposed method demonstrated significant improvements over standard RL baselines such as PPO with LSTM or A2C:
- Superior Data Efficiency: In the painting task, the method reached a ~100% success rate significantly faster than recurrent baselines.
- Predictive Accuracy: The model achieved near-perfect precision and recall (0.90/0.96) in reward prediction. In contrast, standard LSTMs and GRUs often failed to link the "dipping" event to the "painting" reward across long delays, resulting in zero predictive power for rewards.
- Interpretable Memory: Unlike the opaque hidden states of RNNs, the binary memory units in this model have physical meaning. Each unit corresponds to a specific, identifiable event in the environment, such as "the third lug nut has been loosened."
- Handling Complexity: In the tire removal task, the model successfully tracked multiple hidden variables simultaneously, whereas baseline attention models and RNNs struggled to maintain the state of multiple regions.
Conclusion and Future Work
This work presents a systematic way to build causal maps for robotic tasks by treating observation "randomness" as a signal for missing information. By combining differentiable optimization with symbolic-like memory units, the model achieves high performance with fewer samples and greater transparency.
Future research will explore applying this framework to Learning from Demonstration (Imitation Learning) and testing its robustness in more unstructured environments where the number of potential hidden causes is significantly higher.
Summary updated