Machine Learning
Researchers Learn Environmental Structure by Measuring Minimum Action Distance Between States
A new self-supervised framework learns to represent environments by calculating the fewest actions needed to move between states, without requiring rewards or observing agent actions.
Machine learning researchers have introduced a novel approach to understanding the structure of environments by focusing on a deceptively simple metric: the minimum number of steps an agent must take to get from one state to another. This work could improve how AI systems learn to navigate complex worlds.
The Core Insight#
The framework, detailed in a recent arXiv paper, centers on learning what the authors call the minimum action distance (MAD) — essentially, the shortest path between any two system states measured in actions. Rather than relying on explicit reward signals or recordings of which actions an agent took, the approach learns this structural information purely from sequences of observed states. This represents a significant departure from traditional reinforcement learning methods, which typically require both reward feedback and action labels.
The research team constructs an embedding space where distances between encoded state representations directly correspond to their underlying MAD values. The framework accommodates both symmetric cases (where distances are the same in both directions) and asymmetric ones (where they differ).
Broad Empirical Validation#
The researchers tested their approach across a diverse range of benchmark environments designed to verify MAD calculations. Their evaluation covered:
- Deterministic and stochastic dynamics — environments with both predictable and probabilistic state transitions
- Discrete and continuous spaces — problems spanning categorical and real-valued state representations
- Noisy observations — realistic scenarios where sensor data contains errors
Across these varied settings, the method consistently learned accurate MAD representations and outperformed existing state representation learning approaches in terms of overall quality.
Implications for RL#
By capturing the geometric structure of environments, MAD enables downstream applications critical to modern reinforcement learning. The metric naturally supports goal-conditioned learning (where agents aim for specified target states) and reward shaping (designing auxiliary reward signals to guide learning). Both applications benefit from having a dense, geometrically meaningful signal about progress toward objectives.