[Paper Review] ChiPFormer: Transferable Chip Placement via Offline Decision Transformer
ChiPFormer is an offline reinforcement learning method using a Transformer-based model to learn transferable chip placement policies across multiple circuits, enabling fast fine-tuning on unseen chips and achieving significant runtime and quality gains. It releases a multi-task offline dataset and shows ~10x–30x speedups with improved HPWL on 32 circuits and industrial tasks.
Placement is a critical step in modern chip design, aiming to determine the positions of circuit modules on the chip canvas. Recent works have shown that reinforcement learning (RL) can improve human performance in chip placement. However, such an RL-based approach suffers from long training time and low transfer ability in unseen chip circuits. To resolve these challenges, we cast the chip placement as an offline RL formulation and present ChiPFormer that enables learning a transferable placement policy from fixed offline data. ChiPFormer has several advantages that prior arts do not have. First, ChiPFormer can exploit offline placement designs to learn transferable policies more efficiently in a multi-task setting. Second, ChiPFormer can promote effective finetuning for unseen chip circuits, reducing the placement runtime from hours to minutes. Third, extensive experiments on 32 chip circuits demonstrate that ChiPFormer achieves significantly better placement quality while reducing the runtime by 10x compared to recent state-of-the-art approaches in both public benchmarks and realistic industrial tasks. The deliverables are released at https://sites.google.com/view/chipformer/home.
Motivation & Objective
- Address the inefficiency and poor transferability of online RL-based chip placement methods.
- Develop an offline RL formulation to learn transferable placement policies across multiple circuits.
- Enable fast fine-tuning on unseen chip circuits with minimal online interaction.
- Provide a multi-task offline dataset and demonstrate scalability to industrially relevant tasks.
Proposed method
- Formulate chip placement as offline reinforcement learning with expert-level, multi-task data.
- Model sequential placement with a GPT-based transformer (ChiPFormer) using circuit tokens HI(c) to capture topology.
- Use hindsight information matching via a learned circuit representation (VGAE) to produce HI(c) as a fixed embedding.
- Two-step workflow: macro placement with offline-trained policy, then mixed-size placement using optimization-based methods (DREAMPlace).
- Enable few-shot online finetuning for unseen chips using return-weighted regression and entropy regularization to balance exploitation and exploration.
Experimental results
Research questions
- RQ1Can offline multi-task data enable transferable placement policies to unseen chip circuits?
- RQ2How does ChiPFormer perform in macro placement and mixed-size placement compared to online RL and optimization baselines?
- RQ3What is the impact of circuit topology information (circuit token HI(c)) on zero-shot and few-shot transfer?
- RQ4How does offline data size affect transferability and performance on unseen tasks?
- RQ5What are the efficiency gains in runtime and formulation benefits for industrial-scale chip placement tasks?
Key findings
- ChiPFormer achieves state-of-the-art placement quality with substantial runtime reductions on 32 circuits, outperforming recent baselines in both public benchmarks and industrial tasks.
- Zero-shot transfer to unseen circuits with offline pretraining followed by few-shot fine-tuning yields competitive or superior HPWL while requiring significantly less online computation.
- In mixed-size placement, ChiPFormer attains HPWL reductions of over 10% in several tasks and demonstrates strong performance across 32 circuits and industrial datasets.
- Introducing a circuit token HI(c) improves generalization, particularly in zero-shot transfer scenarios.
- The offline data, multi-task setting, and offline-first pipeline enable 10x–30x speedups in training/runtime versus online RL approaches, with competitive or superior placement quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.