Skip to Content
Artificial intelligence

How the pandemic readied Alibaba’s AI for the world’s biggest shopping day

The erratic consumer behavior during the pandemic helped Chinese e-commerce giants prepare for Singles’ Day.
November 13, 2020
Tens of thousands of packages wait to be sorted and delivered.
VCG / Stringer via Getty

The news: While the US has been hooked on its election, China has been shopping. From November 1 to 11, the country's top e-commerce giants, Alibaba and JD, generated $115 billion in sales as part of their annual Singles’ Day shopping bonanza. Alibaba, which started the festival in 2009, accounted for $74.1 billion of those sales, a 26% increase over last year. For comparison, Amazon’s 48-hour Prime Day sales only crossed the $10 billion mark this year.

Pandemic stress test: The sheer scale of the event makes it something of a logistical miracle. To pull off the feat, Alibaba and JD invest heavily in AI models and other technology infrastructure to predict shopping demand, optimize the global distribution of goods across warehouses, and streamline worldwide delivery. The systems are usually tested and refined throughout the year before being stretched to their limits during the actual event. This year, however, both companies faced a complication: accounting for changes in shopping behavior due to the pandemic.

Broken models: In the initial weeks after the coronavirus outbreak, both companies saw their AI models behaving oddly. Because the pandemic struck during the Chinese New Year, hundreds of millions of people who would have otherwise been holiday shopping were instead buying lockdown necessities. This behavior made it impossible to rely on historical data. “All of our forecasts were no longer accurate,” says Andrew Huang, general manager of the domestic supply chain at Cainiao, Alibaba’s logistics division.

People were also buying things for different reasons, which was flying in the face of the platforms’ product recommendations. For example, JD's algorithm assumed people who bought masks were sick and so recommended medicine, when it might have made more sense to recommend hand sanitizer.

Changing tack: The breakdown of their models forced both companies to get creative. Alibaba doubled down on its short-term forecasting strategy. Rather than project shopping patterns based on season, for example, Cainiao refined its models to factor in more immediate variables like the previous week of sales leading up to major promotional events, or external data like the number of covid cases in each province, says Huang. As live-streaming e-commerce (showing off products in real time and answering questions from buyers) exploded in popularity during quarantine, the company’s logistics arm also built a new forecasting model to project what happens when popular live-stream influencers market different products.

And JD retooled its algorithms to consider more external and real-time data signals, like covid case loads, news articles, and public sentiment on social media.

Unexpected boon: Adding these new data sources into their models seems to have worked. Cainiao’s new live-streaming AI model, for example, ended up playing a big role in forecasting sales after Alibaba made live-streaming a core part of its Singles’ Day strategy. For JD, its updates may have also increased overall sales. The company says it saw a 3% increase in click-through rate on its product recommendations after it rolled out its improved algorithm, a pattern that held up during Singles’ Day.

Understanding context: Both companies have learned from the experience. For example, Huang says his team learned that each live-stream influencer mobilizes its fan base to exhibit different purchasing behaviors, so it will continue to create bespoke prediction models for each of its top influencers. Meanwhile, JD says it has realized how much news and current events influence e-commerce patterns and will continue to tweak its product recommendation algorithm accordingly.

Update: The relationship between Alibaba and Cainiao has been clarified.

Deep Dive

Artificial intelligence

Sam Altman says helpful agents are poised to become AI’s killer function

Open AI’s CEO says we won’t need new hardware or lots more training data to get there.

Is robotics about to have its own ChatGPT moment?

Researchers are using generative AI and other techniques to teach robots new skills—including tasks they could perform in homes.

What’s next for generative video

OpenAI's Sora has raised the bar for AI moviemaking. Here are four things to bear in mind as we wrap our heads around what's coming.

An AI startup made a hyperrealistic deepfake of me that’s so good it’s scary

Synthesia's new technology is impressive but raises big questions about a world where we increasingly can’t tell what’s real.

Stay connected

Illustration by Rose Wong

Get the latest updates from
MIT Technology Review

Discover special offers, top stories, upcoming events, and more.

Thank you for submitting your email!

Explore more newsletters

It looks like something went wrong.

We’re having trouble saving your preferences. Try refreshing this page and updating them one more time. If you continue to get this message, reach out to us at with a list of newsletters you’d like to receive.