Ads Candidate Generation using Behavioral Sequence Modeling
Read Full ArticleSummary
The article outlines Pinterest's innovative approach to enhancing ad candidate generation through behavioral sequence modeling. By leveraging a transformer-based model, the team predicts user interactions with advertisers based on historical behavior, significantly improving ad relevance. The architecture employs a two-tower model, integrating user event sequences and advertiser representations, and utilizes advanced training techniques such as in-batch negatives and sampled softmax loss with log-Q bias correction. The results demonstrate a marked increase in conversion rates and a reduction in cost per action, showcasing the effectiveness of this model in a real-world setting.
Key Learnings
- 1The use of transformer-based models allows for effective encoding of user behavior, leading to improved ad targeting.
- 2Incorporating in-batch negatives and log-Q bias correction helps mitigate popularity bias and enhances personalization.
- 3Evaluating model performance through Recall@K metrics provides insights into the effectiveness of ad retrieval systems.
- 4The architecture's dual approach for item-level interaction prediction facilitates deeper personalization in ad delivery.
- 5Real-time updates to user representations can significantly enhance the relevance of ad candidates.
Who Should Read This
Senior Machine Learning Engineers focusing on ad technology and personalization strategies
Test Your Knowledge
What are the trade-offs between using a transformer-based model versus traditional models for ad candidate generation?
How does the incorporation of log-Q bias correction influence the model's ability to personalize ad recommendations?
What failure scenarios might arise from relying on historical user behavior data for ad predictions?
Why is it essential to balance retrieval performance and diversity in the context of ad candidate generation?
How does the two-tower architecture improve the model's ability to predict user interactions with specific products?
Topics
More articles about Machine Learning
Explore Machine Learning engineering →Decoupled by Design: Billion-Scale Vector Search
The article discusses the challenges and solutions in building a billion-scale vector search system at Databricks. It highlights the limitations of traditional vector databases that couple storage...
Introducing Kasal
Kasal is a low-code platform developed by Databricks Labs for designing, deploying, and orchestrating agentic AI systems. It provides a visual interface that allows users, regardless of their...
Business Intelligence Analytics: A Complete Guide for the AI Era
The article discusses the evolution of business intelligence (BI) analytics, emphasizing the need for organizations to bridge the gap between data collection and actionable insights. It outlines the...
Engineering Platform Trust: Cutting Customer Case Volume 20x with Petabyte-Scale Health Signals
The article details the development of a Technical Health Score system at Salesforce, aimed at quantifying platform trust through analytics pipelines that handle petabytes of telemetry data. By...
Building What’s Next. Together. Introducing the Brickbuilder Partner Network for the Agentic AI Era
The Brickbuilder Partner Network is a newly established global partner program aimed at fostering growth and innovation among consulting firms, independent software vendors (ISVs), and data providers...
More from Pinterest Engineering
View Pinterest engineering blogs →Unified Context-Intent Embeddings for Scalable Text-to-SQL
The article outlines Pinterest's evolution from basic Text-to-SQL systems to a sophisticated Analytics Agent that leverages unified context-intent embeddings for enhanced query understanding and SQL...
Unifying Ads Engagement Modeling Across Pinterest Surfaces
The article presents a comprehensive approach to unify ads engagement modeling across different surfaces at Pinterest, addressing the challenges posed by previously independent models. It outlines...
Bridging the Gap: Diagnosing Online–Offline Discrepancy in Pinterest’s L1 Conversion Models
The article discusses the challenges faced by Pinterest in reconciling offline and online performance metrics of their L1 conversion models. It highlights the discrepancies observed between strong...
Piqama: Pinterest Quota Management Ecosystem
The article introduces Piqama, Pinterest's comprehensive quota management ecosystem designed to oversee resource quotas across various systems. It outlines the architecture of Piqama, emphasizing its...
Drastically Reducing Out-of-Memory Errors in Apache Spark at Pinterest
This article details Pinterest's approach to significantly reduce out-of-memory (OOM) errors in their Apache Spark applications through a feature called Auto Memory Retries. By automatically...