Improved Representation of Asymmetrical Distances with Interval Quasimetric Embeddings
Tongzhou Wang, Phillip Isola
TL;DR
The paper introduces Interval Quasimetric Embedding (IQE), a latent-distance learning approach that represents asymmetrical distances via unions of intervals in a latent space. IQE provides four core properties—respecting constraints, universal approximation, low parameter count, and latent positive homogeneity—while enabling simple aggregation via IQE-sum or IQE-maxmean. The authors establish strong universal-approximation guarantees for both finite and general cases and draw connections to prior methods (PQE, MRN, Deep Norm, Wide Norm). Empirically, IQE implementations significantly outperform baselines on large real-world graphs, random graphs, and offline Q-learning tasks, with ablations showing the benefits of the interval-based structure over regularization alone. The work contributes theoretical guarantees, practical algorithms, and a versatile embedding framework that can enhance planning, causal learning, and representation learning in asymmetric geometric settings.
Abstract
Asymmetrical distance structures (quasimetrics) are ubiquitous in our lives and are gaining more attention in machine learning applications. Imposing such quasimetric structures in model representations has been shown to improve many tasks, including reinforcement learning (RL) and causal relation learning. In this work, we present four desirable properties in such quasimetric models, and show how prior works fail at them. We propose Interval Quasimetric Embedding (IQE), which is designed to satisfy all four criteria. On three quasimetric learning experiments, IQEs show strong approximation and generalization abilities, leading to better performance and improved efficiency over prior methods. Project Page: https://www.tongzhouwang.info/interval_quasimetric_embedding Quasimetric Learning Code Package: https://www.github.com/quasimetric-learning/torch-quasimetric
