HyperAIHyperAI

Command Palette

Search for a command to run...

Saliency for Fine-grained Object Recognition in Domains with Scarce Training Data

Carola Figueroa Flores Abel Gonzalez-Garcia Joost van de Weijer Bogdan Raducanu

Flower Recognition CNN: Flower Recognition Based on Convolutional Neural Networks

Go to Notebook

Abstract

This paper investigates the role of saliency to improve the classification accuracy of a Convolutional Neural Network (CNN) for the case when scarce training data is available. Our approach consists in adding a saliency branch to an existing CNN architecture which is used to modulate the standard bottom-up visual features from the original image input, acting as an attentional mechanism that guides the feature extraction process. The main aim of the proposed approach is to enable the efective training of a fine-grained recognition model with limited training samples and to improve the performance on the task, thereby alleviating the need to annotate a large dataset. The vast majority of saliency methods are evaluated on their ability to generate saliency maps, and not on their functionality in a complete vision pipeline. Our proposed pipeline allows to evaluate saliency methods for the high-level task of object recognition. We perform extensive experiments on various fine-grained datasets (Flowers, Birds, Cars, and Dogs) under diferent conditions and show that saliency can considerably improve the network's performance, especially for the case of scarce training data. Furthermore, our experiments show that saliency methods that obtain improved saliency maps (as measured by traditional saliency benchmarks) also translate to saliency methods that yield improved performance gains when applied in an object recognition pipeline.

One-sentence Summary

Researchers at the Computer Vision Center and Universidad del Bío Bío propose adding a saliency branch to a CNN that modulates bottom-up visual features as an attentional mechanism, enabling fine-grained object recognition with scarce training data and showing that improvements in saliency map quality translate to performance gains in an object recognition pipeline.

Key Contributions

  • A saliency-augmented CNN architecture adds a precomputed saliency branch to base networks such as AlexNet, ResNet-50, and ResNet-152, and uses a modulation layer to emphasize important RGB features for fine-grained recognition with limited labels.

  • An evaluation pipeline measures saliency methods through high-level fine-grained object recognition rather than only saliency-map quality, using precomputed saliency inputs and shared classification layers.

  • Experiments on Flowers, Birds, Cars, and Dogs show that saliency modulation improves recognition accuracy when training data are scarce, with a reported Pearson correlation of 0.95 between standard saliency benchmark scores and object-recognition performance gains.

Introduction

Fine-grained object recognition matters in applications that must distinguish visually similar subclasses, such as bird species, dog breeds, or car models. Progress is limited by the high cost of expert annotation and the subtle differences between subclasses, while most saliency methods are evaluated on how closely their maps match human eye movements rather than on whether they improve recognition. Prior attention-based neural networks can focus on informative regions, but training extra attention branches can be difficult when labeled data is scarce. The authors leverage a pretrained saliency network as a separate branch that modulates standard CNN visual features, guiding learning toward relevant image regions and helping reduce overfitting in low-data settings. Their main contribution is a saliency-modulated classification architecture and experiments showing that better saliency estimation can improve fine-grained recognition, especially with limited training data.

Method

The authors address scarce-data object classification by adding an attention pathway to a standard convolutional classification backbone. Their core idea is to use a precomputed saliency map as an auxiliary input that modulates intermediate feature maps, rather than simply appending saliency to the RGB input. As shown in the framework diagram below:

The model has two parallel convolutional branches. The first branch, referred to as the RGB branch, processes the original color image. The second branch, referred to as the saliency branch, processes a corresponding saliency map. After a few shared architectural stages, the two branches meet at a modulation layer. The output of the saliency branch produces a scalar spatial modulation map s^(x,y)\hat{s}(x,y)s^(x,y), which is applied elementwise to the RGB feature map li(x,y,z)l^{i}(x,y,z)li(x,y,z) at an intermediate layer iii. The fused feature map is computed as

l^i(x,y,z)=li(x,y,z)⋅s^(x,y),\hat{l}^{i}(x,y,z) = l^{i}(x,y,z) \cdot \hat{s}(x,y),l^i(x,y,z)=li(x,y,z)⋅s^(x,y),

where the modulation is broadcast across feature channels. In this formulation, locations with higher estimated saliency receive stronger feature activation, while background regions with low saliency are suppressed. This delayed fusion gives the network a way to emphasize object-discriminative evidence when only a small number of labeled training examples are available.

The saliency branch is designed to resemble the RGB branch so that s^(x,y)\hat{s}(x,y)s^(x,y) matches the spatial resolution of lil^{i}li. The main architectural difference is in the output dimensionality. While the RGB branch outputs a multi-channel feature tensor of size wi×hi×ciw_i \times h_i \times c_iwi​×hi​×ci​, the saliency branch outputs a single-channel modulation tensor of size wi×hi×1w_i \times h_i \times 1wi​×hi​×1. A sigmoid activation is used at the end of the saliency branch, ensuring that

0≤s^(x,y)≤1,0 \leq \hat{s}(x,y) \leq 1,0≤s^(x,y)≤1,

which provides a bounded range suitable for multiplicative modulation. The authors also postpone max pooling until after the fusion layer. By pooling after modulation, the network can exploit higher-resolution spatial modulation information before downsampling.

To prevent the modulation layer from completely suppressing RGB features in low-saliency regions, the authors introduce a skip connection. The final modulation becomes

l^i(x,y,z)=li(x,y,z)⋅(s^(x,y)+1).\hat{l}^{i}(x,y,z) = l^{i}(x,y,z) \cdot (\hat{s}(x,y) + 1).l^i(x,y,z)=li(x,y,z)⋅(s^(x,y)+1).

