Lune

NeurIPS2023Top-tier venue

Rank-N-Contrast: Learning Continuous Representations for Regression

Kaiwen Zha, Peng Cao, Jeany Son, Yuzhe Yang, Dina Katabi

Abstract

Deep regression models typically learn in an end-to-end fashion without explicitly emphasizing a regression-aware representation. Consequently, the learned representations exhibit fragmentation and fail to capture the continuous nature of sample orders, inducing suboptimal results across a wide range of regression tasks. To fill the gap, we propose Rank-N-Contrast (RNC), a framework that learns continuous representations for regression by contrasting samples against each other based on their rankings in the target space. We demonstrate, theoretically and empirically, that RNC guarantees the desired order of learned representations in accordance with the target orders, enjoying not only better performance but also significantly improved robustness, efficiency, and generalization. Extensive experiments using five real-world regression datasets that span computer vision, human-computer interaction, and healthcare verify that RNC achieves state-of-the-art performance, highlighting its intriguing properties including better data efficiency, robustness to spurious targets and data corruptions, and generalization to distribution shifts. Code is available at: https://github.com/kaiwenzha/Rank-N-Contrast . L 1 Temp. (℃) 30 20 10 0 SupCon R N C (Ours) Figure 1: Learned representations of different methods on a real-world temperature regression task [7] (details in Sec. 5). Existing general regression learning (L1) or representation learning (SupCon) schemes fail to recognize the underlying continuous information in data. In contrast, RNC learns continuous representations that capture the intrinsic sample orders w.r.t. the regression targets.

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.

29 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

  • Emerging Properties in Self-Supervised Vision Transformers cites A Simple Framework for Contrastive Learning of Visual Representations
  • Toward a Well-Calibrated Discrimination via Survival Outcome-Aware Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Toward a Well-Calibrated Discrimination via Survival Outcome-Aware Contrastive Learning cites Supervised Contrastive Learning
  • ConR: Contrastive Regularizer for Deep Imbalanced Regression cites A Simple Framework for Contrastive Learning of Visual Representations
  • ConR: Contrastive Regularizer for Deep Imbalanced Regression cites Delving into Deep Imbalanced Regression
  • ConR: Contrastive Regularizer for Deep Imbalanced Regression cites Supervised Contrastive Learning
  • Enhancing Contrastive Learning for Ordinal Regression via Ordinal Content Preserved Data Augmentation cites A Simple Framework for Contrastive Learning of Visual Representations
  • Enhancing Contrastive Learning for Ordinal Regression via Ordinal Content Preserved Data Augmentation cites Supervised Contrastive Learning
  • SCOREQ: Speech Quality Assessment with Contrastive Regression cites A Simple Framework for Contrastive Learning of Visual Representations
  • SCOREQ: Speech Quality Assessment with Contrastive Regression cites Supervised Contrastive Learning
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Debiased Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers29

  1. SCOREQ: Speech Quality Assessment with Contrastive RegressionAlessandro Ragano, Jan Skoglund, Andrew HinesNeurIPS 2024 · 90 citations
  2. ConR: Contrastive Regularizer for Deep Imbalanced RegressionMahsa Keramati, Lili Meng, R. David EvansICLR 2024 · 22 citations
  3. Enhancing Contrastive Learning for Ordinal Regression via Ordinal Content Preserved Data AugmentationJiyang Zheng, Yu Yao, Bo Han, Dadong Wang et al.ICLR 2024 · 10 citations
  4. Toward a Well-Calibrated Discrimination via Survival Outcome-Aware Contrastive LearningDongjoon Lee, Hyeryn Park, Changhee LeeNeurIPS 2024 · 6 citations
  5. Neural Embeddings Rank: Aligning 3D latent dynamics with movementsChenggang Chen, Zhiyu Yang, Xiaoqin WangNeurIPS 2024 · 6 citations

Builds on15

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  3. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  4. Debiased Contrastive LearningChing-Yao Chuang, Joshua Robinson, Yen-Chen Lin, Antonio Torralba et al.NeurIPS 2020 · 761 citations
  5. Delving into Deep Imbalanced RegressionYuzhe Yang, Kaiwen Zha, Ying-Cong Chen, Hao Wang et al.ICML 2021 · 385 citations

Related papers

  1. ACCon: Angle-Compensated Contrastive Regularizer for Deep RegressionBotao Zhao, Xiaoyang Qu, Zuheng Kang, Junqing Peng et al.AAAI 2025
  2. Semi-Supervised Contrastive Learning for Deep Regression with Ordinal Rankings from Spectral SeriationWeihang Dai, Yao Du, Hanru Bai, Kwang-Ting Cheng et al.NeurIPS 2023 · 16 citations
  3. Contrastive Order Learning: A General Framework for Ordinal RegressionChaewon Lee, BeomJun Shim, Kwang Choi, Chang-Su KimICML 2026
  4. RankSim: Ranking Similarity Regularization for Deep Imbalanced RegressionYu Gong, Greg Mori, Frederick TungICML 2022 · 68 citations
  5. Improving Deep Regression with TightnessShihao Zhang, Yuguang Yan, Angela YaoICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines