MELODI: Similarity-Identity Decoupling for Lightweight Ranking
Nguyen, Quoc Phong, Le, Vuong, Vaskovych, Volodymyr, Monteil, Julien
–arXiv.org Artificial Intelligence
For latency-constrained candidate ranking, we propose a \emph{similarity--identity decoupling} framework that separates target--history compatibility from target-only information. We study two orders for computing pooled similarity, \emph{similarity-then-pool} and \emph{pool-then-similarity}, and identify linearity of the similarity operator in its history argument, for each fixed target, as sufficient for their equivalence, justifying the cheaper pool-then-similarity form. We instantiate the framework as \emph{multi-head efficient lightweight operator for decoupling identity and similarity}~(\M{}), whose similarity branch combines target-conditioned multi-head history pooling with a single residual-free cross layer that is linear in its pooled-history input and whose identity branch is problem-dependent. On public benchmark datasets, \M{} matches or surpasses the evaluated target-aware and target-agnostic baselines. On two large-scale industrial datasets, its \emph{area under the precision--recall curve}~(AUPRC), \emph{normalised discounted cumulative gain}~(NDCG), and recall values are equal to or higher than those of the evaluated target-aware baselines. Processor measurements show lower latency than the evaluated candidate-conditioned baselines at large candidate counts, further reduced by request-local history reuse.
arXiv.org Artificial Intelligence
Dec-1-2026