Papers › DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning

DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning

20 May 2025arXiv:2505.14362archive 2025-07-28

Ziwei Zheng, Michael Yang, Jack Hong, Chenxiao Zhao, Guohai Xu, Le Yang, Chao Shen, Xing Yu

Large Vision-Language Models (VLMs) have shown strong capabilities in multimodal understanding and reasoning, yet they are primarily constrained by text-based reasoning processes. However, achieving seamless integration of visual and textual reasoning which mirrors human cognitive processes remains a significant challenge. In particular, effectively incorporating advanced visual input processing into reasoning mechanisms is still an open question. Thus, in this paper, we explore the interleaved multimodal reasoning paradigm and introduce DeepEyes, a model with "thinking with images" capabilities incentivized through end-to-end reinforcement learning without the need for cold-start SFT. Notably, this ability emerges natively within the model itself, leveraging its inherent grounding ability as a tool instead of depending on separate specialized models. Specifically, we propose a tool-use-oriented data selection mechanism and a reward strategy to encourage successful tool-assisted reasoning trajectories. DeepEyes achieves significant performance gains on fine-grained perception and reasoning benchmarks and also demonstrates improvement in grounding, hallucination, and mathematical reasoning tasks. Interestingly, we observe the distinct evolution of tool-calling behavior from initial exploration to efficient and accurate exploitation, and diverse thinking patterns that closely mirror human visual reasoning processes. Code is available at https://github.com/Visual-Agent/DeepEyes.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.14362")

Code

Syntology Ran 6 of 17 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

visual-agent/deepeyes officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 6 ran; 1 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
3ran
11unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from visual-agent/deepeyes. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_ce_dpo_loss_rm visual-agent/deepeyes/recipe/prime/prime_core_algos.py official repository ran Apache-2.0 (permissive) · f220595adfc5e83c · report
compute_detach_dpo_loss_rm visual-agent/deepeyes/recipe/prime/prime_core_algos.py official repository ran Apache-2.0 (permissive) · 4d91e4383716e42c · report
reward_func visual-agent/deepeyes/recipe/r1/reward_score.py official repository ran Apache-2.0 (permissive) · c30b2a96103abd2c · report
round_by_factor visual-agent/deepeyes/eval/eval_vstar.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · e252767324188623 · report
union_tensor_dict visual-agent/deepeyes/verl/protocol.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 21331a58f93375e4 · report
unpad_dataproto visual-agent/deepeyes/verl/protocol.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 25f0ea3f460f6ce1 · report
decode_base64_to_image visual-agent/deepeyes/eval/eval_hrbench.py official repository unverified Apache-2.0 (permissive) · 42fa1c710986d2ee · report
encode_image_to_base64 visual-agent/deepeyes/eval/eval_hrbench.py official repository unverified Apache-2.0 (permissive) · ae6c2bb194221137 · report
encode_pil_image_to_base64 visual-agent/deepeyes/eval/eval_hrbench.py official repository unverified Apache-2.0 (permissive) · 988cae1e62ee4e6e · report
encode_pil_image_to_base64 visual-agent/deepeyes/eval/eval_vstar.py official repository unverified Apache-2.0 (permissive) · 69e47c426e8167f5 · report
get_custom_reward_fn visual-agent/deepeyes/recipe/dapo/src/main_dapo.py official repository unverified Apache-2.0 (permissive) · b6512040439cb7a2 · report
get_generation_config visual-agent/deepeyes/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 68aa34a57b353cae · report
get_huggingface_actor_config visual-agent/deepeyes/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 9411d1fb7e4f68e5 · report
get_prompt visual-agent/deepeyes/eval/judge_result.py official repository unverified Apache-2.0 (permissive) · 1b4e5e1a7c7a8eee · report
get_weight_loader visual-agent/deepeyes/verl/models/weight_loader_registry.py official repository unverified Apache-2.0 (permissive) · acf240079d434746 · report
get_weight_saver visual-agent/deepeyes/verl/models/weight_loader_registry.py official repository unverified Apache-2.0 (permissive) · 1008c22d29f85015 · report
squeeze visual-agent/deepeyes/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 3b15e2ac7497c441 · report

Tasks

HallucinationMathematical ReasoningMultimodal ReasoningReinforcement LearningVisual Reasoningreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SFT

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections