paper-with-me

Papers

Learning Backward Compatible Embeddings

2022-06-07 · Weihua Hu, Rajas Bansal, Kaidi Cao, Nikhil Rao, Karthik Subbian, Jure Leskovec

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.

📄 PDF Abstract BibTeX arXiv:2206.03040

Code (1)

snap-stanford/bc-emb 공식 구현 pytorch

Tasks

Fraud DetectionProduct RecommendationRecommendation Systems

Similar Papers 제목 키워드 기반

Towards Backward-Compatible Representation Learning

2020-03-26 · CVPR 2020 6 · Yantao Shen, Yuanjun Xiong, Wei Xia, Stefano Soatto

We propose a way to learn visual features that are compatible with previously computed ones even when they have different dimensions and are learned via different neural network architectures and loss functions. Compatib…

Face RecognitionRepresentation Learning

Privacy-Preserving Model Upgrades with Bidirectional Compatible Training in Image Retrieval

2022-04-29 · Shupeng Su, Binjie Zhang, Yixiao Ge, Xuyuan Xu 외

The task of privacy-preserving model upgrades in image retrieval desires to reap the benefits of rapidly evolving new models without accessing the raw gallery images. A pioneering work introduced backward-compatible trai…

Image RetrievalPrivacy PreservingRetrieval

Neighborhood Consensus Contrastive Learning for Backward-Compatible Representation

2021-08-07 · Shengsen Wu, Liang Chen, Yihang Lou, Yan Bai 외

In object re-identification (ReID), the development of deep learning techniques often involves model updates and deployment. It is unbearable to re-embedding and re-index with the system suspended when deploying new mode…

Contrastive Learning

Multi-modal Knowledge Preserving Adapter for Embedding Backward Compatibility

2026-09-15 · Jaeseok Byun, Gukyeong Kwon, Han-Kai Hsu, Meher Gitika Karumuri 외 arxiv

Upgrading embedding models typically requires expensive database re-indexing, as new query embeddings are incompatible with existing database embeddings. While Backward Compatible Training (BCT) mitigates this by enforci…

Video Retrieval

Boundary-aware Backward-Compatible Representation via Adversarial Learning in Image Retrieval

2023-05-04 · CVPR 2023 1 · Tan Pan, Furong Xu, Xudong Yang, Sifeng He 외

Image retrieval plays an important role in the Internet world. Usually, the core parts of mainstream visual retrieval systems include an online service of the embedding model and a large-scale vector database. For tradit…

Image RetrievalRetrieval