Repository navigation
Conversation
added 2 commits
October 1, 2026 03:41
MolmoPoint's grounding benchmarks, each scored by its official rule: the GUI tasks count a click correct when the first predicted point lands in the target (box, OSWorld-G polygon, or no point for OSWorld-G refusals); Point-Bench scores the first point (all points and the expected count for counting) against the mask and averages the five categories. OSWorld-G reads the official annotations and screenshots at a pinned commit; GUI instructions are sent as gui_point: <instruction> under the stage-1 family. Suite: molmopoint.
mm_olmo's saved Molmo2-8B predictions behind the paper's GUI numbers used its click prompt. Stage-1 checkpoints still get gui_point: <instruction>.
Conflicts were additions on both sides: the benchmark imports and the README task table now carry both the OCR tasks and the MolmoPoint pointing tasks. The MolmoPoint tasks are a Pointing row (suite molmopoint), not a separate family.
pointing (pixmo_points_eval, sa_co_gold_subset, point_bench) replaces molmo2_pointing, pointing_mp replaces molmo2_pointing_mp, and gui_pointing (screen_spot_v2, screen_spot_pro, os_world_g) replaces molmopoint. They move to suites/pointing.py.
…pointing_mp - suites/molmo2.py -> suites/vision.py; molmo2_imageqa -> image_qa, molmo2_imageqa_caption -> image_qa_caption, molmo2_multiimage -> multi_image. - pointing_mp also runs point_bench, so one suite covers stage-1 pointing with the pointing: <label> / pointing: <query> turns stage 1 trains on. - README: which suites to use for stage-1 checkpoints and why to evaluate pointing at the trained max_crops.
jason718
added a commit
to allenai/Olmo-core
that referenced
this pull request
Oct 3, 2026
…s) (#898) Adds [allenai/MolmoPoint-GUISyn](https://huggingface.co/datasets/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 #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 allenai/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).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds four pointing benchmarks (the ones MolmoPoint reports), each scored by the benchmark's own official rule, and names every image suite by task rather than by model.
Suite renames (breaking: the old
-tnames are gone):molmo2_pointingpointingpixmo_points_eval,sa_co_gold_subset,point_bench(new)molmo2_pointing_mppointing_mppixmo_points_eval_mp,sa_co_gold_subset_mp,sa_co_gold_point_4k_mp,point_bench(new)gui_pointingscreen_spot_v2,screen_spot_pro,os_world_gmolmo2_imageqaimage_qamolmo2_imageqa_captionimage_qa_captionmolmo2_multiimagemulti_imagesuites/molmo2.pyis nowsuites/vision.py; the pointing suites live insuites/pointing.py.Train/eval consistency with OLMo-core stage 1 (allenai/Olmo-core#898 adds MolmoPoint-GUISyn under a
gui_point:tag). Under-o prompt_templates=none -o system_prompt_style=style_and_length_v2, each eval prompt matches the user turn stage 1 trains on. Checked by rendering real training turns from #898's loaders and the first instance of each eval task:screen_spot_v2,screen_spot_pro,os_world_ggui_point: close this windowgui_point: Navigate to the next promo using indicator 2pixmo_points_eval_mp,sa_co_*_mppointing: earringpointing: browser extensions buttonpoint_benchpointing: Point to the free space between ...pixmo_countpoint_count: cowspoint_count: <label>dense_caption_captionerlong_caption:long_caption:omnidocbench_en/cc_ocr_multi_scene_enolmocr:/textocr:olmocr:/textocr:Answers use the training format
<points coords="1 1 090 637">label</points>(per-mille coordinates), which the eval parser reads back to pixel coordinates exactly.resolve_max_cropsreads the checkpoint's trainedmax_crops(8 for stage 1). The non-_mppointingsuite sendspointing: Point to <label>., which stage 1 never sees, so the README now says to usepointing_mp+gui_pointingfor stage-1 checkpoints.screen_spot_v2accuracyover all (also mm_olmo'saverageof desktop/web/mobile, per platform x text/icon)$MOLMO_DATA_DIR/torch_datasets/ScreenSpot-v2screen_spot_proaccuracyover all (per group, per text/icon)torch_datasets/ScreenSpotProos_world_g/os_world_g_refinedevaluation/eval.py); no point for the 54 refusalsaccuracyover all 564 (alsoaccuracy_no_refusal, the 5 official capability groups)daa6bd8e: annotations,classification_result.json, 264 screenshots, downloaded once to$HF_HOME/olmo-eval-downloadspoint_benchcounting, every point in the mask and the annotated countaverageof the 5 category success rates (leaderboardAvg); alsoaverage_all_points(mm_olmo's rule)PointArena/pointarena-dataat77ec5dca(data.jsonwith thecounts,pixmo_metadata.csvwith the steerable points) + images/masks fromtorch_datasets/point_arenaPrompts. GUI instructions are sent as
Click <instruction>, mm_olmo'sclickprompt, which is what the MolmoPoint paper's runs used (the saved Molmo2-8B predictions below); under the stage-1 family (-o prompt_templates=none -o system_prompt_style=style_and_length_v2) they aregui_point: <instruction>, the tag OLMo-core#898 trains GUISyn intents under. Point-Bench uses thepointingstyle (bare query,pointing: <query>for stage 1, which is also the official Molmo prompt) and, as in the official evaluator, follows each steerable query with the existing point it refers to.Where this differs from mm_olmo (and so from numbers produced there):
MMInstruction/OSWorld-Gon the Hub (mm_olmo's source) drops the 54 refusals and collapses each polygon to its bounding box, which mm_olmo's evaluator then reads as[x, y, w, h], enlarging those 40 targets. This uses the official 564-item JSON;accuracy_no_refusalis the comparable number.average(mean of the three platforms) is kept as a metric.Validation
Oracle / empty answers on the real data: ScreenSpot-v2, ScreenSpot-Pro and OSWorld-G score 1.000 with the target's center (an interior point for polygons, no point for refusals) and 0 with no point (OSWorld-G: 0.0957 = 54/564, the refusals). Point-Bench scores 0.996 with in-mask points; the 4 misses are mask-edge float artifacts (e.g.
285/1000*1200 = 341.99999truncates to pixel 341), identical in the official code.Parity with the MolmoPoint paper's runs. mm_olmo's saved Molmo2-8B predictions (
released-models-molmo2-1225/Molmo2-8B/predictions-ck2000-*, click prompt, single-point decoding) re-scored with these scorers:average, paper 89.5)accuracy0.8962Tests: new
tests/evals/vision/test_gui_grounding.py(23: rect/polygon/refusal rules incl. a concave polygon and the degenerate 2-vertex form, first-point and count rules, mask bounds, metrics incl. list-valued groups and the macro average, prompt families, instance building from fixtures);tests/evals/vision+tests/evals/suites: 361 passed, 2 skipped.Results
All runs: Beaker group
molmopoint-bench-validation, greedy decoding with no constraint on the number of points (the paper constrains decoding to exactly one point). Each checkpoint is evaluated at the crop count it was trained for; 8-crop and 24-crop numbers are not comparable and are not set side by side.Released Molmo2 vs. the MolmoPoint paper (24 crops, default prompts)
This checks that the tasks reproduce the paper.
point_benchaverage(official rule)average_all_points(mm_olmo rule)screen_spot_v2accuracy/averageaverage)screen_spot_proaccuracyos_world_gaccuracy(564) /accuracy_no_refusal(510)os_world_g_refinedaccuracyMolmo2-8B lands within ~1-2 points of the paper on every benchmark; the remaining gap matches the free-decoding no-point rate.
Stage-1 checkpoints (8 crops, stage-1 prompt family)
-o prompt_templates=none -o system_prompt_style=style_and_length_v2, i.e.gui_point: <instruction>for the GUI tasks andpointing: <query>for Point-Bench. Molmo2-4B-Pretrain is mm_olmo's released stage-1 checkpoint; the 09/26 checkpoint is OLMo-coremolmo2-stage1-4b-v2-20260926step 32000 (--recipe=v2, trained before GUISyn). Molmo2-4B-Pretrain was run three times (holmes x2, H100), all within 0.5 points.point_benchaveragescreen_spot_v2accuracyscreen_spot_proaccuracyos_world_g/_refinedaccuracyThe two stage-1 checkpoints are within 1.5 points on every headline number. Neither saw GUI data in training; ScreenSpot-Pro is low for both because 4K screenshots are reduced to 8 crops.
Prompt tag for stage-1 GUI tasks. The 09/26 checkpoint never saw
gui_point:, so the GUI tasks were also run withcosyn_point:, the tag of the CoSyn web-UI pointing data it did train on (throwaway branch, deleted).gui_point:scored higher on all four: ScreenSpot-v2 87.8 vs 84.9, ScreenSpot-Pro 10.4 vs 8.3, OSWorld-G 35.3 vs 31.7, refined 40.4 vs 37.4.Crop count. A text-coordinate checkpoint trained only at 8 crops cannot be evaluated at more: the 09/26 checkpoint at 24 crops scores below 31 on every task here, with points landing in the wrong place, as the MolmoPoint paper reports for test-time crop scaling. Evaluate stage-1 checkpoints at 8 crops.
🤖 Generated with Claude Code