Skip to content
← Research

Miro Bench · Architecture

When a room outline looks right but measures wrong

Of 998 training outlines with at least 80% overlap, 269 missed floor area by more than 10%. Reinforcement learning improved mean overlap in all three runs, while pass counts on a held-out building changed by +2, +1 and −1.

Miro Advisory Research ·

What happened on a held-out building?

A Revit model records the walls a designer draws and the boundary they use to measure a room. We paired a rendered plan with its authored boundary and asked Qwen3-VL-4B-Instruct to trace the room surrounding a marked point. Two buildings supplied 59 training rooms and 12 development rooms. The final evaluation used 27 rooms from a third building. Each seed started from the same supervised checkpoint for both methods. We matched active GPU time within each pair.

An outline passed if it was a valid polygon, contained the marked point, had at least 80% intersection-over-union with the reference, and came within 10% of its floor area. Reinforcement learning rewarded overlap with a bonus for passing. Continued supervised training learned from the authored outlines.

Mean overlap increased in all three runs. Supervised and RL pass counts were 2 and 4, 5 and 6, and 4 and 3.
Qwen on the same 27 held-out rooms. The change in passes was +2, +1 and −1. The fixed image-processing baseline passed four rooms.

In the third run, mean overlap rose from 34.7% to 44.7% while passes fell from four rooms to three. Supervised training cleared the overlap threshold on six rooms, two of which failed on area. RL cleared the overlap threshold on three and got the area within tolerance on all three. RL returned more valid outlines in every run. The median gain of one room fell short of our prespecified expansion criterion.

What the reward actually favored

For RL, the useful comparison is among attempts by the same model on the same room. In 657 of 708 groups of four attempts, Qwen received at least two different numerical rewards. Only 281 groups contained both a pass and a fail. Of the 373 groups where all four outlines failed, 322 still received different rewards. Overlap gave the training algorithm a way to prefer one failed attempt over another. Whether that preference transfers to new buildings is a separate question, tested above.

We rescored all 2,832 outlines sampled during training. Of 998 attempts that reached 80% overlap, 269 missed the floor area by more than 10%. This happened in 37 of the 59 training rooms. In 708 groups of four attempts, adding the pass bonus changed which outline ranked first in only 15 groups. The bonus could still change the distance between scores in other groups and influence learning. The 2,832 attempts are repeated samples from 59 training rooms.

The same designer-authored polygon lets researchers change the penalty for understating area or crossing a wall and rescore existing answers without commissioning new labels. A fresh training run on different buildings would tell us whether a change in reward produces better measurements.

Try one room for free

The proposed rectangle omits the hatched recess in a fictional studio.
We drew this studio and its example answer for the download. It is excluded from every study count.

The rectangle overlaps 83.84% of the reference and understates floor area by 16.16%. How would you reward that answer? The free task includes the plan, prompt, editable reference, example submission and CPU scorer.

Download the sample task (ZIP)

Unzip the task, enter its folder and run the example with uv installed.

uv run --script score.py

To test another model, give it only plan.png and the instruction in task.json. Save its response as answer.json and run uv run --script score.py answer.json. The real drawings and authored project polygons stay private. Tell us what you would reward.

Methods and scope

Data and training. Each of the 98 qualifying rooms fit a 30 m × 24 m view and had at least 80% of its perimeter within 20 cm of visible physical linework. We used rank-eight LoRA adapters on query and value projections in the language model, two supervised passes, and learning rates of 0.0001 for supervision and 0.00001 for group-relative policy optimization. Sampling used temperature 0.8 and top-p 0.95. Seeds were 41, 43 and 47. Each method trained for roughly 8.6–8.7 active GPU hours per seed; paired times differed by at most 14 seconds. Pinned model revision · TRL trainer.

We compared four checkpoints per arm plus the shared start, selecting on development pass count, mean IoU, then valid count. Each selected model had one greedy attempt per final room with a 768-token limit. The downloadable scorer reproduced the metrics on all 270 saved held-out responses across the base model and nine checkpoints. The prespecified expansion threshold required at least three net additional rooms at the median seed, gains at all three seeds, and no aggregate rise in invalidity or spill. For the post hoc reward comparison, ties shared first place. A change required disjoint sets of top answers. Aggregate results (JSON).

Limits. The plans were rendered from building models. The designer’s boundary provided the reference and was not independently retraced. This scope covers model-rendered plans, one open model, and one held-out building. We measured geometry and floor area under benchmark tolerances. Construction and purchasing outcomes remain unmeasured.

Related work. RoomFormer recovered room polygons from 3D scans. Visual-RFT used verifiable rewards, including IoU for object detection. Here the downstream question is whether the traced geometry supports an accurate measurement or decision on a different building. RoomFormer · Visual-RFT.