OSCAR: Optimization-Steered Agentic Planning for Composed Image Retrieval

Teng Wang, Rong Shan, Jianghao Lin, Junjie Wu, Tianyi Xu, Jianping Zhang, Wenteng Chen, Changwang Zhang, Zhaoxiang Wang, Weinan Zhang, Jun Wang

Abstract

Composed image retrieval (CIR) requires complex reasoning over heterogeneous visual and textual constraints. Existing approaches largely fall into two paradigms: unified embedding retrieval, which suffers from single-model myopia, and heuristic agentic retrieval, which is limited by suboptimal, trial-and-error orchestration. To this end, we propose OSCAR, an optimization-steered agentic planning framework for composed image retrieval. We are the first to reformulate agentic CIR from a heuristic search process into a principled trajectory optimization problem. Instead of relying on heuristic trial-and-error exploration, OSCAR employs a novel offline-online paradigm. In the offline phase, we model CIR via atomic retrieval selection and composition as a two-stage mixed-integer programming problem, mathematically deriving optimal trajectories that maximize ground-truth coverage for training samples via rigorous boolean set operations. These trajectories are then stored in a golden library to serve as in-context demonstrations for online steering of VLM planner at online inference time. Extensive experiments on three public benchmarks and a private industrial benchmark show that OSCAR consistently outperforms SOTA baselines. Notably, it achieves superior performance using only 10% of training data, demonstrating strong generalization of planning logic rather than dataset-specific memorization.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIRCOOSCARRecall@5 (R@5)75.50+4.38 vs baselineImage Retrieval
Source quote
L995: OSCAR (Ours) │ 75.50 │ 85.50 │ 94.62 │ 97.50
CIRCOOSCARRecall@10 (R@10)85.50+5.75 vs baselineImage Retrieval
Source quote
L995: OSCAR (Ours) │ 75.50 │ 85.50 │ 94.62 │ 97.50
CIRCOOSCARRecall@25 (R@25)94.62Image Retrieval
Source quote
L995: OSCAR (Ours) │ 75.50 │ 85.50 │ 94.62 │ 97.50
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
CIRCOQQMM-embed-v2 baselineRecall@5 (R@5)71.12Image Retrieval
Source quote
L989: QQMM-embed-v2 │ {\ul 71.12} │ {\ul 79.75} │ {\ul 90.25} │ {\ul 95.26}
CIRCOQQMM-embed-v2 baselineRecall@10 (R@10)79.75Image Retrieval
Source quote
L989: QQMM-embed-v2 │ {\ul 71.12} │ {\ul 79.75} │ {\ul 90.25} │ {\ul 95.26}
BibTeX
@misc{wang2026oscar,
  author = {Teng Wang and Rong Shan and Jianghao Lin and Junjie Wu and Tianyi Xu and Jianping Zhang and Wenteng Chen and Changwang Zhang and Zhaoxiang Wang and Weinan Zhang and Jun Wang},
  title = {{OSCAR: Optimization-Steered Agentic Planning for Composed Image Retrieval}},
  year = {2026},
  eprint = {2602.08603},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.08603},
}
Figure