Learning Sequential Descriptors for Sequence-based Visual Place Recognition

Riccardo Mereu, Gabriele Trivigno, Gabriele Moreno Berton, Carlo Masone, Barbara Caputo · DOI

Introduction

Visual Place Recognition (VPR) is a fundamental task in robotics and autonomous navigation, often described as the "Where am I?" problem. While traditional VPR systems rely on matching single images to a database, this approach is frequently compromised by environmental changes such as lighting, weather, or repetitive urban architecture. Utilizing sequences of images—essentially video streams—provides temporal context that significantly enhances recognition robustness.

However, traditional sequence-based methods often rely on "sequence matching," which compares trajectories frame-by-frame. This paper proposes a paradigm shift toward sequential descriptors: compact, fixed-length representations of entire image sequences. By introducing SeqVLAD, a novel aggregation layer, the authors demonstrate that learning a single descriptor for a sequence is more efficient and accurate than traditional matching techniques.

Problem Statement: Beyond Frame-by-Frame Matching

Historically, sequence-based VPR has been dominated by methods like SeqSLAM, which search for matching paths within a similarity matrix. While effective, these methods suffer from two primary drawbacks:

  1. Computational Complexity: The cost of matching grows linearly with both the map size and the sequence length, making it difficult to scale to large-scale urban environments.
  2. Rigidity: These methods often assume constant velocity or specific directions of travel, failing when a robot changes speed or traverses a path in reverse.

This research addresses these limitations by exploring how to fuse temporal information into a single, searchable vector that remains robust to these variations.

Methodology

The authors categorize the fusion of temporal information into three distinct strategies:

  • Late Fusion: Individual frames are processed independently, and their resulting descriptors are concatenated or averaged at the final stage.
  • Early Fusion: Models such as the TimeSformer process all frames simultaneously using space-time attention mechanisms.
  • Intermediate Fusion: This is the paper's primary focus. Frames are processed individually, but their features are fused using a learnable layer before the final output.

The SeqVLAD Layer

The core contribution is SeqVLAD, an extension of the popular NetVLAD architecture designed for sequences. SeqVLAD treats all local features from every frame in a sequence as a single "bag of features." These features are aggregated into a fixed-length descriptor, regardless of the input sequence length. This design allows the model to capture global context while remaining invariant to the specific order or number of frames.

Backbone Architectures

The study also investigates the transition from Convolutional Neural Networks (CNNs) to Vision Transformers (ViTs). Specifically, the Compact Convolutional Transformer (CCT) is highlighted as a highly effective backbone, offering a superior balance between memory footprint and retrieval accuracy compared to traditional ResNet architectures.

Experimental Evaluation

The framework was evaluated on several large-scale benchmarks:

  • MSLS (Mapillary Street Level Sequences): A massive, diverse dataset used to test generalization across different global cities. The authors proposed a new, fairer split to ensure models generalize across continents.
  • Oxford RobotCar: Used specifically to evaluate robustness against extreme "Day-to-Night" domain shifts.
  • Melbourne (MSLS subset): Used for direct comparison against traditional sequence-matching baselines.

Key Findings

  • Superior Accuracy: On the Melbourne dataset, SeqVLAD outperformed the best sequence-matching baseline by 30%. The combination of CCT384 and SeqVLAD achieved a state-of-the-art Recall@1 of 89.2% on MSLS.
  • Directional Robustness: Because SeqVLAD aggregates features globally across the sequence, it is inherently robust to reverse-order sequences—a common failure point for trajectory-matching algorithms.
  • Efficiency and Scalability: Sequential descriptors enable k-nearest neighbor (kNN) searches, which are significantly faster than similarity matrix searches. Furthermore, the authors showed that PCA can reduce descriptors to 4096 dimensions with minimal accuracy loss, facilitating deployment on resource-constrained embedded systems.

Conclusion and Future Work

This work demonstrates that sequential descriptors offer a scalable and robust alternative to traditional sequence matching in VPR. While the proposed SeqVLAD layer and CCT backbone set new performance benchmarks, challenges remain. Current Transformer-based models are limited by the quadratic complexity of self-attention, restricting input resolution to lower dimensions (e.g., 384x384). Additionally, while sequential context improves robustness, extreme domain shifts still pose a challenge, suggesting that future research should focus on more domain-invariant feature extraction and more efficient "early fusion" methods.

Summary updated

BibTeX
@article{mereu2022learning,
  author = {Riccardo Mereu and Gabriele Trivigno and Gabriele Moreno Berton and Carlo Masone and Barbara Caputo},
  title = {{Learning Sequential Descriptors for Sequence-based Visual Place Recognition}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  doi = {10.1109/lra.2022.3194310},
}
Figure