Thought Leadership

How GPU-Optimized AI Transformed Product Search at Walmart

July 17, 2025
Authored by
Nicole Hemsoth Prickett
Head of Industry Relations
How GPU-Optimized AI Transformed Product Search at Walmart
This blog post was written in
2025
and reflects product capabilities at that time. Some information may be outdated.

What goes on behind the scenes when millions of Walmart shoppers type their queries into the search bar?

The long answer unfolds in milliseconds.

A recent paper from Walmart researchers highlights the recent deployment of a BERT-based cross encoder model, showing how product relevance is computed in real-time, especially for those trickier long-tail queries that have historically defied more simplistic optimization.

Transformer-based architectures like BERT are notoriously powerful, capable of grasping nuance, context, and intent in ways that conventional models, especially simpler dual encoder systems, struggle to match.

But as is ever the case there’s a tradeoff. This power comes at a steep cost, a formidable computational weight that can crush responsiveness, especially when scaled across millions of daily queries.

Recognizing the gravity of latency at this scale, Walmart focused heavily on GPU-level optimizations.

By implementing intermediate representations of the model, operator fusion to reduce redundant memory access, and careful vectorization to streamline I/O, Walmart's team coaxed roughly a 5x reduction in inference latency from the model.

Further enhancements like pre-tokenizing product information and compressing payloads before shuttling them between storage and GPU clusters chipped latency overhead down dramatically, from 30% to just a fraction of its initial burden.

Additionally, fine-tuning GPU parameters, such as batch sizes and the number of concurrent worker threads, drove further improvements, halving median latency and cutting peak latency fourfold.

At an enterprise of Walmart’s size, shaving milliseconds isn’t trivial. Real-world experiments validated these efforts, with measurable lifts in key customer engagement metrics, including increased add-to-cart events, reduced abandonment rates, and fewer clicks required to find and purchase desired products.

Walmart’s deployment shows how AI, when thoughtfully optimized at the infrastructure level, can elevate the consumer experience at staggering scale.

Share this

More from this topic

How Inference Is Forcing a Rethink of AI Infrastructure

How Inference Is Forcing a Rethink of AI Infrastructure

When it comes to large-scale systems for AI, the engineering focus has shifted from training to inference where the performance bottlenecks look very different and where infrastructure...
November 11, 2026
The New Rules of AI Inference Optimization and Future-Proofing

The New Rules of AI Inference Optimization and Future-Proofing

AI infrastructure has always been a moving target, but the pace of change today is challenging even the most experienced system architects. Models are evolving, inference workloads are becoming more…
November 4, 2026
CoreWeave on Building Resilient AI Infrastructure at Massive Scale

CoreWeave on Building Resilient AI Infrastructure at Massive Scale

At CoreWeave’s scale, the definition of a computer is getting bigger. A rack full of GPUs can now behave as a single logical system, and increasingly the same thinking has to extend across rows and…
October 28, 2026

Let’s talk about your data

Whether you want to speak with sales, see a personalized demo, or work through your architecture with a systems engineer, we’re here to help. Choose how you’d like to connect.