PhyScale

PhyScale: Physically Grounded Object Size Correction in Text-to-Image Generation

Lingxiao Li1 Ledell Wu2 Boqing Gong1

1 Boston University 2 Creatify AI

Size correction examples

A bear stands behind a pizza almost as wide as its body.Original
The same bear stands behind a much smaller pizza.PhyScale
The pizza shrinks beside the bear.Qwen-Image

Abstract

Generated images can appear photorealistic while depicting objects at implausible relative physical sizes. Correcting these errors requires distinguishing physical size from its depth- and pose-dependent appearance. We introduce PhyScale, a framework that formulates size correction as geometric inference and planning, separating physical-size changes from their image-space realization. Using typical real-world object dimensions from a knowledge base and estimated scene geometry, it computes size, depth, and placement commands for an image editor controlled through spatial rotary positional embeddings.

To learn the associated appearance changes, we adapt the editor on only 2,468 paired renders from controlled 3D object transformations. The resulting editor outperforms prior geometry-aware editors in target fidelity and identity preservation on real-image edits. Combined with our geometric inference and planning front end, it matches a state-of-the-art VLM-based correction pipeline on GenScale at one-twentieth of the inference cost, and human raters prefer its corrections.

Method

A small object near a camera can occupy as many pixels as a much larger object farther away. Given an image, object names and typical real-world dimensions, PhyScale estimates which relative sizes are implausible and finds a correction that fits the scene.

A geometric observer and planner compute size and placement commands for the RoPE-controlled editor.
Pipeline overview. Enlarging the cone in place would overlap the guitar. Moving the cone farther back gives it a feasible destination.

Separating physical size from projected size

Under perspective, an object’s projected extent depends on its physical size, depth and pose. When the camera and object orientation stay fixed, the change in projected size is approximately the physical resize factor divided by the depth factor.

apparent scale=physical resize factordepth factor

In the cone example above, PhyScale makes the cone 2.13× larger in the scene and moves it 1.91× farther from the camera. Its projected size grows by only 1.12×. The editor needs both the destination and this apparent scale to realize the physical correction.

  1. Pose-aware observer

    The observer estimates the camera horizon and each object’s ground contact, orients a cuboid with the category’s known dimensions, and fits its projected extent to the instance mask. The fitted scale measures how large the object appears relative to its expected physical size.

  2. Geometric planner

    The planner distributes corrections across objects, then searches over depth and lateral position. It prioritizes support and collision avoidance, then considers framing, occlusion and the editor’s spatial resolution. Among feasible candidates it favors smaller changes to the image.

  3. RoPE-controlled editor

    The editor translates and scales the source object’s token coordinates using the spatial rotary positional embedding (RoPE) warp of RoPEMover. The warp specifies the projected destination inside Qwen-Image-Edit. Small targets are edited in a magnified local crop to give the model enough spatial tokens.

Fitted object sizes, candidate rabbit placements, the 8-ball token warp and the corrected tabletop scene.
A multi-object correction. The planner keeps the laptop fixed, enlarges the rabbit by 1.60× and shrinks the orange and 8-ball to 0.77× and 0.63× their original physical sizes.

Learning appearance changes from 3D edits

With Kubric and Blender, we resize and reposition objects and render the entire scene again with the same camera, lighting and reference objects. The resulting 2,468 pairs from 624 scanned assets capture changes in contact, shadows and occlusion. They include changes in size alone, depth alone, joint edits and identity pairs. We train a rank-16 LoRA on Qwen-Image-Edit-2511 for ten epochs. Only the editor receives task-specific training.

The yellow bottle appears smaller in the destination render. A group of objects moves toward the foreground. A package moves behind a shoe. A package appears larger in the destination render.
Training pairs. Each pair shows the source on the left and the re-rendered destination on the right.

Experimental results

End-to-end correction on GenScale

Across 2,800 images from seven generators, PhyScale reduces mean relation error from 0.910 to 0.640. The VLM-based ReScale pipeline reaches 0.649. Replacing VLM diagnosis and planning with geometric computation brings the estimated cost per image from $0.696 to $0.037. GenScale benchmark ↗

GenScale Task 1 · Mean relation error ↓
Source generatorOriginalReScalePhyScale
Nano Banana 20.6200.4590.472
GPT-Image-20.7070.5570.491
Z-Image Turbo0.8980.6820.673
Grok Imagine0.7870.4920.514
Qwen-Image 25120.9920.5810.664
FLUX.21.1880.8240.816
SD3.5 Large1.1740.9480.851
All seven0.9100.6490.640

