# MELODI: Similarity-Identity Decoupling for Lightweight Ranking

DevFeed: [MELODI: Similarity-Identity Decoupling for Lightweight Ranking](<https://devfeed.tech/articles/melodi-similarity-identity-decoupling-for-lightweight-ranking-153957.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.31940>)

Author: Quoc Phong Nguyen, Vuong Le, Volodymyr Vaskovych, Julien Monteil

Published: 2026-11-25T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>)

Tags: [branch](<https://devfeed.tech/tags/branch.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [computing](<https://devfeed.tech/tags/computing.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [history](<https://devfeed.tech/tags/history.md>), [identity](<https://devfeed.tech/tags/identity.md>), [industrial](<https://devfeed.tech/tags/industrial.md>), [latency](<https://devfeed.tech/tags/latency.md>), [layer](<https://devfeed.tech/tags/layer.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [linear](<https://devfeed.tech/tags/linear.md>), [local](<https://devfeed.tech/tags/local.md>), [local-history](<https://devfeed.tech/tags/local-history.md>), [measurements](<https://devfeed.tech/tags/measurements.md>), [multi-head](<https://devfeed.tech/tags/multi-head.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [similarity](<https://devfeed.tech/tags/similarity.md>)

## AI overview

MELODI separates target-history compatibility from target-only information to reduce latency in candidate ranking. It pools history before computing similarity, an order equivalent to similarity-then-pool when the similarity operator is linear in its history input for each fixed target. Its similarity branch uses target-conditioned multi-head history pooling and a single residual-free linear cross layer; the identity branch depends on the problem. The abstract reports that MELODI matches or exceeds evaluated baselines on public benchmarks and equals or exceeds evaluated target-aware baselines on AUPRC, NDCG, and recall across two industrial datasets. Processor measurements show lower latency than evaluated candidate-conditioned baselines at large candidate counts, with further reductions from request-local history reuse.

## Source excerpt

arXiv:2611.31940v1 Announce Type: cross Abstract: For latency-constrained candidate ranking, we propose a similarity-identity decoupling framework that separates target-history compatibility from target-only information. We study two orders for computing pooled similarity, similarity-then-pool and 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 multi-head efficient lightweight operator for decoupling identity and similarity (MELODI), 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, MELODI matches or surpasses the evaluated target-aware and target-agnostic baselines. On two large-scale industrial datasets, its area under the precision-recall curve (AUPRC), 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.