Attention-driven GUI Grounding: Leveraging Pretrained Multimodal Large Language Models without Fine-Tuning

Hai-Ming Xu, Qi Chen, Lei Wang, Lingqiao Liu
12/14/2024
cs.CV

No official code found. Best implementation: HeimingX/TAG (15 stars, last commit 2024-12-17).

Abstract

Recent advancements in Multimodal Large Language Models (MLLMs) have generated significant interest in their ability to autonomously interact with and interpret Graphical User Interfaces (GUIs). A major challenge in these systems is grounding-accurately identifying critical GUI components such as text or icons based on a GUI image and a corresponding text query. Traditionally, this task has relied on fine-tuning MLLMs with specialized training data to predict component locations directly. However, in this paper, we propose a novel Tuning-free Attention-driven Grounding (TAG) method that leverages the inherent attention patterns in pretrained MLLMs to accomplish this task without the need for additional fine-tuning. Our method involves identifying and aggregating attention maps from specific tokens within a carefully constructed query prompt. Applied to MiniCPM-Llama3-V 2.5, a state-of-the-art MLLM, our tuning-free approach achieves performance comparable to tuning-based methods, with notable success in text localization. Additionally, we demonstrate that our attention map-based grounding technique significantly outperforms direct localization predictions from MiniCPM-Llama3-V 2.5, highlighting the potential of using attention maps from pretrained MLLMs and paving the way for future innovations in this domain.

View on arXivView PDF

Code Implementations(1)

HeimingX/TAGCommunity100%

Official code for Attention-driven GUI Grounding, AAAI2025

152Shell, PythonDec 10, 20241 years ago

Similar Papers

Cite this paper

@article{xu2024attentiondriven,
  title  = {Attention-driven GUI Grounding: Leveraging Pretrained Multimodal Large Language Models without Fine-Tuning},
  author = {Hai-Ming Xu and Qi Chen and Lei Wang and Lingqiao Liu},
  year   = {2024},
  eprint = {2412.10840},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10840v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.10840.svg)](https://codeofpaper.com/paper/2412.10840)

Discussion