arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.12102cs.LGcs.IR
收藏

Unified Embedding:面向 Web 规模机器学习系统的久经实战检验的特征表示

Unified Embedding: Battle-Tested Feature Representations for Web-Scale ML Systems

Google DeepMind(谷歌DeepMind);Google Research(谷歌研究院)

Benjamin Coleman, Wang-Cheng Kang, Matthew Fahrbach, Ruoxi Wang, Lichan Hong, Ed H. Chi, Derek Zhiyuan Cheng

AI总结:

本文提出 Feature Multiplexing 框架及 Unified Embedding 方法,让多类别特征共享表示空间,在公开基准和五大 Web 规模系统中实现更优参数—准确率权衡与线上线下指标提升。

摘要:

高效且有效地学习高质量特征嵌入,对于 Web 规模机器学习系统的性能至关重要。典型模型会接收数百个特征,其词表规模达到数百万到数十亿个 token。标准方法是将每个特征值表示为一个 d 维嵌入,这会为极高基数特征引入数千亿个参数。这一瓶颈推动了替代性嵌入算法的显著进展。然而,其中许多方法都假设每个特征使用独立的嵌入表。本文提出一个简单但非常有效的框架 Feature Multiplexing(特征复用),在许多不同的类别特征之间使用同一个表示空间。我们的理论与实证分析表明,复用嵌入可以分解为来自各个组成特征的成分,使模型能够区分不同特征。我们证明,在三个公开基准数据集上,复用表示可带来 Pareto 最优的参数—准确率权衡。此外,我们提出一种极具实用性的方法 Unified Embedding(统一嵌入),它具有三大优势:简化特征配置、对动态数据分布具有强适应性,以及与现代硬件兼容。在五个 Web 规模搜索、广告和推荐系统中,与极具竞争力的基线相比,Unified Embedding 在离线和在线指标上均带来显著提升;这些系统通过行业领先产品服务于全球数十亿用户。

英文摘要:

Learning high-quality feature embeddings efficiently and effectively is critical for the performance of web-scale machine learning systems. A typical model ingests hundreds of features with vocabularies on the order of millions to billions of tokens. The standard approach is to represent each feature value as a d-dimensional embedding, introducing hundreds of billions of parameters for extremely high-cardinality features. This bottleneck has led to substantial progress in alternative embedding algorithms. Many of these methods, however, make the assumption that each feature uses an independent embedding table. This work introduces a simple yet highly effective framework, Feature Multiplexing, where one single representation space is used across many different categorical features. Our theoretical and empirical analysis reveals that multiplexed embeddings can be decomposed into components from each constituent feature, allowing models to distinguish between features. We show that multiplexed representations lead to Pareto-optimal parameter-accuracy tradeoffs for three public benchmark datasets. Further, we propose a highly practical approach called Unified Embedding with three major benefits: simplified feature configuration, strong adaptation to dynamic data distributions, and compatibility with modern hardware. Unified embedding gives significant improvements in offline and online metrics compared to highly competitive baselines across five web-scale search, ads, and recommender systems, where it serves billions of users across the world in industry-leading products.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