CASE Study
Generative AI Drives Personalized Recommendations and Revenue Growth for E-Commerce
Generative AI Drives Personalized Recommendations and Revenue Growth for E-Commerce
Our Client

Our client is a mid-sized ecommerce company operating in the competitive online fashion retail space. With over 700 apparel and accessories products across categories like womenswear, menswear, and footwear, they sell multiple brands targeted at style-conscious 20-35 year old consumers.

As a digital-native vertical retailer lacking the resources of larger competitors, our client needed an innovative strategy to stand out. Their goal was to increase engagement, conversions, and revenue by providing customized recommendations and promotions tailored to each individual shopper based on preferences and history. However, performing individualized personalization manually across their extensive product catalog and highly diverse customer base was not operationally feasible.

The Challenge

With hundreds of products and limited visibility into individual customer nuances, tailoring unique recommendations posed a significant challenge. Rather than solely relying on generalized recommendations, our client wanted to provide customized friendly suggestions based on each active customer's interests to reduce abandonment rates. The main challenge was to either upsell customers on multiple items they were interested in with discounted combos or reminders, or provide personalized discounts real-time for individual items a high risk abandonment customer was actively viewing.

Furthermore, our objective was to personalize the messaging itself for each customer, with the goal of enhancing resonance and amplifying engagement. This required tailoring the language, tone and offers in real-time popups to align with that individual's preferences and context.

Our Solution

To meet the complex personalization needs of this project, we designed an integrated system optimized for capability, scalability and low-latency.

At the core, we leverage a dedicated instance of Meta's LLAMA-2 natural language model hosted on Azure. After evaluating alternatives like GPT-4, LLAMA-2 was selected due to its optimal balance of conversational ability and high throughput performance. By deploying the mid-size "13B chat" version on Azure, we can achieve strong contextual language generation while maintaining millisecond response times required for real-time use cases.

Critically, the fully managed Azure deployment allows us to maintain control and tailor LLAMA-2 for our specific inference performance needs. We also apply additional content safety wrappers to ensure brand safety.

LLAMA-2 is combined with additional purpose-built components for functions like customer browsing analysis and risk of abandonment prediction, real-time pricing optimization, and personalized popup messaging. Azure Kubernetes Service handles orchestration of these elements into an integrated workflow.

Together, this ensemble approach leverages the strengths of LLAMA-2, cloud scale, and specialized components to analyze and predict customer behavior. It enables responding contextually to each individual across every visit with personalized language. This integrated system provides comprehensive real-time personalization capabilities powered by an ideal language model.

System Design

The system consists of four key components working together:

  • Customer Risk Model: A machine learning classifier trained on historical website visit data to predict the risk of basket abandonment for each user based on their browsing patterns. The model was built using Azure Machine Learning and deployed as a real-time web service endpoint.
  • Dynamic Pricing: A pricing optimization script that calculates the best possible discounted price for each product or combination based on inventory data, sales velocities, and the predicted abandonment risk for that specific user. The customized prices are generated in real-time for each visitor.
  • Personalized Recommendations: The core of the solution - LLAMA-2 generates natural language suggestions for complementary products and personalized combo deals by analyzing the user's recent browsing history and the available discounted offer details. The chat model provides conversational recommendations tailored to each user's context.
  • Real-time Popup Display: After collecting enough browse data, the system surfaces a customized popup directly on the site with the personalized recommendations and promotions from LLAMA-2. The popup content matches the individual's nuanced style/fit preferences and pricing discounts.
Tech Stack
  • Azure Machine Learning - Used to host machine learning pipelines and LLAMA-2 endpoints deployed on Azure Kubernetes Service for scalable low-latency inference.
  • Azure Cognitive Services - Provides a content moderation API to filter text generated by LLAMA-2.
  • Azure Kubernetes Service - Containerizes and orchestrates the machine learning, LLAMA-2, and other services to power the personalization workflow.
  • MongoDB Atlas - Fully managed MongoDB on Azure hosts the product catalog, customer data, and analytics databases.
  • Redis Cache - Caches temporary data like user sessions and recent browse history for fast, low-latency access.
  • Azure Functions - Serverless functions connect the components and process user data flows.
Outcome

18%

Increase in average order value from improved upsell conversion rates

21%

Reduction in cart abandonment by re-engaging high-risk users

26%

Growth in total online revenue

Our personalized solution powered by LLAMA-2 delivered significant uplift during a 3-week A/B test versus control, validating the enterprise value of large language models deployed at scale. The integration of predictive machine learning and LLAMA-2's conversational capabilities strongly resonated with customers.

Given the pilot's success, our client has deployed the solution company-wide. We are collaborating on expanded personalization initiatives like tailored onboarding, customized product descriptions, and data-driven re-engagement messaging. This project has unlocked further opportunities to transform experiences across touchpoints, powered by impactful AI-driven personalization.

Generative AI Drives Personalized Recommendations and Revenue Growth for E-Commerce
Embrace AI's Transformative Power
Meet with our experts to explore how enterprise-grade AI solutions can transform your business operations and empower future success. Discover the immense potential AI can unlock for your organization.
Book a Meeting Button
Read More
No items found.