Tuning computer vision models with task rewards
André Susano Pinto, Alexander Kolesnikov, Yuge Shi, Lucas Beyer, Xiaohua Zhai
TL;DR
The paper tackles misalignment between computer vision models and their intended usage by introducing a simple two-stage approach: pretrain with maximum likelihood and then fine-tune with task-reward optimization using Reinforce. This direct reward tuning is demonstrated across panoptic segmentation, object detection, colorization, and image captioning, improving task-aligned metrics beyond standard MLE performance. Key contributions include task-specific reward designs (e.g., PQ, recall, mAP, colorfulness, CIDEr) and empirical evidence that reward-driven tuning yields substantial gains while maintaining alignment with the intended usage. The results suggest reward optimization as a practical, general mechanism to control nontrivial task risks in vision systems, with potential extensions to human feedback and more complex rewards.
Abstract
Misalignment between model predictions and intended usage can be detrimental for the deployment of computer vision models. The issue is exacerbated when the task involves complex structured outputs, as it becomes harder to design procedures which address this misalignment. In natural language processing, this is often addressed using reinforcement learning techniques that align models with a task reward. We adopt this approach and show its surprising effectiveness across multiple computer vision tasks, such as object detection, panoptic segmentation, colorization and image captioning. We believe this approach has the potential to be widely useful for better aligning models with a diverse range of computer vision tasks.
