Skip to main content
QUICK REVIEW

[Paper Review] How to Train Your Energy-Based Model for Regression

Fredrik Gustafsson, Martin Danelljan|arXiv (Cornell University)|May 4, 2020
Anomaly Detection Techniques and ApplicationsComputer Science59 references15 citations
TL;DR

This paper proposes NCE+, a novel extension of noise contrastive estimation for training energy-based models (EBMs) in regression tasks, explicitly accounting for label noise in real-world data. NCE+ significantly improves performance on 1D regression, object detection, and visual tracking, achieving state-of-the-art results with 63.7% AUC on LaSOT and 78.7% success on TrackingNet, outperforming prior methods including SiamRCNN while running at 30 FPS.

ABSTRACT

Energy-based models (EBMs) have become increasingly popular within computer vision in recent years. While they are commonly employed for generative image modeling, recent work has applied EBMs also for regression tasks, achieving state-of-the-art performance on object detection and visual tracking. Training EBMs is however known to be challenging. While a variety of different techniques have been explored for generative modeling, the application of EBMs to regression is not a well-studied problem. How EBMs should be trained for best possible regression performance is thus currently unclear. We therefore accept the task of providing the first detailed study of this problem. To that end, we propose a simple yet highly effective extension of noise contrastive estimation, and carefully compare its performance to six popular methods from literature on the tasks of 1D regression and object detection. The results of this comparison suggest that our training method should be considered the go-to approach. We also apply our method to the visual tracking task, achieving state-of-the-art performance on five datasets. Notably, our tracker achieves 63.7% AUC on LaSOT and 78.7% Success on TrackingNet. Code is available at https://github.com/fregu856/ebms_regression.

Motivation & Objective

  • To address the lack of systematic study on training energy-based models (EBMs) for regression tasks in computer vision.
  • To improve regression performance by accounting for label noise in real-world datasets, which is often ignored in existing EBM training methods.
  • To provide a comprehensive benchmark comparing NCE+ against six established training techniques for EBMs in regression.
  • To establish a new standard training method for EBMs in regression by demonstrating superior performance across multiple tasks.

Proposed method

  • Propose NCE+, a modified noise contrastive estimation method that explicitly models label noise during EBM training by incorporating noisy versions of ground-truth labels as positive samples.
  • Train the EBM to discriminate between noisy labels (y_i + ν_i) and negative samples drawn from a noise distribution, using a contrastive learning objective.
  • Use a deep neural network to parameterize the energy function f_θ(y|x), enabling flexible modeling of complex conditional distributions p(y|x;θ) ∝ exp(f_θ(y|x)).
  • Apply gradient ascent at inference time to maximize p(y|x;θ) w.r.t. y, producing accurate regression predictions.
  • Integrate NCE+ into the DiMP tracking framework to build a state-of-the-art visual tracker, leveraging the EBM's ability to model uncertainty in bounding box predictions.
  • Evaluate the method on 1D regression, object detection (via bounding box regression), and visual tracking, using standard benchmarks and metrics.

Experimental results

Research questions

  • RQ1How does NCE+ compare to six existing training methods for EBMs in regression tasks?
  • RQ2Can accounting for label noise during EBM training lead to improved regression performance on real-world datasets?
  • RQ3Does NCE+ generalize effectively to complex vision tasks such as object detection and visual tracking?
  • RQ4Is NCE+ a more robust and reliable training method than existing approaches like KLD with importance sampling or standard NCE?
  • RQ5Can NCE+ achieve state-of-the-art performance in visual tracking while maintaining high inference speed?

Key findings

  • NCE+ achieves state-of-the-art performance on the LaSOT dataset with 63.7% AUC, outperforming previous methods including SiamRCNN.
  • On the TrackingNet dataset, NCE+ achieves 78.7% success, surpassing all baselines and competitive methods.
  • The DiMP-NCE+ tracker runs at approximately 30 FPS on a single GPU, demonstrating high efficiency despite strong performance.
  • NCE+ significantly outperforms both the KLD with importance sampling baseline and standard NCE across all evaluated datasets and tasks.
  • The comprehensive comparison shows that NCE+ should be considered the go-to training method for EBMs in regression, due to its robustness and consistent gains.
  • The method is effective across diverse tasks, including 1D regression, object detection, and visual tracking, confirming its generalizability.

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.