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

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...

01/05/2025

Fired CPB Board Members Sue Trump Administration

WASHINGTON The Corporation for Public Broadcasting has filed a lawsuit to stop the Trump administration from firing three of its board members, claiming the pre...

01/05/2025

Riedel Opens Hong Kong Office

HONG KONG Riedel Communications today said it has opened a new office in Hong Kong, enhancing its presence in the Asia-Pacific region....

01/05/2025

NextGen TV: Sinclair Applauds New ATSC 3.0 D2M Phones

MUMBAI, India & BALTIMORE In a development that could advance efforts to bring NextGen TV to cellphones, FreeStream Technologies, Lava International and HMD hav...

01/05/2025

Screen Australia empowers 100+ distinctive Australian narratives

01 05 2025 - Media release Screen Australia empowers 100 distinctive Australian narratives All The Boys Are Here writer/director Goran Stolevski and It s All...

01/05/2025

How PFX Delivered 750 VFX Shots in Just Four Months For Anthony Hopkins Thriller Locked

How PFX Delivered 750 VFX Shots in Just Four Months For Anthony Hopkins Thriller...

01/05/2025

Careline's New Wave Makeup Commercial Shot With URSA Cine 12K LF

Careline's New Wave Makeup Commercial Shot With URSA Cine 12K LF Brie Clayton May 1, 2025 0 Comments CAD Studios relies on large format, full fram...

01/05/2025

RT Investigates reveals details of Christian Brothers who managed congregation's assets are now convicted jailed child sexual abusers

RT Investigates reveals details of Christian Brothers who were senior leaders a...

01/05/2025

RT Statement Enterprise Resource Planning (ERP) project

RT Statement The Enterprise Resource Planning (ERP) project is one of the projects that was funded from the proceeds of RT 's land sale in 2017, the init...

01/05/2025

RT is Supporting 28 Arts and Cultural Events all over Ireland this May

Watch our promo: RT Supporting the Arts | What's on This May, RT is delighted to support Bealtaine Festival, Fastnet Film Festival, and Dublin Dance Fest...

01/05/2025

Wandercraft Begins Clinical Trials for Physical AI-Powered Personal Exoskeleton

For Nicolas Simon, advancing the field of robotics is a personal mission that could change his siblings' lives. Two-thirds of Simon's family members us...

30/04/2025

Inside the Archives: Preserving and Saving At-Risk Films Takes a Village

Film elements held at the Deluxe warehouse in March of 2015. Photo by Luis Silva...

30/04/2025

Spotify and EA SPORTS Team Up To Pilot a New Kind of Audio Experience

EA SPORTS FC 25 fans in Australia and Saudi Arabia, get ready to immerse yourselves in the beautiful game like never before. Spotify is excited to announce a n...

30/04/2025

Tucker Wetmore Celebrates His Debut Album Release With an Intimate Performance for Fans

The past year has been nothing short of a whirlwind for Tucker Wetmore. After th...

30/04/2025

Spotify Celebrates Mexico's Booming Podcast Scene With First-Ever Podcast Awards

Mexico's love for podcasts is no longer a trend-it's a lifestyle. With m...

30/04/2025

Slam poet Huda the Goddess wins 2025 Les Murray Award

Slam poet Huda the Goddess wins 2025 Les Murray Award 30 April, 2025 Media releases Australia for UNHCR and SBS are proud to announce that Huda Fadlelmawla...

30/04/2025

SBS, NITV and NIDA partner to empower the next generation of screen creatives

SBS, NITV and NIDA partner to empower the next generation of screen creatives 30 April, 2025 Media releases SBS, National Indigenous Television (NITV) and ...

30/04/2025

Why Now is the Perfect Time to Join HPA

By Joyce JC Cataldo The media and entertainment industry is evolving faster than ever. Technology is shifting the way we create, distribute, and experience c...

30/04/2025

On-Demand Imagery: Enhancing Monitoring and Analysis with Advanced Streaming Platforms

An image of Valencia, Spain, in the OneAtlas Living Library...

30/04/2025

WPSD-TV Taps Bitcentral To Modernize Playout

NEWPORT BEACH, Calif. WPSD-TV, the NBC affiliate in Paducah, Ky., has selected Bitcentral's Central Control playout system to upgrade the station's mast...

30/04/2025

Baris Zavaroglu Appointed CEO of Zero Density

AMSTERDAM Zero Density, a global provider of virtual studio productions and on-air graphics, has appointed Baris Zavaroglu as its new CEO. Zavaroglu succeeds Of...

30/04/2025

The Avit Group Elevates Audio-visual Experiences with Mar...

The Avit Group, a forward-thinking audio-visual technology company, is bringing over 50 years of combined experience in delivering audio-visual design and insta...

30/04/2025

NXTGENbps brings portable, sustainable battery solutions...

NXTGENbps will be showcasing its latest sustainable battery power solutions at this year's Media Production & Technology Show (MPTS), appearing alongside pa...

30/04/2025

Van Dyke Scores Hit with Hockey Comedy Shoresy Shot on Ze...

Van Dyke skates and operates on Shoresy | photo by Dave Ferguson Toronto-based Cinematographer Brett Van Dyke (Heartland, Jann, Carter) stepped into the rink...

30/04/2025

PlayBox Neo presents Next-Generation Smart Media Solution...

Leading provider of media playout solutions PlayBox Neo will exhibit a vast array of significant upgrades to its range of smart media innovations at CABSAT from...

30/04/2025

