[Paper Review] Optimizing Filter Size in Convolutional Neural Networks for Facial Action Unit Recognition
This paper proposes Optimized Filter Size CNN (OFS-CNN), a novel CNN framework that jointly learns optimal convolutional filter sizes and weights via differentiable optimization during backpropagation. By treating filter size as a continuous variable and using upper/lower bound filters with interpolation, OFS-CNN achieves state-of-the-art AU recognition performance with significantly faster inference than models using multiple fixed filter sizes, while adapting to varying image resolutions.
Recognizing facial action units (AUs) during spontaneous facial displays is a challenging problem. Most recently, Convolutional Neural Networks (CNNs) have shown promise for facial AU recognition, where predefined and fixed convolution filter sizes are employed. In order to achieve the best performance, the optimal filter size is often empirically found by conducting extensive experimental validation. Such a training process suffers from expensive training cost, especially as the network becomes deeper. This paper proposes a novel Optimized Filter Size CNN (OFS-CNN), where the filter sizes and weights of all convolutional layers are learned simultaneously from the training data along with learning convolution filters. Specifically, the filter size is defined as a continuous variable, which is optimized by minimizing the training loss. Experimental results on two AU-coded spontaneous databases have shown that the proposed OFS-CNN is capable of estimating optimal filter size for varying image resolution and outperforms traditional CNNs with the best filter size obtained by exhaustive search. The OFS-CNN also beats the CNN using multiple filter sizes and more importantly, is much more efficient during testing with the proposed forward-backward propagation algorithm.
Motivation & Objective
- To address the challenge of suboptimal fixed filter sizes in traditional CNNs for spontaneous facial action unit (AU) recognition.
- To eliminate the need for expensive exhaustive hyperparameter search for optimal filter size across different image resolutions.
- To develop a differentiable, end-to-end trainable method that jointly optimizes filter size and convolutional weights during backpropagation.
- To improve recognition accuracy and inference efficiency over existing CNNs with fixed or multiple filter sizes.
Proposed method
- Treats filter size as a continuous, differentiable variable rather than a discrete hyperparameter.
- Uses upper-bound and lower-bound integer-sized filters to approximate convolution with a continuous filter size via interpolation.
- Applies a forward pass that computes activation as a weighted interpolation between outputs of upper and lower bound filters.
- Derives the gradient of the loss with respect to filter size using backpropagation, enabling iterative optimization of filter size via stochastic gradient descent.
- Introduces a transformation operation to update the sizes of the upper and lower bound filters when the optimal continuous filter size changes.
- Employs a joint forward-backward propagation algorithm that updates both filter weights and filter size simultaneously.
Experimental results
Research questions
- RQ1Can filter size be effectively optimized as a continuous, differentiable variable during end-to-end CNN training for AU recognition?
- RQ2Does learning optimal filter size per layer improve AU recognition performance compared to fixed or multiple fixed filter sizes?
- RQ3Can the proposed method achieve better accuracy and inference speed than state-of-the-art CNNs on spontaneous AU databases?
- RQ4How well does the OFS-CNN generalize across different input image resolutions?
- RQ5Can the model automatically adapt filter sizes to suit varying spatial scales of AU-related facial cues?
Key findings
- The OFS-CNN achieved a 6% higher average F1 score than the baseline CNN on the BP4D database at 256×192 resolution, outperforming the best fixed filter size found via exhaustive search.
- On the BP4D database, the OFS-CNN achieved a 53.7% average F1 score, surpassing the GoogLeNet (100 layers) which achieved 53.1% despite using 6.7x more training iterations.
- The OFS-CNN ran over 8 times faster than GoogLeNet on 128×96 images and over 6 times faster on 256×192 images during inference, demonstrating superior efficiency.
- On the DISFA database, the OFS-CNN achieved a 55.3% average F1 score, outperforming the baseline CNN (51.5%) and matching or exceeding state-of-the-art methods.
- The OFS-CNN demonstrated robustness to varying image resolutions, automatically learning appropriate filter sizes for different input scales without retraining.
- The model achieved state-of-the-art performance on both BP4D and DISFA databases, outperforming prior CNN-based methods including PL-CNN and ML-CNN.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.