Papers › Classifying Anomalies THrough Outer Density Estimation (CATHODE)

Classifying Anomalies THrough Outer Density Estimation (CATHODE)

1 Sep 2021arXiv:2109.00546links table onlyarchive 2025-07-28

Anna Hallin, Joshua Isaacson, Gregor Kasieczka, Claudius Krause, Benjamin Nachman, Tobias Quadfasel, Matthias Schlaffer, David Shih, Manuel Sommerhalder

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

We propose a new model-agnostic search strategy for physics beyond the standard model (BSM) at the LHC, based on a novel application of neural density estimation to anomaly detection. Our approach, which we call Classifying Anomalies THrough Outer Density Estimation (CATHODE), assumes the BSM signal is localized in a signal region (defined e.g. using invariant mass). By training a conditional density estimator on a collection of additional features outside the signal region, interpolating it into the signal region, and sampling from it, we produce a collection of events that follow the background model. We can then train a classifier to distinguish the data from the events sampled from the background model, thereby approaching the optimal anomaly detector. Using the LHC Olympics R&D dataset, we demonstrate that CATHODE nearly saturates the best possible performance, and significantly outperforms other approaches that aim to enhance the bump hunt (CWoLa Hunting and ANODE). Finally, we demonstrate that CATHODE is very robust against correlations between the features and maintains nearly-optimal performance even in this more challenging setting.

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="2109.00546")

Code

Syntology Ran 4 of 20 code samples harvested from 2 repositories linked to this paper; 16 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong.

By repository: official repository: 3 samples from 1 repository, 3 ran; community (archive-listed): 17 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hepml-anomalydetection/cathode officialmentioned in papermentioned on GitHubpytorch report
uhh-pd-ml/sk_cathode mentioned on GitHubpytorchMIT 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

20 samples harvested; 4 ran; 1 honoured the contract we drafted; 16 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.

1ran · honoured contract
3ran · our draft was wrong
16unverified

Licence: 3 of the 20 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

create_namespace_DE_training hepml-anomalydetection/cathode/run_all.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 12cf7248903b7f0c · report
create_namespace_classifier_creation hepml-anomalydetection/cathode/run_all.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · cb3121c2357324c1 · report
create_namespace_classifier_training hepml-anomalydetection/cathode/run_all.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · cb566f2040e7fa1c · report
get_mask uhh-pd-ml/sk_cathode/sk_cathode/generative_models/flows.py community (archive-listed) ran · honoured contract MIT (permissive) · d580682a49233ab6 · report
class_weight_to_sample_weight uhh-pd-ml/sk_cathode/sk_cathode/classifier_models/boosted_decision_tree.py community (archive-listed) unverified MIT (permissive) · c744e101573e38f0 · report
class_weight_to_sample_weight uhh-pd-ml/sk_cathode/sk_cathode/classifier_models/neural_network_classifier.py community (archive-listed) unverified MIT (permissive) · 7ac0c8933b00c421 · report
compute_loss_over_batches uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_flow_matching.py community (archive-listed) unverified MIT (permissive) · 8b615ac08adc2b4b · report
compute_loss_over_batches uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_normalizing_flow_nflows.py community (archive-listed) unverified MIT (permissive) · 40a27ec70bfe22aa · report
compute_loss_over_batches uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_normalizing_flow_pyro.py community (archive-listed) unverified MIT (permissive) · 2a3b4049a4d29c3e · report
get_CL_mask uhh-pd-ml/sk_cathode/sk_cathode/generative_models/flows.py community (archive-listed) unverified MIT (permissive) · b71ded1550ff5634 · report
numpy_to_torch_loader uhh-pd-ml/sk_cathode/sk_cathode/classifier_models/neural_network_classifier.py community (archive-listed) unverified MIT (permissive) · 6d64d44fec2b30fc · report
numpy_to_torch_loader uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_flow_matching.py community (archive-listed) unverified MIT (permissive) · 34eec1e2c5622b5c · report
numpy_to_torch_loader uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_normalizing_flow_nflows.py community (archive-listed) unverified MIT (permissive) · 0ec2721a4bf5e622 · report
plot_roc_and_sic uhh-pd-ml/sk_cathode/sk_cathode/utils/evaluation_functions.py community (archive-listed) unverified MIT (permissive) · 27dde8341772bf1d · report
profile_1d uhh-pd-ml/sk_cathode/sk_cathode/utils/evaluation_functions.py community (archive-listed) unverified MIT (permissive) · 4f53ededc22efba7 · report
separate_SB_SR uhh-pd-ml/sk_cathode/demos/utils/data_preparation.py community (archive-listed) unverified MIT (permissive) · 12d0ab31d14e66a2 · report
sic_curve uhh-pd-ml/sk_cathode/sk_cathode/utils/evaluation_functions.py community (archive-listed) unverified MIT (permissive) · 44ae550f6632f7c1 · report
sum_except_batch uhh-pd-ml/sk_cathode/sk_cathode/generative_models/flows.py community (archive-listed) unverified MIT (permissive) · 0286a0665361e516 · report
train_epoch uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_flow_matching.py community (archive-listed) unverified MIT (permissive) · 37aba3a4ae5719b2 · report
train_epoch uhh-pd-ml/sk_cathode/sk_cathode/generative_models/conditional_normalizing_flow_nflows.py community (archive-listed) unverified MIT (permissive) · fd1f2958063d7cda · report

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