mlsanityData to 14 Oct 2026

The Complexity of Finding Local Optima in Contrastive Learning

arXiv 2509.16898 ↗First posted 21 Sep 2025cs.LG cs.CC math.OCcited by 1

Not on the map. Why?

Abstract (arXiv)

Contrastive learning is a powerful technique for discovering meaningful data representations by optimizing objectives based on textitcontrastive information, often given as a set of weighted triplets (xi, yi^+, zi^-)i = 1m indicating that an "anchor" xi is more similar to a "positive" example yi than to a "negative" example zi. The goal is to find representations (e.g., embeddings in ℝd or a tree metric) where anchors are placed closer to positive than to negative examples. While finding textitglobal optima of contrastive objectives is mathsfNP-hard, the complexity of finding textitlocal optima -- representations that do not improve by local search algorithms such as gradient-based methods -- remains open. Our work settles the complexity of finding local optima in various contrastive learning problems by proving mathsfPLS-hardness in discrete settings (e.g., maximize satisfied triplets) and mathsfCLS-hardness in continuous settings (e.g., minimize Triplet Loss), where mathsfPLS (Polynomial Local Search) and mathsfCLS (Continuous Local Search) are well-studied complexity classes capturing local search dynamics in discrete and continuous optimization, respectively. Our results imply that no polynomial time algorithm (local search or otherwise) can find a local optimum for various contrastive learning problems, unless mathsfPLSsubseteqmathsfP (or mathsfCLSsubseteq mathsfP for continuous problems). Even in the unlikely scenario that mathsfPLSsubseteqmathsfP (or mathsfCLSsubseteq mathsfP), our reductions imply that there exist instances where local search algorithms need exponential time to reach a local optimum, even for d=1 (embeddings on a line).

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 30 of its 71 references that are in the map. First posted on arXiv 21 Sep 2025.

Builds on

30 of 71 references.

References · 30

  1. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  2. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  3. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  4. 2020Contrastive Learning with Hard Negative Samplescited by 628
  5. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  6. 2020Hard Negative Mixing for Contrastive Learningcited by 402
  7. 2020Contrastive learning, multi-view redundancy, and linear modelscited by 146
  8. 2022Understanding Contrastive Learning Requires Incorporating Inductive Biasescited by 96
  9. 2020From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical Clusteringcited by 65
  10. 2022A Theoretical Study of Inductive Biases in Contrastive Learningcited by 40
  11. 2022Do More Negative Samples Necessarily Hurt in Contrastive Learning?cited by 39
  12. 2020The Complexity of Gradient Descent: CLS = PPAD cap PLScited by 17
18 more
  1. 2018Hierarchical Clustering better than Average-Linkagecited by 16
  2. 2018Hierarchical Clustering with Structural Constraintscited by 15
  3. 2023Optimal Sample Complexity of Contrastive Learningcited by 15
  4. 2016Finite Sample Prediction and Recovery Bounds for Ordinal Embeddingcited by 12
  5. 2019Insights into Ordinal Embedding Algorithms: A Systematic Evaluationcited by 10
  6. 2016Interactive Bayesian Hierarchical Clusteringcited by 9
  7. 2017Adaptive Hierarchical Clustering Using Ordinal Queriescited by 9
  8. 2020Objective-Based Hierarchical Clustering of Deep Embedding Vectorscited by 9
  9. 2019Landmark Ordinal Embeddingcited by 6
  10. 2021Maximizing Agreements for Ranking, Clustering and Hierarchical Clustering via MAX-CUTcited by 4
  11. 2023The Complexity of Computing KKT Solutions of Quadratic Programscited by 4
  12. 2020Learning Lines with Ordinal Constraintscited by 3
  13. 2021Hierarchical Clustering via Sketches and Hierarchical Correlation Clusteringcited by 3
  14. 2023Algorithms and Complexity for Computing Nash Equilibria in Adversarial Team Gamescited by 3
  15. 2023Dimension-Accuracy Tradeoffs in Contrastive Embeddings for Triplets, Terminals & Top-k Nearest Neighborscited by 3
  16. 2022Triplet Reconstruction and all other Phylogenetic CSPs are Approximation Resistantcited by 2
  17. 2024The Complexity of Symmetric Bimatrix Games with Common Payoffscited by 2
  18. 2025The Complexity of Symmetric Equilibria in Min-Max Optimization and Team Zero-Sum Gamescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.