Introduction
Upgrading large-scale retrieval models, such as those used in image search or face recognition, presents a significant operational challenge. Traditionally, a "backfill" is required: every image in a massive gallery (often billions) must be re-processed by the new model to create updated embeddings. This process is prohibitively expensive and slow.
To mitigate this, Backward-Compatible Training (BCT) was developed, allowing a new model to remain compatible with old embeddings. However, BCT often forces the new model to mimic the inferior latent space of its predecessor, leading to "undifferentiated inheritance" where the new model inherits the old model's errors. This results in a significant performance gap compared to a standalone "Oracle" model.
This paper introduces Darwinian Model Upgrades (DMU), a framework that uses selective inheritance and a lightweight evolution module to achieve high compatibility without sacrificing the new model's potential accuracy.
Methodology: Selective Inheritance and Forward Adaptation
The DMU approach is inspired by biological evolution, disentangling the upgrade process into two primary components: selective inheritance and forward adaptation.
Selective Backward Compatibility
Instead of forcing the new model to be compatible with all old features, DMU employs a Selective Backward Compatible Loss. It measures the "discriminativeness" (quality) of old features using an entropy-based metric. If the old model was confident and correct about a feature, the new model is encouraged to maintain compatibility. Conversely, if an old feature was low-quality or noisy, the compatibility constraint is relaxed, allowing the new model to learn a better representation.
Forward Adaptation
To handle low-quality legacy features, the authors introduce a lightweight transformation module ($\psi$). This Multi-Layer Perceptron (MLP) "evolves" old gallery embeddings on-the-fly, making them more adaptive to the new model's superior latent space. This "Forward Adaptation" ensures that even features not directly inherited can still be utilized effectively.
Evaluation and Key Insights
The researchers evaluated DMU on several large-scale benchmarks, including Google Landmark v2 (GLDv2), MS1Mv3, and IJB-C, testing upgrades across different architectures like ResNet50 to ResNet101.
Performance Gains
DMU consistently outperformed standard BCT and other state-of-the-art methods. On Google Landmark v2, DMU achieved a 25.00% mAP for new-to-new retrieval, significantly closer to the Oracle model's 25.58% than BCT's 24.55%. In "new-to-old" scenarios, DMU showed an upgrade gain of 19.18%, nearly doubling the gain of standard BCT.
Efficiency
The forward adaptation module is highly efficient. Refreshing a billion features using the MLP takes less than 8 hours on a single NVIDIA T4 GPU—a negligible cost compared to a full image-based backfill. The system automatically focuses its adaptation efforts on "poorer" features because the new model already inherits the high-quality knowledge.
Conclusion
Darwinian Model Upgrades significantly narrow the gap between compatible models and unconstrained "Oracle" models. By treating model upgrades as an evolutionary process of selective inheritance and variation, DMU provides a scalable solution for industrial retrieval systems. Future work may explore multi-generational upgrades, ensuring compatibility across several generations of model predecessors simultaneously.
Summary updated