All models

ChiPFormer

A GPT-style decision transformer that places chip macros using a policy learned from offline placement data.

Reinforcement learning and control · 248 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 (8 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
6.2M
Operations
248
Framework
PyTorch
Recurrent
No
Published
ICML 2023
Cited by
17 (as of 28 October 2026)
Authors
Yao Lai, Jinxin Liu, Zhentao Tang and others
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
m15287
Graph hash
2d668c5208059c4b0be203f93be71e2ccbe2773e721782db5873ab72c500e587
Skeleton hash
e30b72391defa16077acb584ab63164b4b00659bb9c60dc37bfe073384908631
Architecture hash
b31dc130ce12b7b5bf823f4e80c4abae9ac0df0f36d559f49657484607b93d49
Diagram SHA-256
78f945e12898442d5815e61ef0848d5f9d4d2125babb36dd7b2de5e30f9e0af8
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

ChiPFormer is a decision transformer for chip placement, the step of chip design that determines the positions of circuit modules on the chip canvas. Earlier reinforcement learning methods learned the placement policy online by repeatedly collecting data through interaction with an environment, and the paper reports that this takes more than 3 hours on a chip in the ISPD05 benchmark. ChiPFormer instead treats placement as offline reinforcement learning, so a transferable placement policy is learned from fixed offline data.

The backbone is the GPT architecture with a causal self-attention mask: it reads a circuit token, state tokens and action tokens and predicts actions autoregressively. The circuit token is generated by pretraining a conditional VAE on a graph that represents the topology of the circuit. When a circuit it has not seen is presented, the pretrained model is fine-tuned with only a few rollouts.

The paper evaluates on 32 chip circuits and reports better placement quality with runtime reduced by 10 times compared with the recent approaches it lists. It also released its offline placement dataset, which covers 12 chip circuits with 500 expert placement results for each circuit.

Key idea. The paper cast chip placement as offline reinforcement learning and built a GPT-based decision transformer that learns a transferable placement policy from fixed offline data.

  • ChiPFormer
  • chip placement
  • macro placement
  • offline reinforcement learning
  • decision transformer
  • EDA
  • circuit placement
  • VLSI

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

Cite the paper

@misc{lai2023chipformertransferablechipplacement,
      title={ChiPFormer: Transferable Chip Placement via Offline Decision Transformer}, 
      author={Yao Lai and Jinxin Liu and Zhentao Tang and Bin Wang and Jianye Hao and Ping Luo},
      year={2023},
      eprint={2306.14744},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2306.14744}, 
}