Sony Pixel Power calrec Sony

Pinterest Boosts Home Feed Engagement 16% With Switch to GPU Acceleration of Recommenders

04/08/2022

Pinterest has engineered a way to serve its photo-sharing community more of the images they love.

The social-image service, with more than 400 million monthly active users, has trained bigger recommender models for improved accuracy at predicting people's interests.

Pinterest handles hundreds of millions of user requests an hour on any given day. And it must also narrow down relevant images from roughly 300 billion images on the site to roughly 50 for each person.

The last step - ranking the most relevant and engaging content for everyone using Pinterest - required a leap in acceleration to run heftier models, with minimal latency, for better predictions.

Pinterest has improved the accuracy of its recommender models powering people's home feeds and other areas, increasing engagement by as much as 16%.

The leap was enabled by switching from CPUs to NVIDIA GPUs, which could easily be applied next to other areas, including advertising images, according to Pinterest.

Normally we would be happy with a 2% increase, and 16% is just a beginning for home feeds. We see additional gains - it opens a lot of doors for opportunities, said Pong Eksombatchai, a software engineer at Pinterest.

Transformer models capable of better predictions are shaking up industries from retail to entertainment and advertising. But their leaps in performance gains of the past few years have come with a need to serve models that are some 100x bigger as their number of model parameters and computations skyrockets.

Huge Inference Gains, Same Infrastructure Cost Like many, Pinterest engineers wanted to tap into state-of-the-art recommender models to increase engagement. But serving these massive models on CPUs presented a 100x increase in cost and latency. That wasn't going to maintain its magical user experience - fresh and more appealing images - occurring within a fraction of a second.

If that latency happened, then obviously our users wouldn't like that very much because they would have to wait forever, said Eksombatchai. We are pretty close to the limit of what we can do on CPU basically.

The challenge was to serve these hundredfold larger recommender models within the same cost and latency constraints.

Working with NVIDIA, Pinterest engineers began architectural changes to optimize their inference pipeline and recommender models to enable the transition from CPU to GPU cloud instances. The technology transition began late last year and required major changes to how the company manages workloads. The result is a 100x gain in inference efficiency on the same IT budget, meeting their goals.

We are starting to use really, really big models now. And that is where the GPU comes in - to help make these models possible, Eksombatchai said.

Tapping Into cuCollections Switching from CPUs to GPUs required rethinking its inference systems architecture. Among other issues, engineers had to change how they send workloads to their inference servers. Fortunately, there are tools to assist in making the transition easier.

The Pinterest inference server built for CPUs had to be altered because it was set up to send smaller batch sizes to its servers. GPUs can handle much larger workloads, so it's necessary to set up larger batch requests to increase efficiency.

One area where this comes into play is with its embedding table lookup module. Embedding tables are used to track interactions between various context-specific features and interests of user profiles. They can track where you navigate, and what people Pin on Pinterest, share or numerous other actions, helping refine predictions on what users might like to click on next.

They are used to incrementally learn user preference based on context in order to make better content recommendations to those using Pinterest. Its embedding table lookup module required two computation steps repeated hundreds of times because of the number of features tracked.

Pinterest engineers greatly reduced this number of operations using a GPU-accelerated concurrent hash table from NVIDIA cuCollections. And they set up a custom consolidated embedding lookup module so they could merge requests into a single lookup. Better results were seen immediately.

Using cuCollections helped us to remove bottlenecks, said Eksombatchai.

Enlisting CUDA Graphs Pinterest relied on CUDA Graphs to eliminate what was remaining of the small batch operations, further optimizing its inference models.

CUDA Graphs helps reduce the CPU interactions when launching on GPUs. They're designed to enable workloads to be defined as graphs rather than single operations. They provide a mechanism to launch multiple GPU operations through a single CPU operation, reducing CPU overheads.

Pinterest enlisted CUDA Graphs to represent the model inference process as a static graph of operation instead of as those individually scheduled. This enabled the computation to be handled as a single unit without any kernel launching overhead.

