Recommender systems
Conversational, Generative, and Foundation-Model Recommenders
Understand conversational recommendation, generative retrieval, LLM-assisted features, explanations, post-training, grounding, and production constraints.
By the end you can
- Distinguish LLM-assisted, conversational, and generative recommender roles
- Design catalog grounding, state separation, and deterministic validation
- Identify hallucination, prompt injection, memory, explanation, and cost risks
- Evaluate conversation quality, groundedness, task success, and system economics
Evaluation should inspect traces and conversations
Measure candidate recall, valid-ID rate, attribute support, contradiction, clarification turns, task success, user correction, latency, cost, and safety. Two published instruments keep that list from being a wish.
The corpus came first. ReDial, released in 2018, holds 10,006 conversations and 182,150 utterances from 956 users. Inside them sit 51,699 movie mentions. Its authors were measuring against collections far smaller: “In contrast, our corpus has over 10k conversations and 160k utterances.” The number to read twice is the split in those mentions. Of the 51,699, some 35,421 were suggested by the recommender and 16,278 were mentioned by the seeker. Most of what a conversational surface has to stand behind is what it volunteered, not what the user brought.
The rubric came second. Groundedness got a formal definition in 2023, from Rashkin and nine colleagues: “To this end, we present an evaluation framework, Attributable to Identified Sources (AIS), stipulating that NLG output pertaining to the external world is to be verified against an independent, provided source.” AIS is a two-stage human annotation pipeline. It was validated across two conversational QA datasets, a summarization dataset and a table-to-text dataset. That is what an attribute-support metric should be built on. Not a rater's impression that a reply read well.
Human evaluation should use explicit rubrics of that kind and verified catalog evidence. Keep a conventional fallback for model outages and low-confidence states. A conversational surface should be able to say that no eligible item satisfies the constraints.
Fluency earns no credit here; what counts is whether the items exist, satisfy the stated constraints, and arrive cheaply enough to be worth serving.
Case
Retrieval-augmented generation, and the survey of what it fixes
Grounding has a reference implementation and a reference problem.
The implementation arrived in 2020. Retrieval-augmented generation joins a pre-trained sequence-to-sequence model to a dense vector index of Wikipedia, reached through a neural retriever. Lewis and eleven co-authors presented it at NeurIPS. What they reported was a comparison, not a guarantee: RAG models generating “more specific, diverse and factual language than a state-of-the-art parametric-only seq2seq baseline”. Better than a weaker baseline is not an assurance that a named item exists.
The failure it addresses has its own survey. Ji and twelve co-authors surveyed hallucination in natural language generation for ACM Computing Surveys in 2023, and the abstract puts the problem plainly: “deep learning based generation is prone to hallucinate unintended text”. A conversational recommender inherits both papers at once. The architecture, and the failure the architecture was built against but did not close.
Example
About one in twenty generated titles matched nothing in the catalog
The hallucinated item is not a story about one bad reply. It has a measured rate.
GPT-3.5-turbo produced 321,048 top-20 recommendations in a 2023 study, of which 95.51% could be string-matched to the IMDb title database. GPT-4 produced 322,323, of which 94.86% matched. Roughly one in twenty generated titles matched nothing at all. He and eight co-authors ran the count, and they are explicit about what it is: only a lower bound on the non-hallucinated fraction. A string that matches a real title can still be the wrong item, or an unavailable one.
They state the mechanism themselves. “We note that language models trained on open-domain data naturally produce items out of the allowed item set during generation.” That is the whole lesson in one sentence. An item can fit every constraint the conversation established, be described fluently and confidently, and still not be in the catalog. In such a system that is not an anomaly. It is the expected tail. You can measure it on your own catalog before you ship, or discover it from a user who drove to an address that was never there.
- Dialogue value: Conversation elicits constraints and resolves ambiguous intent, and it does most of the talking — 35,421 of ReDial's 51,699 movie mentions came from the recommender side.
- Catalog grounding: Every proposed item needs a valid inventory identity and current eligibility. He and co-authors could only approximate that with a string match against IMDb; a production system can check the identifier exactly.
- Generation risk: The model invents items, attributes, prices, or availability at a countable rate. 95.51% matched for GPT-3.5-turbo and 94.86% for GPT-4, so about 5% of over 320,000 recommendations named something no catalog entry answers to.
- Personalization state: Conversation history mixes durable preference with one-trip context, and nothing in a fluent reply marks which of the two produced a constraint.
- Serving economics: Long prompts and model calls add latency, cost, and privacy exposure to every turn, including the turns that end in no eligible item.
Foundation models can support recommendation without replacing the evidence pipeline
Language and multimodal models can interpret natural-language preferences, summarize histories, encode items, generate synthetic supervision, rerank candidates, create explanations, or participate in conversational search. The recommendation itself should stay tied to eligible catalog items and verified attributes. A generative model may transform the evidence or reason over it. It should not invent the inventory it is authorized to recommend.
Generative retrieval shows how literal that boundary has to be, because there the model generates the item identifier itself. TIGER, presented at NeurIPS in 2023, gives each item a Semantic ID: a tuple of quantized codewords produced by an RQ-VAE over Sentence-T5 embeddings, drawn from a 1,024-token item vocabulary (256 x 4). The model then autoregressively decodes the next item's ID. It works. On the Beauty, Sports and Outdoors, and Toys and Games categories of the Amazon Product Reviews dataset, “TIGER performs considerably better on the Beauty benchmark compared to the second-best baseline with up to 29% improvement in NDCG@5 compared to SASRec”, alongside 17.3% in Recall@5 over S3-Rec.
And a Semantic ID is still a string a decoder produced. A decoded tuple of codewords can fail to name a real item, exactly as a decoded movie title can. That is why the catalog check sits after the decode instead of being assumed inside it.
Deciding which of those roles the model plays is a product choice; letting it decide what is in the catalog is not one.
Visual
A grounded conversational recommendation loop
The loop exists to keep a fluent model attached to real inventory. Elicitation gathers the constraints. Retrieval searches structured stock. Grounded comparison uses verified attributes, availability, price and provenance. The state and feedback layer decides what the conversation is allowed to remember afterwards. Read the layers against the measured failure rate. Elicitation and comparison are where a language model earns its place. Retrieval is the only layer permitted to decide which items exist.
- 01
Intent elicitation
Ask targeted questions and preserve explicit constraints.
- 02
Candidate retrieval
Search structured inventory using collaborative, content, or semantic evidence.
- 03
Grounded comparison
Use verified item attributes, availability, price, and provenance.
- 04
Recommendation response
Present options, tradeoffs, uncertainty, and user control.
- 05
State and feedback
Separate session memory, durable profile updates, and consent.
Analogy
A knowledgeable concierge with a live reservation book
A concierge can take a request as vague as “somewhere quiet, not too far, my mother is visiting” and turn it into three real options. The reservation book still decides whether any of them can be had tonight. Judgment and inventory are separate faculties in that lobby, and they have to stay separate here. The lobby also guards its book in a way nothing guards the model's inputs. Nobody can rewrite the reservation book to flatter a restaurant. A model reads provider-controlled text and can be argued into repeating it. So every item the system proposes is validated against the catalog by something that reads IDs rather than prose.
The asymmetry has been formalised by a national standards body. NIST's taxonomy of attacks on machine learning, NIST AI 100-2e2025, published in March 2025, gives indirect prompt injection its own identifier: NISTAML.015. It ties the attack to retrieval-augmented generation and agent systems. It classes the consequences as availability violation, integrity violation and privacy compromise. And it names the party the concierge never has to worry about: “However, unlike in direct prompt injection attacks, indirect prompt injection attacks are mounted not by the primary user of a model but instead by a third party.” The reservation book and the descriptions the model reads are two different trust channels. Only one of them has an author who wants the recommendation to go a particular way.
Natural-language skill should sit on top of catalog evidence, not substitute for it.
Steps
Design a grounded generative recommender
Fix the catalog boundary before writing a single prompt. Valid item IDs, current eligibility, nothing generated into existence. Then separate the model's roles, validate tool and schema outputs deterministically, and evaluate the conversations rather than the replies.
The last step measures the whole apparatus against search, forms, filters, and conventional re-ranking. The field has a documented base rate for what happens when that step is skipped. A 2019 RecSys paper asked in its title whether neural recommendation was really making much progress, then answered by trying to rerun the work: “Specifically, we considered 18 algorithms that were presented at top-level research conferences in the last years. Only 7 of them could be reproduced with reasonable effort. For these methods, it however turned out that 6 of them can often be outperformed with comparably simple heuristic methods, e.g., based on nearest-neighbor or graph-based techniques.” Even the one remaining reproducible method “clearly outperformed the baselines but did not consistently outperform a well-tuned non-neural linear ranking method”.
Step 5 is not a caution to be nodded at. It is the step whose omission produced 6 of 7 published methods losing to nearest-neighbour and graph heuristics. A conversational surface is a far more expensive thing to leave unchecked than a reranker.
1. Fix the catalog boundary
Require valid item IDs and current eligibility.
2. Separate model roles
Define intent parsing, retrieval, scoring, explanation, and dialogue state.
3. Validate tool and schema outputs
Check IDs, attributes, permissions, and constraints deterministically.
4. Evaluate conversations
Test clarification quality, groundedness, task success, privacy, and abandonment.
5. Compare simpler alternatives
Measure value beyond search, forms, filters, and conventional reranking.
Example
Foundation-model recommendation failures
Catalog hallucination is the failure users notice, and cost-blind architecture is the one finance does. Between them sits the failure someone else chooses for you.
Indirect prompt injection has been run against shipped products. Bing Chat and code-completion engines were compromised in 2023 by prompts planted in data those systems would later retrieve. Greshake and five co-authors did the planting. The abstract of their preprint says why a marketplace that lets suppliers write item descriptions has a security problem and not only a quality problem: “We argue that LLM-Integrated Applications blur the line between data and instructions.” Their taxonomy of impacts runs to data theft, worming and information ecosystem contamination.
- Catalog hallucination: The response invents an item or attribute; the IMDb match rates of 95.51% and 94.86% tell you how often, not whether.
- Prompt injection through content: Provider text attempts to alter ranking or tool behavior. That is the attack Greshake and co-authors ran against Bing Chat and code-completion engines, including control over whether and how other APIs are called. NIST catalogues it as NISTAML.015.
- Unsupported explanation: The rationale cites inferred preferences or facts absent from evidence. An AIS annotation is designed to catch precisely that: output about the external world verified against an independent, provided source.
- Memory overreach: A temporary conversation becomes durable sensitive profiling, with no turn in the dialogue where the user was asked.
- Cost-blind architecture: An LLM replaces a cheap deterministic stage without measurable value — in a field where 6 of 7 reproducible neural methods were often beaten by nearest-neighbour or graph-based heuristics.
Key idea
The grounding gate
Deploy generative recommendation only when every action is bound to valid inventory, verified evidence, explicit state rules, and a cheaper baseline comparison. All four, not the easiest one. Valid IDs and supported attributes still leave latency, cost, the outage fallback and the memory rules outstanding. And a task-success win over a form-based flow is not the same as value weighed against what those model calls cost.
Ungrounded generation fails in the most expensive direction: the user acts on an item or attribute that was never in the catalog, and the product absorbs the cost.
Key takeaways
- Hallucinated items have a measured rate, not just a possibility. 95.51% of GPT-3.5-turbo's 321,048 top-20 recommendations and 94.86% of GPT-4's 322,323 could be string-matched to IMDb, and the authors call that only a lower bound on the non-hallucinated fraction.
- Language and multimodal models can interpret natural-language preferences, summarize histories, encode items, generate synthetic supervision, rerank candidates, create explanations, or participate in conversational search. TIGER shows they can even decode the item identifier — which is exactly why the catalog check must sit after the decode.
- Fluent recommendation language is an interface capability. Groundedness is a separate, annotatable property, defined by Rashkin and nine colleagues as output about the external world verified against an independent, provided source.
- A conversational recommender is judged mostly on what it volunteers. In ReDial's 10,006 conversations and 182,150 utterances, 35,421 of the 51,699 movie mentions came from the recommender and 16,278 from the seeker.
- Provider-controlled text is an attack channel, not just noisy input. It was demonstrated against Bing Chat in 2023 and catalogued by NIST AI 100-2e2025 as NISTAML.015, with availability, integrity and privacy consequences.
- A conversational surface earns its place only if it measurably beats search, forms, filters, and conventional reranking. The last time the field skipped that comparison, 6 of 7 reproducible neural methods were often outperformed by simple heuristics.