Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification

Rui Wang, Peipei Li, Huaibo Huang, Chunshui Cao, Ran He +1 more
2/12/2026

No official code found. Best implementation: raywang335/L2RCLIP (15 stars, MIT, last commit 2023-10-08).

Abstract

We present a novel language-driven ordering alignment method for ordinal classification. The labels in ordinal classification contain additional ordering relations, making them prone to overfitting when relying solely on training data. Recent developments in pre-trained vision-language models inspire us to leverage the rich ordinal priors in human language by converting the original task into a visionlanguage alignment task. Consequently, we propose L2RCLIP, which fully utilizes the language priors from two perspectives. First, we introduce a complementary prompt tuning technique called RankFormer, designed to enhance the ordering relation of original rank prompts. It employs token-level attention with residual-style prompt blending in the word embedding space. Second, to further incorporate language priors, we revisit the approximate bound optimization of vanilla cross-entropy loss and restructure it within the cross-modal embedding space. Consequently, we propose a cross-modal ordinal pairwise loss to refine the CLIP feature space, where texts and images maintain both semantic alignment and ordering alignment. Extensive experiments on three ordinal classification tasks, including facial age estimation, historical color image (HCI) classification, and aesthetic assessment demonstrate its promising performance. The code is available at https://github.com/raywang335/L2RCLIP.

View on arXivView PDF

Code Implementations(1)

raywang335/L2RCLIPCommunity100%
MIT

The official implementation of the paper "Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification" is available.

150PythonSep 22, 20233 years agoMIT

Similar Papers

Cite this paper

@article{wang2026learningtorank,
  title  = {Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification},
  author = {Rui Wang and Peipei Li and Huaibo Huang and Chunshui Cao and Ran He and Zhaofeng He},
  year   = {2026},
  eprint = {2306.13856},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.13856},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.13856.svg)](https://codeofpaper.com/paper/2306.13856)

Discussion