Recommendation approaches and when each fits
"Recommendations" covers several techniques, and the right one depends on how much interaction data you have, how fast your catalog changes and what you are recommending. We often combine more than one.
| Approach | How it works | Fits when | Limitation |
|---|
| Rules and popularity | Best sellers, trending items, editor picks by category | New platforms, small catalogs, a fallback for new users | Same for everyone; no personalization |
| Content-based | Suggests items similar in attributes or description, often using embeddings | Catalogs with rich attributes, many new items | Can be repetitive; ignores what similar users liked |
| Collaborative filtering | Learns from patterns of what users view, buy or read together | Plenty of interaction history | Struggles with new items and new users |
| Learning-to-rank hybrid | A model ranks candidates from several sources using user, item and context features | Mature platforms optimizing a clear business measure | More data and engineering effort |
A sensible path is to start with rules and content-based suggestions, which work from day one, then add collaborative signals as interaction data builds up. Deeper custom modeling is covered in our recommendation engines service.
The data recommendations need
Recommendations learn from events. Before modeling, we check what your platform already records and fill the gaps:
- Interaction events: views, clicks, add-to-cart, purchases, reads, watch time or downloads, each with a user or session ID, item ID and timestamp.
- Exposure events: which items were shown to the user, not only which were clicked. Without these, the model cannot learn what users ignored.
- Catalog data: categories, attributes, descriptions, availability and launch dates.
- Context: device, location at city or region level, time of day and channel, where relevant and permitted.
Consistent IDs matter more than volume. If the same product has different IDs in your app and your website, or users are not linked between sessions after login, the data must be cleaned before any model will perform well.
Serving architecture: candidates, ranking and rules
Most production recommenders work in stages, which keeps response times low even for large catalogs:
- Candidate generation pulls a few hundred plausible items from several sources: similar items, items bought together, the user's recent categories and popular items.
- Ranking scores those candidates for this user and context.
- Business rules remove out-of-stock or restricted items, enforce diversity so one brand does not fill every slot, and apply merchandising priorities you set.
Precomputed results, such as "similar items" for every product, are refreshed in batch and cached. Personalized ranking runs at request time within a strict latency budget, with popular items as the fallback if anything is slow. Your website, app or CRM calls one API and receives a ranked list.
In production we monitor more than uptime. Coverage shows how much of the catalog is ever recommended, concentration shows whether a few items dominate every slot, and freshness shows whether new items reach users. A sudden change in any of these usually means a data feed has broken or a rule is misconfigured, and it is caught before it shows up in sales or engagement.
Cold start, diversity and trust
New users and new items have no history. For new users, we rely on context and the first few interactions in the session, plus popular items in the category they entered from. For new items, content-based similarity places them next to comparable items until they collect their own interactions. A small, controlled share of exploration lets new items be shown at all, rather than staying invisible forever.
Recommendations that are too narrow feel repetitive, and recommendations based on sensitive inferences can feel intrusive. We add diversity rules, avoid using sensitive categories of personal data, let users dismiss suggestions and keep an explanation for each recommendation, such as "because you viewed", which helps both users and your team understand why an item appeared.
Testing impact properly
Offline metrics, which measure how well a model predicts past behavior, are useful for comparing models but do not prove business impact. Real impact is measured with online A/B tests against your current experience, on a measure agreed in advance: revenue per session, conversion, items per order, content engagement or follow-up actions completed in a CRM. We also watch guardrail measures, such as returns, unsubscribes or complaints, so a gain in clicks does not hide a loss elsewhere. Tests run long enough to cover weekly patterns, and results are reported with their uncertainty rather than as a single headline number.
Next best action in CRM and B2B settings
Recommendations are not only for shopping. In a CRM, the same approach can suggest the next action for a salesperson or relationship manager: which account to call, which product to propose, which customer is likely to need a renewal reminder. Here the user is an employee, so each suggestion shows its reasons and the employee decides. For distributors and B2B sellers in India, recommendations can suggest reorder quantities or related items to dealers based on their purchase history. Related pages: personalization and recommendations, e-commerce and media.