The company now supports CUDA Graph as a new backend of its model server. When a model is first loaded, the model server runs the model inference once to build the graph instance. This graph can then be run repeatedly in inference to show content on its app or site.

Implementing CUDA Graphs helped Pinterest to significantly reduce inference latency of its recommender models, according to its engineers.

GPUs have enabled Pinterest to do something that was impossible with CPUs on the same budget, and by doing this they can make changes that have a direct impact on various business metrics.

Learn about Pinterest's GPU-driven inference and optimizations at its GTC session, Serving 100x Bigger Recommender Models, and in the Pinterest Engineering blog.

Register for GTC, running Sept. 19-22, for free to attend sessions with NVIDIA and dozens of industry leaders.
LINK: https://blogs.nvidia.com/blog/2022/08/04/pinterest-gpu-acceleration-re...
See more stories from nvidia

Most recent headlines

06/10/2025

France Tlvisions Wins Prestigious 2025 EBU Technology & Innovation Award in Groundbreaking Collaboration with Dalet

France T l visions, France's leading broadcaster, has received the 2025 EBU ...

04/09/2025

Monumental Sports & Entertainment and Dalet Win Prestigious 2025 NAB Show Project of the Year Award

Monumental Sports & Entertainment (MSE), in collaboration with Dalet, has been a...

04/07/2025

Give Me the Backstory: Get to Know Tadashi Nakamura, the Filmmaker Behind Third Act

By Lucy Spicer Editor's note: We are deeply saddened by the passing of Robe...

04/07/2025

Spotify Partners With The Reading Agency to Bring the Summer Reading Challenge to Life Through Audio

The Summer Reading Challenge has inspired children across the U.K. to embrace a ...

04/07/2025

Introducing CVP Auctions: Trusted Tech, At Auction-Only Prices

Introducing CVP Auctions: Trusted Tech, At Auction-Only Prices Brie Clayton July 4, 2025 0 Comments A New Destination for Film and Broadcast Gear at U...

04/07/2025

Unveiling China's Ecological Wonders with URSA Mini Pro 12K

Unveiling China's Ecological Wonders with URSA Mini Pro 12K Brie Clayton July 4, 2025 0 Comments Nature Documentaries Freeze Epic Momentsin Extrem...

04/07/2025

Create Any Planet in After Effects

Create Any Planet in After Effects Graham Quince July 4, 2025 0 Comments The Advanced 3D renderer in After Effects makes it really easy to import 3D o...

04/07/2025

Custom Gradient Colorize for Resolve Fusion

Custom Gradient Colorize for Resolve Fusion Simon Ubsdell July 4, 2025 0 Comments Digging into the theory of the gradient colorize process to build ou...

04/07/2025

NESN Gives Red Sox-Reds Matchup a Retro Makeover

Watching live sports on TV these days is a delicate balance for broadcasters how much information is too much?...

04/07/2025

FCC Announces Tentative Agenda for July Open Meeting

WASHINGTON As Federal Communications Commission Chair Brendan Carr works to achieve his goal of a very busy, productive summer at the FCC, the agency has rele...

04/07/2025

Other World Computing Launches OWC Guardian USB-C Hardware-Encrypted Portable SSD

Other World Computing Launches OWC Guardian USB-C Hardware-Encrypted Portable SS...

04/07/2025

CANAL+ Brings MotoGP to Vision Pro with Blackmagic URSA Cine Immersive

CANAL Brings MotoGP to Vision Pro with Blackmagic URSA Cine Immersive Brie Clayton July 3, 2025 0 Comments Experience MotoGP like never before as CA...

04/07/2025

Official trailer revealed for new season of BAFTA-winning Sky Original comedy Mr Bigstuff, coming 24 July

Friday 4 July 2025 Watch the trailer here https://youtu.be/Od5WpvWmDr8 Further...

04/07/2025

Join RT Radio 1 for The Pitch, a new series exploring the heart of Ireland's GAA Clubs

The Pitch comes to RT Radio 1 airwaves this Sunday at 7pm. The Pitch is a brand...

