Asymmetric Norms to Approximate the Minimum Action Distance

Lorenzo Steccanella, Anders Jonsson · DOI

Abstract

In Goal-Conditioned Reinforcement Learning (GCRL), the Minimum Action Distance (MAD) represents the fewest steps required to transition between states. While MAD is inherently asymmetric in many real-world scenarios—such as navigating one-way streets or varying terrain—traditional state representation methods rely on symmetric norms like L1 or L2. This paper introduces Wide Norms, a parametric asymmetric distance metric that preserves the triangle inequality. By embedding states into a space governed by Wide Norms, we demonstrate that agents can accurately model asymmetric reachability, leading to more efficient planning and significantly lower approximation errors compared to symmetric baselines.

Introduction

A fundamental challenge in GCRL is learning a distance metric that accurately reflects the environment's dynamics. The ideal metric is the Minimum Action Distance (MAD). However, calculating MAD directly is computationally expensive in high-dimensional or continuous spaces. Previous approaches have attempted to learn state embeddings $\phi(s)$ such that the distance between points approximates MAD using standard symmetric norms.

The critical limitation of these methods is the assumption of symmetry. In many environments, the cost of moving from state $A$ to $B$ is not equal to the cost of moving from $B$ to $A$. Forcing a symmetric norm to approximate an asymmetric MAD results in an "averaging" effect that degrades the quality of the learned heuristic, ultimately hindering the agent's ability to plan effective paths.

Methodology: Learning Asymmetric Embeddings

The authors propose a self-supervised framework to learn a state embedding $\phi_\theta$ and a latent transition model.

Wide Norms

To capture asymmetry while maintaining mathematical consistency, the paper introduces Wide Norms. A Wide Norm is defined as:

$$||x||_{WN} = ||W \text{relu}(x :: -x)||_2$$

where $x :: -x$ denotes the concatenation of a vector and its negation. This structure ensures the distance satisfies the triangle inequality—essential for coherent planning—while allowing for direction-dependent costs.

Optimization Objective

The embedding is trained by minimizing the Mean Squared Error (MSE) between the embedded distance and the observed Trajectory Distance (TD). To ensure the learned distance remains a valid lower bound for planning, a constraint is applied via a penalty term such that the embedded distance between adjacent states does not exceed the unit cost of a single action.

Experimental Setup

The proposed method was evaluated on simulated environments designed to test directional constraints, most notably the PointMass navigation task.

Symmetric (left) vs. Asymmetric (right) PointMass environments. In the asymmetric case, movement in certain directions is twice as costly as others.

As illustrated above, the Symmetric PointMass environment features uniform movement costs, whereas the Asymmetric PointMass environment introduces directional bias, simulating real-world constraints like one-way paths or gravity.

Key Results

The primary metric for evaluation was the Mean Squared Error (MSE) between the learned distance and the ground-truth MAD.

MSE comparison in the Asymmetric PointMass environment. Wide Norms (red) converge to near-zero error, while symmetric L1 norms (blue) fail to capture the directional costs, resulting in high approximation error.

Superior Approximation and Planning

In environments with directional constraints, symmetric norms (L1) were unable to converge to the true MAD. Instead, they tended to average the bidirectional costs, leading to persistent approximation errors. In contrast, Wide Norms successfully modeled the asymmetry, achieving significantly lower MSE.

Crucially, Wide Norms did not suffer a performance penalty in symmetric environments, matching the accuracy of L1 norms. When applied to goal-reaching tasks, the Wide Norm-based agent demonstrated superior planning capabilities, effectively "following the gradient" of the learned distance metric to reach goals in asymmetric settings where L1 agents became confused.

Conclusion

This work highlights that asymmetry is a fundamental feature of many Markov Decision Processes. By utilizing Wide Norms, we can learn state representations that respect the directed nature of the world. This approach provides a robust, self-supervised heuristic for planning without the need for manual reward shaping. Future research will explore scaling these embeddings to high-dimensional visual inputs and dynamic environments.

Summary updated

BibTeX
@inproceedings{steccanella2023asymmetric,
  author = {Lorenzo Steccanella and Anders Jonsson},
  title = {{Asymmetric Norms to Approximate the Minimum Action Distance}},
  booktitle = {GCRL @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=878mNdKwdw},
}
Figure