Pinterest Boosts Home Feed Engagement 16% With Switch to GPU Acceleration of Recommenders
04/08/2022
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/08/2024
Dalet Appoints Santiago Solanas as CEO to Lead Next Era of Growth and Innovation
Dalet, a leading technology and service provider for media-rich organizations, is excited to announce Santiago Solanas as its new Chief Executive Officer (CEO)....
03/06/2024
Dalet and Veritone Reach Agreement to Distribute, Transact and Monetize Media Archives
Dalet, a leading technology and service provider for media-rich organizations, a...
28/04/2024
Mediahaus delivers the first SRT live-streaming sports production over 5G with URSA Broadcast G2
Mediahaus delivers the first SRT live-streaming sports production over 5G with U...
26/04/2024
Sundance Film Festival CDMX 2024 kicks off today at Cinpolis
Sundance Film Festival CDMX 2024 kicks-off today with screenings in 5 theaters in Mexico City and the opening-night film, FRIDA, directed by Carla Guti rrez...
26/04/2024
Interview: Lourdes Portillo, Director of Las madres de la Plaza de Mayo, La Ofrenda
[Editor's Note: This interview is part of a larger feature about the women d...
26/04/2024
Career insights instead of everyday school life
Once again this year, SGL Carbon opened its doors to interested children and young people. On the occasion of the German Girls and Boys Day, which took place on...
26/04/2024
L3Harris Technologies Reports Strong First Quarter 2024 Results, Increases 2024 Profitability Guidance
Orders1 of $5.5 billion; book-to-bill of 1.06x Revenue of $5.2 billion, up 17%,...
26/04/2024
What Makes A Network Resilient?
Five Considerations For Communications Modernization In The 21st Century In the digital-enabled battlespace, the Joint Force needs to shoot, move and communica...
26/04/2024
CBS Sports Launches New Free Streaming Channel
CBS Sports has launched Champions League as a new, 24-hour streaming channel that will serve as the year-round destination for nonstop highlights of the UEFA ...
26/04/2024
Roku Streaming Homes Hit 81.6M
Despite tough competition in the streaming space, Roku reported solid results in Q1 2024, beating revenue expectations, with total net revenue up 19% YoY to $88...
26/04/2024
Sarah Farrell Named General Manager Of Pinewood Toronto Studios
LONDON AND TORONTO Pinewood Toronto Studios has appointed Sarah Farrell as general manager of the Studios in downtown Toronto....
26/04/2024
Quantum to Offer Advanced Filesharing Technology and Performance in StorNext and Myriad Solutions
Quantum to Offer Advanced Filesharing Technology and Performance in StorNext and...
26/04/2024
FilmLight Colour Awards welcomes 2024 entries and introduces new Emerging Talent' award
FilmLight Colour Awards welcomes 2024 entries and introduces new Emerging Talen...
26/04/2024
Picture Shop Announces Chris Evans as Head of Unscripted
Picture Shop Announces Chris Evans as Head of Unscripted Brie Clayton April 26, 2024 0 Comments Picture Shop announced Chris Evans will lead Unscripte...
26/04/2024
Participate in a Survey - The Impact of AI on Media and the Creative Industry
Participate in a Survey - The Impact of AI on Media and the Creative Industry Pascal Wagner April 26, 2024 0 Comments By participating in this survey,...
26/04/2024
Hi Barbie! Mattel Launching First FAST Channels on Samsung TV Plus
Toy maker Mattel said it is working with Samsung to launch its first free ad-supported streaming television (FAST) channels later this year....
26/04/2024
Marty Moe Named President Of Trusted Media Brands
Trusted Media Brands (TMB) said it named Marty Moe as president....
26/04/2024
Ron Howard Directs Jim Henson Documentary for Disney Plus
Ron Howard is the director on Jim Henson Idea Man, a documentary that premieres on Disney Plus May 31. Henson of course created Kermit the Frog, Miss Piggy, Big...
26/04/2024
Kraken Skate Away From RSN Root Sports for Deals With Tegna, Amazon
The ice continues to melt under the regional sports network business as the Seattle Kraken of the National Hockey League have made a long-term deal to broadcast...
26/04/2024
Warner Bros. Discovery Launches Olli First-Party Data Platform
Heading into the upfronts, Warner Bros. Discovery said it launched Olli, a first-party data platform advertiser can use for converged, targeted advertising camp...
26/04/2024
The Equalizer' Gets Season 5 on CBS
CBS has renewed the drama The Equalizer, which will see season five on in 2024-2025. Queen Latifah stars....
26/04/2024
The CW Inks New Deal for Miss USA, Miss Teen USA
The CW has entered into an exclusive multiyear broadcast partnership for the Miss USA Pageant and the Miss Teen USA Pageant. The 73rd Miss USA Pageant will air ...
26/04/2024
Fuse Urging Young Viewers To Vote With Blunt Campaign
Fuse Media isn't mincing words in a campaign urging its young viewers to register and participate in the 2024 elections....
26/04/2024
Neil Gaiman's Sandman' Universe Expands With Dead Boy Detectives'
Dead Boy Detectives, a series from Neil Gaiman about a detective agency staffed by ghosts, debuts on Netflix April 25. George Rexstrew and Jayden Revri are in t...
26/04/2024
The Story Collective opens largest film and TV studio in the heart of London
The Story Collective has gradually repurposed the former Mortlake Brewery to include production offices, workshops and sound stages By Matthew Corrigan Publi...
26/04/2024
Richard Perkett joins Amagi as chief product officer
Perkett joins the company following a 25 year career in product management, product marketing, engineering and user experience (UX) across multiple industries ...
26/04/2024
Teradek Announces Smaller More Robust Built-in Antennas f...
Teradek, the industry leader in wireless video transmitters and receivers, announced today the launch of new Bolt 6 LT 750 and Bolt 6 Monitor Module 750 RX with...
26/04/2024
Amagi Names Richard Perkett Chief Product Officer
NEW YORK Amagi has appointed Richard Perkett chief product officer (CPO)....
26/04/2024
NAB Board Election Results Announced
WASHINGTON, D.C. The National Association of Broadcasters (NAB) has announced the results of the 2024 NAB Radio and Television Board of Directors elections. The...
26/04/2024
Mattel to Launch First FAST Channels on Samsung TV Plus
EL SEGUNDO, Calif. & NEW YORK Mattel has announced a deal to launch its first three 24/7 free ad supported streaming (FAST) channels on Samsung TV Plus, Samsung...
26/04/2024
NextGen TV Launches In Portland, Maine
PORTLAND, Maine Viewers here can now receive the NextGen TV signals of five local stations with the launch of ATSC 3.0 service from host station WPFO, which is ...
26/04/2024
Rogers Inks Agreement to Deploy Comcast's Products and Technologies
TORONTO Rogers Communications has signed a 10-year agreement with Comcast to bring the latest Xfinity products and technology to Canadians....
26/04/2024
Calrec scoops third Argo win with NAB Show Product of the...
Calrec is very pleased to announce the benefits of its highly flexible approach to customer service has been recognized with a third award for the Argo range. T...
26/04/2024
New Adobe Photoshop with Advanced Generative Fill and Generate Image Brings New Superpowers to All
New Adobe Photoshop with Advanced Generative Fill and Generate Image Brings New ...
26/04/2024
Trends And Takeaways From NAB Show 2024
Trends And Takeaways From NAB Show 2024 Melanie Ciotti April 25, 2024 0 Comments NAB's Eric Trabb (right) awards SNS with two NAB Show Product of ...
26/04/2024
Sony's Ci Media Cloud Keeps NHRA Moving
Sony's Ci Media Cloud Keeps NHRA Moving Brie Clayton April 25, 2024 0 Comments Cloud-Based Media Asset Management and Collaboration Platform Accel...
26/04/2024
2024 Emerging Leaders Internship Program Open for Applications, Deadline May 31st
Capitol Broadcasting & Leadership Triangle Collaborate for Third Year Capitol B...
26/04/2024
MIX 101.5 Launches New YouTube Shows
The staff at CBC Radio have been hard at work creating several new features for listeners and viewers. Several debuts are taking place this spring. I have nev...
26/04/2024
Cricket Finds Its Digital Home in Bangladesh: VEON's Banglalink to Stream ICC Cricket on Toffee
26 Apr 2024 Cricket Finds Its Digital Home in Bangladesh: VEON's Banglalink...
26/04/2024
NBA Playoffs 2024: ESPN Rolls Out Huge Production Operation for Busy First Round
NBA Playoffs 2024: ESPN Rolls Out Huge Production Operation for Busy First Round Tech deployments include miked on-field personnel, shot-distance tracking, AR g...
26/04/2024
NHL Stanley Cup Playoffs: ESPN Ops Team Navigates Both Sides of the Border With Canadian Teams' Strong Showing
NHL Stanley Cup Playoffs: ESPN Ops Team Navigates Both Sides of the Border With ...
26/04/2024
NFL Draft 2024: Behind the Scenes in Downtown Detroit (Photo Gallery)
Behind the Scenes at the 2024 NFL Draft in Detroit (Photo Gallery) After just the first round, the 2024 NFL Draft has already made quite an impression in Detroi...
26/04/2024
NFL Draft 2024: Van Wagner Powers Onsite Entertainment Experience for Record Crowds in Detroit
NFL Draft 2024: Van Wagner Powers Onsite Entertainment Experience for Record Cro...
26/04/2024
Rohde & Schwarz presents spectrum dominance in all domains at AOC Europe
Rohde & Schwarz presents spectrum dominance in all domains at AOC Europe Rohde & Schwarz demonstrates the next generation of SIGINT/EW systems and sensor fusi...
26/04/2024
MCine Mauritius is to use Qube Wire for all future DCP deliveries across their exhibition chain on the Island
MCine Mauritius is to use Qube Wire for all future DCP deliveries across their e...
26/04/2024
Skeem Saam' May Spoiler: Has Lehasa killed Khwezi?
Skeem Saam' May Spoiler: Has Lehasa killed Khwezi?The Skeem Saam' May teasers mention Lehasa being apologetic about killing someone. Is it his baby mam...
26/04/2024
Skeem Saam: Thursday's episode, 25 April 2024 [video]
Skeem Saam: Thursday's episode, 25 April 2024 [video]Missed an episode of Skeem Saam? No problem! Watch the latest episode of your favourite South African s...
26/04/2024
Prison Journalism: Some issues to consider
Prison Journalism: Some issues to considerWesley Leong was incarcerated at the age of 15 in 1996 at Pollsmoor Prison. He is currently part of Restore's rese...
26/04/2024
Tonight on Scandal: A line is crossed and a mother starts to lose focus
Tonight on Scandal: A line is crossed and a mother starts to lose focusDon't miss Friday, 26 April's riveting episode of South African soapie Scandal! o...