Manuscript Offprint

arXiv:2609.35673

FlowTool: Controlling Tool Parameter in Image Retouching via Flow Matching

Thanh-Long V. Le, Steven Walton, Seunghyun Yoon, Branislav Kveton, Trung Bui, Eunho Yang, Viet Lai

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Tool-based image editing (image retouching) is commonly formulated with autoregressive multimodal large language models (MLLMs) that sequentially generate reasoning, tool selections, and parameter values. In this work, we present a novel approach to tool-based image editing by framing the task as a flow matching problem. We introduce FlowTool, a framework that directly models the distribution of high-quality tool parameters conditioned on the input image and user instruction using conditional rectified flow. FlowTool combines a vision-language model backbone for multimodal understanding with a Diffusion Transformer parameter generator that transforms Gaussian noise into an editing plan. We train FlowTool with a two-stage supervised flow-matching curriculum, followed by reward-based post-training. Across MMArt-Bench, FlowTool-Eval, ArtEdit-Bench, and MIT-Adobe5K, FlowTool achieves significantly stronger reference-based performance than specialized MLLM editing agents and proprietary MLLMs, while remaining competitive with proprietary models under reference-free evaluation. Moreover, FlowTool significantly improves inference efficiency, reducing latency by at least 50×50\times while requiring nearly 2×2\times less memory than the compared baselines. These results demonstrate that tool-based image editing can be effectively modeled as conditional generation over structured continuous editing parameters, without autoregressive reasoning.

1 INTRODUCTION

Professional tool-based image editing software provides a rich collection of tools for precise and controllable visual manipulation (Wu et al., 2026). However, effectively using these tools often requires substantial domain expertise. Users must translate high-level editing intents, such as make the image more cinematic" or brighten the subject while preserving the background," into concrete editing plans: selecting appropriate tools (e.g., saturation, hue, and opacity) and determining their parameter values. Recent advances in MLLMs (Anthropic, 2026; OpenAI, 2026; Comanici et al., 2025; Wang et al., 2025; Qwen Team, 2026a; Guo et al., 2025) have enabled a promising approach to solving the image retouching (IR) problem. Given an image and an instruction, an MLLM generates reasoning trace, tool selections, and numerical parameter values as sequences of discrete tokens (Lin et al., 2026a; Dutt et al., 2025) in an interactive environment (Yao et al., 2022).

While this formulation is technically convenient, we argue that MLLMs is a fundamental mismatch for the IR problem for 3 reasons: (1) First, IR tools are usually standardized with smooth and continuous linearized scalers for parameters. MLLMs do not yield a high-fidelity, continuous numerical representation sufficient for the sequential decoding of discrete tokens down to numbers (Song & Bahri, 2025). This leads to poor numerical understanding and generation (Lovering et al., 2025; Golkar et al., 2023; Ni, 2026), which is unfit for IR. (2) An MLLM predicts an editing plan token by token, effectively modeling each tool or parameter value conditioned on all preceding actions and parameter predictions Vaswani et al. (2017). This autoregressive formulation exposes the IR task to cascading errors, as mistakes made early in a long prediction trajectory can propagate and

*Work done during Thanh-Long's internship at Adobe Research.

†^{\dagger}Project Lead. Correspondence to: daclai@adobe.com

Figure

Figure 1: FlowTool versus autoregressive tool-based image-editing agents. Existing MLLM agents formulate retouching as language generation, autoregressively producing reasoning, tool selections, and discretized numerical parameters. FlowTool instead treats retouching as conditional generation within a structured, continuous parameter space and directly generates tool parameters via conditional flow matching.

compound over subsequent steps (Zhang et al., 2024). We therefore argue that the desired output is better viewed not as a single deterministic sequence of tokens, but as a sample from a conditional joint distribution over coherent editing actions (Chi et al., 2025). (3) Autoregressive agent formulations additionally incur a substantial inference cost. They may generate unnecessarily lengthy reasoning and tool-call trajectories, even though these tokens are not the system's final objective. This leads to high latency and memory overhead (Gagrani et al., 2024; Leviathan et al., 2023). This limitation are particularly consequential for interactive editing, where users expect near-real-time feedback, and for deployment on resource-constrained devices.

Motivated by these observations, we formulate tool-based image retouching as a conditional generative modeling problem (Liu et al., 2023; Lipman et al., 2023). Given an input image x and user instruction c, let a(⋅)\mathbf{a}(\cdot) denote an editing plan consisting of the selected tools and their parameters. Rather than representing a(⋅)\mathbf{a}(\cdot) as a language sequence, we directly model the conditional distribution p(a∣x,c)p(\mathbf{a} \mid \mathbf{x}, \mathbf{c}) (Chi et al., 2025; Black et al., 2024). This formulation preserves the continuous structure of tool parameters, naturally models the conditional joint distribution over the tool parameter space, and eliminates the need for natural-language reasoning and numerical generation during inference. To this end, we introduce FlowTool, a framework that formulates tool-based image editing as conditional flow matching (Tong et al., 2024).

FlowTool combines a VLM backbone for multimodal understanding with a DiT-based tool parameter generator (Peebles & Xie, 2023) for continuous parameter value generation and a tool-presence head for tool selection. We train the model with a two-stage supervised flow-matching curriculum, followed by reward-based post-training (Zheng et al., 2026) that directly optimizes the quality of rendered edits. Across four benchmarks, MMArt-Bench (Lin et al., 2026a), ArtEdit-Bench (Lin et al., 2026b), MIT-Adobe5K (Bychkovsky et al., 2011), and FlowTool-Eval, FlowTool significantly outperforms specialized MLLM agents and proprietary MLLMs on reference-based metrics. Under reference-free evaluation of semantic consistency and perceptual quality, FlowTool also consistently outperforms specialized MLLM agents while remaining competitive with proprietary models. Beyond editing quality, directly generating editing parameters yields substantial computational benefits: FlowTool reduces inference latency by at least 50×50\times and requires nearly 2×2\times less memory than autoregressive baselines. These gains make high-quality tool-based image editing practical in interactive environments and on resource-constrained devices.

We make three key contributions as follows:

• First, we recast tool-based image editing (image retouching) from autoregressive language generation into conditional generative modeling over a structured continuous tool parameter space, better matching the continuous, precision-sensitive, and multimodal nature of professional editing parameters.

• Second, we introduce FlowTool, a conditional flow-matching framework that directly generates tool parameters from multimodal image–instruction representations and further improves rendered outcomes through reward-based post-training.

• Third, we conducted extensive evaluation across four benchmarks, demonstrating that FlowTool achieves strong editing quality while dramatically reducing inference latency and memory consumption compared with autoregressive MLLM agents.

References (78)