Revisiting Self-Attention via Tailored Late-Interaction for Basket Completion: Modeling Product Complementarity and Purchase Intent in Retail
Vincent Auriau, Micha{ë}l Teboul, Martin Mo{\vz}ina, Emmanuel Malherbe
Abstract
In large-scale retail environments involving thousands of products, understanding how products are purchased, in particular if and how they interact together -- through complementarity or substitution -- is critical for assortment optimization, promotion planning, and store layout design. While online and offline transaction logs contain rich implicit signals of consumer behavior, effectively modeling an unordered basket of products remains a challenge due to nested purchase intents and high-dimensional product spaces. In this paper, we propose a novel architecture for basket completion that combines self-attention with a custom loss inspired by late-interaction. Our approach explicitly disentangles distinct purchase intents within a single basket, and does not impose an artificial sequence order. We introduce a tailored architecture, training scheme, and scoring function designed specifically for the set-based structure of transaction data, yielding a model that is both computationally efficient and highly interpretable. Extensive evaluations demonstrate that our method achieves state-of-the-art predictive performance on the basket completion task across multiple public benchmarks and a large-scale proprietary retail dataset from Fortenova Group, one of the leading retail company in Southeast Europe. Furthermore, we provide detailed architectural ablations and show how our learned representations can be interpreted to extract meaningful product clusters, popularity dynamics, and cross-product interactions.
Create a lesson
Related papers
Self-Evolve Safely: Quantifying and Mitigating Misevolution in Multimodal Agents with Uncertainty and Intent
Shared title terminologycs.AITarık Ege Bilsel, Ekin Şahin, Ender Enes Tan et al.
Lumine 2: An Open Generalist Agent for Completing Full-Length AAA Games
Shared title terminologycs.AIWeihao Tan, Zhiyuan Hu, Bairen Yi et al.
Sage-Interaction, an Omni Interaction Model with Agentic Task Delegation
Shared title terminologycs.AILuxin Xu, Zhiqiu Zhang, Song Dai et al.
Self-Validating Heuristics: Reliable Delivery under Distribution Shift in Language-Model-Driven Online Heuristic Design
Shared title terminologycs.AITianyu Wang, Xi Vincent Wang, Lihui Wang et al.
ReBranch: Self-Evolving Agents through Retrospective Branching
Shared title terminologycs.AIJie Deng, Dan Liu, Libo Zhang
Self-Context: Graph-Based Context Self-Management for Long-Horizon Agents
Shared title terminologycs.AIZiheng Wang, Chengyi Yang, Renxu Bao et al.