{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/online-anomaly-detection-in-surveillance","title":"Online Anomaly Detection in Surveillance Videos with Asymptotic Bounds on False Alarm Rate","arxiv_id":"2010.07110","date":"2020-10-10","proceeding":null,"authors":["Keval Doshi","Yasin Yilmaz"],"abstract":"Anomaly detection in surveillance videos is attracting an increasing amount of attention. Despite the competitive performance of recent methods, they lack theoretical performance analysis, particularly due to the complex deep neural network architectures used in decision making. Additionally, online decision making is an important but mostly neglected factor in this domain. Much of the existing methods that claim to be online, depend on batch or offline processing in practice. Motivated by these research gaps, we propose an online anomaly detection method in surveillance videos with asymptotic bounds on the false alarm rate, which in turn provides a clear procedure for selecting a proper decision threshold that satisfies the desired false alarm rate. Our proposed algorithm consists of a multi-objective deep learning module along with a statistical anomaly detection module, and its effectiveness is demonstrated on several publicly available data sets where we outperform the state-of-the-art algorithms. All codes are available at https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-.","url_abs":"https://arxiv.org/abs/2010.07110v1","url_pdf":"https://arxiv.org/pdf/2010.07110v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"online-anomaly-detection-in-surveillance","repo_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"anomaly-detection-in-surveillance-videos","task_name":"Anomaly Detection In Surveillance Videos"},{"task_slug":"decision-making","task_name":"Decision Making"},{"task_slug":"video-anomaly-detection","task_name":"Video Anomaly Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.07110","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.07110"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":10},"by_repo_kind":{"official":{"samples":10,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4894714bdb782835","entry":"flow_loss","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"loss_functions.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/loss_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4894714bdb782835"}},{"code_sha256_prefix":"d227904aef822759","entry":"get_dir","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"constant.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/constant.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d227904aef822759"}},{"code_sha256_prefix":"695074a0b51574cc","entry":"gradient_loss","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"loss_functions.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/loss_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"695074a0b51574cc"}},{"code_sha256_prefix":"a6169bbd2ef6639e","entry":"intensity_loss","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"loss_functions.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/loss_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a6169bbd2ef6639e"}},{"code_sha256_prefix":"ff47ae3a330cd1a0","entry":"load_psnr","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ff47ae3a330cd1a0"}},{"code_sha256_prefix":"226e3b38ed7c4285","entry":"load_psnr_gt","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"226e3b38ed7c4285"}},{"code_sha256_prefix":"3c24a532ddbf58ef","entry":"load_psnr_gt_flow","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3c24a532ddbf58ef"}},{"code_sha256_prefix":"b90fe0b15e5bd7de","entry":"log10","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"utils.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b90fe0b15e5bd7de"}},{"code_sha256_prefix":"c467f28b44dd1bf9","entry":"np_load_frame","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"utils.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c467f28b44dd1bf9"}},{"code_sha256_prefix":"b36305a3b733c689","entry":"psnr_error","repo":"kevaldoshi17/Prediction-based-Video-Anomaly-Detection-","repo_kind":"official","path":"utils.py","file_url":"https://github.com/kevaldoshi17/Prediction-based-Video-Anomaly-Detection-/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b36305a3b733c689"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}