jacenkow / inside

INSIDE: Steering Spatial Attention with Non-Imaging Information in CNNs

Home Page:https://arxiv.org/abs/2008.10418

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSIDE: INstance modulation with SpatIal DEpendency

Grzegorz Jacenków, Alison Q. O'Neil, Brian Mohr, Sotirios A. Tsaftaris

Accepted to the International Conference on Medical Image Computing and Computer-Assisted Intervention MICCAI 2020.

INSIDE

Abstract

We consider the problem of integrating non-imaging information into segmentation networks to improve performance. Conditioning layers such as FiLM provide the means to selectively amplify or suppress the contribution of different feature maps in a linear fashion. However, spatial dependency is difficult to learn within a convolutional paradigm. In this paper, we propose a mechanism to allow for spatial localisation conditioned on non-imaging information, using a feature-wise attention mechanism comprising a differentiable parametrised function (e.g. Gaussian), prior to applying the feature-wise modulation. We name our method INstance modulation with SpatIal DEpendency (INSIDE). The conditioning information might comprise any factors that relate to spatial or spatio-temporal information such as lesion location, size, and cardiac cycle phase. Our method can be trained end-to-end and does not require additional supervision. We evaluate the method on two datasets: a new CLEVR-Seg dataset where we segment objects based on location, and the ACDC dataset conditioned on cardiac phase and slice location within the volume.

Installation

This code is ported to TensorFlow 2.0. We can also share code snippets compatible with TensorFlow 1.x. Please, contact the first author via e-mail.

Datasets

Download CLEVR-Seg dataset from our Google Drive and unpack in inside/datasets folder.

The ACDC dataset can be downloaded from here. Download training.zip file from the website and unpack in inside/datasets/acdc/raw folder.

Dependencies

You can install the dependencies with pip install -r requirements.txt. Please note, we use Comet.ml to track our experiments.

Citation

@inproceedings{jacenkow2020inside,
  title={INSIDE: Steering Spatial Attention with Non-Imaging Information in CNNs},
  author={Jacenków, Grzegorz and O'Neil, Alison Q. and Mohr, Brian and Tsaftaris, Sotirios A},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  month = {October},
  year = {2020},
  organization={Springer}
}

About

INSIDE: Steering Spatial Attention with Non-Imaging Information in CNNs

https://arxiv.org/abs/2008.10418

License:Apache License 2.0


Languages

Language:Python 100.0%