June 28, 2021
Machine learning in ecommerce changes online shopping
If we asked anyone for their opinion on the recent explosive growth of ecommerce, they would probably take a protective mask out of their pocket and wave it in front of our noses. At least, anyone who has been living on this planet for the past two years.
To be fair, that would sound like a pretty good explanation, as the global pandemic certainly acted as a massive catalyst for the shift to online retail. In this regard, research seems to confirm the obvious assumption that many people would share after having experienced curfews, quarantines, social distancing, and long queues to access supermarkets.
Based on Statista’s estimates, indeed, ecommerce sales accounted for 11% of the total U.S. retail sales in 2019, jumping to 14% in 2020. The extent of this peak can be easily spotted also by taking into account global data. Again according to Statista, the worldwide retail e-commerce market grew from $ 3,354 billion in 2019 to $ 4,280 billion in 2020, an annual increase never recorded before.
However, the graph above also shows us how the positive trend enjoyed by eсommerce started well before the COVID-19 epidemic. Why? Probably because the success of this new approach to shopping derives not only from a health crisis but also from the entire technological substrate that has allowed this massive transformation of our daily habits. And a significant component of that substrate is represented by artificial intelligence and its sub-branch—machine learning.
Let's see how these innovations are reshaping the way we buy and sell on the web, and why online businesses should consider machine learning implementation when investing in ecommerce development services.
Between 2011 and 2012, Amazon enhanced its purchasing processes with a new recommendation system based on machine learning algorithms. The first effect of its integration was an astonishing 29% increase in sales (equivalent to about $12.83 billion) recorded in the second fiscal quarter of 2012.
But considering such a sales spike as the main benefit ensured by Amazon’s machine learning implementation would be simplistic. After all, this is just a consequence (more than welcome, actually) of something far wider and significant, namely machine learning's ability to connect buyers with the products they want. Including those they didn't realize they wanted.
In traditional shopping, this routing process to guide purchasers towards the right merchandise is based on the interaction between the customers and the sellers. Shopkeepers can ask what customers are looking for, understand their preferences, address their concerns, and offer the right products based on all the information collected and a mix of gut and sales experience.
In technical terms, sellers carry out a simplified, homemade version of the marketing process known as customer or market segmentation, i.e. the classification of potential buyers into sub-groups based on shared characteristics. Then, according to this classification, they offer customized recommendations by targeting customers with the products that best suit their needs.
Unlike physical stores, however, ecommerce portals don't have the luxury of leveraging sellers' experience to operate these two essential tasks, namely segmentation and targeting. And that's where machine learning comes in as part of retail digital transformation.
Machine learning is a discipline within the vast realm of AI, specializing in creating computer algorithms that can autonomously improve their performance through experience. Specifically, machine learning algorithms can be trained by processing huge datasets, spotting patterns among all this information, and building mathematical models representing such patterns.
These models, which are refined as the algorithms process more and more data, offer us valuable insights into certain phenomena and the interconnections among all the variables beneath them. Something that has proven extremely useful to analyze current events, forecast future trends and make data-driven decisions. But how can we apply the extraordinary capabilities of machine learning to ecommerce?
Well, for example, we can leverage algorithms to segment customers and target them with the right offer, somehow replicating the customized experience offered by human sales assistants. That’s what happens with machine learning-based recommendation engines, a rather popular marketing solution among major ecommerce platforms.
Recommendation tools can process past sales data, recognize recurring purchase patterns among typical buyer archetypes, and predict the items that might grab the attention of specific users to provide them with personalized suggestions—a mechanism typically used on a larger scale for predictive analytics in marketing.
According to McKinsey's 2019 The Future of Personalization paper, product recommendation systems can easily increase revenues by 5-15% and marketing-spend efficiency by 10-30%. However, not all recommendation engines are the same. Indeed, they may follow two distinct approaches known as content-based and collaborative filtering, as well as some sort of a hybrid system combining them.
Content-based filtering provides recommendations by focusing on two main factors:
Following this approach, the machine learning algorithm will check a customer's purchase history and recommend other products with similar characteristics to those already bought.
Unfortunately, such a mechanism suffers from some significant drawbacks. First, it requires scrupulous cataloging of all the merchandise present on the ecommerce platform. Secondly, it is a rather "conservative" approach as it tends to suggest the same types of products already purchased previously. And finally, it may have a hard time providing effective suggestions to new users without historical data relating to them.
The other possible solution to segment customers and target them with customized offers is via collaborative filtering. This approach, adopted among others by Amazon, is based on the idea that people with similar preferences in the past will still agree in the future. Hence, an algorithm that follows this strategy will suggest to a customer some new products which have already been ordered and positively rated by other users with similar buying patterns.
In this case, what matters are not the characteristics of a product per se, but the perception that the community has of this product. There are many ways to measure this perception, such as asking users to rate items, probing the merchandise that shoppers check on the ecommerce platform, and so on. The main advantage of this system over the previous one is that collaborative filtering does not require a tedious description of each item in the online store.
However, machine learning-powered recommendation systems using this approach have their flaws too.
When it comes to personalizing the shopping experience and connecting customers to their favorite merchandise, the role of machine learning in ecommerce is not limited to recommendation engines. As you may expect, the same logic examined above can be applied to other aspects of marketing.
Customization is not the only secret to improve the digital customer experience. Another ace in the hole of machine learning is its ability to greatly enhance the quality of interactions between users and online shopping platforms.
The most striking example of this synergy between machine learning and eсommerce is certainly that of chatbots and virtual assistants, an increasingly widespread tool across every industry and deployed in an infinite number of AI use cases (especially those related to customer care).
The ability of modern chatbots to interact with humans relies on natural language processing and deep learning, the newest and most powerful variant of machine learning. These technologies allow chatbots not only to solve simple queries (as in the case of standard, rule-based bots) but also to understand the context in which they operate and, above all, to learn from experience, i.e. from previous interactions with other users.
This results in the ability to maintain a realistic conversation and offer 24/7 customer support. For example, a chatbot can clarify available shipping options, ask questions to understand customer preferences and offer coupons depending on their responses.
Another significant example of machine learning in ecommerce, specifically applied to route customers towards products while offering them a more interactive shopping experience, comes from contextual shopping solutions.
Powered by machine learning and computer vision technologies, these applications can identify and highlight specific products that appear in online videos, giving users the ability to purchase those items without leaving multimedia content. Itransition offered machine learning consulting and development services to build such a solution for the video ecommerce platform provider AiBUY.
Let's conclude this overview with two additional ways to take advantage of machine learning in ecommerce, related to logistics and anti-fraud measures respectively.
When it comes to the logistical aspect of ecommerce, machine learning may play a double pivotal role. First, its forecasting capabilities can be leveraged to match supply and demand, particularly by predicting upcoming sales trends and setting up proper restock planning.
In this regard, you might think about the interconnection between purchases and holiday seasons, but it's not always that simple. Luckily, machine learning-driven systems can certainly have a broader picture of what is going on compared to "mere mortals", as they’re able to take into account an immense number of variables (such as economic trends, customer behavioral patterns, social media sentiment, and more).
Second, machine learning proved to be a useful tool for delivery optimization, processing data from prior cases to select and suggest the best expedition methods and conditions according to customer expectations. For example, a machine learning-based eсommerce platform may decide to offer free or one-day delivery as an incentive to purchase if this option is valued as a deciding factor.
As the world abruptly shifts towards a full digitalization, online fraud and other cybercrimes become an increasingly widespread reality. In such a context, ecommerce platforms can be easy prey for hackers and scammers.
That's why many companies have already turned their gaze to machine learning as a potential weapon to protect their ecommerce portals from a wide range of criminal actions, including identity theft and fraudulent electronic payments.
As we've said earlier, machine learning algorithms can easily spot recurring patterns among the datasets they process. But this implicitly means that they can also notice if something "breaks the rules". Indeed, machine learning in fraud detection is commonly deployed to detect anomalous behaviors among the credit card accounts under scrutiny (such as an increasing frequency of transactions) that may be signs of fraudulent attempts.
In a changing world, it pays to embrace change. And if there's one industry that's evolving faster than the wind, that industry is ecommerce. However, when it comes to implementing machine learning in ecommerce, it might be worth adopting this powerful technology while taking into account three useful tips:
In short, treat machine learning in ecommerce like web advertising for your online shopping platform. Once implemented wisely, it will prove to be an invaluable tool. If deployed poorly or, even worst, over-deployed, it may end up being annoying like those flashy importunate ads on social networks.
In a world moving towards full digitalization, find out how machine learning can help organizations manage the growing spread of fraud and cybercrime.
Learn about the effects of AI in the workplace, how it's reshaping our jobs and careers, and what challenges may arise from its implementation.
Discover how AI in education could be the true keystone to revolutionizing the teaching and learning experience.
Learn why ecommerce businesses need a CRM and how B2C and B2B sellers can take advantage of ecommerce CRMs.
One of the main barriers to AI adoption is identifying the right AI use cases. Find out the best practices to make it less challenging.