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

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

26 Jan 2023arXiv:2303.01978archive 2025-07-28

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

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.01978")

Code

Syntology Ran 0 of 13 code samples harvested from 1 repository linked to this paper; 13 have no recorded run.

By repository: official repository: 13 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

algue-rythme/oneclassmetriclearning officialmentioned in papertfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 0 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from algue-rythme/oneclassmetriclearning. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_ds_from_numpy algue-rythme/oneclassmetriclearning/ocml/datasets.py official repository unverified MIT (permissive) · d440e8e5446965ab · report
calibrate_accuracy algue-rythme/oneclassmetriclearning/ocml/evaluate.py official repository unverified MIT (permissive) · 135992446d5c8b2f · report
compute_batch_norm algue-rythme/oneclassmetriclearning/ocml/evaluate.py official repository unverified MIT (permissive) · 465098483688b12d · report
compute_precision_recall algue-rythme/oneclassmetriclearning/ocml/evaluate.py official repository unverified MIT (permissive) · 066f3e3f55fc8efa · report
default_process algue-rythme/oneclassmetriclearning/ocml/datasets.py official repository unverified MIT (permissive) · 19914f89baf293ee · report
display_levelset_binary algue-rythme/oneclassmetriclearning/ocml/plot.py official repository unverified MIT (permissive) · e3cb66e5185ff0a5 · report
get_contour algue-rythme/oneclassmetriclearning/ocml/plot.py official repository unverified MIT (permissive) · 1a946480db7bc7a9 · report
infinity_norm_normalization algue-rythme/oneclassmetriclearning/ocml/layers.py official repository unverified MIT (permissive) · 26258b5266a78eb2 · report
load_toy_2d algue-rythme/oneclassmetriclearning/ocml/datasets.py official repository unverified MIT (permissive) · 06583ccc9c10135a · report
plot_3d_plt algue-rythme/oneclassmetriclearning/ocml/plot.py official repository unverified MIT (permissive) · 26de53bd9bb605a6 · report
two_to_infinity_norm_normalization algue-rythme/oneclassmetriclearning/ocml/layers.py official repository unverified MIT (permissive) · 093cf669e638ca4d · report
uniform_image algue-rythme/oneclassmetriclearning/ocml/priors.py official repository unverified MIT (permissive) · db73a39f02a39cce · report
uniform_tabular algue-rythme/oneclassmetriclearning/ocml/priors.py official repository unverified MIT (permissive) · ec2408f0eeed88c0 · report

Tasks

Image GenerationOne-Class Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections