Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Scale Inference by Entropy Minimization

Dequan Wang, Evan Shelhamer|arXiv (Cornell University)|Aug 8, 2019
Advanced Image and Video Retrieval TechniquesComputer Science44 references6 citations
TL;DR

This paper proposes iterative, unsupervised optimization during inference to improve dynamic scale inference in semantic segmentation. By minimizing prediction entropy through joint optimization of task and scale parameters, the method achieves higher accuracy and better generalization than feedforward dynamic inference, especially under extreme scale shifts.

ABSTRACT

Given the variety of the visual world there is not one true scale for recognition: objects may appear at drastically different sizes across the visual field. Rather than enumerate variations across filter channels or pyramid levels, dynamic models locally predict scale and adapt receptive fields accordingly. The degree of variation and diversity of inputs makes this a difficult task. Existing methods either learn a feedforward predictor, which is not itself totally immune to the scale variation it is meant to counter, or select scales by a fixed algorithm, which cannot learn from the given task and data. We extend dynamic scale inference from feedforward prediction to iterative optimization for further adaptivity. We propose a novel entropy minimization objective for inference and optimize over task and structure parameters to tune the model to each input. Optimization during inference improves semantic segmentation accuracy and generalizes better to extreme scale variations that cause feedforward dynamic inference to falter.

Motivation & Objective

  • Address the limitation of feedforward dynamic inference in handling extreme scale variations during testing.
  • Overcome the generalization gap between training and testing scales, especially when test inputs are significantly larger than training data.
  • Develop a method that adapts model parameters at inference time without altering the training process or architecture.
  • Improve robustness and accuracy for out-of-distribution scale shifts by introducing top-down feedback via optimization.
  • Demonstrate that iterative optimization of model parameters during inference can surpass one-step prediction-based dynamic adaptation.

Proposed method

  • Propose an unsupervised inference objective based on minimizing the entropy of model predictions to promote confident, stable outputs.
  • Optimize two sets of parameters during inference: task parameters for pixel-wise classification and structure parameters for dynamic Gaussian receptive field adaptation.
  • Perform iterative gradient updates on these parameters using the entropy objective, enabling top-down refinement of the model per input.
  • Maintain the original model architecture and training process, applying optimization only at test time to tune a custom model per input.
  • Use a dynamic Gaussian receptive field model as the base for scale adaptation, allowing local scale variation within images.
  • Decouple computational cost from model capacity by allowing variable numbers of optimization steps per input.

Experimental results

Research questions

  • RQ1Can iterative optimization during inference improve generalization beyond feedforward dynamic inference under extreme scale shifts?
  • RQ2How does entropy minimization as an unsupervised objective enhance robustness to out-of-distribution scale variations?
  • RQ3What is the impact of jointly optimizing task and scale parameters during inference compared to optimizing only one?
  • RQ4To what extent does inference-time optimization refine predictions on in-distribution data, even when training and testing scales match?
  • RQ5How does the proposed method compare to oracle and adversary baselines in terms of achievable performance bounds?

Key findings

  • On the PASCAL VOC dataset, the proposed method achieves 62.3 mIoU on 3× test scale, significantly outperforming the feedforward dynamic baseline (59.8 mIoU) and showing improved robustness to scale shifts.
  • For in-distribution testing (1×), the method improves mIoU by ~1 point (70.6 vs. 69.8) compared to the feedforward baseline, indicating refinement even within distribution.
  • Ablation shows that optimizing both score and scale parameters yields the best performance, while optimizing only scale or only score leads to degraded accuracy.
  • Qualitative results demonstrate that the method corrects noisy, over-segmented fragments and false negatives in out-of-distribution scale settings.
  • The oracle optimization achieves 77.7 mIoU on 3× scale, indicating that further improvements in dynamic inference are possible, but the proposed method closes the gap significantly.
  • The adversary baseline shows that the method remains effective despite the risk of harmful optimization, confirming its robustness to optimization-induced degradation.

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.