AFRAgent : An Adaptive Feature Renormalization Based High Resolution Aware GUI agent

Neeraj Anand, Rishabh Jain, Sohan Patnaik, Balaji Krishnamurthy, Mausoom Sarkar · OpenReview

Abstract

There is a growing demand for mobile user interface (UI) automation, driven by its broad applications across industries. With the advent of visual language models (VLMs), GUI automation has progressed from generating text-based instructions for humans to autonomously executing tasks, thus optimizing automation workflows. Recent approaches leverage VLMs for this problem due to their ability to 1) process on-screen content directly, 2) remain independent of device-specific APIs by utilizing human actions (e.g., clicks, typing), and 3) apply real-world contextual knowledge for task understanding. However, these models often have trouble accurately identifying widgets and determining actions due to limited spatial information in vision encoder features. Additionally, top-performing models are often large, requiring extensive training and resulting in inference delays. In this work, we introduce AFRAgent, an instruct-BLIP-based multimodal architecture that achieves superior performance in GUI automation while being less than one-fourth the size of its nearest competitor. To enhance image embeddings in the large language model (LLM) pipeline, we propose an adaptive feature renormalization-based (a token-level affine transformation) technique that effectively enriches low-resolution image embeddings and fuses high-resolution details. We evaluate AFRAgent on Meta-GUI and AITW benchmarks, establishing a new state-of-the-art baseline for smartphone automation.

The GUI Automation Challenge

Automating Graphical User Interfaces (GUIs)—such as instructing a smartphone to "book a flight" or "send a calendar invite"—presents a significant challenge for AI. While Large Multimodal Models (LMMs) have made considerable progress, they often face a "resolution vs. efficiency" paradox.

Standard models frequently resize screenshots to low resolutions, causing them to miss small but critical UI elements like "close" buttons or specific icons. Conversely, some models attempt to solve this by using massive high-resolution encoders or splitting images into numerous crops. However, this leads to a "token explosion," making models slow, memory-intensive, and difficult to deploy on mobile devices. AFRAgent bridges this gap by achieving high-resolution awareness without the massive computational overhead.

Methodology: Adaptive Feature Renormalization (AFR)

The core innovation of AFRAgent is Adaptive Feature Renormalization (AFR). Inspired by techniques used in generative art, AFR utilizes a token-level affine transformation to modulate features efficiently.

The AFRAgent architecture utilizes AFR blocks for both low-resolution and high-resolution feature enrichment, maintaining a low token count for the LLM.
  1. Architecture: AFRAgent is built on the InstructBLIP framework, utilizing a "Q-Former" to bridge a vision encoder and a Large Language Model (LLM).
  2. The AFR Block: Rather than simply concatenating high-resolution data—which would increase the number of tokens the LLM must process—the AFR block takes "enriching features" (high-res details) to calculate scaling ($\alpha$) and shifting ($\beta$) parameters. These are then applied to the "target features" (low-res global context).
  3. Two-Stage Enrichment:
    • Low-Res Enrichment: Raw image embeddings are injected into the Q-Former's query tokens.
  4. High-Res Enrichment: The image is split into crops, processed, and then fused into the existing feature set using AFR.

By renormalizing features instead of stacking tokens, the model keeps the token count low for the LLM, which is the most computationally expensive part of the pipeline.

Experimental Evaluation

AFRAgent was evaluated on three primary benchmarks:

  • AITW (Android In The Wild): A massive dataset for smartphone control with over 715k episodes.
  • Meta-GUI: Focused on multi-turn dialogues and action history for mobile automation.
  • ScreenSpot: Used to test generalization across Mobile, Desktop, and Web platforms.

Results and Efficiency

AFRAgent demonstrates that high performance does not require massive parameter counts. At 4 billion parameters, it is significantly more efficient than its competitors.

AFRAgent achieves higher accuracy than models like CogAgent and SphAgent while utilizing significantly fewer parameters and FLOPs.
  • Performance: On the AITW benchmark, AFRAgent achieved 78.01% overall accuracy, surpassing larger models like CogAgent (76.88%) and SphAgent (76.28%).
  • Speed: AFRAgent is approximately 3x faster than CogAgent, operating at ~5.47 TFLOPs with a latency of 1.24 seconds (compared to CogAgent’s 3.42 seconds).
  • Spatial Reasoning: Visualization tools like Grad-CAM show that after applying AFR, the model’s attention shifts precisely to the correct UI widgets, whereas base models often focus on empty space.

Conclusion and Future Work

AFRAgent establishes a new state-of-the-art for smartphone automation by prioritizing feature modulation over token stacking. While it excels at spatial tasks, larger models like CogAgent still hold an advantage in text-heavy document processing. Future research will focus on scaling pretraining data for improved text recognition and further optimizing the model for real-time execution on mid-range mobile hardware.

Summary updated

BibTeX
@inproceedings{anand2026afragent,
  author = {Neeraj Anand and Rishabh Jain and Sohan Patnaik and Balaji Krishnamurthy and Mausoom Sarkar},
  title = {{AFRAgent : An Adaptive Feature Renormalization Based High Resolution Aware GUI agent}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2026},
}
Figure