Fast Differentiable Clipping-Aware Normalization and Rescaling
Jonas Rauber, Matthias Bethge

TL;DR
This paper introduces a fast, differentiable algorithm for rescaling vectors with clipping constraints, enabling efficient training of neural networks with normalized perturbations across various frameworks.
Contribution
The authors present an analytical, differentiable method for optimal rescaling under clipping constraints, improving over slow iterative binary search approaches.
Findings
The algorithm works for any p-norm.
It is faster than iterative binary search methods.
It is compatible with multiple deep learning frameworks.
Abstract
Rescaling a vector to a desired length is a common operation in many areas such as data science and machine learning. When the rescaled perturbation is added to a starting point (where is the data domain, e.g. ), the resulting vector will in general not be in . To enforce that the perturbed vector is in , the values of can be clipped to . This subsequent element-wise clipping to the data domain does however reduce the effective perturbation size and thus interferes with the rescaling of . The optimal rescaling to obtain a perturbation with the desired norm after the clipping can be iteratively approximated using a binary search. However, such an iterative approach is slow and non-differentiable. Here we show that the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Advanced Neural Network Applications · Neural Networks and Applications