03/07/2025

Introducing: New Carts

For our Vario-Jib, as well as for a repertoire of weights, we now have carts that make transport easier...

03/07/2025

Introducing: Slider Drive Unit

One of our latest innovations: Slider Drive Unit! Our Vario Slider not only comes with improvements and new features, but also with its own drive unit! Our i...

03/07/2025

Introducing: ARRI EVO 360

The 360 EVO lives up to its name: 360-degree rotation not only on the pan axis, but also on the roll axis, enables filmmakers to take their creative visions eve...

03/07/2025

Panther at BSC EXPO 2025

What a buzzing few days at BSCExpo in London! We were thrilled to connect with so many talented professionals from the world of cinematography. A huge thank ...

03/07/2025

"The whole rig had to be detachable mid-episode

ADOLESCENCE - Shot with Panther Tower"The whole rig had to be detachable mid-episode Netflix limited drama series Adolescence has been gaining attentio...

03/07/2025

Advanced Communication Systems Unleash a Tactical Advantage in Modern Combat Operations

To achieve a true level of decisive overmatch, communication systems must be as ...

03/07/2025

Paramount's Ray Hopkins Joins Broadcasters Foundation Board

The Broadcasters Foundation of America has named Ray Hopkins, president of U.S. distribution at Paramount Global, to its board of directors....

03/07/2025

FCC Chair Carr Lays Out Infrastructure Policy Agenda

SIOUX FALLS, S.D. In his first major policy speech, Federal Communications Commission chair Brendan Carr outlined his Build America Agenda for the agency'...

03/07/2025

TV Tech's Top NextGen TV Stories of 2025

As the industry is making a major push to transition to NextGen TV and develop new businesses that will fund the next generation of broadcasting, TV Tech's ...

03/07/2025

Netflix Rolls Out AV1 Film Grain Synthesis Streams for Film Content

Despite enabling its subscribers to watch films and TV shows in the highest possible resolution, Netflix has revealed it is taking things old school with the in...

03/07/2025

FCC's Gomez, Sen. Markey, Critics Blast Paramount-Trump Settlement

WASHINGTON In response to news that Paramount Global has agreed to pay $16 million to settle a lawsuit by President Donald Trump, Democrats and other administra...

03/07/2025

Riedel Communications Unveils RefSuite Sports Ecosystem

WUPPERTAL, Germany Riedel Communications today launched RefSuite for professional sports workflows....

03/07/2025

LYNX Technik Appoints New Executive Leadership Team

WEITERSTADT, Germany LYNX Technik, a provider of modular signal processing solutions, has announced that founder and longtime CEO Winfried Deckelmann is steppin...

03/07/2025

CTA, NCTA, LPTVBA Meet With FCC to Oppose NAB's ATSC 3.0 Petition

WASHINGTON Representatives from six trade groups representing tech, pay TV, broadband, LPTV and other sectors recently met with Federal Communications Commissio...

03/07/2025

Dan Whealy Acquires Heartland Video Systems

PLYMOUTH, Wis. Dan Whealy has acquired Heartland Video Systems and will be its new owner and president, the systems integrator said....

03/07/2025

Filmmaker Jay Holben Releases The Directors Guide to Ever...

Acclaimed filmmaker, educator, and industry veteran Jay Holben has released his most ambitious work to date: The Director's Guide to Everything a sweeping...

03/07/2025

Capturing the Moment - Pruski Photographs Dyke Day LA wit...

For Los Angeles-based photographer Scout Pruski, documenting the annual Dyke Day LA is a way to honor and give back to the city's legacy queer community and...

03/07/2025

New Reinvented Chimera V-Flat Panel Frame Kit

Modular, Travel-Ready Solution Matthews Studio Equipment launches the new Chimera V-Flat Panel Frame Kit, the lightweight and modular, ultra-durable alternativ...

03/07/2025

Dalet Flex LTS Release Elevates Content Workflows with Ne...