Over 8,001 relations, error is the mean of |s − 3|. A score of 3 denotes plausible size. Five Gemini votes are combined by unique mode or rounded median. Unjudgeable relations receive error 2.

Pipeline efficiency · Mean per image
MethodTime ↓Est. cost ↓
ReScale98.0 s$0.696
PhyScale52.8 s$0.037

Measured on 30 shared inputs. Times sum observation, planning, editing and restoration. Costs are estimated per image.

Independent judges

On 700 shared sources, GPT and Claude also assign PhyScale lower source-averaged error than ReScale. The mean errors are 0.680 versus 0.733 for GPT and 0.583 versus 0.607 for Claude, using one vote per relation.

Input with an oversized pizza in front of a zebra.
Original
ReScale output for the zebra and pizza.
ReScale
PhyScale output for the zebra and pizza.
PhyScale

Both methods see the same input. PhyScale makes the pizza smaller relative to the zebra.

Human evaluation

Five blinded raters compared 105 image pairs sampled where the two methods produced different outputs. They favored PhyScale on relative size, content preservation and naturalness. The largest difference was in naturalness, with 323 votes for PhyScale, 44 for ReScale and 158 ties.

Blinded human preference · 105 image pairs
CriterionPhyScaleReScaleSamePreference [95% CI]
Relative size19578252+0.223 [+0.120, +0.320]
Content preservation23530260+0.390 [+0.297, +0.480]
Naturalness32344158+0.531 [+0.410, +0.644]

Positive preference favors PhyScale on a scale from −1 to +1. Brackets give 95% prompt-clustered bootstrap confidence intervals.

Observation and placement under known geometry

We construct 116 tabletop scenes in Blender and 109 matched photorealistic counterparts. Given the true object dimensions, an observer must identify the incorrectly sized object and predict its correction factor within 20%.

Observer accuracy · Correct object and scale factor
ObserverBlenderPhotorealistic
Gemini 3.1 Pro44.8%38.5%
PhyScale (3D reconstruction)45.7%47.7%
PhyScale56.9%44.0%

Feasible placement

Given the same observation and prescribed resize, PhyScale passes all automatic placement checks on 87.9% of the Blender scenes, compared with 80.2% for Gemini 3.1 Pro. Requiring full tabletop support gives pass rates of 75.9% and 69.0%, respectively.

A box and a bowl placed by the Gemini planner and the PhyScale planner.
Placement after resizing. The Gemini plan puts the box beyond the tabletop and the bowl behind it. The geometric planner places both on the support surface.

Prescribed editing on real photographs

On ObjectMover, every editor receives the same 188 requests to move or resize a real object. The paired destination photograph supplies ground truth for target fidelity. A separate comparison to the source object measures identity preservation.

Three real-image editing requests and outputs from PhyScale, RoPEMover, ObjectMover, ReScale, PhyEdit and Qwen-Image-Edit.
Prescribed real-image edits. The input marks the source object and requested destination. All editors receive the same request.
ObjectMover · Prescribed edits on real photographs
EditorTarget DINO ↑DreamSim ↓Identity DINO ↑
Qwen-Image-Edit (structured prompt)0.6960.3260.653
PhyEdit0.7910.2160.738
ReScale editor0.8140.1770.786
ObjectMover0.8670.1400.813
RoPEMover0.8610.1390.802
PhyScale0.8990.1050.856

Target DINO and DreamSim compare edited and ground-truth destination crops. Identity DINO compares the edited object with its source crop. Arrows indicate the preferred direction.

PhyScale leads on all three metrics. In the human evaluation, raters marked 89.9% of its requests complete, compared with 78.0% for ReScale and 74.0% for ObjectMover.

What drives editing fidelity?

Positional commands

With the backbone, training examples and update budget held fixed, communicating destinations through RoPE increases target DINO from 0.439 with text-box instructions to 0.895 on ObjectMover.

Size–depth supervision

On held-out renders, training with size and depth changes gives a silhouette IoU of 0.771, compared with 0.629 for translation-only training. Re-rendering the full scene also teaches the editor how shadows and occlusions change when an object moves.

Comparisons of training with 2.5D composites and full-scene 3D renders on two real-image edits.
Effects of training supervision. The 2.5D-trained editor leaves an old shadow or object remnant at the source location. The 3D-trained editor updates those regions.

BibTeX

@misc{li2026physcale,
  title  = {{PhyScale}: Physically Grounded Object Size Correction in Text-to-Image Generation},
  author = {Lingxiao Li and Ledell Wu and Boqing Gong},
  year   = {2026}
}