{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/attention-driven-gui-grounding-leveraging","title":"Attention-driven GUI Grounding: Leveraging Pretrained Multimodal Large Language Models without Fine-Tuning","arxiv_id":"2412.10840","date":"2024-12-14","proceeding":null,"authors":["Hai-Ming Xu","Qi Chen","Lei Wang","Lingqiao Liu"],"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.","url_abs":"https://arxiv.org/abs/2412.10840v1","url_pdf":"https://arxiv.org/pdf/2412.10840v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"attention-driven-gui-grounding-leveraging","repo_url":"https://github.com/heimingx/tag","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"tag","task_name":"TAG"}],"methods":[{"method_slug":"attention","method_name":"Attention"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.10840","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.10840"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/heimingx/tag","reach":null}],"summary":{"ran_violates":1,"ran_honours":1,"ran_fixture":1,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":4,"samples":[{"code_sha256_prefix":"ed37b078ca566d40","entry":"is_meaningless","repo":"heimingx/tag","repo_kind":"official","path":"eval_mm/ocg/eval_TAG.py","file_url":"https://github.com/heimingx/tag/blob/HEAD/eval_mm/ocg/eval_TAG.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ed37b078ca566d40"}},{"code_sha256_prefix":"bf7eeb6a26991f1d","entry":"parse_image_aspects","repo":"heimingx/tag","repo_kind":"official","path":"eval_mm/ocg/eval_TAG.py","file_url":"https://github.com/heimingx/tag/blob/HEAD/eval_mm/ocg/eval_TAG.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bf7eeb6a26991f1d"}},{"code_sha256_prefix":"70dc9b613a4d20df","entry":"resize_image","repo":"heimingx/tag","repo_kind":"official","path":"eval_mm/screenspot/eval_TAG.py","file_url":"https://github.com/heimingx/tag/blob/HEAD/eval_mm/screenspot/eval_TAG.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"70dc9b613a4d20df"}},{"code_sha256_prefix":"cc9f01386a1dfdd6","entry":"transform_gt_bbox","repo":"heimingx/tag","repo_kind":"official","path":"eval_mm/screenspot/eval_TAG.py","file_url":"https://github.com/heimingx/tag/blob/HEAD/eval_mm/screenspot/eval_TAG.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cc9f01386a1dfdd6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}