There are some architectures for relational reasoning but lacks general-purpose components for relational reasoning and visual question answering.



This paper propose Feature-wise Linear Modulation(FiLM) to conditionally focus on the image. By linearly transforming the output of convolution filter, FiLM conditionally choose certain filters.


FiLM generator takes questions as input and output betas and gammas for each ResBlocks. Each ResBlock contains FiLM after convolution and BN layer. Several ResBlocks with FiLM stacks to form FiLM-ed network.


image FiLM not only achieved the state of the art result in CLEVR, but also showen to conditionally focus on the image based on queries.

Perez, Ethan, et al. “Film: Visual reasoning with a general conditioning layer.” arXiv preprint arXiv:1709.07871 (2017).