This addition shifts the modulation range from [0,1][0,1][0,1] to [1,2][1,2][1,2], so salient regions still receive stronger activation, but non-salient regions are not discarded entirely. During backpropagation, the same modulation also scales gradients flowing into the RGB branch:

∂L∂li=∂L∂l^i⋅(s^+1).\frac{\partial L}{\partial l^{i}} = \frac{\partial L}{\partial \hat{l}^{i}} \cdot (\hat{s} + 1).∂li∂L​=∂l^i∂L​⋅(s^+1).

This means that the saliency branch influences both the forward representation and the gradient path. Features in high-saliency locations receive stronger learning signals, while background regions receive weaker updates, which helps limit overfitting when supervision is scarce.

The training procedure is organized around pretraining and transfer. The classification backbone, excluding the saliency branch, is first pretrained on a large labeled image corpus. The saliency branch is then attached to this pretrained backbone. The authors consider two initialization strategies. In the first strategy, the saliency branch weights are randomly initialized, typically using Xavier initialization. In the second strategy, the saliency branch is pretrained using abundant training data. For this purpose, saliency maps are generated for a large auxiliary classification dataset, and the full two-branch model is trained with standard classification supervision. The resulting pretrained saliency branch is then transferred to the scarce-data task, with all parameters reused except for the top classification layer.

The saliency input itself is computed offline by external saliency estimation methods. The authors mainly focus on two strong approaches: iSEEL, which uses inter-image similarity and extreme learning ensembles to incorporate contextual and memorability-related cues, and SALICON, which leverages high-level semantic features from a convolutional network pretrained on large-scale image classification data. Representative examples of the different saliency maps used in the pipeline are shown below:

For comparison, the authors also include classical bottom-up saliency models such as Itti-Koch, GBVS, and BMS. To verify that the performance gain comes from meaningful saliency estimation rather than generic spatial bias, they evaluate two simple baselines: White, which assigns uniform saliency to all pixels, and Center, which uses a centered Gaussian distribution to emulate a central prior. These baselines allow the method to be tested against models that may benefit from center bias or from the mere presence of an additional input channel, rather than from true saliency information.

Experiment

The experiments evaluate a saliency-guided fine-grained recognition model on standard flower, bird, car, and dog datasets using custom scarce-data splits and standard protocol comparisons across AlexNet and ResNet backbones. They validate that fusing a saliency branch inside the network, rather than concatenating it to the input, improves classification, especially with very few training samples, and that pretraining the saliency branch further strengthens performance while the best fusion occurs at mid-level RGB features. Additional experiments show the approach generalizes across datasets and base networks, benefits from higher-quality saliency maps, increases gradient energy in relevant regions, remains competitive with state-of-the-art fine-grained methods on full splits, and outperforms Prototypical networks when the task scales to many classes.

Across the tested settings, accuracy generally increases as more training images are used. Incorporating saliency information helps when it is fused within the network, while directly concatenating it to the RGB input hurts performance. The variant that fuses saliency after the second convolutional layer performs best overall among the tested architecture choices. Saliency fusion inside the network outperforms early fusion at the input level. Fusing after the second convolutional layer gives the strongest overall results. Model performance improves steadily with more training images for all variants.

Adding saliency information through delayed fusion improves fine-grained Flowers classification over the RGB-only baseline across increasing training set sizes. Fusion after the second convolutional layer is the strongest design, and the two-layer saliency branch performs slightly better than the three-layer variant. These results suggest that where saliency is fused matters more than simply using a deeper saliency branch. Delayed fusion of saliency features improves over the RGB-only model, with noticeable gains in lower-data settings. Fusing after the second convolutional layer gives the best overall trend, while changing the saliency branch depth produces only small differences.

On Flowers with AlexNet, fusing saliency information after the second convolutional layer improves over the RGB-only baseline across training regimes, with the clearest benefit in limited-data settings. Reducing the saliency branch parameters to 75% or 50% retains most of the advantage, showing that the gain does not require a high-capacity saliency branch. Full parameterization yields only a modest additional average improvement. Delayed fusion at layer 2 with a two-layer saliency branch beats the RGB-only baseline. Saliency branch parameter reduction keeps most accuracy gains over the baseline. The 100% saliency branch is only slightly better on average than the reduced variants.

When comparing saliency inputs for the full AlexNet model on Flowers, informative saliency maps improve average accuracy over the RGB-only model and over white or center inputs that contain little content information. Accuracy rises as more training images are used for every method, and BMS and iSEEL produce the strongest overall trends. The saliency advantage is especially clear in the lower training-sample ranges, indicating usefulness when labels are scarce. Informative saliency methods generally outperform the RGB-only baseline on average. White and center baselines are weaker than methods using meaningful saliency maps. BMS and iSEEL show the highest average performance, with iSEEL slightly ahead overall.

Accuracy generally increases as the number of training images grows for the RGB baseline and the saliency-fusion variants. Fusing saliency information in intermediate to deeper blocks improves average performance, while fusion too early or too late gives weaker results. Block4-S2 shows the strongest overall average accuracy. Block1-S2 and Block5-S2 fall below the baseline average, suggesting early and very late fusion are less effective. Saliency fusion helps most when integrated within the network rather than at the input stage.

Experiments on the Flowers dataset evaluate saliency fusion across training set sizes, fusion stages, saliency branch depths and parameter budgets, saliency map sources, and fusion locations in convolutional networks. They show that adding informative saliency through delayed fusion within the network generally improves classification over RGB-only models, especially when training data are limited. Fusing saliency after intermediate layers, such as after the second convolutional layer or in middle blocks, yields the best results, while early input-level fusion and poorly chosen late fusion are less effective. These findings indicate that the integration stage is more important than simply adding a deeper or higher-capacity saliency branch, and meaningful saliency maps outperform uninformative baselines.


Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing

HyperAI Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp