A causality-enhanced multiresolution residual learning framework for image retrieval with fast osprey optimization | Synapse