SMILER: Saliency Model Implementation Library for Experimental Research

Calden Wloka, Toni Kunić, Iuliia Kotseruba, Ramin Fahimi, Nicholas Frosst, Neil D. B. Bruce, John K. TsotsosarXiv 2018 · arXiv

TL;DR

SMILER (Saliency Model Implementation Library for Experimental Research) is an open-source, standardized framework designed to fix the reproducibility crisis in computational saliency research. By providing a unified interface for 23 different models—ranging from classical algorithms to modern deep learning networks—it ensures that researchers can compare models fairly without getting bogged down by incompatible software dependencies or undocumented parameter tweaks.

What Problem Does This Paper Address?

In the "Wild West" of saliency research (predicting where humans look in an image), comparing two models is surprisingly difficult. Over the last two decades, hundreds of models have been released, but they are a mess of conflicting requirements. One model might require a specific version of MATLAB and the LAB color space, while another requires a specific version of Caffe, a GPU, and RGB input.

This fragmentation leads to inconsistent results. The authors point out that three different high-profile studies using the same dataset (Toronto) and the same metric (SIM) produced entirely different performance rankings for the same set of algorithms. These discrepancies often stem from "hidden" choices: how an image is resized, whether a center-bias is added, or how output maps are smoothed. SMILER aims to eliminate these variables by providing a "common ground" for execution.

Methods

SMILER is built as a dual-language system to bridge the gap between legacy research and modern deep learning:

  • MATLAB Component: Provides a standardized wrapper for 14 classical saliency models. It includes helper functions for installation, path management, and querying model metadata.
  • Python CLI (Command Line Interface): This is the "heavy lifter" for modern research. It uses Docker and nvidia-docker to containerize models. This means a model requiring a specific, outdated version of TensorFlow can run alongside a model requiring a new version of Caffe without their libraries clashing.
  • Standardized API: Regardless of the underlying code, every model in SMILER follows a common API. You provide an image; you get a saliency map of the same dimensions.
  • JSON/YAML Configuration: Parameters are handled through a strict hierarchy. Global defaults (like smoothing kernels or scaling) are defined in config.json, while model-specific parameters live in smiler.json. Users can override these using YAML files to document their exact experimental setup, making "one-click" reproducibility a reality.

Datasets

While SMILER is a library of models rather than a new dataset, the paper evaluates its necessity using the Toronto dataset. The authors demonstrate how previous literature reported conflicting results on this specific benchmark due to a lack of execution standards. SMILER is designed to be applied to any image-based dataset, including those for robotic navigation, defect detection, and satellite imagery.

Key Insights and Ideas

  • Implementation Matters as Much as Architecture: The paper highlights that a model's performance rank can shift simply based on whether the researcher used the "correct" color space or a specific smoothing kernel. Standardization isn't just a convenience; it's a scientific requirement.
  • Containerization is the Solution to Dependency Hell: By using Docker, SMILER removes the "barrier to entry" for researchers who aren't deep learning experts. You don't need to know how to compile Caffe to run a Caffe-based model; you just need the SMILER CLI.
  • Standardized Output: Many models naturally output maps smaller than the input image or with different numerical scales. SMILER automatically handles padding, rescaling, and normalization so that outputs are directly comparable across the entire library.

Key Results

The primary "result" is the library itself, which launched with 23 supported models, including:

  • Classical: AIM, AWS, GBVS, IKN, SUN, and others.
  • Deep Learning: DeepGaze II, MLNet, SalGAN, SAM, and oSALICON.

Quantitatively, the authors highlight the inconsistency in the field by showing that for the eDN model, different studies reported SIM scores ranging from 0.40 to 0.573 on the same dataset. By using SMILER, researchers can ensure they are getting the "canonical" version of these scores, or at least a version where every parameter is explicitly documented and reproducible.

Limitations and Future Work

  • OS Restrictions: The Python CLI is currently only supported on Linux, which may alienate researchers using Windows or macOS for their primary workflows.
  • Hardware Requirements: To run the deep learning suite, a GPU with at least 4GB (ideally 6GB+) of VRAM is required.
  • Scope: The current version focuses on static fixation prediction. The authors acknowledge that future versions need to expand into dynamic (video) saliency and salient object detection (SOD).
  • Community Dependent: As an open-source project, the long-term utility of SMILER depends on the community contributing new "skeleton" models as they are published to prevent the library from becoming obsolete.

Summary updated

Abstract

The Saliency Model Implementation Library for Experimental Research (SMILER) is a new software package which provides an open, standardized, and extensible framework for maintaining and executing computational saliency models. This work drastically reduces the human effort required to apply saliency algorithms to new tasks and datasets, while also ensuring consistency and procedural correctness for results and conclusions produced by different parties. At its launch SMILER already includes twenty three saliency models (fourteen models based in MATLAB and nine supported through containerization), and the open design of SMILER encourages this number to grow with future contributions from the community. The project may be downloaded and contributed to through its GitHub page: https://github.com/tsotsoslab/smiler
BibTeX
@misc{wloka2018smiler,
  author = {Calden Wloka and Toni Kunić and Iuliia Kotseruba and Ramin Fahimi and Nicholas Frosst and Neil D. B. Bruce and John K. Tsotsos},
  title = {{SMILER: Saliency Model Implementation Library for Experimental Research}},
  year = {2018},
  eprint = {1812.08848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.08848},
}
Figure