DEVFORMER
Encoder-decoder transformer that places decoupling capacitors on a hardware power distribution network.
Reinforcement learning and control · 1,391 operations Checked
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
- 824.1K
- Operations
- 1,391
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2023
- Cited by
- 6 (as of 29 October 2026)
- Authors
- Haeyeon Kim, Minsu Kim, Federico Berto and others
- Source
- GitHub: ai4co/devformer
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15616
- Graph hash
- dc0d41b8713b6b7c2a9438dbd89e09d51df7aa8f28a78fa027974cc9c658a53f
- Skeleton hash
- f104c580d30e1a52ac171c78aacf47c579beb4c81873c1844bc88912df4840aa
- Architecture hash
- 570288da2de99a1fd2cabfd6f870dffc13d90114c3ac8dd0adc23e37a5602659
- Diagram SHA-256
- d7b82f7a063dd88e39b4364c3b989506f83239d791286ebba9e19dcf8c391013
- 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
DevFormer is a transformer-based architecture for hardware design optimization. Its test problem is decoupling capacitor placement: a decoupling capacitor, or decap, is a component that reduces power noise along the power distribution network of devices such as CPUs and GPUs. The obstacle the paper addresses is data, since the use of transformers in hardware design has been limited by the scarcity of offline data. Its answer is to build two properties of the problem into the model: relative positional embeddings, and symmetry under permutation of the placement order.
The encoder is a stack of multi-head attention and feedforward layers. Its positional embedding uses relative chip location, and the decoder adds a context network for the probing port. The decoder itself is a single multi-head attention layer that produces a probability distribution over the next placement. Training, called collaborative symmetricity exploitation, uses the symmetry in both expert data and data the policy generates itself.
On decoupling capacitor placement, the paper reports improved performance while reducing the number of components by more than 30%. The paper's implementation uses 3 encoder layers and 128 hidden dimensions.
Key idea. DevFormer adapts the transformer to device placement with relative positional embeddings and action-permutation symmetry, so a placement policy can be learned from limited offline data.
- DevFormer
- decoupling capacitor placement
- DPP
- decap placement
- device placement
- hardware design optimization
- symmetric transformer
- collaborative symmetricity exploitation
- offline contextual learning
- power distribution network
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{kim2023devformersymmetrictransformercontextaware,
title={DevFormer: A Symmetric Transformer for Context-Aware Device Placement},
author={Haeyeon Kim and Minsu Kim and Federico Berto and Joungho Kim and Jinkyoo Park},
year={2023},
eprint={2205.13225},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2205.13225},
}