ViRA: Toward Ultra-High-Resolution Visual Agents via Cross-Input Relative Policy Optimization
Huawei Lin, Jinting Liu, Tongyan Wang, Xuyang Chen, Ruihua Shi, Zhichao Xu, et al.
arXiv:2611.21605v1Modern cameras capture photos with tens or even hundreds of megapixels, but the piece of evidence that actually answers a question is often tiny: a label on a distant object, something a person is holding, a detail in the corner of a street scene. That creates a real problem for vision-language models and visual agents. They usually cannot take the full image at native resolution, so they downsample it, and the crucial detail may become unreadable. The obvious workaround is to let the agent zoom into regions of interest. But this paper argues that zooming alone is not enough. An agent can still answer correctly from common sense instead of from the image. If you show a person holding up a small object, the model may say “smartphone” because that is the most likely thing, even when the object is actually a calculator or a TV remote. In that case, a correct answer does not prove the model read the evidence. That distinction matters because the whole point of these agents is not just to be right sometimes, but to be right for the right reason. If a system is trained only on final-answer correctness, then guessing and reading can earn the same reward. Reinforcement learning on a single image cannot tell them apart. This is especially problematic for zooming agents, because the model can learn to call the zoom tool without really using what it sees. The paper reviews prior attempts to fix this, such as rewarding the zoom call itself, rewarding crops that cover annotated evidence, or using masked inputs. Those methods still tend to judge one image at a time, and that leaves a loophole: the model can learn the action pattern associated with looking, without learning to depend on the evidence. The key idea in this work is to stop training on isolated images and instead train on contrast sets. A contrast set is several versions of the same photo, where only a tiny region changes and that change flips the correct answer. If the image versions are identical everywhere except for the relevant object, then a model that ignores that object will tend to give the same answer on every version. But that can only be correct on at most one of them. So to solve the whole set, the agent has to actually read the differing region. The paper uses this idea both for training and for evaluation. To make this work in practice, the authors build two datasets from very high-resolution photos, ranging from 21 to 120 megapixels. ViRA-Train contains 9,261 contrast sets for training, with one, two, or three versions per set. ViRA-Bench contains 762 sets for evaluation. They also create ViRA-Bench-Real, a smaller benchmark of 78 sets photographed with real changes rather than edits, so the evaluation does not depend on any editing artifacts. In these benchmarks, the changed object can be extremely small relative to the full photo; the paper notes that in ViRA-Bench the edited object covers a median of only 0.0075 percent of the image. That gives a realistic stress test for ultra-high-resolution visual reasoning. The training method is called Cross-Input Relative Policy Optimization, or CrossRPO. To understand it, it helps to recall how group-based reinforcement learning is often used for language and vision agents. Methods like GRPO sample several rollouts for the same input and compare them to each other. If one answer is correct and the others are wrong, the correct one gets a positive advantage. But when the input is just one image, that still does not distinguish a good guess from true reading, because both can be correct. CrossRPO changes the comparison structure by using the whole contrast set. The important design choice is that CrossRPO compares rollouts within each version, but then weights those updates using information from the other versions in the set. Intuitively, if the agent is already getting the other versions right, then a correct answer on this version is evidence that it is solving the whole set, not merely guessing. The paper calls that the cross-input weight. This creates a training signal that rewards the joint success of the set, not just isolated correctness on one image. The authors also prove a useful property: a set answered from common sense does not get reinforced. If the agent is not reading the changing region, then its answers across the versions are effectively drawn from the same distribution, and the chance of solving every version together is very small. In that case, CrossRPO does not mistakenly treat that behavior as good. Another way to think about the method is that it separates two notions of accuracy. Version accuracy asks whether each image version is answered correctly on its own. Set accuracy asks whether every version in the contrast set is solved. The first can be misleading; the second is much stricter. CrossRPO tries to optimize both, because early in training set accuracy alone can be too sparse a signal. If the model never gets one version right, then it receives little or no gradient from the set-level objective. The cross-input weighting helps bridge that gap by tying the versions together. The paper trains two open visual reasoning agents with this method: ViRA-9B and ViRA-27B. Each is trained on only about 3,500 items from ViRA-Train. That is a relatively small amount of task-specific data, which makes the results more notable. The experiments compare CrossRPO against GRPO in a few variants, including training on each version separately and a pooled version that mixes rollouts across versions. The paper also tests whether the gain depends on genuine contrast sets by replacing the cross-input weight with information from unrelated photos; when that happens, the improvement disappears, which supports the claim that the benefit comes from the contrast structure itself. The main result on ViRA-Bench is that CrossRPO reaches 63.3 percent set accuracy at maximum resolution, compared with 59.3 percent for standard GRPO trained separately on each version, 58.7 percent for separate training without the cross-input weight, and 52.6 percent for pooled GRPO. The fact that pooled GRPO performs worse is important: if you compare rollouts across different versions too directly, a guess that happens to be right on one version can still get rewarded, which is exactly the failure mode the paper is trying to avoid. CrossRPO avoids that by keeping the within-version comparison and adding the cross-version signal only through the weight. The authors also look at behavior, not just scores. ViRA-9B zooms onto the relevant object about as often as a model trained on each version separately, but it reads that object correctly more often. That is an important distinction. It suggests the improvement is not simply that the model learned to use the zoom tool more; rather, it learned to use the zoomed evidence more effectively. In other words, CrossRPO appears to improve evidence use, not just tool use. Across broader benchmarks, ViRA-9B and ViRA-27B are reported to be the most accurate open agents of their sizes on most of the tests the authors run. ViRA-27B also outperforms the proprietary models they compare against, including Claude Haiku 5.5 and GPT-6-Luna at their highest thinking level, on most benchmarks. The paper emphasizes that this comparison is especially meaningful because those proprietary models are also given the zoom tool and their strongest reasoning mode. So the result is not merely that the open models can crop images; it is that the training objective itself seems to improve high-resolution visual reasoning. There are still limitations to keep in mind. First, the benchmark construction relies heavily on edited contrast sets, even though the authors also provide a real-photographed version to reduce concerns about editing traces. Second, the method is evaluated on tasks where the evidence change is localized and the answers differ across versions. That is exactly the setting the method is designed for, but it is not every possible visual reasoning problem. Third, the approach depends on having contrastive supervision in the form of versioned inputs, which may be more expensive to build than ordinary question-answer data. And more broadly, the paper does not claim that CrossRPO solves all hallucination or grounding problems; it specifically targets the failure mode where a model can be right without reading. Still, the contribution is quite clear. The paper shows that if you want a visual agent to read tiny details in huge images, you should not train it only on single-image correctness. You need training data where the answer changes when the evidence changes. CrossRPO turns that idea into a reinforcement learning objective, and the resulting ViRA models demonstrate that this can produce stronger, more reliable zooming agents for ultra-high-resolution vision.
Also spotted that day
Previous daily papers