Language-Conditioned Feature Pyramids for Visual Selection Tasks

Taichi Iki, Akiko AizawaEMNLP 2020

Introduction

In referring expression comprehension—the task of identifying an object in an image based on a description—scale is a critical factor. For instance, identifying "the gray dot" requires only a small receptive field. Conversely, a description like "the dot to the right of the large triangle" necessitates a much larger visual context to understand spatial relationships.

The relationship between text descriptions and the required visual receptive field.

Most existing models fail to account for the fact that the optimal visual scale depends entirely on the linguistic input. This research introduces the Language-Conditioned Feature Pyramid (LCFP) to address the challenge of multi-scale fusion, allowing language to dictate the relevant level of visual detail.

Methods: The LCFP Architecture

The LCFP architecture integrates two core components: Feature Pyramid Networks (FPN) and Feature-wise Linear Modulation (FiLM).

The LCFP architecture modulates visual features at multiple scales using linguistic vectors.

Standard FPNs create a hierarchy of feature maps where lower levels provide high resolution (fine detail) and higher levels provide global context. In LCFP, the authors replace standard convolutions in the top-down reconstruction with FiLM blocks. These blocks use a linguistic vector—derived from a GRU-encoded sentence—to apply affine transformations ($\beta$ and $\gamma$) to the visual feature maps. This mechanism ensures that at every stage of feature reconstruction, the language actively modulates the visual data, creating a representation specifically conditioned on the text.

Datasets and Evaluation

The model was evaluated on two distinct visual dialogue tasks:

  • OneCommon: A synthetic dataset of dot clusters designed to test complex spatial and relational reasoning (e.g., "the third largest dot in the triangle").
  • GuessWhat?!: A large-scale dataset using real-world MS COCO photographs, testing the model's ability to handle diverse object categories and natural textures in a "20 Questions" style game.

Key Insights

The LCFP naturally learns to prioritize different pyramid levels based on the input text. Activation patterns reveal that the model relies on finer resolutions (Stage 1) for color-based descriptions, while shifting to higher stages with larger receptive fields for size or positional cues. Furthermore, by using FiLM-based affine transformations instead of generating custom convolution kernels, the model maintains computational efficiency even with high-dimensional backbones like ResNet-50. This multi-scale conditioning proved essential for understanding how objects relate to one another in group-based reasoning.

Results

The LCFP demonstrated superior performance across both benchmarks:

  • OneCommon: Achieved 73.47% accuracy, significantly outperforming the previous state-of-the-art baseline (69.09%).
  • GuessWhat?!: Recorded a 33.1% error rate in the "Guesser" subtask, the lowest among all tested supervised learning models.
  • Ablation Studies: Removing multi-scale fusion led to a sharp drop in performance (from 27.0 to 45.8 validation error on OneCommon), confirming the necessity of the pyramid structure.

Limitations and Future Work

While LCFP excels at visual selection, it is not currently designed for language generation. Future research aims to adapt this architecture to enable models to generate their own multi-scale referring expressions. Additionally, the authors suggest that current dataset biases may limit exposure to the full variety of spatial language, indicating a need for more diverse task designs to reach human-level performance in complex positional tasks.

Summary updated

BibTeX
@inproceedings{iki2020language,
  author = {Taichi Iki and Akiko Aizawa},
  title = {{Language-Conditioned Feature Pyramids for Visual Selection Tasks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.420},
}
Figure