Spatial-Weights CNN
A full-face gaze estimation CNN that learns a spatial weight map over its feature maps.
Pose · 28 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
- 196.6M
- Operations
- 28
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR Workshops 2017
- Cited by
- 507 (as of 27 October 2026)
- Authors
- Xucong Zhang, Yusuke Sugano, Mario Fritz, Andreas Bulling
- Source
- datasets.d2.mpi-inf.mpg.de
- 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
- m20532
- Graph hash
- 0b0d2aa85c5ae195b2927ec671aa93913b7fc84b7ce5d0b4142869f35aac1964
- Skeleton hash
- fcbe5bb30925a6c18730f561110af22bb4384b079e31e582cb3b72cee4c2f425
- Architecture hash
- a9036732b3f31307337d388d32fa34c2ef1fc3f59e6c9ddb1be6607adc96beef
- Diagram SHA-256
- 4766e30f1111179d7e22a1c51f208b92a2e642f12274ecc38dc23cdcb92adcb3
- 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
The spatial weights CNN estimates where a person is looking from an image of the whole face, where a long line of earlier work had relied on the eye regions. It takes the full face image as input and directly regresses to a 2D or 3D gaze estimate.
The base network is AlexNet, with five convolutional layers and two fully connected layers. The addition is a spatial weights mechanism: three extra convolutional layers with 1 × 1 filters that read the last convolutional activation and produce a single weight map. That map multiplies the activation element-wise, with the same weights applied to all feature channels, so the weights correspond directly to regions of the input face. The purpose is to let the network suppress or enhance information from different facial regions. The authors adapted the idea from earlier work that generated one heatmap per body joint, generating instead a single heatmap that encodes importance across the whole face. With a 448 × 448 input, the activation entering this mechanism has size 256 × 13 × 13.
The paper reports improvements of up to 14.3% on MPIIGaze and 27.7% on EYEDIAP for person-independent 3D gaze estimation over the methods it compared against.
Key idea. The paper proposed a CNN that estimates 2D and 3D gaze from the full face image alone, using learned spatial weights on its feature maps.
- spatial weights cnn
- spatial-weights cnn
- full-face gaze estimation
- gaze estimation
- appearance-based gaze estimation
- mpiifacegaze
- eye gaze
- full face gaze
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2023itswrittenfacefullface,
title={It's Written All Over Your Face: Full-Face Appearance-Based Gaze Estimation},
author={Xucong Zhang and Yusuke Sugano and Mario Fritz and Andreas Bulling},
year={2023},
eprint={1611.08860},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1109/CVPRW.2017.284},
url={https://arxiv.org/abs/1611.08860},
}