Reproduce “BLT: Bidirectional Layout Transformer for Controllable Layout Generation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiang Kong, Lu Jiang, Huiwen Chang, Han Zhang, Yuan Hao, Haifeng Gong, Irfan Essa

BLT introduces a Bidirectional Layout Transformer that enables controllable and efficient visual layout generation. The model leverages a masked attribute prediction strategy with a novel hierarchical sampling policy and iterative refinement to allow flexible conditional input, achieving a 4x to 10x speedup over autoregressive baselines while maintaining high layout quality across diverse datasets.

Key insights

  • A bidirectional Transformer encoder, inspired by BERT, enables flexible context understanding for all layout attributes, addressing the fixed dependency chain of autoregressive models.
  • The novel Hierarchical Sampling Policy (HSP) during training and inference is critical for modeling the structured correlations between semantic layout attributes (category, position, size), which is crucial for high-quality non-autoregressive generation.
  • Iterative refinement during decoding allows for high-quality parallel prediction of all layout attributes, overcoming the challenges of single-pass non-autoregressive generation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.