Skip to content

Add MolmoPoint-GUISyn to the stage-1 pointing group (v2 and v3 recipes) - #898

Merged
jason718 merged 3 commits into
visionfrom
jasonr/gui-syn-pointing
Oct 3, 2026
Merged

jason718 merged 3 commits into
visionfrom
jasonr/gui-syn-pointing

Conversation

@jason718

@jason718 jason718 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Adds allenai/MolmoPoint-GUISyn (synthetic GUI screenshots with dense pointing annotations, Apache-2.0) to the stage-1 pointing group used by the v2 and v3 recipes (pointing_data="v2"). Based on vision after #887 (v3 recipe). It ports mm_olmo's molmo2_syn_point (Molmo2SyntheticPointConfig, olmo/data/academic_datasets_manual.py), which mm_olmo trains only in its GUI-only mixtures.

The data

Train split at revision 24bb3e99, read from mm_olmo's copy on weka, /weka/oe-training-default/mm-olmo/hf_datasets/allenai___molmo_point-gui_syn (GUI_SYN_ROOT, under $MOLMO_DATA_DIR like the other dataset roots; --gui_syn.dataset_path overrides it). The loader reads the Arrow shards directly, with no network access; the 256-image validation split of each part stays held out.

Part Images Elements per image Typical size
desktop 16,232 ~89 1920x1080
mobile 10,130 ~22 393x844
web 9,830 ~40 1440x900

All 36,192 images have at least one usable element.

How it is formatted (GuiSynDataset, data/multimodal/gui_syn.py)

  • One example per image. Each sampled element is one branch, answered with a single point at its box center and labelled with the element's lowercased name: <points coords="1 1 090 012">file menu</points>.
  • Question: with probability 0.8 (mm_olmo's p_intent), one of the element's five intents under a new gui_point: tag, e.g. gui_point: Open the File menu to save the current spreadsheet. Otherwise the lowercased name under pointing:, e.g. pointing: share document button. An element with no name is always asked by an intent. The intents are English requests, so they get their own tag, for the same reason CoSyn's questions get cosyn_point:: pointing: keeps meaning "an object name follows". gui_point is registered like cosyn_point in SftFormatter's pointing and demo styles, so it is prefixed under the stage-1 family and unprefixed under the stage-2 family.
  • At most 16 elements per image and epoch (max_elements), redrawn each epoch, unlike mm_olmo, which trains every element. Measured on 150 real images per part with the stage-1 tokenizer (Qwen3-4B-Instruct-2507) and 8 crops:
max_elements desktop p50 / max tokens mobile web Over 2,560 tokens
8 1,522 / 1,627 1,316 / 1,578 1,503 / 1,655 0%
16 1,854 / 1,991 1,620 / 1,941 1,811 / 2,074 0%
all (mm_olmo) 4,696 / 9,669 1,752 / 4,085 2,570 / 7,836 93% / 17% / 51% of examples; 62% / 10% / 25% of loss tokens
  • Stage-1 resolution (max_crops=8). A 1920x1080 desktop shot with ~12-pixel buttons is downscaled, so the smallest targets lose detail; mm_olmo's GUI-only runs force high-resolution crops.

Mixture (Molmo2-Stage1.py)

GUISyn is a fourth source of the v2 pointing group, which both --recipe=v2 and --recipe=v3 use. It sits inside the pointing group: the pointing rate is unchanged (0.16 in v3, 0.25 in v2), and the group is split linearly by image count as before, so GUISyn takes 10% of the group from the other three sources. --gui_pointing=false leaves it out and restores the previous shares exactly; --gui_syn.<field> configures it.

Source Images v3 before v3 after v2 before v2 after
pixmo_points_v2 220,290 10.84% 9.75% 16.93% 15.24%
pixmo_count_v2 36,901 1.82% 1.63% 2.84% 2.55%
cosyn_point_v2 68,051 3.35% 3.01% 5.23% 4.71%
gui_syn 36,192 - 1.60% - 2.50%

Over a 50k-step v3 run (about 9.0M examples, 1.44M of them pointing) each pointing image is seen about 4.0 times instead of 4.4, and GUISyn gets about 145k examples of up to 16 elements each. A 16-element GUISyn example is about 1,850 tokens at 8 crops, close to the v3 average of about 1,800 tokens per example, so its share by tokens is about its share by examples.

The v2 group's sources now come from _v2_pointing_sources(config), so the wiring is testable without the data.

Verification

  • New tests, src/test/data/multimodal/gui_syn_test.py (16): reading only the train split from shards laid out like the weka copy, the gui_point: / pointing: forms and answer labels, nameless elements, the box-center point, skipping unusable elements and images, the 16-element cap, per-epoch rotation and determinism, the end-to-end example, a clear error when the data is missing, config validation, and the v2 group wiring.
  • Updated test: the existing CoSyn wiring test now checks _v2_pointing_sources instead of the script's source text.
  • Results: src/test/data/multimodal 340 passed, 7 skipped (rebased on Molmo2 stage 1: academic QA group, PixMo-Clocks group, v3 recipe (50k steps); drop TallyQA's COCO val2017 images #887). Pinned black / isort pass on the whole repo, and ruff on the changed files. Molmo2-Stage1.py builds its full config for the v1, v2 and v3 recipes. Real data was loaded and formatted from the weka copy (all 36,192 images).
  • Not done: no training run with GUISyn yet. GUI grounding evals (ScreenSpot-v2, ScreenSpot-Pro, OSWorld-G, plus Point-Bench) are in Add Point-Bench, ScreenSpot-v2, ScreenSpot-Pro and OSWorld-G; name image suites by task olmo-eval#431 (gui_pointing / pointing_mp suites), whose stage-1 prompts are the gui_point: <instruction> and pointing: <label> turns trained here. The current v2 checkpoint, trained without GUISyn, already scores ScreenSpot-v2 87.8, ScreenSpot-Pro 10.4, OSWorld-G 35.3 at 8 crops (Molmo2-4B-Pretrain: 88.3 / 10.9 / 33.9).

GuiSynDataset ports mm_olmo's molmo2_syn_point over allenai/MolmoPoint-GUISyn
(36,192 synthetic desktop / mobile / web screenshots), read from the Hugging
Face datasets cache on weka. Each image samples up to 16 elements per epoch;
each element is one point at its box center, asked by one of its intents under
a new gui_point: tag (p=0.8) or by its lowercased name under pointing:.
Molmo2-Stage1.py adds it as a fourth v2 pointing source, split linearly by
image count (2.50% of the v2 mixture); --gui_pointing=false leaves it out.
@jason718
jason718 force-pushed the jasonr/gui-syn-pointing branch from 24d2c4e to 5ff305b Compare October 2, 2026 22:03
@jason718 jason718 changed the title Add MolmoPoint-GUISyn to the v2 stage-1 pointing group Add MolmoPoint-GUISyn to the stage-1 pointing group (v2 and v3 recipes) Oct 3, 2026
GUISyn sits inside the unchanged pointing rate, so the v2 and v3 pointing sources
are seen about 4.0 times per run (4.4 with --gui_pointing=false); #887's loss
split was measured without it.
GuiSynDatasetConfig.dataset_path defaults to GUI_SYN_ROOT
($MOLMO_DATA_DIR/hf_datasets/allenai___molmo_point-gui_syn), like the other
dataset roots; the GUI_SYN_CACHE_DIR env var and the cache_dir field are gone.
@jason718
jason718 merged commit f639a28 into vision Oct 3, 2026
1 check passed
@jason718
jason718 deleted the jasonr/gui-syn-pointing branch October 3, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant