HST-former: hierarchical spatio-temporal aggregation for video-based animal re-identification

Read full text
Authors: Xiaolu Zhang, J. Christina Wang, Qingshuai Wang, Suxing Liu, Jinhao Xie, Yong Luo
Cited by: 1
References: 31

Abstract

Automatic and high-precision video-based animal re-identification (Re-ID) has become an important tool for wildlife conservation and behavioral research. However, state-of-the-art image-based methods, while effective on static images, fail to make full use of the rich dynamic information in videos, such as gait and motion patterns. To bridge this gap, we propose HST-Former, a novel framework that extends data efficiency and species-agnostic principles into the temporal domain. The core innovation of this method is the Hierarchical Spatio-Temporal Transformer Aggregator (HSTTA)-a customized transformer architecture designed to process and integrate all local features from an entire animal trajectory. By modeling both spatial and temporal feature dependencies, HSTTA learns complex long-range relationships and produces a single, highly discriminative video-level descriptor. The hierarchical design first summarizes intra-frame features and then aggregates them across frames, effectively addressing the computational challenges of standard transformers on long sequences. In addition, we introduce a spatio-temporal consistency constraint to enhance the geometric verification step, improving re-ranking accuracy. Our model significantly outperforms current state-of-the-art baselines. To validate its effectiveness, we conduct comprehensive evaluations on three public datasets, where HST-Former achieves the best performance across all key metrics, including Top-1, Top-3, and Top-5.

Fields of Study & Subjects

Wildlife Ecology and Conservation Animal Behavior and Welfare Studies Animal Vocal Communication and Behavior

Publication details

Journal / source
Scientific Reports
Publisher
Springer Science and Business Media LLC
Volume
16
Issue
1
Publication date
9 April 2026
Language
EN