# LIME: Link-based User-item Interaction Modeling with Decoupled XOR Attention for Efficient Test Time Scaling

DevFeed: [LIME: Link-based User-item Interaction Modeling with Decoupled XOR Attention for Efficient Test Time Scaling](<https://devfeed.tech/articles/lime-link-based-user-item-interaction-modeling-with-decoupled-xor-attention-for-efficient-test-time-scaling-103718.md>)

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

Author: Yang Liu, Yunjiang Jiang, Ayush Agarwal, Yihan Wu, Haoran Liu, Bi Xue

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

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

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [Mamba](<https://devfeed.tech/topics/mamba.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [computational-complexity](<https://devfeed.tech/tags/computational-complexity.md>), [cost](<https://devfeed.tech/tags/cost.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>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [engagement](<https://devfeed.tech/tags/engagement.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [history](<https://devfeed.tech/tags/history.md>), [inference](<https://devfeed.tech/tags/inference.md>), [inference-costs](<https://devfeed.tech/tags/inference-costs.md>), [lime](<https://devfeed.tech/tags/lime.md>), [linear](<https://devfeed.tech/tags/linear.md>), [mechanism](<https://devfeed.tech/tags/mechanism.md>), [model](<https://devfeed.tech/tags/model.md>), [performance](<https://devfeed.tech/tags/performance.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [xor](<https://devfeed.tech/tags/xor.md>)

## AI overview

LIME targets the rising inference cost of recommendation transformers as user histories and candidate sets grow. Low-rank link embeddings decouple user and candidate interactions so attention weights can be precomputed, making inference cost nearly independent of candidate-set size. Its LIME-XOR linear attention reduces sequence-length complexity from O(N²) to O(N). The abstract reports near-parity with state-of-the-art transformers and 10x faster inference on large candidate sets or long histories across public and industrial datasets; on a major recommendation platform, it reports improved user engagement with minimal cost growth as those dimensions increase. These are abstract-level claims; no dataset details or measurement conditions are provided here.

## Source excerpt

arXiv:2510.18239v5 Announce Type: replace-cross Abstract: Scaling large recommendation systems requires advancing three major frontiers: processing longer user histories, expanding candidate sets, and increasing model capacity. While promising, transformers' computational cost scales quadratically with the user sequence length and linearly with the number of candidates. This trade-off makes it prohibitively expensive to expand candidate sets or increase sequence length at inference, despite the significant performance improvements. We introduce \textbf{LIME}, a novel architecture that resolves this trade-off. Through two key innovations, LIME fundamentally reduces computational complexity. First, low-rank ``link embeddings" enable pre-computation of attention weights by decoupling user and candidate interactions, making the inference cost nearly independent of candidate set size. Second, a linear attention mechanism, \textbf{LIME-XOR}, reduces the complexity with respect to user sequence length from quadratic ($O(N^2)$) to linear ($O(N)$). Experiments on public and industrial datasets show LIME achieves near-parity with state-of-the-art transformers but with a 10$\times$ inference speedup on large candidate sets or long sequence lengths. When tested on a major recommendation platform, LIME improved user engagement while maintaining minimal inference costs with respect to candidate set size and user history length, establishing a new paradigm for efficient and expressive recommendation systems.