SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.21620 · 2025

UI-R1: Enhancing Efficient Action Prediction of GUI Agents by Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2503.21620.json · badge: /api/ran/2503.21620.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
lll6gg/ui-r1 canonical (classifier label)
classifier basis not recorded on the link
10 ran · 2 no recorded run
FunctionStatusWhere it lives
extract_action Ran
ran on a synthesized input
lll6gg/ui-r1/src/ui_r1/src/open_r1/grpo_json_action_coord-dast.py
code served (permissive licence) · get_code("0973f0f093e870b6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_action(response):
    answer_tag_pattern = '<answer>(.*?)</answer>'
    action_pattern = "'action':\\s*'(\\w+)'"
    action_pattern_1 = "'action':\\s*(\\w+)"
    content_answer_match = re.search(answer_tag_pattern, response, re.DOTALL)
    if content_answer_match:
        content_answer = content_answer_match.group(1).strip()
        action_match = re.search(action_pattern, content_answer)
        if action_match:
            return action_match.group(1)
        action_match = re.search(action_pattern_1, content_answer)
        if action_match:
            return action_match.group(1)
    return None

ARGS = {
    "response": "<answer>'action': 'navigate'</answer>"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_bbox Ran
ran on a synthesized input
lll6gg/ui-r1/evaluation/eval_ss_pro.py
code served (permissive licence) · get_code("d73a25686eea74ad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_bbox(content):
    bbox_pattern = '\\{.*\\[\\s*(-?\\d+),\\s*(-?\\d+),\\s*(-?\\d+),\\s*(-?\\d+)\\s*]\\s*.*\\}'
    bbox_match = re.search(bbox_pattern, content)
    if bbox_match:
        bbox = [int(bbox_match.group(i)) for i in range(1, 5)]
        return bbox
    return [0, 0, 0, 0]

ARGS = {
    "content": "{some_data [ 10, 20, 30, 40 ] more_data}"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_bbox Ran
ran on a synthesized input
lll6gg/ui-r1/src/ui_r1/src/open_r1/grpo_json_action_coord-dast.py
code served (permissive licence) · get_code("035f888a03e23312")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_bbox(response):
    answer_tag_pattern = '<answer>(.*?)</answer>'
    bbox_pattern = '\\[(\\d+),\\s*(\\d+),\\s*(\\d+),\\s*(\\d+)]'
    content_answer_match = re.search(answer_tag_pattern, response, re.DOTALL)
    if content_answer_match:
        content_answer = content_answer_match.group(1).strip()
        coord_match = re.search(bbox_pattern, content_answer)
        if coord_match:
            coord = [int(coord_match.group(1)), int(coord_match.group(2)), int(coord_match.group(3)), int(coord_match.group(4))]
            return (coord, True)
    return ([0, 0, 0, 0], False)


# Valid test case with answer tags and bbox format
response_valid = "<answer>[10, 20, 30, 40]</answer>"

# Valid test case with whitespace variations
response_whitespace = "<answer>Some text [100,  200,  300,  400] more text</answer>"

# Invalid test case - no answer tags
response_no_tags = "[10, 20, 30, 40]"

# Invalid test case - answer tags but no bbox
response_no_bbox = "<answer>no coordinates here</answer>"

ARGS = {
    "response": response_valid
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_coord Ran
ran on a synthesized input
lll6gg/ui-r1/evaluation/eval_ss_pro.py
code served (permissive licence) · get_code("65a33c4833de06e2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_coord(content):
    answer_tag_pattern = '<answer>(.*?)</answer>'
    bbox_pattern = '\\{.*\\[(\\d+),\\s*(\\d+)]\\s*.*\\}'
    content_answer_match = re.search(answer_tag_pattern, content, re.DOTALL)
    if content_answer_match:
        content_answer = content_answer_match.group(1).strip()
        coord_match = re.search(bbox_pattern, content_answer)
        if coord_match:
            coord = [int(coord_match.group(1)), int(coord_match.group(2))]
            return coord
    return [0, 0]


# Setup code to construct valid arguments
content_with_coords = '<answer>The bounding box is {shape: [42, 137]}</answer>'

ARGS = {
    'content': content_with_coords
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_coord Ran
ran on a synthesized input
lll6gg/ui-r1/src/ui_r1/src/open_r1/grpo_json_action_coord-dast.py
code served (permissive licence) · get_code("fd4b791e36daf2e0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_coord(content):
    answer_tag_pattern = '<answer>(.*?)</answer>'
    bbox_pattern = '\\{.*\\[(\\d+),\\s*(\\d+)]\\s*.*\\}'
    content_answer_match = re.search(answer_tag_pattern, content, re.DOTALL)
    if content_answer_match:
        content_answer = content_answer_match.group(1).strip()
        coord_match = re.search(bbox_pattern, content_answer)
        if coord_match:
            coord = [int(coord_match.group(1)), int(coord_match.group(2))]
            x, y = coord
            return (coord, False)
    return ([0, 0, 0, 0], False)


# Setup code
content_with_answer = '<answer>The location is {image [42, 100] end}</answer>'

ARGS = {
    'content': content_with_answer
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_problem_solution Ran
ran; our contract draft was wrong, not the code
lll6gg/ui-r1/src/ui_r1/local_scripts/prepare_hf_data.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from AMAP-ML/Q-Hawkeye, is pointer only (licence: NONE) · get_code("41c548a25e90eb39")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from AMAP-ML/Q-Hawkeye, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_image_data_url Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lll6gg/ui-r1/src/ui_r1/local_scripts/create_vision_cot_data.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from minglllli/cls-rl, is pointer only (licence: NONE) · get_code("3f31b48fd862935d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from minglllli/cls-rl, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_ref_dir Ran
ran on a synthesized input
lll6gg/ui-r1/evaluation/eval_ss_pro.py
code served (permissive licence) · get_code("3a64cfbe91e08c2e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import json
import tempfile
import shutil

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()

# Create sample JSON files in the temporary directory
sample_data_1 = [
    {
        'bbox': [10, 20, 30, 40],
        'ui_type': 'button',
        'group': 'Dev',
        'application': 'VSCode'
    },
    {
        'bbox': [50, 60, 70, 80],
        'ui_type': 'textbox',
        'group': 'Office',
        'application': 'Word'
    }
]

sample_data_2 = [
    {
        'bbox': [100, 110, 120, 130],
        'ui_type': 'menu',
        'group': 'Creative',
        'application': 'Photoshop'
    },
    {
        'bbox': [150, 160, 170, 180],
        'ui_type': 'slider',
        'group': 'CAD',
        'application': 'AutoCAD'
    }
]

# Write sample JSON files
with open(os.path.join(temp_dir, 'file1.json'), 'w', encoding='utf-8') as f:
    json.dump(sample_data_1, f)

with open(os.path.join(temp_dir, 'file2.json'), 'w', encoding='utf-8') as f:
    json.dump(sample_data_2, f)

# Define ARGS
ARGS = {
    'ref_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
process_single_item Ran
ran; our contract draft was wrong, not the code
lll6gg/ui-r1/src/ui_r1/local_scripts/create_vision_cot_data.py
code served (permissive licence) · get_code("f029d6b5f19d2885")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from PIL import Image
from io import BytesIO

# Create a small test image
def create_test_image():
    img = Image.new('RGB', (10, 10), color='red')
    return img

# Save image to bytes and get path-like reference
test_image = create_test_image()
img_buffer = BytesIO()
test_image.save(img_buffer, format='JPEG')
img_buffer.seek(0)

# Create a simple example dict matching the structure expected by process_single_item
example = {
    'image_path': test_image,  # Can be PIL Image, file path, or data URL
    'question': 'What color is the square in the image?',
    'answer': 'Red'
}

ARGS = {
    'example': example
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, openai, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
smart_resize Ran
ran, honoured the contract we drafted
lll6gg/ui-r1/src/ui_r1/src/open_r1/trainer/DAST_grpo_trainer.py
code served (permissive licence) · get_code("a50444314d796645")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math

def smart_resize(height: int, width: int, factor: int=28, min_pixels: int=56 * 56, max_pixels: int=14 * 14 * 4 * 1280):
    """Rescales the image so that the following conditions are met:

    1. Both dimensions (height and width) are divisible by 'factor'.

    2. The total number of pixels is within the range ['min_pixels', 'max_pixels'].

    3. The aspect ratio of the image is maintained as closely as possible.

    """
    if height < factor or width < factor:
        raise ValueError(f'height:{height} or width:{width} must be larger than factor:{factor}')
    elif max(height, width) / min(height, width) > 200:
        raise ValueError(f'absolute aspect ratio must be smaller than 200, got {max(height, width) / min(height, width)}')
    h_bar = round(height / factor) * factor
    w_bar = round(width / factor) * factor
    if h_bar * w_bar > max_pixels:
        beta = math.sqrt(height * width / max_pixels)
        h_bar = math.floor(height / beta / factor) * factor
        w_bar = math.floor(width / beta / factor) * factor
    elif h_bar * w_bar < min_pixels:
        beta = math.sqrt(min_pixels / (height * width))
        h_bar = math.ceil(height * beta / factor) * factor
        w_bar = math.ceil(width * beta / factor) * factor
    return (h_bar, w_bar)


ARGS = {
    "height": 224,
    "width": 224,
    "factor": 28,
    "min_pixels": 56 * 56,
    "max_pixels": 14 * 14 * 4 * 1280,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gpt4o_query Not yet run
unverified (harvested, no recorded run)
lll6gg/ui-r1/src/ui_r1/local_scripts/create_vision_cot_data.py
code served (permissive licence) · get_code("58ab41ce28a94c62")
How it ran

no invocation recorded.

load_image_from_path Not yet run
unverified (harvested, no recorded run)
lll6gg/ui-r1/src/ui_r1/local_scripts/prepare_hf_data.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from AMAP-ML/Q-Hawkeye, is pointer only (licence: NONE) · get_code("bdcc94560fb87f30")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from AMAP-ML/Q-Hawkeye, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 6 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_image_data_url 8 other papers
1 the same month, 7 later
2503.16188 (2025-03)
To Think or Not To Think: A Study of Thinking in Rule-Based Visual Reinforcement Fine-Tuning
2505.14460 (2025-05)
VisualQuality-R1: Reasoning-Induced Image Quality Assessment via Reinforcement Learning to Rank
2505.15810 (2025-05)
GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents
and 5 more not named here
extract_problem_solution 7 other papers
7 later
2505.14460 (2025-05)
VisualQuality-R1: Reasoning-Induced Image Quality Assessment via Reinforcement Learning to Rank
2505.15810 (2025-05)
GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents
2510.14605 (2025-10)
Knowledge-based Visual Question Answer with Multimodal Processing, Retrieval and Filtering
and 4 more not named here
load_image_from_path 7 other papers
7 later
2505.14460 (2025-05)
VisualQuality-R1: Reasoning-Induced Image Quality Assessment via Reinforcement Learning to Rank
2505.15810 (2025-05)
GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents
2510.14605 (2025-10)
Knowledge-based Visual Question Answer with Multimodal Processing, Retrieval and Filtering
and 4 more not named here
gpt4o_query 5 other papers
5 later
2505.14460 (2025-05)
VisualQuality-R1: Reasoning-Induced Image Quality Assessment via Reinforcement Learning to Rank
2505.15810 (2025-05)
GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents
2510.14605 (2025-10)
Knowledge-based Visual Question Answer with Multimodal Processing, Retrieval and Filtering
and 2 more not named here
process_single_item 5 other papers
5 later
2505.14460 (2025-05)
VisualQuality-R1: Reasoning-Induced Image Quality Assessment via Reinforcement Learning to Rank
2505.15810 (2025-05)
GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents
2510.14605 (2025-10)
Knowledge-based Visual Question Answer with Multimodal Processing, Retrieval and Filtering
and 2 more not named here
smart_resize 5 other papers
1 dated earlier, 2 later, 1 same year, order not determinable, 1 undated
2411.17465 (2024-11)
ShowUI: One Vision-Language-Action Model for GUI Visual Agent
2504.02949 (2025-04)
VARGPT-v1.1: Improve Visual Autoregressive Large Unified Model via Iterative Instruction Tuning and Reinforcement Learning
and 2 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The recent DeepSeek-R1 has showcased the emergence of reasoning capabilities in LLMs through reinforcement learning (RL) with rule-based rewards. Despite its success in language models, its application in multi-modal domains, particularly in graphic user interface (GUI) agent tasks, remains under-explored. To address this issue, we propose UI-R1, the first framework to explore how rule-based RL can enhance the reasoning capabilities of multimodal large language models (MLLMs) for GUI action prediction tasks. Specifically, UI-R1 introduces a novel rule-based action reward, enabling model optimization via policy-based algorithms such as Group Relative Policy Optimization (GRPO). For efficient training, we curate a small yet high-quality dataset of 136 challenging tasks, encompassing five common action types on mobile devices. Experimental results demonstrate that our proposed UI-R1-3B achieves significant improvements over the base model (i.e. Qwen2.5-VL-3B) on both in-domain (ID) and out-of-domain (OOD) tasks, with average accuracy gains of 22.1% on ScreenSpot, 6.0% on ScreenSpot-Pro, and 12.7% on ANDROIDCONTROL. Furthermore, UI-R1-3B delivers competitive performance compared to larger models (e.g., OS-Atlas-7B) trained via supervised fine-tuning (SFT) on 76K samples. We additionally develop an optimized version, UI-R1-E-3B, which significantly improves both grounding efficiency and accuracy. These results underscore the potential of rule-based reinforcement learning to advance GUI understanding and control, paving the way for future research in this domain. Code website: https://github.com/lll6gg/UI-R1.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2503.21620")
get_code_for_paper("2503.21620")
have("2503.21620")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2503.21620.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2503.21620.svg)](https://syntology.ai/paper/2503.21620)

Connect an agent — have() is free.