QuickLink StudioEdge Transforms Remote Contributions for...

ITV Studios is renowned for its award-winning productions, including the reality TV phenomenon I'm a Celebrity Get Me Out of Here! Produced by Lifted Ente...

30/04/2025

UK Pavilion exhibitors continue to impact at CABSAT and S...

The UK's presence at this year's CABSAT brings together 20 innovative companies under the GREAT Britain and Northern Ireland banner. From advanced infra...

30/04/2025

Lightware Reinforces ESG Commitment with Participation in...

Lightware continues to strengthen its Environmental, Social, and Governance (ESG) initiatives by fostering diversity, inclusion, and community engagement within...

30/04/2025

LiveU to Demonstrate LiveU IQ in UK For The First Time at...

LiveU is demonstrating for the first time in the UK, its revolutionary technological breakthrough in IP-video transport, LiveU IQ (LIQ ) and bringing its expand...

30/04/2025

Calrec MPTS 2025 Preview

Stand: A40 Calrec has been putting sound in the picture for more than six decades and is still pushing the boundaries of audio broadcasting with a full range o...

30/04/2025

Buckinghamshire New University opens advanced virtual pro...

Buckinghamshire New University (BNU) has opened its new virtual production studio, designed and integrated by CJP Broadcast. The installation equips students wi...

30/04/2025

Collective Newsroom chooses nxtedition for seamless workf...

Independent news producer in India focuses on delivering stories nxtedition has supplied a complete newsroom system to Collective Newsroom, based in New Delhi,...

30/04/2025

FOR-A Showcases Next-Generation Broadcast Solutions at CA...

Connecting the present, building the future FOR-A, a cutting-edge video broadcast technology company backed by more than 50 years experience, will showcase it...

30/04/2025

DAD by NTP Technology Highlights Upcoming Expansion Optio...

DAD by NTP Technology reports a successful NAB Show in Las Vegas where the company focused on upcoming expansion options in development for its Thunder | Core a...

30/04/2025

CVP and Canon unveil 2025 Canon Stories in Motion Young F...

CVP and Canon UK & Ireland are proud to announce the winning projects from the third annual Stories in Motion Young Filmmakers Awards, which took place on the e...

30/04/2025

beIN scores world first with new beIN STREAM using Syname...

Leading video software provider, Synamedia, today announced that beIN MEDIA GROUP ( beIN'), one of the foremost global sports and entertainment broadcasters...

30/04/2025

The Canadian Premier League launches new digital experien...

The Canadian Premier League (CPL) today launched a new-look website and app, offering supporters of Canada's men's domestic professional soccer league a...

30/04/2025

FCC's Carr Says Regulator Wants to Empower Local Broadcasters'

WASHINGTON In a wide-ranging press conference, Federal Communications Commission Chair Brendan Carr had both good and bad news for broadcasters, stressing that ...

30/04/2025

Filipino Sports Streamer Leverages Quickplay Shorts for Video Prep

TORONTO Cignal TV is relying on Quickplay's Shorts tool for its recently launched Pilipinas Live Shorts service, available to millions of users of Pilipinas...

30/04/2025

TVB President and CEO Steve Lanzano to Retire

NEW YORK Steve Lanzano will retire as president and CEO of the Television Bureau of Advertising at year-end, the group said....

30/04/2025

Collective Newsroom Deploys Nxteditions Newsroom System

The news production tech provider nxtedition is reporting that it supplied a complete newsroom system to Collective Newsroom, an independent news producer based...

30/04/2025

IAB Double-Clicks on AI Efforts

NEW YORK As part of a major push to advance the role that artificial intelligence (AI) plays in the advertising industry, the Interactive Advertising Bureau has...

30/04/2025

SES Open Orbits Selected by Two National Carriers to Equip their Fleets with Truly Seamless Connectivity Services

Uzbekistan Airways is the latest airline to choose SES's network, while Thai...

30/04/2025

Loaded Uses Blackmagic Design for shroud Subathon Live Streams

Loaded Uses Blackmagic Design for shroud Subathon Live Streams Brie Clayton April 29, 2025 0 Comments Blackmagic Studio Cameras and Micro Studio Camer...

30/04/2025

Help shape the future of video creator tools with MIDiA

Help shape the future of video creator tools with MIDiA Brie Clayton April 29, 2025 0 Comments After a successful debut in 2024, MIDiA is calling once...

30/04/2025

Tania Len and Kelli O'Hara to be Honored at Boston Conservatory at Berklee's Commencement Ceremony

Tania Le n and Kelli O'Hara to be Honored at Boston Conservatory at Berklee&...

30/04/2025

Andr 3000 and Sara Bareilles to Receive Honorary Doctorates at Berklee College of Music 2025 Commencement

Andr 3000 and Sara Bareilles to Receive Honorary Doctorates at Berklee College ...

30/04/2025

New RT News Podcast Behind the Story Available Now

You've seen the headlines, now it's time to go Behind the Story RT News has today (Wednesday) launched a brand-new news podcast, Behind the Story, h...

30/04/2025

Re-imagined series of Bergerac set to return to U and U&DRAMA in 2026

Damien Molony will head back to Jersey for a second series of Bergerac, written by Toby Whithouse alongside Ashley Sanders, Emilie Robson and Faebian Averies D...

30/04/2025

Advancing multi-domain EW operations: Rohde & Schwarz unveils latest innovations at AOC Europe

Advancing multi-domain EW operations: Rohde & Schwarz unveils latest innovations...