GithubHelp home page GithubHelp logo

chreissel / quak Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sangeonpark/quak

0.0 0.0 1.0 2.25 MB

QUasi Anomalous Knowledge for Anomaly Detection and Tagging in High Energy Physics

Home Page: https://arxiv.org/abs/2011.03550

License: MIT License

Python 0.86% Jupyter Notebook 99.14%

quak's Introduction

QUAK

QUasi Anomalous Knowledge for Anomaly Detection and Tagging in High Energy Physics

Quasi Anomalous Knowledge: Searching for new physics with embedded knowledge

This repository is the official implementation of Quasi Anomalous Knowledge: Searching for new physics with embedded knowledge.

Requirements

I used conda to manage my dependencies.

To install requirements:

conda env create -f environment.yml

Datasets

QUAK used LHC Olympics dataset curated by Kasieczka, Gregor; Nachman, Benjamin; Shih, David, please cite https://zenodo.org/record/4536624 To read more about these datasets, please read LHC Olympics Community White Paper: https://arxiv.org/abs/2101.08320

We privately generated samples based on LHC Olympics dataset, the procedure of which is outlined in our paper: https://arxiv.org/abs/2011.03550 For training and evaluation, we applied pre-processing procedure which leaves each event with jet masses and substructure variables.

QUAK method is not limited to physics dataset; It can be applied to any environment where having vague knowledge of anomaly could help with the detection. To test QUAK in a different setting, we tested it on MNIST dataset (http://yann.lecun.com/exdb/mnist/).

Training

To train the model(s) in the paper, run this command:

python train_script.py

Evaluation

To evaluate QUAK performance on LHC Olympics black box dataset, run:

python eval.py --model-file mymodel.pth --benchmark imagenet

To evaluate QUAK performance on MNIST dataset, run:

Citation

We are preparing a journal submission, in the meantime, please cite our paper from arxiv:

@article{Park:2020pak, author = "Park, Sang Eon and Rankin, Dylan and Udrescu, Silviu-Marian and Yunus, Mikaeel and Harris, Philip", title = "{Quasi Anomalous Knowledge: Searching for new physics with embedded knowledge}", eprint = "2011.03550", archivePrefix = "arXiv", primaryClass = "hep-ph", month = "11", year = "2020" }

Pre-trained Models

You can download pretrained models here:

Results

Our model achieves the following performance on :

Model name Top 1 Accuracy Top 5 Accuracy
My awesome model 85% 95%

Contributing

quak's People

Contributors

sangeonpark avatar chreissel avatar

Forkers

fionadaly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.