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

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

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153393) · [OpenReview](https://openreview.net/forum?id=Lhbpwyn5ox) · [alphaXiv](https://www.alphaxiv.org/abs/2510.18239) · [Open on the map](../papers.html#p153393)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Compositional Generalization in Transformers](../pgroup/496.md) · Type: new method · Keywords: recommendation systems, efficient inference, linear attention, low-rank embeddings, user-item interaction

Areas: [Long Context](../areas/longcontext.md) › Long-context mechanisms › Efficient attention; [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Linearized Transformers

## Summary
LIME is a novel recommendation architecture that reduces inference cost by decoupling user-item interactions with low-rank link embeddings and using a linear attention mechanism, achieving near-state-of-the-art performance with roughly a tenfold speedup.

## Explained to a 5-year-old
We want to give people good suggestions when they look at things online. The old way uses a lot of computer power, especially when there are many things to choose from or when the person looked at many items. This new idea makes the computer work less by splitting the problem into two easier parts and using a fast way to think about things. It helps the computer give good suggestions quickly, so people see new things faster. This makes the online shopping or video suggestions better and faster.

## Explained to a 5-year-old, longer
When you use a website that suggests things you might like, it looks at what you have looked at before. If you have looked at many items, the computer has to compare each pair of items, which takes a lot of time. Also, if there are many possible things to suggest, the computer has to check each one against your history. This can make the suggestions slow, so you might have to wait. The new idea splits the problem into two easier parts: one part looks at how items are linked together, and the other part looks at your history in a faster way. By using a special kind of math that works like a quick calculator, the computer can handle long histories without doing many extra steps. This makes the computer use much less power, so it can run faster even on a small device. Because it is faster, the website can show you many suggestions at once, and you see new things right away. The result is that you get good suggestions quickly, and the site works smoothly without needing a lot of computer resources.

## For a technical reader
The paper presents a new recommendation architecture that pre-computes user-item attention using low-rank embeddings, eliminating the linear scaling with candidate set size. It also replaces the quadratic attention of transformers with a linear-time attention mechanism, reducing inference time for long user sequences. Together, these changes keep model accuracy comparable to state-of-the-art transformers while delivering a tenfold speedup. The approach was validated on public and industrial datasets and deployed on a major recommendation platform, where it improved user engagement without increasing computational cost.

## Problem
Scaling large recommendation systems is challenging because transformers have quadratic cost in user sequence length and linear cost in candidate set size, making it expensive to expand candidates or histories at inference.

## Method
The approach uses low-rank link embeddings to pre-compute attention weights between users and items, decoupling their interaction, and employs a linear attention mechanism that reduces sequence length complexity from quadratic to linear.

## Results
The approach matches state-of-the-art transformer performance while delivering roughly a tenfold speedup in inference on large candidate sets or long user histories, and it improves user engagement on a production platform without increasing inference costs.

## Contributions
It introduces a way to decouple user-item interactions using low-rank embeddings and a linear attention mechanism that reduces computational complexity, enabling efficient scaling of recommendation systems at inference time.

## Practical relevance
It enables recommendation platforms to scale inference efficiently, improving user engagement without prohibitive computational cost.

## Research questions this paper is counted under

- [How can we compress long user histories into efficient representations that retain multi-scale temporal and intent information for sequential recommendation?](../q/420.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153393)
