The magnitude vector of images
arXiv:2110.15188 · doi:10.1007/s41468-024-00182-9
Abstract
The magnitude of a finite metric space has recently emerged as a novel invariant quantity, allowing to measure the effective size of a metric space. Despite encouraging first results demonstrating the descriptive abilities of the magnitude, such as being able to detect the boundary of a metric space, the potential use cases of magnitude remain under-explored. In this work, we investigate the properties of the magnitude on images, an important data modality in many machine learning applications. By endowing each individual images with its own metric space, we are able to define the concept of magnitude on images and analyse the individual contribution of each pixel with the magnitude vector. In particular, we theoretically show that the previously known properties of boundary detection translate to edge detection abilities in images. Furthermore, we demonstrate practical use cases of magnitude for machine learning applications and propose a novel magnitude model that consists of a computationally efficient magnitude computation and a learnable metric. By doing so, we address the computational hurdle that used to make magnitude impractical for many applications and open the way for the adoption of magnitude in machine learning research.
References in corpus (8)
- Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks
- The magnitude of metric spaces
- Topological Machine Learning with Persistence Indicator Functions
- On the asymptotic magnitude of subsets of Euclidean space
- The magnitude of a metric space: from category theory to geometric measure theory
- Products of metric spaces, covering numbers, packing numbers and characterizations of ultrametric spaces
- On the magnitude of spheres, surfaces and other homogeneous spaces
- On the magnitude of odd balls via potential functions