Open Source 开源项目 7h ago Updated 2h ago 更新于 2小时前 49

From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta's Ads Ranking 从用户序列到缩放定律:Meta广告排序的多阶段架构

Meta introduces a multi-stage sequence model that decouples heavy offline user modeling from lightweight online ranking, enabling scalable transformer-based sequence learning for ads recommendation Dense tokenization integrates sparse features with sequential behavioral data into a single vocabulary, allowing attention mechanisms to learn feature interactions directly from data without manual engineering Target-aware multi-head attention fuses tokenized features with ad candidate information, en Meta推出多阶段序列模型架构,将离线用户建模与在线排序解耦,实现计算效率与模型复杂度的可扩展平衡 引入密集tokenization与目标感知注意力机制,直接从数据中学习特征交互,减少对人工特征工程的依赖 该序列学习平台是Meta Generative Ads Recommendation Model (GEM)的核心组件,在Instagram带来6%转化率提升、Facebook带来3%转化率提升和3.5%广告点击提升 模型在真实广告流量中展现出类似LLM的可预测缩放定律,性能提升与计算资源呈对数线性关系

68
Hot 热度
74
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Meta introduces a multi-stage sequence model that decouples heavy offline user modeling from lightweight online ranking, enabling scalable transformer-based sequence learning for ads recommendation
  • Dense tokenization integrates sparse features with sequential behavioral data into a single vocabulary, allowing attention mechanisms to learn feature interactions directly from data without manual engineering
  • Target-aware multi-head attention fuses tokenized features with ad candidate information, enabling each layer to weigh past behaviors against specific ads being scored
  • The architecture establishes LLM-style scaling laws for ads recommendations, with predictable log-linear performance improvements relative to compute
  • Cumulative impact: 6% lift in Instagram conversions, 3% in Facebook conversions, and 3.5% in Facebook ad clicks

Why It Matters

This work represents a significant advancement in production-scale recommendation systems, demonstrating that sequence learning paradigms successful in NLP can be effectively adapted for ads recommendation at Meta's massive scale. The introduction of predictable scaling laws provides practitioners with a framework for balancing model complexity against serving efficiency—a critical challenge for any organization deploying recommendation systems. The decoupling of offline and online stages offers a practical blueprint for organizations looking to scale deep learning models while maintaining strict latency requirements.

Technical Details

  • Multi-Stage Architecture: The upstream/offline user model processes long user histories asynchronously using deep transformers with sequence lengths in the thousands, generating cached embeddings. The downstream/online ranking model combines these precomputed representations with real-time ad candidate signals for fast ranking within strict latency budgets.
  • Dense Tokenization: Unlike traditional approaches relying on manually engineered sparse features, this technique integrates sparse features and sequential behavioral data into a single dense vocabulary, enabling the attention mechanism to discover cross-feature interactions autonomously from data.
  • Target-Aware Multi-Head Attention: A memory-efficient attention variant that fuses tokenized sparse features and ad candidate information with user behavior sequences. Each layer progressively captures higher-order interactions between the target ad and historical behavior, distilling long sequences into compact representations through stacked aligned attention blocks with stable distributions.
  • LLM-Style Scaling Law: The system demonstrates predictable log-linear performance-compute relationships analogous to large language models, providing a principled approach to scaling sequence models without proportional increases in serving costs.
  • Performance Metrics: Cumulative lifts of 6% (Instagram conversions), 3% (Facebook conversions), and 3.5% (Facebook ad clicks), integrated as a core component of Meta's Generative Ads Recommendation Model (GEM).

Industry Insight

  • The decoupling strategy between offline user modeling and online ranking provides a replicable architectural pattern for organizations seeking to scale deep sequence models while maintaining sub-millisecond latency requirements in production recommendation systems.
  • The emergence of scaling laws in ads recommendation mirrors trends in NLP and vision, suggesting that the recommendation industry will increasingly adopt compute-predictable modeling paradigms rather than heuristic engineering approaches.
  • Dense tokenization eliminating manual feature engineering could significantly reduce the operational overhead for recommendation teams, shifting focus from feature design to architecture and scaling strategy—a trend likely to accelerate across the industry.

TL;DR

  • Meta推出多阶段序列模型架构,将离线用户建模与在线排序解耦,实现计算效率与模型复杂度的可扩展平衡
  • 引入密集tokenization与目标感知注意力机制,直接从数据中学习特征交互,减少对人工特征工程的依赖
  • 该序列学习平台是Meta Generative Ads Recommendation Model (GEM)的核心组件,在Instagram带来6%转化率提升、Facebook带来3%转化率提升和3.5%广告点击提升
  • 模型在真实广告流量中展现出类似LLM的可预测缩放定律,性能提升与计算资源呈对数线性关系

为什么值得看

这篇文章展示了推荐系统从传统稀疏特征工程向序列学习范式转变的关键技术突破,为广告推荐领域建立了可预测的缩放定律。对于AI从业者而言,多阶段架构设计和目标感知注意力机制为大规模推荐系统的工程实现提供了可复用的解决方案。

技术解析

多阶段序列模型架构:将序列建模分为两个互补阶段——上游离线用户模型处理数千长度的用户行为序列,生成预计算并缓存的用户嵌入;下游在线排序模型结合实时广告候选信号进行快速排序,两者通过嵌入向量连接,实现模型容量扩展而不增加在线服务成本。

密集Tokenization技术:将稀疏特征与序列行为数据整合到单一密集词表中,使注意力机制能够独立发现特征交互,替代传统推荐系统中依赖人工设计的稀疏交叉特征表示方法。

目标感知多头注意力机制:将tokenized稀疏特征与广告候选信息融合到用户行为序列中,采用内存高效的多头注意力形式,使每一层都能根据特定广告加权用户历史行为,通过堆叠对齐的注意力块捕获高阶交互。

LLM式缩放定律:在真实广告流量中,多阶段序列模型展现出可预测的缩放行为,性能提升与计算资源呈对数线性关系,为推荐系统提供了类似大语言模型的规模化路径。

行业启示

  • 推荐系统正从"特征工程驱动"向"序列学习+缩放定律驱动"范式转变,未来系统架构设计需优先考虑计算效率与模型复杂度的解耦策略
  • 多阶段架构(离线预计算+在线轻量排序)为大规模推荐系统提供了可复用的工程范式,平衡了模型能力与实时性要求
  • 广告推荐领域开始借鉴LLM的缩放定律思路,预示着推荐系统与生成式AI在方法论层面的进一步融合

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Training 训练 Research 科学研究 Embedding Model 嵌入模型 Dataset 数据集