DWIM: Towards Tool-aware Visual Reasoning via Discrepancy-aware Workflow Generation & Instruct-Masking Tuning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ke, Fucai, G, Vijay Kumar B, Leng, Xingjian, Cai, Zhixi, Khan, Zaid, Wang, Weiqing, Haghighi, Pari Delir, Rezatofighi, Hamid, Chandraker, Manmohan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912869416697856
author Ke, Fucai
G, Vijay Kumar B
Leng, Xingjian
Cai, Zhixi
Khan, Zaid
Wang, Weiqing
Haghighi, Pari Delir
Rezatofighi, Hamid
Chandraker, Manmohan
author_facet Ke, Fucai
G, Vijay Kumar B
Leng, Xingjian
Cai, Zhixi
Khan, Zaid
Wang, Weiqing
Haghighi, Pari Delir
Rezatofighi, Hamid
Chandraker, Manmohan
contents Visual reasoning (VR), which is crucial in many fields for enabling human-like visual understanding, remains highly challenging. Recently, compositional visual reasoning approaches, which leverage the reasoning abilities of large language models (LLMs) with integrated tools to solve problems, have shown promise as more effective strategies than end-to-end VR methods. However, these approaches face limitations, as frozen LLMs lack tool awareness in VR, leading to performance bottlenecks. While leveraging LLMs for reasoning is widely used in other domains, they are not directly applicable to VR due to limited training data, imperfect tools that introduce errors and reduce data collection efficiency in VR, and challenging in fine-tuning on noisy workflows. To address these challenges, we propose DWIM: i) Discrepancy-aware training Workflow generation, which assesses tool usage and extracts more viable workflows for training; and ii) Instruct-Masking fine-tuning, which guides the model to only clone effective actions, enabling the generation of more practical solutions. Our experiments demonstrate that DWIM achieves state-of-the-art performance across various VR tasks, exhibiting strong generalization on multiple widely-used datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2503_19263
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DWIM: Towards Tool-aware Visual Reasoning via Discrepancy-aware Workflow Generation & Instruct-Masking Tuning
Ke, Fucai
G, Vijay Kumar B
Leng, Xingjian
Cai, Zhixi
Khan, Zaid
Wang, Weiqing
Haghighi, Pari Delir
Rezatofighi, Hamid
Chandraker, Manmohan
Computer Vision and Pattern Recognition
Visual reasoning (VR), which is crucial in many fields for enabling human-like visual understanding, remains highly challenging. Recently, compositional visual reasoning approaches, which leverage the reasoning abilities of large language models (LLMs) with integrated tools to solve problems, have shown promise as more effective strategies than end-to-end VR methods. However, these approaches face limitations, as frozen LLMs lack tool awareness in VR, leading to performance bottlenecks. While leveraging LLMs for reasoning is widely used in other domains, they are not directly applicable to VR due to limited training data, imperfect tools that introduce errors and reduce data collection efficiency in VR, and challenging in fine-tuning on noisy workflows. To address these challenges, we propose DWIM: i) Discrepancy-aware training Workflow generation, which assesses tool usage and extracts more viable workflows for training; and ii) Instruct-Masking fine-tuning, which guides the model to only clone effective actions, enabling the generation of more practical solutions. Our experiments demonstrate that DWIM achieves state-of-the-art performance across various VR tasks, exhibiting strong generalization on multiple widely-used datasets.
title DWIM: Towards Tool-aware Visual Reasoning via Discrepancy-aware Workflow Generation & Instruct-Masking Tuning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.19263