GrocLM: Grocery Category Recommendation in E-Commerce with Large Language Models

Yuan Zhong, Chuanwei Ruan, Moein Hasani, Tejaswi Tenneti, Haixun Wang +1 more
6/4/2026
cs.AI

No confident code implementation found for this paper.

Abstract

The rapid growth of online grocery shopping requires recommendation systems that capture cyclical purchasing behavior and diverse user intents. Traditional item-level methods face scalability and accuracy challenges, motivating category-level recommendation as a more structured and practical alternative.

Show full abstract

We present GROCLM, a fine-tuned language model for grocery category recommendation in a real-world production environment. GROCLM employs a two-stage LoRA-based training strategy to encode cyclical purchasing patterns directly into model parameters, enabling more effective utilization of rebuying signals compared to prompt-based conditioning. To ensure valid and controllable outputs, we further introduce a trie-based constrained decoding mechanism over a predefined category space. Experiments on both proprietary production data and a public benchmark demonstrate that GROCLM consistently outperforms strong baselines. In a live production restocking task, GROCLM achieves a 7.5% relative improvement in cart-adds per impression, while maintaining efficient inference by generating all categories jointly. These results highlight the effectiveness and practicality of integrating large language models into structured recommendation systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhong2026groclm,
  title  = {GrocLM: Grocery Category Recommendation in E-Commerce with Large Language Models},
  author = {Yuan Zhong and Chuanwei Ruan and Moein Hasani and Tejaswi Tenneti and Haixun Wang and Fenglong Ma},
  year   = {2026},
  eprint = {2607.24764},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.24764v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.24764.svg)](https://codeofpaper.com/paper/2607.24764)

Discussion