Parameterized 3D Scenes: A Verifiable Benchmark for Spatial Reasoning
Generative demos can make a model appear to possess spatial intelligence, but developers need evidence that the capability is reproducible, verifiable, and transferable. This article presents a parameterized 3D-scene evaluation method that converts spatial reasoning into executable geometric and mechanical constraints. Using a pelican-on-a-bicycle scene as an example, it explains how to derive geometry from global constants, maintain cross-object dependency chains, apply hidden parameter mutations, and score outputs across executability, semantic completeness, parameter derivation, spatial relationships, transmission consistency, mutation robustness, and reproducibility. It also shows how automated assertions can reveal model capability boundaries and how teams can operationalize the benchmark through versioned specifications, sandboxed execution, statistical sampling, and scenario expansion.
From “Looks Right” to “Withstands Parameter Changes”: A New Method for Evaluating Spatial Reasoning in New Models
When a new model is released, demo videos, sample screenshots, and impressive outputs under a handful of prompts can easily create the impression of a capability leap. For developers and enterprise users, however, the more important questions are whether the capability is reproducible, verifiable, and transferable. In tasks such as 3D spatial reasoning, creative coding, character pose generation, and coupled mechanical structures, an image that looks right is not the same as a model that truly understands the spatial relationships among objects. This article does not focus on a specific product. Instead, it abstracts an executable evaluation method: use parameterized 3D scenes to turn spatial reasoning into inspectable engineering constraints, then use mutation testing to verify whether the model has stable relational reasoning.
1. Why Launch-Time Evaluations Can Be Misleading
Launch-time evaluations commonly suffer from three biases.
First, presentation bias. A single successful case may come from repeated trial and error, manual selection, or prompt tuning, so it cannot represent stable performance on independent tasks. Second, criterion bias. Judging only from rendered screenshots whether an image “looks right” cannot detect spatial errors such as a chain passing through the frame, a hand floating in the air, or a pedal intersecting the sole of a foot. Third, transfer bias. A model may memorize a common scene but fail to re-derive structural relationships after parameters change.
Evaluation should therefore move from “generate a scene” to “generate a scene that can be checked by a program.” The core task is not to make the model draw a character riding a bicycle. It is to make the model deliver a parameterized script in which all geometry is derived from a small set of global constants and still satisfies spatial and mechanical constraints after key parameters change. Only by shifting the object of evaluation from the final image to code, structural relationships, and automated assertions can the assessment get closer to real development-level capability.
2. Benchmark Task Design: Why Choose a “Pelican Riding a Bicycle” Scene?
A discriminative spatial reasoning task should include multi-object composition, hierarchical relationships, contact relationships, mechanical linkage, and narrative constraints. “On a seaside promenade at dusk, a pelican rides a dark green steel-frame bicycle” is a suitable case. The bicycle includes a diamond-shaped frame, handlebars, cranks, a chainring, a rear cog, a chain, pedals, and a rear rack. The character includes a body, two wings, and webbed feet. Between the two are narrative attachments such as grips, pedaling contact, a suspended foot, a tool bag, and a fishing net.
The key is that this task cannot be completed by simply stacking parts. Handlebar width should affect grip spacing. Wheelbase should drive frame geometry. Chainring tooth count and rear cog tooth count should determine the chain path. Crank phase should determine pedal positions and further affect the character’s foot posture. The model must maintain a cross-object, cross-level dependency chain rather than generating several isolated meshes.
For evaluation, scene parameters can be fixed as global constants, for example:
PELICAN_WINGSPAN = 1.15 # Character wingspan; linked to handlebar width and grip spacingBICYCLE_WHEELBASE = 1.02 # Bicycle wheelbase; linked to frame geometryBICYCLE_CHAINRING_TEETH = 44 # Chainring tooth count; linked to chain length and gear ratioBICYCLE_COG_TEETH = 16 # Rear cog tooth countBICYCLE_CRANK_PHASE = 35.0 # Crank phase angle; linked to pedal positions and foot contact
The specification should explicitly require that geometry generation derive from these constants and that functions contain no “magic numbers” disconnected from them. The purpose is not to improve a code-style score. It is to let evaluators change only the constants and rerun the script without modifying the code, then observe whether the model has truly established parameterized relationships.
3. Parameter Dependency Graph: From Constants to the Scene
Parameterized design should form a clear dependency graph rather than placing all numbers in one function.
Wingspan affects handlebar width, grip spacing, wing joint lengths, and shoulder position. When wingspan increases, the handlebars and grips should widen accordingly, but wheel diameter and wheelbase should not be scaled up for no reason. Otherwise, the model is merely scaling the entire scene proportionally rather than understanding the independent constraints among parts.
Wheelbase affects front and rear wheel positions, the frame triangle, chain length, and rear rack position. After the wheelbase changes, the down tube, seat tube, top tube, and chainstays should be re-solved. The frame must not break, and the wheels must not become embedded in the frame.
Chainring tooth count affects chainring radius, chain wrap angle, chain path, and gear ratio. After the tooth count changes, the chain must re-fit the chainring and rear cog and must not pass through the frame, float in the air, or disengage from the gears.
Crank phase affects the positions of the left and right pedals, leg or foot posture, and rider center of gravity. After the phase changes, the webbed foot pressing on the pedal should still maintain contact with the pedal surface, and the suspended foot should remain at the low return-stroke position with reasonable ground clearance.
This derivation logic can be expressed with pseudocode such as the following:
PELICAN_WINGSPAN = 1.15BICYCLE_WHEELBASE = 1.02BICYCLE_CHAINRING_TEETH = 44BICYCLE_COG_TEETH = 16BICYCLE_CRANK_PHASE = 35.0def build_scene():grip_gap = derive_grip_gap(PELICAN_WINGSPAN)frame = build_frame(BICYCLE_WHEELBASE)crank_angle = convert_to_radians(BICYCLE_CRANK_PHASE)pedals = solve_pedal_positions(crank_angle, frame.crank_arm)chain_path = solve_chain_path(BICYCLE_CHAINRING_TEETH,BICYCLE_COG_TEETH,frame.chain_stay)rider = pose_character(grip_gap, pedals)return assemble(frame, chain_path, rider)def validate_scene(scene):check_grip_contact(scene.wing_tips, scene.grips)check_chain_tangency(scene.chain_path, scene.chainring)check_chain_tangency(scene.chain_path, scene.cog)check_pedal_contact(scene.left_foot, scene.left_pedal)check_clearance(scene.suspended_foot, scene.pedal_surface)
The point of this code is not its syntax but the direction of constraints: parameters are inputs, geometry is a derived result, and validation functions check contact, tangency, clearance, and collision. A model with genuine spatial reasoning capability should be able to output a similar structure rather than scattering key dimensions across multiple functions.
4. Core Acceptance: Using Mutation Tests to Verify Real Relationships
Passing under a single parameter combination is not enough to prove that the model understands spatial relationships. A stricter approach is to hide several parameter variants, change only the numbers without changing the code, rerun the script, and check the assertions. At least three types of mutation should be designed.
First, change wingspan. Change wingspan from 1.15 to 1.35 and check whether the handlebars widen accordingly and whether the grips still contain the ends of the character’s wings. Validation should not rely only on visual screenshots. It should compute the distance from each wing tip to the grip surface, the angle between the grip axis and the wing-tip direction, and the minimum clearance between the wing and the frame. At the same time, check whether other bicycle dimensions have been abnormally scaled. If the entire scene is enlarged, the model has not distinguished “character parameters” from “bicycle parameters.”
Second, change chainring tooth count. Change the chainring tooth count from 44 to 52 and check whether chainring radius, chain wrap angle, and chain length are recalculated. Verify that the chain remains tangent to or meshed with the chainring and rear cog, that the chain path neither clips nor floats, and that the rear-wheel transmission relationship remains self-consistent. If the chain still follows the old path, parameterization has failed.
Third, change crank phase. Change the crank phase from 35 degrees to 140 degrees and check whether the pedaling foot still conforms to the pedal surface and whether the suspended foot remains at the low return-stroke position with clearance. Metrics can include point-to-surface distance, the angle between surface normals, and the intersection volume between the sole and the pedal. Phase changes should also affect the rider’s center of gravity and forward-leaning posture, so further checks can verify whether the torso adjusts reasonably with pedal position.
Hidden variants can also be added, such as changing wingspan and chainring tooth count at the same time or including multiple crank-phase samples. One parameter set can be made public for development, while another is hidden for final testing. This reduces the risk of the model overfitting to the examples.
5. Scoring: Turning Subjective Impressions into Auditable Metrics
The score should be divided into seven dimensions rather than compressed into one vague total.
- Executability: Whether the script runs to completion in headless mode and provides clear logs and error messages. Suggested weight: 10%.
- Semantic completeness: Whether all required elements are present, including the character, bicycle, frame, handlebars, cranks, chainring, chain, pedals, tool bag, and fishing net. Suggested weight: 15%.
- Parameter derivation: Whether geometry is truly derived from global constants and whether hardcoded dimensions or local magic numbers remain. Suggested weight: 20%.
- Spatial relationships: Whether the grips and wing tips, feet and pedals, chain and gears, and frame and accessories satisfy contact, tangency, clearance, and no-collision requirements. Suggested weight: 20%.
- Transmission consistency: Whether crank phase, chainring tooth count, rear cog tooth count, and chain path form a self-consistent relationship. Suggested weight: 15%.
- Mutation robustness: The assertion pass rate and result stability under hidden parameter changes. Suggested weight: 15%.
- Reproducibility: Whether repeated runs with fixed inputs produce stable results and whether random seeds, resource limits, and version records are provided. Suggested weight: 5%.
Artistic style can be an additional item, but it should not receive excessive weight. Stylization is not the same as spatial reasoning, and a polished image can hide structural errors. For development scenarios, it is more important to classify errors: syntax errors, API usage errors, mathematical computation errors, missing dependencies, or failures in contact and collision checks. Different errors correspond to different capability gaps and different follow-up optimization strategies.
6. Inferring Capability Boundaries from Evaluation Results
A parameterized 3D-scene test can expose several key capabilities.
The first is long-range constraint tracking. The model must derive from top-level constants all the way to the frame, pedals, and foot posture. Any missing link will be exposed by mutation tests. The second is self-consistency. The model must not only generate individual parts but also ensure that they occupy the same coordinate system, scale, and motion phase. The third is tool use and code organization. High-quality outputs usually separate computation, modeling, and validation into independent functions that are easy to inspect and modify. The fourth is self-validation awareness. Even if the evaluator supplies assertions, a model that proactively adds basic checks during generation demonstrates a stronger understanding of the task constraints.
It is important not to equate “can generate a complex image” directly with “has general spatial intelligence.” A more reasonable conclusion should be limited to the task set, parameter range, and acceptance criteria. For example, the method in this article tests “whether a model can generate an executable, mutable, and verifiable parameterized scene under given mechanical and contact constraints.” This is precisely the engineering capability that enterprise users care about: whether natural-language requirements can be transformed into a reviewable code structure and remain stable when requirements change.
7. Recommendations for Engineering Adoption
To develop this into a long-term evaluation benchmark, consider building it in five areas.
Version task specifications. Each task should include a scene description, global parameters, acceptance assertions, allowed tolerances, and a hidden mutation set. All versions should be traceable.
Decouple rendering from validation. Rendering should support human review, while automated assertions should provide objective scoring. Geometry checks, contact checks, and collision checks should be independent of final image quality.
Use multi-run sampling and statistics. Record first-pass rate, pass rate after multiple attempts, per-constraint pass rates, and runtime. Avoid using a single successful sample to represent overall capability.
Use sandboxes and resource limits. When executing scripts generated by unknown models, limit runtime, memory, file writes, and external dependencies to keep evaluation safe and comparable.
Expand scenarios horizontally. In addition to a character riding a bicycle, tasks can include tabletop mechanical assembly, shelf placement, robot grasping poses, and camera path planning. These tasks share the same methodology: parameter-driven generation, relational constraints, programmatic validation, and mutation testing.
Conclusion
The most valuable part of a technical evaluation after a new model release is not a one-line judgment of “strong” or “weak.” It is answering: under which constraints, based on what evidence, and in which areas is the model consistently strong? Parameterized 3D scenes provide an actionable starting point. They break spatial reasoning into parameter derivation, contact relationships, mechanical linkage, collision detection, and mutation robustness, then use automated assertions to produce reviewable evidence. For developers, this method can be used both to assess model capabilities and to guide task modeling and quality assurance in their own systems. The real highlight should not stop at a single generation result. It should be demonstrated by correct reasoning and stable delivery when parameters change.
