[Paper Review] OpenSalicon: An Open Source Implementation of the Salicon Saliency Model
This paper presents OpenSalicon, an open-source implementation of the SALICON saliency model using the Caffe framework, enabling researchers to train and test on custom datasets. It replicates the original model's performance on the MIT 300 benchmark with a pre-trained model and supports both training and inference with multi-scale input processing and custom layers for upsampling and data input.
In this technical report, we present our publicly downloadable implementation of the SALICON saliency model. At the time of this writing, SALICON is one of the top performing saliency models on the MIT 300 fixation prediction dataset which evaluates how well an algorithm is able to predict where humans would look in a given image. Recently, numerous models have achieved state-of-the-art performance on this benchmark, but none of the top 5 performing models (including SALICON) are available for download. To address this issue, we have created a publicly downloadable implementation of the SALICON model. It is our hope that our model will engender further research in visual attention modeling by providing a baseline for comparison of other algorithms and a platform for extending this implementation. The model we provide supports both training and testing, enabling researchers to quickly fine-tune the model on their own dataset. We also provide a pre-trained model and code for those users who only need to generate saliency maps for images without training their own model.
Motivation & Objective
- To address the lack of publicly available implementations for top-performing saliency models like SALICON, which were not downloadable despite high performance on benchmarks.
- To provide a fully functional, open-source implementation of the SALICON model to serve as a research baseline for visual attention modeling.
- To enable researchers to fine-tune the model on their own datasets using transfer learning with pre-trained VGG-16 weights.
- To support both training and inference workflows with clear configuration files and custom layers for data input and upsampling.
- To ensure reproducibility by replicating the original model’s architecture and training procedure as closely as possible, including single-image gradient computation.
Proposed method
- The model uses two parallel VGG-16 networks processing the same image at coarse and fine spatial scales, with input images resized to 600×800 and 1200×1600 to match the original paper’s output dimensions.
- A custom 'CustomData' layer enables direct input of multi-scale image data from Python, bypassing Caffe’s default data layer, and supports flexible input size configuration.
- A custom 'custom_interpolation_layer' performs bilinear upsampling of the coarse-scale feature map to align dimensions with the fine-scale output before concatenation.
- The network replaces fully-connected layers with a 1×1 convolutional 'saliency map' layer to produce dense saliency predictions across the input image.
- Training is performed using a custom Python solver (finetune_salicon.py) that processes one image at a time with backpropagation, avoiding mini-batch training to match the original paper’s approach.
- Pre-trained weights are initialized using ImageNet-pretrained VGG-16 for the shared convolutional features, while the saliency map layer is randomly initialized with Gaussian and constant biases.
Experimental results
Research questions
- RQ1Can an open-source, fully functional implementation of the SALICON saliency model be created to support reproducibility and further research?
- RQ2How does the performance of the open-source implementation compare to the original SALICON model on standard benchmarks like MIT 300?
- RQ3What are the key architectural and training choices required to replicate the original SALICON model’s behavior, especially regarding input scaling and gradient computation?
- RQ4To what extent can the model be fine-tuned on new datasets using transfer learning with pre-trained VGG-16 weights?
- RQ5Does post-processing such as thresholding significantly improve saliency map quality, and if so, how can it be applied to the open-source output?
Key findings
- The open-source implementation produces saliency maps that are qualitatively very similar to those generated by the original SALICON demo on salicon.net, confirming accurate replication of the model’s behavior.
- The model’s output dimensions are adjusted to 38×50 by doubling the input resolution from the original 300×400 and 600×800 to match the expected output size described in the original paper.
- The training process uses single-image gradient updates rather than mini-batch training, as reported in the original paper, to avoid performance degradation.
- The pre-trained model achieves comparable performance to the original SALICON model on the MIT 300 fixation prediction benchmark, though the original demo’s output appears crisper due to post-processing.
- Users can achieve high-quality saliency maps by applying a simple thresholding operation to the model’s output, which replicates the visual quality of the original demo.
- The implementation supports both training and inference with full modularity, including separate prototxt files for testing, training, and solver configuration.
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.