Lune

ICLR2020Top-tier venue

An Inductive Bias for Distances: Neural Nets that Respect the Triangle Inequality

Silviu Pitis, Harris Chan, Kiarash Jamali, Jimmy Ba

Abstract

Distances are pervasive in machine learning. They serve as similarity measures, loss functions, and learning targets; it is said that a good distance measure solves a task. When defining distances, the triangle inequality has proven to be a useful constraint, both theoretically--to prove convergence and optimality guarantees--and empirically--as an inductive bias. Deep metric learning architectures that respect the triangle inequality rely, almost exclusively, on Euclidean distance in the latent space. Though effective, this fails to model two broad classes of subadditive distances, common in graphs and reinforcement learning: asymmetric metrics, and metrics that cannot be embedded into Euclidean space. To address these problems, we introduce novel architectures that are guaranteed to satisfy the triangle inequality. We prove our architectures universally approximate norm-induced metrics on Rn\mathbb{R}^n, and present a similar result for modified Input Convex Neural Networks. We show that our architectures outperform existing metric approaches when modeling graph distances and have a better inductive bias than non-metric approaches when training data is limited in the multi-goal reinforcement learning setting.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Foundation Policies with Hilbert Representations cites Optimal Goal-Reaching Reinforcement Learning via Quasimetric Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Sequential Recommendation via Stochastic Self-AttentionZiwei Fan, Zhiwei Liu, Yu Wang, Alice Wang et al.WWW 2022 · 203 citations
  2. Optimal Goal-Reaching Reinforcement Learning via Quasimetric LearningTongzhou Wang, Antonio Torralba, Phillip Isola, Amy ZhangICML 2023 · 88 citations
  3. Skill Discovery for Exploration and Planning using Deep Skill GraphsAkhil Bagaria, Jason K. Senthil, George KonidarisICML 2021 · 73 citations
  4. Foundation Policies with Hilbert RepresentationsSeohong Park, Tobias Kreiman, Sergey LevineICML 2024 · 72 citations
  5. Robust Graph Dictionary LearningWeijie Liu, Jiahao Xie, Chao Zhang, Makoto Yamada et al.ICLR 2023 · 17 citations

Related papers

  1. Neural Bregman Divergences for Distance LearningFred Lu, Edward Raff, Francis FerraroICLR 2023 · 3 citations
  2. On the Learning and Learnability of QuasimetricsTongzhou Wang, Phillip IsolaICLR 2022 · 12 citations
  3. Generalized Shape Metrics on Neural RepresentationsAlex H. Williams, Erin Kunz, Simon Kornblith, Scott W. LindermanNeurIPS 2021 · 182 citations
  4. GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
  5. Deep Metric Learning with Spherical EmbeddingDingyi Zhang, Yingming Li, Zhongfei ZhangNeurIPS 2020 · 54 citations
Dusk over the sea between two cliffs drawn in fine vertical lines