Abstract
Traditional Learning to Rank (LTR) methods often struggle with the trade-off between the simplicity of pairwise comparisons and the complexity of full-list evaluations. Pairwise methods frequently suffer from ambiguity, while list-wise approaches face exponential computational growth and overfitting. This paper introduces MidRank, a supervised LTR algorithm that operates on moderately sized subsequences. By leveraging structural information within these "mid-sized" chunks and employing a novel "stacked difference" feature representation, MidRank achieves superior ranking accuracy and computational efficiency.
Introduction: The Gap in Learning to Rank
In LTR tasks, researchers typically choose between two extremes. Pairwise methods compare two items at a time, which is computationally efficient but often fails to capture sufficient context, leading to ambiguous constraints. For instance, in a car chronology task, a pair might not provide enough information to distinguish between "sportiness" and "age" as the primary ranking criterion. Conversely, list-wise methods consider the entire sequence, capturing full structure but suffering from a combinatorial explosion of permutations ($n!$), which leads to noise and poor generalization.
MidRank addresses this gap by focusing on the "Goldilocks zone": subsequences that are long enough to provide structural context but short enough to remain computationally tractable and regular.
Methodology: The MidRank Approach
MidRank decomposes long sequences into overlapping subsequences of a fixed length $\lambda$ (typically 3 to 10). This approach is built on several key innovations:
The Subsequence Hypothesis
A sequence is correctly ordered if and only if all its constituent consecutive subsequences are correctly ordered. This transitivity allows the model to learn local structural rules that aggregate into a global ranking.
Stacked Difference Vectors
Rather than using raw features, MidRank represents a subsequence by "stacking" the differences between adjacent elements (e.g., $x_1-x_2, x_2-x_3$). This representation ensures that the correct permutation is linearly separable from incorrect ones, focusing the model on relative changes rather than absolute feature magnitudes.
Multi-length Fusion and Greedy Inference
To capture various nuances, MidRank fuses outputs from multiple rankers trained on different subsequence lengths using weighted majority voting. During testing, a greedy tree-based search avoids the $n!$ search space by starting with an initial guess and iteratively swapping pairs to maximize the ranking score.
Experimental Results
The model was evaluated on three challenging image re-ranking tasks: Public Figures (relative attributes), Scene Interestingness, and Car Chronology.
- Accuracy: MidRank consistently outperformed state-of-the-art baselines. On the Public Figures dataset, it achieved a +10.5% absolute improvement in Kendall-Tau over the best baseline. In the Car Chronology task, it reached a Kendall-Tau of 0.553, significantly higher than RankSVM (0.482) and LambdaMART (0.409).
- Efficiency: The greedy inference algorithm proved to be approximately 50 times faster than exhaustive search, processing a 20-image sequence in roughly 0.75 seconds.
Conclusion
By targeting the middle ground between pairs and full lists, MidRank provides a robust framework for learning complex ranking structures. The use of subsequences maintains regularity and reduces noise, while the stacked difference representation ensures effective discrimination. Future work includes integrating this approach as a specialized ranking layer within deep learning architectures like CNNs.
Summary updated