All models

LEGO-Net

A transformer that predicts how to move and rotate the objects of a messy room toward a regular arrangement.

3D and point clouds · 311 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (43 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
19.9M
Operations
311
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
60 (as of 29 October 2026)
Authors
Qiuhong Anna Wei, Sijie Ding, Jeong Joon Park and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17748
Graph hash
de390eff138dc521aa00be75f2cc77eda2b4cfab819e8db637ea618bace082f6
Skeleton hash
d71ea7885bc00060c886a18520cc01349d6fe336025df32695fe66580b84f63f
Architecture hash
a4357e5e7abfa9ba368d1ea67084e435bb0d946423ac3ee13ae75c6ffc59aedd
Diagram SHA-256
fcefb6a1361ecc8e664789cf4ad2569b99d8d12ce37be7b0c585179d2035c7ae
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

LEGO-Net is a data-driven, transformer-based iterative method that learns to regularly rearrange the objects in a messy room. It takes the position, orientation, class label and extents of the objects in a room and outputs a room with the same objects, regularly rearranged. The paper sets it apart from work that arranges new objects from scratch or requires a goal state: it rearranges existing objects without any additional input at inference time.

The network is a Transformer encoder that receives a token for each object and one for the room's floor plan, and outputs absolute translation and rotation predictions for all object tokens. The floor plan token is built from 250 points uniformly sampled from the contour of the floor plan. These points and their 2D surface normals are processed with a simplified version of PointNet. In training, regular scenes are perturbed and the transformer learns to predict the original arrangement from the perturbed scene and its floor plan.

At inference the network is applied repeatedly: a Langevin dynamics-like reverse process iteratively denoises object positions and orientations. The authors say this iterative process retains the flavor of the original room state while limiting object movement. The released code supports the bedroom and livingroom scenes of the 3D-FRONT dataset.

Key idea. LEGO-Net trains a transformer to recover regular room arrangements from perturbed ones, then applies it iteratively at inference to rearrange a messy room while limiting object movement.

  • lego-net
  • lego net
  • learning regular rearrangements of objects in rooms
  • room rearrangement
  • scene rearrangement
  • furniture arrangement
  • indoor scenes
  • 3d-front
  • denoising transformer

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wei2023legonetlearningregularrearrangements,
      title={LEGO-Net: Learning Regular Rearrangements of Objects in Rooms}, 
      author={Qiuhong Anna Wei and Sijie Ding and Jeong Joon Park and Rahul Sajnani and Adrien Poulenard and Srinath Sridhar and Leonidas Guibas},
      year={2023},
      eprint={2301.09629},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2301.09629}, 
}