mlsanityData to 14 Oct 2026

LaSM: Layer-wise Scaling Mechanism for Defending Pop-up Attack on GUI Agents

arXiv 2507.10610 ↗First posted 13 Jul 2025cs.CR cs.AIcited by 6

On the map: Multimodal LLMs / vision-language models → MLLM jailbreaks and adversarial robustness

also in 1 more
Abstract (arXiv)

Graphical user interface (GUI) agents built on multimodal large language models (MLLMs) have recently demonstrated strong decision-making abilities in screen-based interaction tasks. However, they remain highly vulnerable to pop-up-based environmental injection attacks, where malicious visual elements divert model attention and lead to unsafe or incorrect actions. Existing defense methods either require costly retraining or perform poorly under inductive interference. In this work, we systematically study how such attacks alter the attention behavior of GUI agents and uncover a layer-wise attention divergence pattern between correct and incorrect outputs. Based on this insight, we propose LaSM, a textitLayer-wise Scaling Mechanism that selectively amplifies attention and MLP modules in critical layers. LaSM improves the alignment between model saliency and task-relevant regions without additional training. Extensive experiments across multiple datasets demonstrate that our method significantly improves the defense success rate and exhibits strong robustness, while having negligible impact on the model's general capabilities. Our findings reveal that attention misalignment is a core vulnerability in MLLM agents and can be effectively addressed through selective layer-wise modulation. Our code can be found in https://github.com/YANGTUOMAO/LaSM.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in MLLM jailbreaks and adversarial robustness, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 37 of its 40 references that are in the map. First posted on arXiv 13 Jul 2025.

Builds on

37 of 40 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025In-Context Defense in Computer Agents: An Empirical Study12 Mar
  2. 2025Watch Out Your Album! On the Inadvertent Privacy Memorization in Multi-Modal Large Language Models3 Mar

Other references · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
  6. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  7. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,195
  8. 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agentscited by 610
  9. 2024LLaVA-NeXT-Interleave: Tackling Multi-image, Video, and 3D in Large Multimodal Modelscited by 584
  10. 2024SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agentscited by 567
  11. 2024OS-ATLAS: A Foundation Action Model for Generalist GUI Agentscited by 378
  12. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
23 more
  1. 2025ScreenSpot-Pro: GUI Grounding for Professional High-Resolution Computer Usecited by 254
  2. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  3. 2024On the Effects of Data Scale on UI Control Agentscited by 194
  4. 2023You Only Look at Screens: Multimodal Chain-of-Action Agentscited by 185
  5. 2025MLLMs Know Where to Look: Training-free Perception of Small Visual Details with Multimodal LLMscited by 176
  6. 2024Large Language Model-Brained GUI Agents: A Surveycited by 162
  7. 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attackscited by 157
  8. 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakagecited by 150
  9. 2024WebCanvas: Benchmarking Web Agents in Online Environmentscited by 121
  10. 2024Attacking Vision-Language Computer Agents via Pop-upscited by 116
  11. 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuningcited by 106
  12. 2024GUI Agents: A Surveycited by 103
  13. 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinkingcited by 99
  14. 2024CoCo-Agent: A Comprehensive Cognitive MLLM Agent for Smartphone GUI Automationcited by 70
  15. 2025A Survey on (M)LLM-Based GUI Agentscited by 62
  16. 2025The Obvious Invisible Threat: LLM-Powered GUI Agents' Vulnerability to Fine-Print Injectionscited by 59
  17. 2024Caution for the Environment: Multimodal LLM Agents are Susceptible to Environmental Distractionscited by 56
  18. 2025Towards Trustworthy GUI Agents: A Surveycited by 34
  19. 2025LLM-Powered GUI Agents in Phone Automation: Surveying Progress and Prospectscited by 32
  20. 2025Evaluating the Robustness of Multimodal Agents Against Active Environmental Injection Attackscited by 22
  21. 2023Visual Explanations via Iterated Integrated Attributionscited by 19
  22. 2025Where do Large Vision-Language Models Look at when Answering Questions?cited by 15
  23. 2024LLM for Mobile: An Initial Roadmapcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Are GUI Agents Focused Enough? Automated Distraction via Semantic-level UI Element Injection
  2. 2025EVA: Evolving Semantic Adversaries for Red-Teaming GUI Agents Against Environmental Injection Attacks
  3. 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agents
  4. 2026Faithful Mobile GUI Agents with Guided Advantage Estimator
  5. 2025VisualTrap: A Stealthy Backdoor Attack on GUI Agents via Visual Grounding Manipulation
  6. 2025Environmental Injection Attacks against GUI Agents in Realistic Dynamic Environments
  7. 2026RouteGuard: Internal-Signal Detection of Skill Poisoning in LLM Agents
  8. 2026Alignment Is Local: A Paired Diagnostic for GUI Agents under User-Side Persuasion