mlsanityData to 7 Oct 2026

Masked and Swapped Sequence Modeling for Next Novel Basket Recommendation in Grocery Shopping

arXiv 2308.01308 ↗First posted 2 Aug 2023cs.IR cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Next basket recommendation (NBR) is the task of predicting the next set of items based on a sequence of already purchased baskets. It is a recommendation task that has been widely studied, especially in the context of grocery shopping. In next basket recommendation (NBR), it is useful to distinguish between repeat items, i.e., items that a user has consumed before, and explore items, i.e., items that a user has not consumed before. Most NBR work either ignores this distinction or focuses on repeat items. We formulate the next novel basket recommendation (NNBR) task, i.e., the task of recommending a basket that only consists of novel items, which is valuable for both real-world application and NBR evaluation. We evaluate how existing NBR methods perform on the NNBR task and find that, so far, limited progress has been made w.r.t. the NNBR task. To address the NNBR task, we propose a simple bi-directional transformer basket recommendation model (BTBR), which is focused on directly modeling item-to-item correlations within and across baskets instead of learning complex basket representations. To properly train BTBR, we propose and investigate several masking strategies and training objectives: (i) item-level random masking, (ii) item-level select masking, (iii) basket-level all masking, (iv) basket-level explore masking, and (v) joint masking. In addition, an item-basket swapping strategy is proposed to enrich the item interactions within the same baskets. We conduct extensive experiments on three open datasets with various characteristics. The results demonstrate the effectiveness of BTBR and our masking and swapping strategies for the NNBR task. BTBR with a properly selected masking and swapping strategy can substantially improve NNBR performance.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 19 of its 55 references that are in the map. First posted on arXiv 2 Aug 2023.

Builds on

19 of 55 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2016Layer Normalizationcited by 5,579
  5. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  6. 2018Self-Attentive Sequential Recommendationcited by 1,169
  7. 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 952
  8. 2015Session-based Recommendations with Recurrent Neural Networkscited by 685
  9. 2018Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddingcited by 473
  10. 2018Session-based Recommendation with Graph Neural Networkscited by 312
  11. 2017Neural Attentive Session-based Recommendationcited by 237
  12. 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 181
7 more
  1. 2017Recurrent Neural Networks with Top-k Gains for Session-based Recommendationscited by 165
  2. 2019Sequential Recommender Systems: Challenges, Progress and Prospectscited by 115
  3. 2022Self-Supervised Learning for Recommender Systems: A Surveycited by 95
  4. 2020Modeling Personalized Item Frequency Information for Next-basket Recommendationcited by 24
  5. 2020Predicting Temporal Sets with Deep Neural Networkscited by 16
  6. 2021A Next Basket Recommendation Reality Checkcited by 15
  7. 2021Modeling Dynamic Attributes for Next Basket Recommendationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 2; 2026: 2.

7 papers.