01 / The problem
When you need it
“Every visitor sees the same offers, so related and alternative items go unseen and good content stays buried.”
What we need from you
~60 days to first result Continuous Hands-on team involvement
AnswerWell
Scan a code or click a card.Click a card to open the app.Tap a card to open the app.
Data & machine learning · Custom build
A recommendation engine is a system that shows each visitor the products, articles or offers they are most likely to want, based on behavior. We build our own deep-learning recommenders and personalization, using the retrieval-and-ranking designs behind large consumer platforms, and fine-tune them on your real interaction data instead of renting a generic widget.
Scope, timing and fees are agreed for your project before work starts. Service documentation (Wiki)
01 / The problem
“Every visitor sees the same offers, so related and alternative items go unseen and good content stays buried.”
~60 days to first result Continuous Hands-on team involvement
02 / Deliverables
03 / Process
We audit your event data, build a popularity and co-visitation baseline, and set offline metrics such as recall@k and nDCG.
We train retrieval and ranking models, compare them with the baseline offline, and size compute with the math in the deep dive.
We deploy behind an API, run an A/B test against a holdout, and schedule retraining as behavior shifts.
04 / Deep dive
Large platforms use two stages. In YouTube's design (Covington et al., 2016), candidate generation reduces millions of videos to hundreds: a network maps a user's watch and search history to an embedding that is matched against video embeddings by nearest-neighbor search. A ranking network then scores each candidate with richer features and predicts expected watch time. This retrieve-then-rank split, with two-tower models for retrieval, is the standard pattern because scoring every item with a heavy model is too slow.
Ranking models learn from behavior sequences. Alibaba's Deep Interest Network (DIN) weights a user's past items by relevance to the candidate using attention, and DIEN adds a recurrent layer that models how interest evolves. The Behavior Sequence Transformer (BST) applies a transformer encoder to the sequence at Taobao. ESMM estimates conversion rate by training on all impressions with pCTCVR = pCTR × pCVR, which avoids the selection bias of learning only from clicks. Meta's DLRM combines embedding tables for categorical features, an MLP for dense features and pairwise dot-product interactions.
Embeddings dominate memory and freshness. In DLRM-class systems most parameters sit in embedding tables, reported in the trillions at the largest scale. ByteDance's Monolith (2022) tackles two problems: hash collisions, solved with a collisionless embedding table built on cuckoo hashing, and staleness, solved by real-time training with parameters synchronized from training to serving within minutes. It keeps tables bounded by filtering low-frequency IDs and expiring IDs not seen for a set time.
The arithmetic is simple, and we state it as an estimate. Embedding parameters = (users + items) × dimension. Memory = parameters × 4 bytes in fp32, and about three times that with Adam optimizer states. Training FLOPs ≈ 6 × dense parameters × examples, because embedding lookups add little arithmetic. A shop with 1M users and 200k items at dimension 64 has 1.2M × 64 ≈ 77M parameters, which is 0.3 GB. With 2M examples a day over 30 days, 1M dense parameters and an effective 10 TFLOP/s per GPU, one full pass is 6 × 1M × 60M = 0.36 PFLOP, under one GPU-minute.
The table applies the same method to three scales, assuming 2M, 40M and 800M examples per day and 1M, 10M and 100M dense parameters. Real projects also pay for data pipelines, negative sampling, evaluation reruns, serving and A/B tests, and utilization on embedding-heavy models is often below peak, so treat these figures as planning estimates that we replace with benchmarks on your data. Sites in the first two rows can train on a single server, so effort goes into data quality rather than hardware.
| Scale | Users × items | Embedding memory | Training compute | Hardware |
|---|---|---|---|---|
| Small shop | 1M × 200k, dim 64 | 77M params, 0.3 GB | 0.36 PFLOP, under 1 GPU-minute | 1 GPU or CPU server |
| Marketplace | 20M × 2M, dim 64 | 1.4B params, 5.6 GB | 72 PFLOP, about 2 GPU-hours | 1 server, 1-4 GPUs |
| Large platform | 200M × 20M, dim 128 | 28B params, 113 GB | 14 EFLOP, about 400 GPU-hours | 2 × 8-GPU nodes, sharded |
05 / FAQ
A recommendation engine predicts which items a specific visitor is most likely to want and ranks them. Production systems work in two stages: a fast retrieval model narrows millions of items to a few hundred candidates, then a ranking model sorts them using richer features such as recent behavior, context and item attributes. The output appears as related, alternative or personalized blocks.
As a rule of thumb, a learned model starts to beat a popularity or co-visitation baseline once you have thousands of active users and hundreds of thousands of logged interactions. Below that, we start with simple methods and content-based features, and move to deep models as events accumulate. We test this on your data with offline metrics before building anything heavy.
No. Systems such as ByteDance's Monolith exist because of hundreds of millions of users. A shop with a million users and 200,000 items has an embedding table of about 0.3 GB and trains in minutes on one GPU. We size hardware to your numbers and share the estimates, and the deep dive on this page shows the math.
Recommended stack
Services from other practices that serve the same business goals. Combine them in one project brief.
AI agents & automation · Custom build
RAG & GraphRAG AssistantsShared goal: Convert more visitors · Automate with AI
Find records by meaning and exact terms with hybrid BM25 and vectors
Search the official docs of every major search and AI provider
Run crawl-scale analyses that a chat AI has no compute time for