Lune

NeurIPS2024顶会

Embedding Dimension of Contrastive Learning and k-Nearest Neighbors

Dmitrii Avdiukhin, Vaggos Chatziafratis, Orr Fischer, Grigory Yaroslavtsev

摘要

We study the embedding dimension of distance comparison data in two settings: contrastive learning and k-nearest neighbors (k-NN). Our goal is to find the smallest dimension d of an ℓ p -space in which a given dataset can be represented. We show that the arboricity of the associated graphs plays a key role in designing embeddings. For the most popular ℓ 2 -space, we get tight bounds in both settings. In contrastive learning, we are given m labeled samples (x i , y + i , z - i ) representing the fact that the positive example y i is closer to the anchor x i than the negative example z i (we also give results for t negatives). For representing such dataset in:

• ℓ 2 : d = Θ( √ m) is necessary and sufficient, consistent with our experiments.

• ℓ p for p ≥ 1: d = O(m) is sufficient and d = Ω( √ m) is necessary.

• ℓ ∞ : d = O(m 2/3 ) is sufficient and d = Ω( √ m) is necessary. In k-NN, for each of the n data points we are given an ordered set of the closest k points. We show that for preserving the ordering of the k-NN for every point in:

• ℓ 2 : d = Θ(k) is necessary and sufficient.

• ℓ p for p ≥ 1: d = Õ(k 2 ) is sufficient and d = Ω(k) is necessary.

• ℓ ∞ : d = Ω(k) is necessary. Furthermore, if the goal is to not just preserve the ordering of the k-NN but also keep them as the nearest neighbors, then d = Õ(poly(k)) suffices in ℓ p for p ≥ 1.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 On Mutual Information Maximization for Representation Learning
  • A Simple Framework for Contrastive Learning of Visual Representations 引用了 On Mutual Information Maximization for Representation Learning
  • Group-aware Multiscale Ensemble Learning for Test-Time Multimodal Sentiment Analysis 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Provable Accuracy Collapse of Embedding-Based Representations under Dimensionality Mismatch 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Debiased Contrastive Learning 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Debiased Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. The Complexity of Finding Local Optima in Contrastive LearningJingming Yan, Yiyuan Luo, Vaggos Chatziafratis, Ioannis Panageas 等NeurIPS 2025 · 2 次引用
  2. Group-aware Multiscale Ensemble Learning for Test-Time Multimodal Sentiment AnalysisKai Tang, Yixuan Tang, Tianyi Chen, Haokai Xu 等AAAI 2026
  3. Provable Accuracy Collapse of Embedding-Based Representations under Dimensionality MismatchDionysis Arvanitakis, Vaggos Chatziafratis, Yiyuan LuoICML 2026

它引用的 Paper17

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  2. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
  3. Debiased Contrastive LearningChing-Yao Chuang, Joshua Robinson, Yen-Chen Lin, Antonio Torralba 等NeurIPS 2020 · 761 次引用
  4. On Mutual Information Maximization for Representation LearningMichael Tschannen, Josip Djolonga, Paul K. Rubenstein, Sylvain Gelly 等ICLR 2020 · 559 次引用
  5. Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive LossJeff Z. HaoChen, Colin Wei, Adrien Gaidon, Tengyu MaNeurIPS 2021 · 425 次引用

相关 Paper

  1. Optimal Sample Complexity of Contrastive LearningNoga Alon, Dmitrii Avdiukhin, Dor Elboim, Orr Fischer 等ICLR 2024 · 15 次引用
  2. Labelings vs. Embeddings: On Distributed Representations of DistancesArnold Filtser, Lee-Ad Gottlieb, Robert KrauthgamerSODA 2020 · 5 次引用
  3. Order-Preserving Dimension Reduction for Multimodal Semantic EmbeddingChengyu Gong, Gefei Shen, Luanzheng Guo, Nathan R. Tallent 等AAAI 2026 · 2 次引用
  4. Understanding and Mitigating Hyperbolic Dimensional Collapse in Graph Contrastive LearningYifei Zhang, Hao Zhu, Menglin Yang, Jiahong Liu 等KDD 2025 · 4 次引用
  5. On Efficient Low Distortion Ultrametric EmbeddingVincent Cohen-Addad, Karthik C. S., Guillaume LagardeICML 2020 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