Skip to main content
QUICK REVIEW

[Paper Review] Learning the Best Pooling Strategy for Visual Semantic Embedding

Jiacheng Chen, Hexiang Hu|arXiv (Cornell University)|Nov 9, 2020
Multimodal Machine Learning ApplicationsComputer Science53 references23 citations
TL;DR

This paper proposes the Generalized Pooling Operator (GPO), a learnable pooling module that automatically discovers optimal pooling strategies for visual and textual features in Visual Semantic Embedding (VSE) models. By learning pooling coefficients via a lightweight sequence model conditioned on positional encodings, GPO outperforms complex aggregators and achieves state-of-the-art results on image- and video-text retrieval benchmarks with minimal computational overhead.

ABSTRACT

Visual Semantic Embedding (VSE) is a dominant approach for vision-language retrieval, which aims at learning a deep embedding space such that visual data are embedded close to their semantic text labels or descriptions. Recent VSE models use complex methods to better contextualize and aggregate multi-modal features into holistic embeddings. However, we discover that surprisingly simple (but carefully selected) global pooling functions (e.g., max pooling) outperform those complex models, across different feature extractors. Despite its simplicity and effectiveness, seeking the best pooling function for different data modality and feature extractor is costly and tedious, especially when the size of features varies (e.g., text, video). Therefore, we propose a Generalized Pooling Operator (GPO), which learns to automatically adapt itself to the best pooling strategy for different features, requiring no manual tuning while staying effective and efficient. We extend the VSE model using this proposed GPO and denote it as VSE$\infty$. Without bells and whistles, VSE$\infty$ outperforms previous VSE methods significantly on image-text retrieval benchmarks across popular feature extractors. With a simple adaptation, variants of VSE$\infty$ further demonstrate its strength by achieving the new state of the art on two video-text retrieval datasets. Comprehensive experiments and visualizations confirm that GPO always discovers the best pooling strategy and can be a plug-and-play feature aggregation module for standard VSE models. Code and pre-trained models are available at https://vse-infty.github.io.

Motivation & Objective

  • To address the challenge of manually tuning pooling functions across diverse data modalities and feature extractors in VSE models.
  • To develop a plug-and-play feature aggregation module that automatically adapts to the best pooling strategy without manual hyperparameter search.
  • To improve VSE performance by replacing complex aggregators with a learnable, generalized pooling mechanism that maintains efficiency.
  • To demonstrate that simple, well-chosen pooling functions can outperform complex aggregators when properly selected, and to automate this selection process.

Proposed method

  • Propose the Generalized Pooling Operator (GPO), a parameterized pooling layer that learns to generate optimal pooling coefficients for sorted feature vectors.
  • Use sinusoidal positional encodings to represent position indices, enabling the model to generalize across variable-sized features.
  • Train a BiGRU-based coefficient generator to predict weights for each feature element based on its position and embedding context.
  • Integrate GPO into the VSE framework as VSE∞, replacing standard aggregators in both visual and text branches.
  • Optimize the model using a margin-based triplet ranking loss with online hard-negative mining for improved contrastive learning.
  • Apply size augmentation during training to improve generalization to unseen feature sizes.

Experimental results

Research questions

  • RQ1Can a simple, learnable pooling operator outperform complex feature aggregators in VSE models?
  • RQ2Is it possible to automatically discover the optimal pooling strategy for different data modalities and feature extractors without manual tuning?
  • RQ3How well can a generalized pooling operator generalize to unseen feature sizes across image, text, and video inputs?
  • RQ4Does adding per-dimension or data-dependent pooling coefficients improve performance in the context of VSE?
  • RQ5Can the proposed GPO be effectively transferred to video-text retrieval tasks with minimal adaptation?

Key findings

  • GPO consistently discovers the best pooling strategy across different data modalities and feature extractors, as confirmed by comparisons with exhaustive grid search.
  • VSE∞ with GPO achieves state-of-the-art performance on COCO and Flickr30K image-text retrieval benchmarks, outperforming prior SOTA VSE methods.
  • On MSR-VTT and VaTeX video-text retrieval datasets, variants of VSE∞ achieve new state-of-the-art results with only a simple adaptation.
  • The Cos/Sin+BiGRU design for GPO achieves the best performance in terms of RMSE on synthetic pattern generation, outperforming alternatives like Interp and Index+BiGRU.
  • Adding per-dimension pooling coefficients or data-dependent generators does not improve performance, suggesting that simpler designs are sufficient and less prone to overfitting.
  • The results confirm that well-chosen simple pooling functions (e.g., max pooling) can surpass complex aggregators, and GPO automates this selection effectively.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.