PIPNet
PIPNet, a facial landmark detector that predicts scores and offsets on low-resolution feature maps.
Pose · 71 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
- Task
- Pose
- Parameters
- 12.3M
- Operations
- 71
- Framework
- PyTorch
- Recurrent
- No
- Published
- IJCV (arXiv 2020)
- Cited by
- 157 (as of 23 October 2026)
- Authors
- Haibo Jin, Shengcai Liao, Ling Shao
- Source
- GitHub: jhb86253817/PIPNet
- 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
- m19135
- Graph hash
- 2ae7ec43e7978d18f1d419dc4786c997d5d7f095acf94829a53fe8950607a641
- Skeleton hash
- c5eee905ea8a6cdc641dc5d18cdcc7fb40dc6a89f1e7307a37e68a81b0c50e05
- Architecture hash
- 9a8ac2c8a8dc0f94bc700a7307999a79ac205d8b4597859dd27f842bde57689c
- Diagram SHA-256
- 81ee6304e14f6119c0d9a6dff38a2c485d6743f1760f2c99113b71f7a7a61e1b
- 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
PIPNet, short for Pixel-in-Pixel Net, is a model for facial landmark detection. That task is to locate predefined landmarks on a human face. The paper starts from three problems it sees in heatmap regression models: they are computationally expensive, they usually lack explicit constraints on global shapes, and domain gaps are commonly present.
Its detection head predicts scores and offsets at the same time on low-resolution feature maps, so repeated upsampling layers are no longer necessary. The offsets are predicted within each heatmap grid on the x-axis and y-axis, relative to the top-left corner of the grid. A neighbor regression module has each landmark also predict the offsets of its C neighbors, which helps the model predict more consistent landmarks.
The paper also proposes self-training with curriculum to improve cross-domain generalization. ResNet-18 pretrained on ImageNet is the default backbone. The paper reports that PIPNet with ResNet-18 runs at 35.7 FPS on CPU and 200 FPS on GPU.
Key idea. PIPNet predicts landmark scores and offsets together on low-resolution feature maps and adds a neighbor regression module, so heatmap-based facial landmark detection no longer needs repeated upsampling layers.
- pipnet
- pixel-in-pixel net
- pixel-in-pixel regression
- pip regression
- facial landmark detection
- face alignment
- neighbor regression module
- self-training with curriculum
- heatmap regression
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{jin2021pixelinpixelnetefficientfacial,
title={Pixel-in-Pixel Net: Towards Efficient Facial Landmark Detection in the Wild},
author={Haibo Jin and Shengcai Liao and Ling Shao},
year={2021},
eprint={2003.03771},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1007/s11263-021-01521-4},
url={https://arxiv.org/abs/2003.03771},
}