arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.03040stat.MLcs.IRcs.LG
收藏

学习向后兼容嵌入

Learning Backward Compatible Embeddings

Stanford University(斯坦福大学);Amazon(亚马逊)

Weihua Hu, Rajas Bansal, Kaidi Cao, Nikhil Rao, Karthik Subbian, Jure Leskovec

摘要:

嵌入是对象的低维向量表示,是构建现代机器学习系统的基础。在工业环境中,通常有一个嵌入团队来训练嵌入模型以解决预期的任务(例如,产品推荐)。然后,消费者团队广泛使用所产生的嵌入来解决他们的非预期任务(例如,欺诈检测)。然而,随着嵌入模型的更新和重新训练以提高预期任务的性能,新生成的嵌入不再与现有的消费者模型兼容。这意味着嵌入的历史版本永远不会退役,或者所有消费者团队都必须重新训练他们的模型,使其与嵌入的最新版本兼容,这两种方法在实践中都是非常昂贵的。在这里,我们研究嵌入版本更新及其向后兼容性的问题。我们将问题形式化,目标是嵌入团队不断更新嵌入版本,而消费者团队不必重新训练他们的模型。我们开发了一种基于学习向后兼容嵌入的解决方案,它允许嵌入模型版本经常更新,同时还允许嵌入的最新版本快速转换为任何向后兼容的历史版本,这样消费者团队就不必重新训练他们的模型。在我们的框架下,我们探索了六种方法,并在现实世界的推荐系统应用程序中系统地评估它们。我们表明,最好的方法,我们称之为BC对齐,保持向后兼容性与现有的非预期的任务,即使在多个模型版本更新。同时,BC-Aligner实现了预期的任务性能,类似于仅针对预期任务优化的嵌入模型。

英文摘要:

Embeddings, low-dimensional vector representation of objects, are fundamental in building modern machine learning systems. In industrial settings, there is usually an embedding team that trains an embedding model to solve intended tasks (e.g., product recommendation). The produced embeddings are then widely consumed by consumer teams to solve their unintended tasks (e.g., fraud detection). However, as the embedding model gets updated and retrained to improve performance on the intended task, the newly-generated embeddings are no longer compatible with the existing consumer models. This means that historical versions of the embeddings can never be retired or all consumer teams have to retrain their models to make them compatible with the latest version of the embeddings, both of which are extremely costly in practice. Here we study the problem of embedding version updates and their backward compatibility. We formalize the problem where the goal is for the embedding team to keep updating the embedding version, while the consumer teams do not have to retrain their models. We develop a solution based on learning backward compatible embeddings, which allows the embedding model version to be updated frequently, while also allowing the latest version of the embedding to be quickly transformed into any backward compatible historical version of it, so that consumer teams do not have to retrain their models. Under our framework, we explore six methods and systematically evaluate them on a real-world recommender system application. We show that the best method, which we call BC-Aligner, maintains backward compatibility with existing unintended tasks even after multiple model version updates. Simultaneously, BC-Aligner achieves the intended task performance similar to the embedding model that is solely optimized for the intended task.

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

↑