MesaTask: 3D Tabletop Scene Generation
- MesaTask is a framework that transforms natural language instructions into detailed 3D tabletop scene layouts for robotic training and simulation.
- It employs a three-stage spatial reasoning pipeline—object inference, spatial relation reasoning, and scene graph construction—to ensure task-conforming and realistic scenes.
- The framework leverages supervised fine-tuning and direct preference optimization to reduce errors, enhance realism, and improve data efficiency.
MesaTask is a framework for task-driven 3D tabletop scene generation via LLM-based spatial reasoning. It addresses the translation of high-level, natural-language manipulation instructions into plausible tabletop layouts suitable for robotic training and simulation. Traditional methods for creating such scenes—manual layout design or random sampling—either lack efficiency or fail to yield task-conforming, realistic environments. MesaTask formalizes the challenge as task-oriented tabletop scene generation and introduces algorithmic, architectural, and dataset contributions to bridge the semantic gap between abstract tasks and detailed 3D scene representations (Hao et al., 26 Sep 2025).
1. Formal Problem Definition
The input to MesaTask is a natural language manipulation instruction (e.g., “Organize the nuts from the jar into bowls and place the tray to the left of the lamp”). The framework aims to generate a 3D tabletop scene composed of objects with a layout . Each object layout is represented as , where:
- : 3D position
- : axis-aligned bounding box size
- : yaw around the vertical axis
- : textual description (category and attributes)
A pretrained LLM expands 0 into structured components:
- 1: Environment (table type, free placement zones, etc.)
- 2: Ordered subgoals
- 3: Seed list of task-relevant objects
The generative model 4 then computes the layout: 5. Objects matching 6 are retrieved from a 3D asset library to instantiate the final scene 7.
2. Spatial Reasoning Chain
MesaTask decomposes scene generation into a three-stage spatial reasoning pipeline to systematically ground task semantics into physical layouts:
2.1 Object Inference
From 8, the LLM infers a complete object set 9 according to:
0
The LLM is prompted to enumerate all objects necessary to fulfill 1, including supplemental, scene-typical props.
2.2 Spatial Interrelation Reasoning
Given 2, the framework predicts pairwise spatial relations 3. Relations include: LeftOf, RightOf, InFrontOf, Behind, Above, Below, and In.
4
For each candidate relation 5:
6
The highest-scoring 7 is selected.
2.3 Scene Graph Construction and Layout Generation
An attributed scene graph 8 is constructed. Each 9 is enriched with grid-based coarse position (e.g., "center-front") and an orientation bin among eight yaw sectors. The LLM predicts for each 0 a layout 1 with precise 3D position, size, and orientation. Final layout inference is formulated as:
2
3. MesaTask LLM Architecture and Learning
MesaTask employs a decoder-only LLM (Qwen-3-8B), trained in two stages:
3.1 Supervised Fine-Tuning (SFT)
"Reasoning-chain" prompts are constructed by extracting 3 from each labelled MesaTask-10K scene using GPT-4o, producing natural language traces, JSON scene graphs, and layouts. The LLM is fine-tuned to map 4 in one shot.
Prompt example:
6
3.2 Direct Preference Optimization (DPO)
Despite SFT, outputs may contain object collisions or omissions. For each 5, (positive, negative) layout pairs are generated:
- Positive: ground-truth layout 6
- Negative: 7, generated by perturbing positions/sizes, corrupting relations in 8, or omitting mission-critical objects
The DPO objective is maximized as:
9
where 0 is the current policy, 1 the SFT model, 2 the sigmoid, and 3 a temperature hyperparameter.
4. MesaTask-10K Dataset
MesaTask-10K is a large-scale collection of 4 manually refined tabletop scenes, spanning six canonical table types (office, dining, kitchen counter, coffee table, bathroom vanity, dressing table). The asset library comprises over 12,000 high-fidelity 3D models in 200+ categories, each annotated with semantic and physical metadata (category, description, material, isContainer, onTable). The scenes average 15 objects per scene (standard deviation 5), exhibiting complex inter-object relations (stacking, containment, alignment).
Scene layouts were initially synthesized using text-to-image rendering (FLUX), depth estimation, segmentation (Grounded-SAM), asset retrieval, and then refined through manual annotation and collision testing in IsaacSim.
5. Experimental Protocol and Results
5.1 Metrics
- Success Rate: Percentage of outputs parseable as valid JSON layouts
- FID: Fréchet Inception Distance between renders of generated and ground-truth scenes (lower is better)
- GPT-Score (scale 1–10): Assessed by an LLM on
- Consistency with Task (CwT)
- Object Size Reasonableness (OSR)
- Placement Plausibility & Intersections (PPI)
- Layout Coherence & Realism (LCR)
- Object Visibility (OV)
- User Study: Human ratings (1–7) for realism, task alignment, spatial coherence
5.2 Baselines
- GPT-4o zero-shot (with/without explicit chain prompts)
- Holodeck-table (adapted room-scale LLM+optimizer)
- I-Design-table (LLM-driven scene-graph + backtracking placement)
5.3 Results
The table below summarizes major results on 500 test tasks:
| Model Name | Success % | FID↓ | AvgGPT | User Study |
|---|---|---|---|---|
| GPT-4o w/o reasoning | 91.6 | 84.3 | 6.95 | 3.11 |
| Holodeck-table | 99.3 | 91.3 | 5.42 | 2.29 |
| I-Design-table | 56.5 | 96.0 | 6.87 | 1.73 |
| MesaTask w/o reasoning | 100.0 | 40.8 | 8.20 | 5.43 |
| MesaTask w/o DPO | 98.4 | 41.4 | 8.23 | 5.75 |
| MesaTask (full) | 99.1 | 40.3 | 8.25 | 6.12 |
MesaTask achieves the lowest FID and highest multi-dimensional GPT-based scores. DPO reduces collision rates and missing object frequency relative to the SFT-only model.
6. Applications, Limitations, and Future Work
MesaTask enables the automated generation of physically plausible, instruction-aligned tabletop scenes for robotic policy learning and interactive design tools, significantly augmenting data efficiency and scene variety. The current system is domain-confined to six tabletop types and bounded by the diversity of its retrieval-based 3D asset library. Physics plausibility is enforced only by post-simulation validation.
Anticipated research directions include integrating 3D generative models for asset synthesis conditioned on predicted layouts, extending the method to arbitrary furniture and room-scale environments, and incorporating end-to-end physics-aware reasoning into the chain. These improvements address key bottlenecks in asset diversity and layout physicality.
References:
- MesaTask: Towards Task-Driven Tabletop Scene Generation via 3D Spatial Reasoning (Hao et al., 26 Sep 2025)