Online Hybrid Lightweight Representations Learning: Its Application to Visual Tracking

Ilchae Jung, Minji Kim, Eunhyeok Park, Bohyung Han

Abstract

This paper presents a novel hybrid representation learning framework for streaming data, where an image frame in a video is modeled by an ensemble of two distinct deep neural networks: a low-bit quantized network and a lightweight full-precision network. The former learns coarse primary information with low cost while the latter conveys residual information for high fidelity to original representations. The proposed parallel architecture is effective to maintain complementary information since fixed-point arithmetic can be utilized in the quantized network and the lightweight model provides precise representations given by a compact channel-pruned network. We incorporate the hybrid representation technique into an online visual tracking task, where deep neural networks need to handle temporal variations of target appearances in real-time. Compared to the state-of-the-art real-time trackers based on conventional deep neural networks, our tracking algorithm demonstrates competitive accuracy on the standard benchmarks with a small fraction of computational cost and memory footprint.

Introduction

Deep neural networks (DNNs) have revolutionized visual tracking, but their high demand for memory and GPU power makes them difficult to deploy on "edge" devices like drones, robots, or mobile phones. To make models smaller, researchers typically turn to low-bit quantization or channel pruning. However, visual tracking requires online adaptation—the model must update itself in real-time as the target's appearance changes. Purely quantized models struggle to adapt because small gradient changes cause massive jumps in discrete values, while purely pruned models often remain too computationally heavy for resource-constrained environments.

This paper introduces a Hybrid Representation approach ($A^h = A^q + A^p$) that combines these two techniques into a parallel ensemble to achieve the "best of both worlds."

Methods

The proposed framework utilizes two parallel pathways to process streaming data:

  • The Quantized Primary Network ($f^q$): This network uses low-bit (4-bit or 5-bit) weights and activations. It is pre-trained to capture coarse, time-invariant features. To maintain stability, a novel normalization loss ($L_{quant}$) is introduced to ensure weights and activations stay within a range where quantization doesn't lose excessive information.
  • The Pruned Residual Network ($f^p$): This is a full-precision but extremely "thin" network. It uses a stochastic pruning method (the Gumbel-softmax trick) to learn which channels are essential for maintaining high fidelity.

During the tracking phase (inference), the quantized network is frozen to save power and compute. Only the lightweight pruned network is updated online to handle the target's temporal variations, such as lighting changes or occlusions. This framework was integrated into three popular tracking architectures: RT-MDNet, SiamRPN++, and TransT.

Key Insights and Results

Residual Synergy and Stability

The core innovation is treating model compression as a residual learning problem. The quantized network handles the "easy" common features, while the pruned network acts as a high-fidelity "patch" that can be updated quickly. The authors' specific weight and activation normalization losses ($L_{qW}$ and $L_{qA}$) are critical, making this hybrid approach stable enough for real-world online updates.

Performance Benchmarks

The models were evaluated on several major visual tracking benchmarks, including OTB2015, UAV123, LaSOT, and the VOT2016/2018 challenges. Key findings include:

  • Massive Efficiency Gains: The hybrid models significantly reduced Bit-wise Operations (BOPs). For example, the hybrid version of RT-MDNet used only 26% of the original model's BOPs.
  • Competitive Accuracy: On the OTB2015 benchmark, the hybrid RT-MDNet achieved a 64.5% success rate, nearly matching the 65.0% of the full-precision baseline while operating much faster.
  • Superior Online Adaptation: In some instances, the hybrid model with online updates (OnHybSiamRPN++) actually outperformed the original full-precision baseline on the VOT2018 benchmark (EAO of 0.344 vs 0.340), proving that the lightweight residual network effectively captures target changes.
  • Robustness to Pruning: The study demonstrated that up to 80% of channels in the residual network could be pruned before seeing a significant drop in tracking precision.

Limitations and Future Work

While the theoretical efficiency (measured in BOPs) is high, real-world speedup depends on hardware that natively supports mixed-precision and fixed-point arithmetic. Additionally, running two parallel networks increases software implementation complexity. Future research may extend this hybrid approach to other streaming data tasks, such as real-time video segmentation or action recognition on mobile devices.

Summary updated

BibTeX
@inproceedings{jung2022online,
  author = {Ilchae Jung and Minji Kim and Eunhyeok Park and Bohyung Han},
  title = {{Online Hybrid Lightweight Representations Learning: Its Application to Visual Tracking}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=8Ve13agcOac},
}
Figure