My Profile Photo

Prof. Garg - Building AI things!


Exploring and experimenting to create an era enabled by AI.


← All Projects working paper
Consumer Behavior & Text Analytics

Intent-Based Recommendation: Replicating and Extending DUIP

Blair Park, Rajiv Garg
Working paper · 2026

Consumer Behavior & Text Analytics illustration

Traditional recommendation systems are good at pattern-matching on click history but bad at capturing why a user is browsing the way they are. This project replicates and extends DUIP (Dynamic User Intent Prediction) — a recommender architecture that pairs a lightweight LSTM session encoder with a frozen large language model to score candidate items by intent, not just co-occurrence.

The design keeps the LLM frozen and trains only a small LSTM, embedding table, and soft-prompt projector that translates session history into pseudo-tokens the LLM can reason over — making it feasible to run on a single consumer GPU rather than requiring full model fine-tuning. This extension evaluates the approach on new datasets and probes where intent-aware scoring outperforms conventional collaborative filtering, and where it doesn’t.

View Source →