The cold start problem
Small or new retailers simply don't have enough data to train an effective recommendation algorithm.
Federated recommendations for retail
Carusel uses federated deep learning to allow every retailer to access powerful recommendations without any transaction, customer or catalogue data leaving your organisation.
The problem
Small or new retailers simply don't have enough data to train an effective recommendation algorithm.
The feature engineering for an effective algorithm is difficult, time-consuming and needs constant maintenance.
Traditional recommenders only go so far as the retailer's own data. If you add a new product or range, your recommender won't know what to do with it.
Retailers are leaving money on the table with these traditional systems. But there is a new way.
The solution
Every retailer trains the same shared model on its own data, in its own systems, and shares only small, masked updates. The result is a recommender that learns from the whole network, while each retailer's transactions, customers and catalogue stay under its own control.
Our results demonstrate a strong uplift in predictive performance for Carusel versus matrix factorisation algorithms.
Learn from every retailer, not just your own. Small and new retailers start from a model that has already learned from the whole network.
The model reads purchase histories and product descriptions as plain text. There are no hand-built features to design or maintain.
How it works
Every retailer converts its own tables into plain text locally. Text is the common language, so retailers with different systems and different catalogues need no shared schema and no feature engineering.
Illustrative example
The language model underneath is public and frozen. Each retailer trains only a small add-on, a LoRA adapter that is about 0.013% of the size of the model. Nothing about customers is in the model that moves.
Every pair of retailers agrees a secret number using a cryptographic key exchange. The coordinator relays retailers' exchanges but cannot read them, and no retailer-to-retailer connection is required. From that shared secret, both retailers generate the same mask. One adds it to its update and the other subtracts it.
When the coordinator adds all the updates together, every mask appears once with a plus and once with a minus, so they cancel exactly. It sees only masked noise from each retailer, yet it can still compute the correct total.
In SecAgg+, each retailer also secret-shares its keys with others, so the round still completes if a retailer drops out.
Simplified secure aggregation (SecAgg+), real values computed live
The coordinator averages the masked updates into one improved adapter and sends it to every retailer. Each retailer then trains again on its own data, starting from a model that has learned from all of them.
The loop of train, share and return repeats for an agreed number of rounds. Each retailer then deploys the final adapter in its own recommender.
Results
Mean reciprocal rank (higher is better), mean over five retailers. Each retailer is ranked against its full catalogue of about 21,100 items, on 5,000 held-out purchases.
iALS is a leading matrix-factorisation recommender. The language model trained on one retailer’s data alone, with no federation.
Change in MRR of the federated language model compared with iALS trained alone on the same retailer’s customers. Bars show the mean of five seeds; whiskers show the 95% interval.
At 2,000 customers the federated model scores about double iALS. At 200,000 customers it is still about 54% ahead.
Each line is one retailer in one training run, 15 in all (5 retailers × 3 seeds). It joins the score of that retailer’s own locally trained model to the score of the federated model, with the same compute. Teal lines rise, amber lines fall.
retailer runs where federation scored higher on MRR
When federation doesn't provide a benefit the downside is limited: a retailer can check both models on its own held-out data and simply keep whichever is better.
Note that the best gains are larger than the worst losses.
Privacy
Secure aggregation hides each retailer’s individual update from the coordinator. We then tried to break it, Our tests showed that you cannot meaningfully construct a retailers' transaction data with access to the final or interim models.
Attack AUC across all retailers pooled. 0.5 means guessing.
Join the pilot
We are looking for retailers to take part in the pilot. If you are looking to supercharge your marketing and e-commerce we would like to hear from you.
Want the detail first? Read the paper.