All models

SPIGA

Face alignment and head pose estimator that pairs a CNN with a cascade of graph attention regressors.

Pose · 1,382 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 (589 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

Task
Pose
Parameters
63.4M
Operations
1,382
Framework
PyTorch
Recurrent
No
Published
BMVC 2022
Cited by
21 (as of 27 October 2026)
Authors
Andrés Prados-Torreblanca, José M. Buenaposada, Luis Baumela
License
BSD-3-Clause
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
m20107
Graph hash
c50bbbcfb36f2cb8213cefab358a5b4559dc010ba08618ca540bafe656c4478d
Skeleton hash
c1023eb863f363539baee01484abecbb0d2c372e4786a2135f68659229ba51db
Architecture hash
5bba94c76d59ae891cf18b7912bdba018cea732ea2033f209d24db2b0ff484a7
Diagram SHA-256
089916fcf560d409fd38bde2e132413cea14ea8ecae630378c792fd5da6026a0
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

SPIGA is a face alignment and head pose estimator that combines a CNN with a cascade of Graph Attention Network regressors. The paper's starting point is that large CNNs represent local appearance well but can only learn weak spatial relationships.

The model uses an encoding that jointly represents the appearance and location of facial landmarks, and an attention mechanism that weighs the information according to its reliability. A multi-task approach initializes the location of the graph nodes, and the landmarks are described coarse to fine. The repository says the combination produces plausible face shapes in the presence of strong appearance changes.

The paper reports top performance on popular benchmarks for head pose and landmark estimation. It reports the largest improvement in situations with large changes in the local appearance of landmarks. The repository downloads model weights on demand, and its demo uses the weights trained on WFLW by default.

Key idea. SPIGA combines a CNN with a cascade of Graph Attention Network regressors so that the model learns a global representation of the structure of the face.

  • SPIGA
  • Shape Preserving Facial Landmarks with Graph Attention Networks
  • face alignment
  • facial landmarks
  • facial landmark detection
  • head pose estimation
  • graph attention network
  • WFLW

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

Cite the paper

@misc{pradostorreblanca2022shapepreservingfaciallandmarks,
      title={Shape Preserving Facial Landmarks with Graph Attention Networks}, 
      author={Andrés Prados-Torreblanca and José M. Buenaposada and Luis Baumela},
      year={2022},
      eprint={2210.07233},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2210.07233}, 
}