Backward-Compatible Aligned Representations via an Orthogonal Transformation Layer
Simone Ricci, Niccolò Biondi, Federico Pernici, Alberto Del Bimbo
TL;DR
This work tackles the cost of updating visual retrieval systems by ensuring backward compatibility between old and new representations. It introduces the Orthogonal Compatible Aligned (OCA) method, which expands the feature space with extra dimensions and learns an orthogonal transformation to preserve the geometry of the old representation while incorporating new information. ACE loss aligns new features with fixed old prototypes, and the training-time orthogonal transform enables learning in the expanded space; at inference, only the original representation is used. Empirical results on CIFAR-100 and ImageNet-1k show state-of-the-art accuracy alongside robust backward compatibility, with fewer additional parameters than competing space-expansion methods, reducing re-indexing costs in model updates.
Abstract
Visual retrieval systems face significant challenges when updating models with improved representations due to misalignment between the old and new representations. The costly and resource-intensive backfilling process involves recalculating feature vectors for images in the gallery set whenever a new model is introduced. To address this, prior research has explored backward-compatible training methods that enable direct comparisons between new and old representations without backfilling. Despite these advancements, achieving a balance between backward compatibility and the performance of independently trained models remains an open problem. In this paper, we address it by expanding the representation space with additional dimensions and learning an orthogonal transformation to achieve compatibility with old models and, at the same time, integrate new information. This transformation preserves the original feature space's geometry, ensuring that our model aligns with previous versions while also learning new data. Our Orthogonal Compatible Aligned (OCA) approach eliminates the need for re-indexing during model updates and ensures that features can be compared directly across different model updates without additional mapping functions. Experimental results on CIFAR-100 and ImageNet-1k demonstrate that our method not only maintains compatibility with previous models but also achieves state-of-the-art accuracy, outperforming several existing methods.
