This repository contains the working drafts, code examples, diagrams, and research literature for the book "AI-Powered Personalization: An Industry Guide to Building Recommender Systems at Scale" authored by Shreesha Jagadeesh.
I have been in Machine Learning for nearly a decade. For the last 4+ years, I have been leading ML teams building ML/AI models at Best Buy focused on Recommender Systems, Adtech, Personalization, and Marketing use cases. My contribution as a leader spans both ML Science (algorithm development) and ML Engineering (building out the overall systems). At Best Buy, I am responsible for customer-facing models that serve 100+ million users annually.
When I entered RecSys/Personalization, I noticed that as an industry practitioner, I had to cobble together disparate sources of information — blogs, videos, research articles — to ramp up. This appears to be the case for many others I have spoken to. While there are excellent books on ML systems, they usually focus on general principles and do not go deep into the specifics of building RecSys engines. Nor do they guide engineering leaders on how to implement an enterprise strategy for a portfolio of RecSys/personalization use cases at their company. This book presents a unified narrative on the industry-standard ways of implementing RecSys/Personalization solutions and guides leaders on successful execution.
This book is a practical guide to designing, building, and scaling real-world recommender systems. It is aimed at ML engineers and technical product leaders who want to understand modern multi-stage architectures, online deployment strategies, and the use of deep learning, LLMs, and vector databases in recommender systems.
The book includes extensive mini case studies both from the author's experience and from industry engineering blogs that provide insights into architectural design choices. There are additional code tutorials on selected model-related topics, although coding is not the main focus of the book. Hopefully, new entrants to the industry can ramp up much faster by reading this book.
Note: this book will not cover the mechanics of Data Science or Deep Learning fundamentals. Readers are assumed to be either practicing ML Engineers who know how to build supervised ML models in other domains, or engineering leaders looking for architectural patterns, reusability best practices, and what works in the industry.
After reading this book, the reader will be able to:
While this is not a code-oriented book, there is just enough code within each chapter to get the gist of each topic, with accompanying tutorials in the repository containing far more details that readers are encouraged to run in their own machines.
| Folder | Description |
|---|---|
chapters/ | Chapter drafts (docx + PDF) |
code/chapter5_retrieval/ | Chapter 5 — Retrieval (two-tower models, FAISS) |
code/chapter6_ranking/ | Chapter 6 — Ranking basics (XGBoost, DeepFM) |
code/chapter7_advanced_ranking/ | Chapter 7 — Advanced ranking (DCN-V2, DLRM, MMoE) |
code/chapter8_value_functions/ | Chapter 8 — Value functions, MMR diversity, business rules |
code/chapter9_adtech/ | Chapter 9 — Adtech (ESMM, federated Split NN, calibration) |
code/chapter10_item_embeddings/ | Chapter 10 — Item embeddings (SBERT, Item2Vec, contrastive fine-tuning, multimodal fusion) |
code/chapter11_user_embeddings/ | Chapter 11 — User embeddings (aggregation, SASRec/GRU4Rec, LightGCN) |
code/chapter12_llms_for_recs/, code/appendix_hybrid_search/ | LLM-recommendation methodology notes and hybrid-search appendix code |
Chapter-specific README.md files | Setup instructions, dataset notes, and expected outputs per chapter |
Each chapter's code folder is self-contained with its own requirements, data loaders, training scripts, and evaluation utilities.
If you are a reviewer, please use Pull Requests or Issues to suggest changes. I am looking for feedback from three reader personas:
If you'd like early access to the chapters, please email me directly or open an issue.
Book publication is planned via self-publishing channels (Gumroad / Leanpub). A free online version may be offered in the future.
35 commits
Python
100.0%
This repository contains the working drafts, code examples, diagrams, and research literature for the book "AI-Powered Personalization: An Industry Guide to Building Recommender Systems at Scale" authored by Shreesha Jagadeesh.
I have been in Machine Learning for nearly a decade. For the last 4+ years, I have been leading ML teams building ML/AI models at Best Buy focused on Recommender Systems, Adtech, Personalization, and Marketing use cases. My contribution as a leader spans both ML Science (algorithm development) and ML Engineering (building out the overall systems). At Best Buy, I am responsible for customer-facing models that serve 100+ million users annually.
When I entered RecSys/Personalization, I noticed that as an industry practitioner, I had to cobble together disparate sources of information — blogs, videos, research articles — to ramp up. This appears to be the case for many others I have spoken to. While there are excellent books on ML systems, they usually focus on general principles and do not go deep into the specifics of building RecSys engines. Nor do they guide engineering leaders on how to implement an enterprise strategy for a portfolio of RecSys/personalization use cases at their company. This book presents a unified narrative on the industry-standard ways of implementing RecSys/Personalization solutions and guides leaders on successful execution.
This book is a practical guide to designing, building, and scaling real-world recommender systems. It is aimed at ML engineers and technical product leaders who want to understand modern multi-stage architectures, online deployment strategies, and the use of deep learning, LLMs, and vector databases in recommender systems.
The book includes extensive mini case studies both from the author's experience and from industry engineering blogs that provide insights into architectural design choices. There are additional code tutorials on selected model-related topics, although coding is not the main focus of the book. Hopefully, new entrants to the industry can ramp up much faster by reading this book.
Note: this book will not cover the mechanics of Data Science or Deep Learning fundamentals. Readers are assumed to be either practicing ML Engineers who know how to build supervised ML models in other domains, or engineering leaders looking for architectural patterns, reusability best practices, and what works in the industry.
After reading this book, the reader will be able to:
While this is not a code-oriented book, there is just enough code within each chapter to get the gist of each topic, with accompanying tutorials in the repository containing far more details that readers are encouraged to run in their own machines.
| Folder | Description |
|---|---|
chapters/ | Chapter drafts (docx + PDF) |
code/chapter5_retrieval/ | Chapter 5 — Retrieval (two-tower models, FAISS) |
code/chapter6_ranking/ | Chapter 6 — Ranking basics (XGBoost, DeepFM) |
code/chapter7_advanced_ranking/ | Chapter 7 — Advanced ranking (DCN-V2, DLRM, MMoE) |
code/chapter8_value_functions/ | Chapter 8 — Value functions, MMR diversity, business rules |
code/chapter9_adtech/ | Chapter 9 — Adtech (ESMM, federated Split NN, calibration) |
code/chapter10_item_embeddings/ | Chapter 10 — Item embeddings (SBERT, Item2Vec, contrastive fine-tuning, multimodal fusion) |
code/chapter11_user_embeddings/ | Chapter 11 — User embeddings (aggregation, SASRec/GRU4Rec, LightGCN) |
code/chapter12_llms_for_recs/, code/appendix_hybrid_search/ | LLM-recommendation methodology notes and hybrid-search appendix code |
Chapter-specific README.md files | Setup instructions, dataset notes, and expected outputs per chapter |
Each chapter's code folder is self-contained with its own requirements, data loaders, training scripts, and evaluation utilities.
If you are a reviewer, please use Pull Requests or Issues to suggest changes. I am looking for feedback from three reader personas:
If you'd like early access to the chapters, please email me directly or open an issue.
Book publication is planned via self-publishing channels (Gumroad / Leanpub). A free online version may be offered in the future.
35 commits
Python
100.0%