Dalet, a leading technology and service provider for media-rich organizations, today announced the release of Dalet Flex 2025.6 LTS (long-term support), introdu...

03/07/2025

Lightware launches LARA Wizard to help integrators simpli...

Lightware's LARA Wizard makes it quicker and easier than ever to set up audio-visual (AV) room automation and control configurations, ensuring anyone, from ...

03/07/2025

Alfalite obtains NCAGE and TAA certifications strengtheni...

Alfalite, the only European manufacturer of LED screens, has obtained both the NCAGE Code (NATO Commercial and Government Entity) and TAA (Trade Agreements Act)...

03/07/2025

WIN streamlines complex live production with nxtedition

nxtedition is implementing a new solution for WIN Network, based in its headquarters in Wollongong, New South Wales, Australia. The nxtedition integrated platfo...

03/07/2025

ORS Group and Insys Video Technologies unite under one br...

ORS Group and Insys Video Technologies today announce the launch of a new joint brand identity: Big Blue Marble. The move reflects the evolution of a long-stand...

03/07/2025

Evergent Proves Cross-Industry Power of AI for Japanese G...

Evergent, a global leader in customer lifecycle management and monetization solutions for subscription-based businesses, today announced the successful results ...

03/07/2025

LYNX Technik Appoints New Executive Leadership Team to Dr...

LYNX Technik, provider of modular signal processing solutions today announces an executive leadership transition, effective July 1, 2025. Markus Motzko has been...

03/07/2025

Chaos Releases V-Ray for Blender

Chaos Releases V-Ray for Blender Brie Clayton July 2, 2025 0 Comments Production-Proven Renderer V-Ray Arrives Natively in Blender for the First Time;...

03/07/2025

Calvin University Adds Blackmagic Replay to Broadcasts and Streams

Calvin University Adds Blackmagic Replay to Broadcasts and Streams Brie Clayton July 2, 2025 0 Comments Replay workflow joins 14 Blackmagic Design cam...

03/07/2025

Berklee's Gospel Performance Program Welcomes Jonathan Nelson as the Herb Alpert Visiting Artist

Berklee's Gospel Performance Program Welcomes Jonathan Nelson as the Herb Al...

03/07/2025

Get ready for even more action! Netflix has confirmed the third season of the Brazilian original series Criminal Code

Back to All News Get ready for even more action! Netflix has confirmed the thir...

03/07/2025

Centralized Cross-Platform Campaigns and Unified Sales Workflows with WO Fusion

In today's fragmented media landscape, advertisers expect more than just reach - they want seamless cross-platform campaigns that deliver measurable results...

03/07/2025

** MEDIA ALERT ** Shonen Jump Store Hosting Los Angeles Pop-up During Anime Expo 2025

** MEDIA ALERT ** Shonen Jump Store Hosting Los Angeles Pop-up During Anime Exp...

03/07/2025

Sky Arts Unveils New Mozart Season, Celebrating the Legacy of Classicals Greatest Maestro

Thursday 3 July 2025 David Harewood and Matthew Broome in Mozart: Genius for Hi...

03/07/2025

Sky announces 2025 Sky WNT Fund Recipients

The Sky WNT Fund supports Womens National Team players with a 30,000 bursaryThursday 3 July 2025 Sky Ireland has announced the four recipients of the 2025 Sky...

03/07/2025

GeForce NOW's 20 July Games Bring the Heat to the Cloud

The forecast this month is showing a 100% chance of epic gaming. Catch the scorching lineup of 20 titles coming to the cloud, which gamers can play whether indo...

02/07/2025

Release Rundown: What to Watch in July, From FOLKTALES to Oh, Hi!

Hege Wik and Odin appear in FOLKTALES by Heidi Ewing and Rachel Grady, an official selection of the 2025 Sundance Film Festival. Courtesy of Sundance Institut...

02/07/2025

IGUALADA Beats the Odds in the Ultimate Underdog Tale

(Stephen Lovekin/Shutterstock for Sundance Film Festival) By Patty Consolazio This one's for any person who's ever felt put down, left out, marginaliz...