liveBook · Manning

Chapter 1: Recommendations, recommender systems, and components

What you will learn in chapter 1 of AI Recommender Systems

The introduction establishes why recommender systems matter in everyday online experiences and previews the chapter’s topics.

After this chapter you will be able to

Section by section

Introduction

The introduction establishes why recommender systems matter in everyday online experiences and previews the chapter’s topics.

Key terms: recommender systems, filter information

1.1 Starting on Recommender Systems

This section introduces recommender systems as a cross-disciplinary field, highlights pitfalls that distinguish them from standard machine learning, and contrasts their selection role with generative AI.

Key terms: RecSys, train-test splits, future information, prediction accuracy, user experience, GenAI, recommender systems, existing content, multiple approaches, one-size-fits-all model

1.2 What is a Recommendation

Defines recommendations as intentional item selections, identifies the inputs recommender systems use, and distinguishes user-seeded from item-seeded recommendations.

Key terms: recommendation, Popular Products, Recommended for you, recommender system, content metadata, behavioral data, contextual data, seed, user-to-item recommendations, U2I

1.2.1 User-to-item recommendations (U2I)

This section explains how user-to-item recommendations use information about a person, and how even a popularity-based carousel can be personalized.

Key terms: user-seeded recommendations, history, profile, current context, Popular on Netflix, Recommended for you, candidates, ranking, reranking, personalization

1.2.2 Item-to-item recommendations (I2I)

This section explains how item-to-item recommendations use a viewed item as their starting point, the purposes they can serve, and the data that can support them.

Key terms: item-to-item (I2I) recommendations, user profile, seeded by an item, similar item recommendations, complementary product recommendations, complete the look, frequently bought together, up-selling, cross-selling, content metadata

1.3 Building Recommenders with Different Data Types

This section introduces the data that powers recommenders, the user feedback loop, and a uniform random baseline for comparison.

Key terms: content metadata, behavioral data, contextual data, content-based recommenders, collaborative filtering, context-aware recommenders, catalog, regional licensing, inventory constraints, feedback loop

1.3.1 Content-based recommendations with metadata

This section shows how item metadata can drive content-based comic recommendations, then explains the resulting recommendation pattern and the approach’s limitations.

Key terms: content-based recommenders, item metadata, features, similarity, item-seeded recommendation, user-seeded recommendation, recent interactions, tags, categorical attributes, Jaccard similarity coefficient

1.3.2 Collaborative filtering with Behavioral data

Explains how collaborative filtering uses user behavior to make recommendations and how feedback from recommendations can create challenges over time.

Key terms: collaborative filtering, behavioral data, content-based, user-item interaction matrix, user-based collaborative filtering, dot product, user similarity, item-based collaborative filtering, co-consumption, similar items

1.3.3 Contextual data

This section explains how context changes recommendation relevance and how contextual signals are commonly added to other recommenders.

Key terms: context, relevance, contextual data, context-based system, context-aware system, reranking, candidates, contextual signals, data dimensionality, privacy concerns

1.3.4 Available Datasets

This section identifies public datasets for learning and experimenting with recommender systems when production data is unavailable.

Key terms: production data, public datasets, MovieLens

1.4 What is a Recommender System

Explains why production recommender systems combine techniques in a multi-stage pipeline instead of scoring every item with an expensive model.

Key terms: multi-stage pipeline, candidate pool, finalists

1.4.1 The four-stage recommender system

The section explains how a four-stage recommender pipeline turns a broad set of candidates into a personalized, ordered list.

Key terms: retrieval, filtering, scoring, ordering, candidates, affinity scores, Popular on Netflix, popular content, personalized affinity score, separating concerns

1.4.2 The four-stage architecture across domains

The section shows how the four-stage architecture applies beyond streaming and explains why separating its stages helps, despite coordination challenges.

Key terms: retrieval, filtering, scoring, ordering, Customers also bought, Retrieval-Augmented Generation (RAG), LLM, separation of concerns, retrieval stage, scoring stage

1.5 Further reading

1.6 Summary

Where this is used later

Concepts explained in this chapter

Chapter 2: Implementing a simple recommender model →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.