An Interpretable Data-Driven Unsupervised Approach for the Prevention of Forgotten Items

Luca Corbucci, Javier Alejandro Borges Legrottaglie, Francesco Spinnato, Anna Monreale, Riccardo GuidottiarXiv 2025 · DOI

Introduction

In the retail sector, predictive analytics has primarily focused on Next Basket Prediction (NBP), which aims to forecast future consumer preferences. However, a distinct and frequent consumer pain point is the "forgotten item"—an essential product omitted from a shopping trip despite a clear historical need. This paper addresses Forgotten-Item Prediction (FIP), a task that requires identifying deviations from established routines rather than predicting novel interests.

Conceptual framework of Forgotten-Item Prediction (FIP) compared to Next Basket Prediction (NBP).

Methodology

The researchers propose two unsupervised, interpretable-by-design algorithms: XMT (eXplainable Missing items considering Time) and TXMT (TARS-based XMT).

XMT: Multi-Factor Scoring

XMT utilizes a multi-factor scoring system based on five interpretable signals:

  1. Frequency: The historical purchase rate of an item.
  2. Temporal Proximity: The likelihood of a purchase based on the user's typical cycle.
  3. Seasonality: Adjustments for seasonal demand patterns.
  4. Basket Context: Co-purchase probabilities with items currently in the basket.
  5. Repurchase Tendency: Historical patterns of "correction" trips (returning shortly after a main trip to buy a missed item).

TXMT: Sequence-Aware Extension

TXMT extends XMT by incorporating Temporal Annotated Recurring Sequences (TARS). This allows the model to capture complex sequential dependencies, such as specific breakfast routines where certain items are consistently purchased together in a specific order or timeframe.

Experimental Setup

The models were evaluated using a massive Italian Supermarket dataset comprising 10.8 million transactions from over 17,000 customers. Since "forgotten items" are not explicitly labeled in transaction logs, the authors employed a heuristic: a "forgotten" event is defined as a large primary purchase followed by a small "correction" trip within 48 hours for items typically bought regularly.

Results and Discussion

Experimental results demonstrate that XMT and TXMT consistently outperform state-of-the-art NBP and FIP baselines, such as IBP and FPMC, by approximately 10–15% across key metrics including F1-score, Precision, and Recall.

Performance comparison of XMT and TXMT against baselines across different training set sizes (30%, 50%, and 70%).

A significant finding is the models' robustness to data scarcity. Both XMT and TXMT achieve near-peak performance with only 20-30% of a user's purchase history. This efficiency suggests high viability for privacy-preserving or edge-computing applications. While TXMT offers slightly more nuance, XMT is significantly more computationally efficient, making it the preferred choice for real-time retail environments.

Conclusion

By prioritizing interpretability and focusing on routine deviations rather than preference evolution, XMT and TXMT provide a practical solution to the FIP problem. Future work will explore federated learning to enhance privacy and collaborative filtering techniques to address the "cold-start" problem for new users.

Summary updated

BibTeX
@misc{corbucci2025interpretable,
  author = {Luca Corbucci and Javier Alejandro Borges Legrottaglie and Francesco Spinnato and Anna Monreale and Riccardo Guidotti},
  title = {{An Interpretable Data-Driven Unsupervised Approach for the Prevention of Forgotten Items}},
  year = {2025},
  eprint = {2507.23303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.23303},
}
Figure