DDAMFN
Facial expression recognition network with a mixed-kernel backbone and a dual-direction attention head.
Image classification · 1,164 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
- Image classification
- Parameters
- 4.2M
- Operations
- 1,164
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2023, Electronics (MDPI)
- Cited by
- 107 (as of 3 November 2026)
- Authors
- Saining Zhang, Yuhang Zhang, Ye Zhang and others
- Source
- GitHub: simon20010923/DDAMFN
- 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
- m15583
- Graph hash
- 2d49ed62c5f6a1a4b4bc2719eeef8573197294ec0b1d8db8df210214c60c4f4f
- Skeleton hash
- 13559322bcc0a56258d4636c9c714950ebd4212103527a9f2d56d3a9f6ee2e09
- Architecture hash
- ad2dd45faa4cec79f21821f42b055b437e3ff8472f5f84c2940cdf215c554675
- Diagram SHA-256
- 144a3a32f920ab5d9a49216af18b7ca695bb99f63fd80c4ab33c424f64c58f43
- 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
DDAMFN, the Dual-Direction Attention Mixed Feature Network, is a network for facial expression recognition (FER) that its authors present as both robust and lightweight. It has two parts: the Mixed Feature Network (MFN) as the backbone and the Dual-Direction Attention Network (DDAN) as the head.
The backbone extracts features with mixed-size kernels. The head generates attention maps in two orientations, which the paper says lets the model capture long-range dependencies. An attention loss is added so that different heads focus on distinct areas of the input. The paper reports experiments on AffectNet, RAF-DB, and FERPlus.
Key idea. The paper built a facial expression recognition network from a mixed-kernel backbone and a head that generates attention maps in two orientations, trained with an attention loss.
- DDAMFN
- DDAMFN++
- Dual-Direction Attention Mixed Feature Network
- facial expression recognition
- FER
- Mixed Feature Network
- dual-direction attention
- lightweight network
AI-written summary, based on the paper's abstract and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{ddamfn2023,
title = {A Dual-Direction Attention Mixed Feature Network for Facial Expression Recognition},
author = {Saining Zhang and Yuhang Zhang and Ye Zhang and Yufei Wang and Zhigang Song},
year = {2023},
journal = {Electronics (MDPI)},
doi = {10.3390/electronics12173595}
}