Close Menu
techwavedispatch.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    A Better Way to Execute Actions

    November 10, 2026

    How To Turn On Personal Results On Your Google Home

    November 10, 2026

    Ordered Policy Optimization

    November 10, 2026
    Facebook X (Twitter) Instagram
    Trending
    • A Better Way to Execute Actions
    • How To Turn On Personal Results On Your Google Home
    • Ordered Policy Optimization
    • Efficient Vision-Language-Action Model trained on Lerobot Community Data
    • How skills and agents work in AWS Quick
    • Jensen Huang’s Troubles Leave the AI Industry Reeling
    • Unlocking Efficiency with Co-located vLLM in TRL
    • Here’s what Trump said he knew about Jensen Huang
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Tuesday, November 10
    • Home
    • AI Tools & Software
    • Machine Learning
    • Generative AI
    • Robotics & Automation
    • Future Tech & Hardware
    • AI in Business
    • Ethics & Regulations
    • More
      • Gadgets & Smart Devices
      • Cybersecurity & AI
      • Tech Breakthroughs
    techwavedispatch.com
    Home»AI Tools & Software»Post-Training GUI Agents for Computer Use
    AI Tools & Software

    Post-Training GUI Agents for Computer Use

    adminBy adminNovember 9, 2026No Comments11 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Post-Training GUI Agents for Computer Use
    Share
    Facebook Twitter LinkedIn Pinterest Email

    TL;DR: This work shows how a lightweight vision–language model can acquire GUI-grounded skills and evolve into an agentic GUI coder. We release all training recipes, data-processing tools, resulting model, demo and datasets to enable full reproducibility and foster further research 🫡. Find the collection here.


    This video demonstrates the model obtained through the recipe described below, executing a task end-to-end.



    Table of Contents



    Introduction

    Graphical User Interface (GUI) automation is one of the most challenging frontiers in computer vision. Developing models that see and interact with user interfaces enables AI agents to navigate mobile, desktop, and web platforms. This will reshape the future of digital interaction.

    In this blog post, we present a comprehensive approach to training vision-language models for GUI automation through a multi-phase training strategy. We demonstrate how to transform a model with zero grounding capabilities into an agentic coder capable of understanding and interacting with graphical interfaces.

    Rather than aiming for a SOTA model, our goal is to demonstrate the entire process, from data processing to model training, and, in doing so, show how to unlock GUI-grounding capabilities in VLMs.

    GUI capabilities combine understanding of the interface and precise element localization. These abilities enable the model to translate high-level tasks into low-level GUI actions such as clicking, typing, …

    GUI capabilities combine understanding of the interface and precise element localization. These abilities enable the model to translate high-level tasks into low-level GUI actions such as clicking, typing, …

    Our approach leverages SmolVLM2-2.2B-Instruct as the baseline model, a small powerful vision-language model that initially has no grounding capabilities for GUI tasks. This makes it an ideal candidate to demonstrate the effectiveness of our training methodology. Through our two-phase training process, we first instill grounding capabilities in the model, then enhance it with agentic reasoning abilities using Supervised Fine-Tuning (SFT).

    We evaluate our approach on an established perception benchmark: ScreenSpot-v2, which tests the model’s ability to understand and locate elements within screenshots. Our process is inspired by the AGUVIS paper, and we leverage their carefully curated datasets to build upon their foundational work.

    Evolution of ScreenSpot-v2 performance during the training phase of the base model SmolVLM2-2.2B-Instruct.

    Evolution of ScreenSpot-v2 performance during the training phase of the base model SmolVLM2-2.2B-Instruct.



    1. Data Transformation and Unified Action Space

    This section explains how we convert heterogeneous GUI actions format from multiple datasets into a single unified format. By standardizing function names, signatures, and parameters, we create consistent, high-quality data that forms the foundation for effective model training.



    The Challenge of Inconsistent Action Spaces

    One of the primary challenges when working with multiple GUI automation datasets is the lack of standardization in action representations. Different datasets use varying function signatures, parameter naming conventions, and action taxonomies, making it difficult to train a unified model across diverse data sources.



    Our Unified Approach

    We took the open-source datasets (xlangai/aguvis-stage1, xlangai/aguvis-stage2), originally used by AGUVIS, and implemented a comprehensive data transformation pipeline to create a unified action space. Our approach involved:

    1. Function Parsing and Normalization: We developed a function parser (see utils/function_parser.py) that can extract and parse function calls from various formats across all datasets. This parser supports any function signature format, handles complex parameter structures, and can reconstruct function calls with proper parameter ordering.
    2. Action Space Unification: We implemented a comprehensive action conversion system (see preprocessing/action_conversion.py) that transforms all original action representations into a standardized function naming and argument structure. This process highlighted the significant inconsistencies in function signatures across different datasets and allowed us to:
      • Remove undesired or redundant actions
      • Standardize parameter naming conventions
      • Create a cohesive action vocabulary
    3. (Bonus) Flexible Adaptation Framework: Our transformation pipeline includes utilities that allow users to:
      • Adapt the entire dataset to their own action space naming conventions using the utils/action_space_converter.py tool
      • Extract and analyze the current action space structure



    Example Data Transformation

    Here are real examples from our action conversion system (preprocessing/action_conversion.py) showing how we transform heterogeneous action representations into our unified format (grounding coordinates normalized to [0,1]):

    Before (Original Action Dataset Formats):

    
    mobile.home()
    mobile.open_app(app_name='drupe')
    mobile.swipe(from_coord=[0.581, 0.898], to_coord=[0.601, 0.518])
    mobile.long_press(x=0.799, y=0.911)
    mobile.terminate(status='success')
    
    pyautogui.click(x=0.8102, y=0.9463)
    pyautogui.doubleClick(x=0.8102, y=0.9463)
    pyautogui.hotkey(keys=['ctrl', 'c'])
    pyautogui.scroll(page=-0.1)
    pyautogui.write(message='bread buns')
    pyautogui.dragTo(from_coord=[0.87, 0.423], to_coord=[0.8102, 0.9463])
    

    After (Unified Action Dataset Formats):

    
    navigate_home()
    open_app(app_name='drupe')
    swipe(from_coord=[0.581, 0.898], to_coord=[0.601, 0.518])
    long_press(x=0.799, y=0.911)
    final_answer('success')
    
    click(x=0.8102, y=0.9463)
    double_click(x=0.8102, y=0.9463)
    press(keys=['ctrl', 'c'])
    scroll(direction='up', amount=10)  
    type(text='bread buns')
    drag(from_coord=[0.87, 0.423], to_coord=[0.8102, 0.9463])
    

    This unification process was essential for creating coherent training data that allows the model to learn consistent action patterns across diverse GUI environments.

    💡 Why Normalized Coordinates?

    Using raw pixel coordinates in text-action datapoint (e.g. click(x=302, y=63)) ties them to a single image size. Vision Language Models (VLMs) often resize images, causing pixel coordinates to break and require adjustment. Normalized coordinates (relative to image size) remain valid at any resolution and keep the dataset consistent.



    (Bonus) Custom Action Space Adaptation with Action Space Converter

    To maximize flexibility for different use cases, we developed the Action Space Converter (utils/action_space_converter.py), a tool that allows users to easily adapt from an action space to their own custom action vocabularies and naming conventions.

    You can use this tool to transform one action signature (function names, parameter names, and parameter value changes, …) into another:

    Before

    assistant_message: "Action: click(x=0.5, y=0.3)"
    

    After

    assistant_message: "Action: touch(x_coord=200, y_coord=300)"
    



    Key Features

    The Action Space Converter provides:

    1. Configurable Mappings: Define custom mappings between unified actions and your preferred action names
    2. Parameter Transformation: Rename parameters, apply value transformations, and set default values
    3. Flexible Architecture: Support for both simple parameter mappings and complex custom transformation functions
    4. Validation: Built-in validation to ensure mapping configurations are valid



    Usage Example

    from utils.action_space_converter import ActionSpaceConverter, ActionMapping, ParameterMapping
    from utils.function_parser import parse_function_call
    
    
    mappings = [
        ActionMapping(
            source_function="click",
            target_function="touch",
            parameter_mappings=[
                ParameterMapping(source_name="x", target_name="x_coord"),
                ParameterMapping(source_name="y", target_name="y_coord")
            ],
            description="Touch screen at coordinates"    ),
        ActionMapping(
            source_function="type", 
            target_function="write", 
            parameter_mappings=[
                ParameterMapping(source_name="text", target_name="content")
                
                
            ],
            description="Input text"    
        )
    ]
    
    assistant_message = "I'll interact at those coordinates for you. click(x=0.5, y=0.3) Now I'll input the text. type(text="hello world")"
    
    
    parsed_function_calls = parse_function_call(text)
    
    
    converter = ActionSpaceConverter(mappings)
    
    
    converted_actions = converter.convert_actions(parsed_function_calls)
    for new_function_call, old_function_call in zip(converted_actions, parsed_function_calls):
        text = text.replace(old_function_call.to_string(), new_function_call.to_string())
    
    print(text)
    
    

    This tool enables researchers and practitioners to:

    • Customize Training Data: Adapt the dataset to match their specific action vocabulary requirements
    • Domain Adaptation: Transform actions for different platforms (mobile vs. desktop vs. web)
    • Framework Integration: Easily align training data with existing automation frameworks
    • Rapid Experimentation: Quickly test different action space configurations
    • Release Preparation: Standardize action spaces for production deployment with consistent naming conventions

    The Action Space Converter is particularly valuable for preparing datasets for training, as it ensures consistent action vocabularies across different deployment environments while maintaining compatibility with existing automation frameworks.



    Transformed and Released Datasets

    Through this pipeline, we transform the open-source datasets xlangai/aguvis-stage1, xlangai/aguvis-stage2 into our unified action space (see here). The output of this process is released as two new fully formatted datasets: smolagents/aguvis-stage-1 and smolagents/aguvis-stage-2.



    2. Phase 1: From Zero to Perception



    Training Data

    Phase 1 leverages the smolagents/aguvis-stage-1 dataset, which introduces GUI grounding by pairing low-level instructions with diverse executable actions (expressed in code form). For example, a user/assistant turn in smolagents/aguvis-stage-1 follows the structure:

    {
      "user": "click on more button",
      "assistant": "click(x=0.8875, y=0.2281)",
    }
    

    Each sample links a screenshot with multi-turn user/assistant interactions, enabling the model to learn fine-grained action grounding across dialogue turns. During fine-tuning, the data collator masks everything except the assistant’s answers when computing the loss.



    Optimization Experiments

    Before proceeding with full-scale Phase 1 training, we conducted comprehensive ablation studies to determine optimal training configurations



    Image Resolution and Coordinate System Analysis

    We experimented with different image sizes and coordinate representation systems to identify the optimal configuration for SmolVLM2:

    • Image Sizes Tested: 384px, 768px, 1152px
    • Coordinate Systems: Pixel coordinates vs. normalized coordinates (0-1 range)
    • Training Data: 400K samples from Aguvis datasets

    Some SOTA GUI VLMs (e.g., Qwen-VL) appear also to use a different normalized range (0–1000), which was not tested in this experiment.

    Configuration (coords / image size) Screenspot-v2 (%)
    Normalized coordinates
    Base / – 0.47
    384 31.28
    764 32.32
    1152 33.72
    Pixel coordinates
    Base / – 0.55
    384 1.17
    764 2.67
    1152 4.32

    Table 1: Baseline on HuggingFaceTB/SmolVLM2-2.2B-Instruct (400k samples, aguvis-stage-1). Higher is better.

    As demonstrated in our benchmark results, SmolVLM2-2.2B-Instruct base initially achieved 0% performance on perception benchmarks like ScreenSpot-v2. This complete lack of grounding capability provided us with a clean slate to evaluate the effectiveness of our training methodology.



    Key Findings

    From our experiments, we determined that:

    • Image Size: 1152px
    • Coordinate System: Normalized coordinates (0-1 range) proved most effective for SmolVLM2
    • Note: The optimal choice between pixel and normalized coordinates may vary depending on the base model’s pre-training approach



    Phase 1 Results

    Using the optimal configuration (1152px resolution with normalized coordinates), we trained for 2 epochs on the smolagents/aguvis-stage-1 dataset. The results were remarkable, +41% improvement over baseline on ScreenSpot-v2

    This dramatic improvement demonstrates that our Phase 1 training successfully instilled fundamental grounding capabilities in the model, enabling it to understand and locate visual elements within screenshots.

    Configuration (coords / image size) Screenspot-v2 (%)
    Normalized coordinates / 1152 41.27

    Table 2: Baseline on HuggingFaceTB/SmolVLM2-2.2B-Instruct (2 epochs, aguvis-stage-1).



    3. Phase 2: From Perception to Cognition

    Whereas Phase 1 provided grounding capabilities, Phase 2 targets agentic reasoning, the ability to deliberate and plan before acting. This stage transforms the model from a reactive system identifying GUI elements into a proactive agent capable of executing complex, multi-step interactions.



    Training Data

    Phase 2 uses the smolagents/aguvis-stage-2 dataset, which introduces agentic scenarios:

    • Explicit reasoning about upcoming actions

    • Context consistency across multiple interaction steps

    • High-level instructions require multi-step, low-level actions.

    For example, the smolagents/aguvis-stage-2 chat message is like this:

    {
      "system": "You are a helpful GUI agent. ...",
      "user": "Please generate the next move according to the UI screenshot, instruction and previous actions.\n\nInstruction: What information does the site provide about Judith Lauand's career, works and exhibitions?\n\nPrevious actions:\nNone",
      "assistant": "\nClick on the link labeled 'Judith Lauand: Brazilian 1922-2022' to explore more about her career and exhibitions.\n\n\nclick(x=0.41, y=0.178)\n",
    }
    

    Each sample links a screenshot with a system/user/assistant turn. During fine-tuning, the data collator masks everything except the assistant’s answers when computing the loss.



    Phase 2 Results

    Starting from the Phase 1 checkpoint (1152 px resolution, normalized coordinates), we fine-tuned the model for two epochs on smolagents/aguvis-stage-2. The accuracy on ScreenSpot-v2 increased from 41% to 61%, indicating that explicit reasoning improves GUI grounding performance.

    Configuration (coords / image size) Screenspot-v2 (%)
    Normalized coordinates / 1152 61.71

    Table 2: Baseline on HuggingFaceTB/SmolVLM2-2.2B-Instruct after Phase 1 finetuning (2 epochs, aguvis-stage-1).

    💡 We also reproduced the two-phase training on a much smaller VLM (nanoVLM-460M). Despite its reduced capacity, the model achieved ~58% on ScreenSpot-v2, demonstrating that the training strategy scales down effectively, making it SOTA on ScreenSpot-v2 for this model size (460M parameters). In addition, aguvis-stage-1 is already included in FineVision Dataset!



    4. All you need is Open Source

    All training code, data processing pipelines, datasets and model are open-source!

    1. Training Recipe (recipe.ipynb): Complete training pipeline for both Phase 1 and Phase 2, including dataset mixture configurations and training orchestration. We leverage the TRL library to train our models.
    2. Datasets (smolagents/aguvis-stage-1, smolagents/aguvis-stage-2): all datasets used are open-source.
    3. Model (smolagents/SmolVLM2-2.2B-Instruct-Agentic-GUI): the model produced by applying the training recipe described above.
    4. Preprocessing Tools:
      • Function Parser (utils/function_parser.py): Utilities for parsing, normalizing, and reconstructing function calls from diverse dataset formats. Supports complex parameter structures, positional arguments, and multiple function call extraction.
      • Action Conversion System (preprocessing/action_conversion.py): Core unification engine transforming mobile and PyAutoGUI desktop actions into a standardized API format. Features smart coordinate handling, direction detection for scroll actions, and comprehensive parameter normalization.
      • Action Space Converter (utils/action_space_converter.py): Flexible tool for adapting the unified action space to custom vocabularies and naming conventions. Enables domain-specific customization through configurable parameter mappings.
    💡 We’ve also released a Space to try the model’s agentic grounding capabilities: A-Mahla/Smol2Operator



    5. Conclusion

    Our experiments demonstrate that high-quality, reasoning-oriented data can substantially improve GUI grounding, even for small VLMs, using only supervised fine-tuning (SFT). Beyond raw performance gains, these results show that the GUI grounding capabilities are largely determined by the quality of the data. Carefully curated datasets teach models the structure and semantics of user interfaces, providing the grounding needed for accurate action prediction.

    To support the development of GUI agents, we’re open-sourcing everything: our complete pipeline, datasets, and trained model. You can reproduce our results, experiment with different models and architectures, or adapt our approach to new domains. The future of agentic AI depends on researchers like you pushing these boundaries further!



    What’s Next?

    While SFT excels at supervised tasks, emerging methods such as Reinforcement Learning (RL) or Direct Preference Optimization (DPO) help develop stronger reasoning capabilities and enable real-time adaptation. These advances point toward a new generation of GUI agents that learn and improve through interaction rather than relying solely on static datasets.

    Let’s build the future of GUI agents together 🤗

    agents computer GUI PostTraining
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    A Better Way to Execute Actions

    November 10, 2026

    Efficient Vision-Language-Action Model trained on Lerobot Community Data

    November 10, 2026

    How skills and agents work in AWS Quick

    November 10, 2026
    Leave A Reply Cancel Reply

    Top Posts

    NVIDIA Is Investigating Reports That CEO Jensen Huang Was The Target Of Chinese Spy Efforts

    November 8, 202618 Views

    Shaping & Monitoring Models through their Internal Representations

    November 7, 20263 Views

    If AGI is so close, why is everyone leaving? The neolabs and their bets

    November 6, 20263 Views

    Tech Firms Dismantle Botnet That Turned 1.3M TV Boxes Into Proxies – Krebs on Security

    November 6, 20262 Views
    Don't Miss
    AI Tools & Software

    A Better Way to Execute Actions

    By adminNovember 10, 20260

    Today we’re sharing research that bridges two powerful paradigms in AI agent design: the expressiveness…

    How To Turn On Personal Results On Your Google Home

    November 10, 2026

    Ordered Policy Optimization

    November 10, 2026

    Efficient Vision-Language-Action Model trained on Lerobot Community Data

    November 10, 2026
    About Us

    Welcome to TechWave Dispatch

    At TechWave Dispatch, we bring you the latest news, insights, and developments from the ever-evolving world of technology. Our mission is to keep readers informed about the innovations shaping our digital future.

    From artificial intelligence and machine learning to cybersecurity, robotics, smart devices, and groundbreaking technologies, we cover the topics that matter in today's fast-moving tech landscape.

    Our Picks

    A Better Way to Execute Actions

    November 10, 2026

    How To Turn On Personal Results On Your Google Home

    November 10, 2026

    Ordered Policy Optimization

    November 10, 2026
    Most Popular

    Ramp data shows AI spending stalling just as Anthropic nears its IPO

    November 6, 20260 Views

    AI Companies Really, Really Want to Buy Your Work Files and Emails

    November 6, 20260 Views

    Who Controls Scientific Discovery? – O’Reilly

    November 6, 20260 Views
    Facebook X (Twitter) Instagram Pinterest
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • About Us
    © 2026 TechWave Dispatch. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.