GrocLM: Grocery Category Recommendation in E-Commerce with Large Language Models
This paper presents GrocLM, a fine-tuned language model for grocery category recommendation in e-commerce. It uses a two-stage LoRA training strategy to encode cyclical purchasing patterns and a trie-based constrained decoding mechanism. Experiments show a 7.5% relative improvement in cart-adds per impression in a live production restocking task.
-->
[Submitted on 4 Jun 2026]
Title:GrocLM: Grocery Category Recommendation in E-Commerce with Large Language Models
View a PDF of the paper titled GrocLM: Grocery Category Recommendation in E-Commerce with Large Language Models, by Yuan Zhong and 5 other authors
View PDF HTML (experimental)
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. 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.
Subjects:
Artificial Intelligence (cs.AI)
Cite as: arXiv:2607.24764 [cs.AI]
(or arXiv:2607.24764v1 [cs.AI] for this version)
https://doi.org/10.48550/arXiv.2607.24764
arXiv-issued DOI via DataCite
Submission history
From: Yuan Zhong [view email] [v1] Thu, 4 Jun 2026 23:55:15 UTC (901 KB)
Full-text links:
Access Paper:
View a PDF of the paper titled GrocLM: Grocery Category Recommendation in E-Commerce with Large Language Models, by Yuan Zhong and 5 other authors
View PDF
HTML (experimental)
TeX Source
view license
Current browse context:
cs.AI
new | recent | 2026-07
Change to browse by:
cs
References & Citations
NASA ADS
Google Scholar
Semantic Scholar
Loading...
Data provided by:
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
Author
Venue
Institution
Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)