Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networks

Read original: arXiv:2303.01978 - Published 4/3/2024 by Louis Bethune, Paul Novello, Thibaut Boissin, Guillaume Coiffier, Mathieu Serrurier, Quentin Vincenot, Andres Troya-Galvis
Total Score

0

🏷️

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • Proposes a new method called One Class Signed Distance Function (OCSDF) for one-class classification
  • Learns the signed distance function to the boundary of the support of any data distribution
  • Distance to support can be used as a normality score
  • Approximating the distance function with 1-Lipschitz neural networks provides robustness against L2 adversarial attacks
  • Introduces a new metric called certified AUROC that can be computed at the same cost as classical AUROC
  • Competitive performance on tabular and image data, with much greater robustness to adversarial attacks
  • Explores connections between one-class classification, image generation, and implicit neural surface parametrization

Plain English Explanation

The paper presents a new technique called One Class Signed Distance Function (OCSDF) for a machine learning task called one-class classification. In one-class classification, the goal is to identify whether a given data point is "normal" and belongs to the main group, or is "anomalous" and does not.

The key idea behind OCSDF is to learn the "signed distance function" - a mathematical function that describes how far each point is from the boundary of the normal data. This distance can then be used as a score to determine whether a point is normal or anomalous. Crucially, the researchers show that by approximating this distance function using a special type of neural network, they can make the system robust against adversarial attacks, where small changes to the input can fool a machine learning model.

OCSDF also introduces a new evaluation metric called "certified AUROC" that can measure the model's performance in a way that accounts for this adversarial robustness. The researchers demonstrate that OCSDF performs competitively with existing one-class classification methods on standard datasets, while being significantly more robust to adversarial attacks.

Finally, the paper explores some intriguing connections between one-class classification, image generation, and the mathematical field of implicit surface representation. These connections suggest that the OCSDF approach could have applications beyond just anomaly detection.

Technical Explanation

The core of the OCSDF method is learning the signed distance function (SDF) to the support of the data distribution. The SDF assigns a positive value to points outside the support, a negative value to points inside the support, and zero to points on the boundary. This SDF can be interpreted as a "normality score" - the further a point is from the support, the more anomalous it is considered.

To learn the SDF, the authors propose training a 1-Lipschitz neural network, which ensures that small changes to the input (e.g., adversarial perturbations) cannot drastically change the output. This 1-Lipschitz property provides provable robustness guarantees against L2 adversarial attacks.

The paper introduces a new evaluation metric called "certified AUROC" that measures the area under the receiver operating characteristic (ROC) curve, but in a way that accounts for the model's adversarial robustness. This metric can be computed at the same cost as the classical AUROC.

Experimentally, the authors show that OCSDF achieves competitive performance on tabular and image datasets compared to existing one-class classification methods, while being significantly more robust to adversarial attacks. As exploratory research, they also demonstrate connections between one-class classification, image generation, and implicit neural surface parametrization.

Critical Analysis

The paper presents a well-designed and thorough study of the OCSDF method for one-class classification. The authors provide a strong theoretical foundation for the approach, including the key property of 1-Lipschitz networks providing robustness to adversarial attacks.

However, the paper does not delve into potential limitations or caveats of the OCSDF method. For example, it would be useful to understand the computational complexity of training and evaluating the 1-Lipschitz networks, as this could be a practical concern. Additionally, the authors could explore the sensitivity of OCSDF to hyperparameter choices or the quality of the initial data distribution.

Moreover, the paper only scratches the surface of the intriguing connections between one-class classification, image generation, and implicit surface representation. Further exploration of these links could uncover valuable insights or open up new research directions.

Overall, the OCSDF method appears to be a promising approach for one-class classification, particularly in the context of adversarial robustness. The paper provides a solid foundation, but there is scope for additional research to fully understand the strengths, limitations, and broader implications of this technique.

Conclusion

The proposed One Class Signed Distance Function (OCSDF) method offers a novel approach to one-class classification that learns a robust normality score by approximating the signed distance function to the data distribution. The key advantages of OCSDF are its competitive performance on standard datasets and its strong resilience to adversarial attacks, as demonstrated by the new "certified AUROC" metric.

Beyond the immediate applications in anomaly detection, the paper also suggests intriguing connections between one-class classification and other machine learning domains, such as image generation and implicit surface representation. Further exploration of these connections could lead to new research directions and applications for the OCSDF method.

Overall, the OCSDF technique represents an important advancement in one-class classification, with the potential to make machine learning systems more secure and reliable in the face of adversarial threats. As the field continues to evolve, work like this helps to push the boundaries of what is possible in machine learning and opens up new avenues for exploration.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

🏷️

Total Score

0

Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networks

Louis Bethune, Paul Novello, Thibaut Boissin, Guillaume Coiffier, Mathieu Serrurier, Quentin Vincenot, Andres Troya-Galvis

