Manuscript Offprint

arXiv:2608.26993

Aphanta: Diagnosing Task-Aligned Image-Edited Intermediates for Multimodal Reasoning

Hengyuan Xu, Wei Cheng, Yumeng Ji, Xuanyang Zhang, Xianfang Zeng, Gang Yu, Xingjun Ma

Hengyuan Xu 1,2^{1,2} Wei Cheng 2,†^{2,\dagger} Yumeng Ji 3^{3} Xuanyang Zhang 2^{2}

Xianfang Zeng 2^{2} Gang Yu 2,‡^{2,\ddagger} Xingjun Ma 1,‡^{1,\ddagger}

1^{1} Fudan University 2^{2} StepFun 3^{3} Shanghai Jiaotong University

Figure

MLLM Reasoning

Understand instruction, analyze image,

generate editing instructions with tool calls.

Figure

Figure

Diffusion Editing

Execute precise edit instruction with diffusion model.

Figure

MLLM Re-reasoning

Re-observe the edited image, verify each step and provide the final answer.

Counterfactual: Masked Object

Figure

Q: What's behind the green mask of the woman?

Counterfactual: Clock Reasoning

Q: What time is it if blue hand moves 120 min. forward?

Low Level: Maze Solving

Figure

Q: How many turns are needed to reach the goal.

Low Level: Spot the Difference

Q: Find the different pattern on the canvas.

Counterfactual

Figure

Grounding

Left: Input Image

Right: Edited Image

Excellent

Good

Bad

Grounding: Defect Detection

Figure

Q: Is there any defect item in the image?

Grounding: Find Mirror

Q: Where is the mirror located in the scene?

Logic: Raven's Progressive Matrix

Figure

Q: Which pattern is appropriate in the empty box?

Logic: Flowchart Decision

Q: How many start node are present in the flowchart?

Figure 1. Task-Conditioned Utility of Image-Edited Intermediates. Current instruction editors provide reliable assistance for selected cue-injection, grounding, and counterfactual state-realization tasks, but are less reliable when the requested intermediate requires exact structural extrapolation. Aphanta measures this boundary rather than assuming that one visual representation helps every task.

Abstract

Explicit visual intermediates can help multimodal large language models (MLLMs) externalize spatial evidence and updated visual states, but their utility depends on whether an image editor can faithfully realize the required transformation. We introduce Aphanta, an automated task-discovery and closed-loop diagnostic framework for the MLLM → image editor → MLLM pipeline. Aphanta evaluates three conditions—direct reasoning, reasoning with an editor-generated intermediate, and reasoning with an idealized reference intermediate—to separate potential visual headroom from the practical utility of current editors. Across 20 candidate tasks and multiple editor–MLLM combinations, we find that utility is strongly task-conditioned. Gains concentrate in visual cue injection, grounding, and counterfactual state realization, whereas intermediates requiring symbol-sensitive construction or structural extrapolation are substantially less reliable. On the selected positive-task subset, our consolidated Owen pipeline improves the mean task score from 0.343 to 0.445 (+10.2 points; +29.7% relative), while the full study also retains filtered and unsuccessful tasks to expose the boundary. These results position image editing as a specialized visual workspace rather than a universal reasoning mechanism, and establish Aphanta as a reusable protocol for measuring task–representation alignment, editor realization, and downstream pipeline utility.

† Project lead; ‡ Corresponding authors.

1. Introduction

The idea that a reasoning system can benefit from an auxiliary visual state predates current multimodal large language models (MLLMs). Earlier work used synthetic scenes, modular visual programs, and imagined rollouts to expose compositional structure or predict task-relevant future observations [1, 11, 14, 22, 23, 44]. Modern MLLMs make this idea operational at inference time: they crop, zoom, mark, sketch, or otherwise transform an image to acquire evidence that was difficult to use in the original view [17, 25, 36, 60, 61]. A broader line of work generates explicit images, videos, or latent visual states as intermediate thoughts [6, 7, 9, 13, 15, 28, 53]. Together, these developments suggest a useful abstraction: an MLLM may benefit from a visual workspace that makes a task-relevant state easier to perceive or reason over.

The existence of such a workspace, however, does not imply that every task benefits from an RGB intermediate. Image-to-image translation and instruction editing have become substantially more controllable [2, 16, 19, 32, 35, 58, 66, 67], but a visually plausible edit may still fail the specific count, relation, symbol, or counterfactual state required by a reasoning task. Three questions must therefore be distinguished. First, does an ideal intermediate visual state provide any headroom over direct reasoning? Second, can a current image editor faithfully realize that state from an MLLM instruction? Third, does the downstream MLLM use the returned evidence rather than merely benefiting from an additional reasoning call or the text scaffold surrounding a tool invocation? Recent studies show that visual tool use is highly sensitive to task, representation, reliability, and cost [29, 37, 43, 55, 59]. Yet the practical utility of a standardized MLLM → image editor → MLLM pipeline remains undercharacterized across heterogeneous visual transformations.

We study this problem with Aphanta, an automated framework for task discovery, data construction, and closed-loop utility diagnosis. For each candidate task, Aphanta compares direct reasoning (A), reasoning with an editor-generated intermediate (B), and reasoning with an idealized reference intermediate (C). The comparison estimates whether a task admits useful visual assistance and whether the tested editor realizes it well enough to improve the complete pipeline. Repeating this procedure across 20 candidate tasks produces an empirical affordance map: current instruction-conditioned editors are most reliable when injecting local cues, grounding relevant content, or realizing an explicitly requested visual state, but are less reliable when the intermediate requires symbol-sensitive construction or abstract structural extrapolation.

This framing changes the goal from deciding whether diffusion models “can reason” to measuring the alignment among a task, an intermediate representation, and an editor. It also avoids extrapolating from one editor to the entire diffusion or generative modeling paradigm. Specialized systems can learn visual planning and structured transformations under targeted supervision [9, 40, 65]; our results instead characterize current general instruction editors under the protocol and task suite studied here.

Our contributions are threefold:

• We introduce Aphanta, a reusable task-discovery and validation framework for measuring visual headroom and practical utility in an MLLM–image-editor–MLLM loop.

• We construct Aphanta Train and Test and report a 20-task diagnostic study spanning cue injection, grounding, counterfactual state realization, and structured visual construction, including filtered and unsuccessful tasks rather than only successful demonstrations.

• Across multiple MLLM–editor combinations and two external benchmarks, we identify a task-conditioned reliability boundary and translate it into concrete guidance for selective, verifiable visual assistance, while explicitly delimiting what the present A/B/C protocol can and cannot establish causally.

References (65)