We propose a new method, dubbed One Class Signed Distance Function (OCSDF), to perform One Class Classification (OCC) by provably learning the Signed Distance Function (SDF) to the boundary of the support of any distribution. The distance to the support can be interpreted as a normality score, and its approximation using 1-Lipschitz neural networks provides robustness bounds against $l2$ adversarial attacks, an under-explored weakness of deep learning-based OCC algorithms. As a result, OCSDF comes with a new metric, certified AUROC, that can be computed at the same cost as any classical AUROC. We show that OCSDF is competitive against concurrent methods on tabular and image data while being way more robust to adversarial attacks, illustrating its theoretical properties. Finally, as exploratory research perspectives, we theoretically and empirically show how OCSDF connects OCC with image generation and implicit neural surface parametrization. Our code is available at https://github.com/Algue-Rythme/OneClassMetricLearning

Read more

4/3/2024

🧠

Total Score

0

1-Lipschitz Neural Distance Fields

Guillaume Coiffier, Louis Bethune

Neural implicit surfaces are a promising tool for geometry processing that represent a solid object as the zero level set of a neural network. Usually trained to approximate a signed distance function of the considered object, these methods exhibit great visual fidelity and quality near the surface, yet their properties tend to degrade with distance, making geometrical queries hard to perform without the help of complex range analysis techniques. Based on recent advancements in Lipschitz neural networks, we introduce a new method for approximating the signed distance function of a given object. As our neural function is made 1- Lipschitz by construction, it cannot overestimate the distance, which guarantees robustness even far from the surface. Moreover, the 1-Lipschitz constraint allows us to use a different loss function, called the hinge-Kantorovitch-Rubinstein loss, which pushes the gradient as close to unit-norm as possible, thus reducing computation costs in iterative queries. As this loss function only needs a rough estimate of occupancy to be optimized, this means that the true distance function need not to be known. We are therefore able to compute neural implicit representations of even bad quality geometry such as noisy point clouds or triangle soups. We demonstrate that our methods is able to approximate the distance function of any closed or open surfaces or curves in the plane or in space, while still allowing sphere tracing or closest point projections to be performed robustly.

Read more

7/16/2024

RoCoSDF: Row-Column Scanned Neural Signed Distance Fields for Freehand 3D Ultrasound Imaging Shape Reconstruction
Total Score

0

RoCoSDF: Row-Column Scanned Neural Signed Distance Fields for Freehand 3D Ultrasound Imaging Shape Reconstruction

Hongbo Chen, Yuchong Gao, Shuhang Zhang, Jiangjie Wu, Yuexin Ma, Rui Zheng

The reconstruction of high-quality shape geometry is crucial for developing freehand 3D ultrasound imaging. However, the shape reconstruction of multi-view ultrasound data remains challenging due to the elevation distortion caused by thick transducer probes. In this paper, we present a novel learning-based framework RoCoSDF, which can effectively generate an implicit surface through continuous shape representations derived from row-column scanned datasets. In RoCoSDF, we encode the datasets from different views into the corresponding neural signed distance function (SDF) and then operate all SDFs in a normalized 3D space to restore the actual surface contour. Without requiring pre-training on large-scale ground truth shapes, our approach can synthesize a smooth and continuous signed distance field from multi-view SDFs to implicitly represent the actual geometry. Furthermore, two regularizers are introduced to facilitate shape refinement by constraining the SDF near the surface. The experiments on twelve shapes data acquired by two ultrasound transducer probes validate that RoCoSDF can effectively reconstruct accurate geometric shapes from multi-view ultrasound data, which outperforms current reconstruction methods. Code is available at https://github.com/chenhbo/RoCoSDF.

Read more

8/15/2024

Fast Learning of Signed Distance Functions from Noisy Point Clouds via Noise to Noise Mapping
Total Score

0

Fast Learning of Signed Distance Functions from Noisy Point Clouds via Noise to Noise Mapping

Junsheng Zhou, Baorui Ma, Yu-Shen Liu, Zhizhong Han

Learning signed distance functions (SDFs) from point clouds is an important task in 3D computer vision. However, without ground truth signed distances, point normals or clean point clouds, current methods still struggle from learning SDFs from noisy point clouds. To overcome this challenge, we propose to learn SDFs via a noise to noise mapping, which does not require any clean point cloud or ground truth supervision. Our novelty lies in the noise to noise mapping which can infer a highly accurate SDF of a single object or scene from its multiple or even single noisy observations. We achieve this by a novel loss which enables statistical reasoning on point clouds and maintains geometric consistency although point clouds are irregular, unordered and have no point correspondence among noisy observations. To accelerate training, we use multi-resolution hash encodings implemented in CUDA in our framework, which reduces our training time by a factor of ten, achieving convergence within one minute. We further introduce a novel schema to improve multi-view reconstruction by estimating SDFs as a prior. Our evaluations under widely-used benchmarks demonstrate our superiority over the state-of-the-art methods in surface reconstruction from point clouds or multi-view images, point cloud denoising and upsampling.

Read more

7/22/2024