Papers › Real-world Anomaly Detection in Surveillance Videos

Real-world Anomaly Detection in Surveillance Videos

12 Jan 2018CVPR 2018 6arXiv:1801.04264archive 2025-07-28

Waqas Sultani, Chen Chen, Mubarak Shah

Surveillance videos are able to capture a variety of realistic anomalies. In this paper, we propose to learn anomalies by exploiting both normal and anomalous videos. To avoid annotating the anomalous segments or clips in training videos, which is very time consuming, we propose to learn anomaly through the deep multiple instance ranking framework by leveraging weakly labeled training videos, i.e. the training labels (anomalous or normal) are at video-level instead of clip-level. In our approach, we consider normal and anomalous videos as bags and video segments as instances in multiple instance learning (MIL), and automatically learn a deep anomaly ranking model that predicts high anomaly scores for anomalous video segments. Furthermore, we introduce sparsity and temporal smoothness constraints in the ranking loss function to better localize anomaly during training. We also introduce a new large-scale first of its kind dataset of 128 hours of videos. It consists of 1900 long and untrimmed real-world surveillance videos, with 13 realistic anomalies such as fighting, road accident, burglary, robbery, etc. as well as normal activities. This dataset can be used for two tasks. First, general anomaly detection considering all anomalies in one group and all normal activities in another group. Second, for recognizing each of 13 anomalous activities. Our experimental results show that our MIL method for anomaly detection achieves significant improvement on anomaly detection performance as compared to the state-of-the-art approaches. We provide the results of several recent deep learning baselines on anomalous activity recognition. The low recognition performance of these baselines reveals that our dataset is very challenging and opens more opportunities for future work. The dataset is available at: https://webpages.uncc.edu/cchen62/dataset.html

PaperPDFConference PDFCodeCode 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="1801.04264")

Code

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

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

erktkdg/MTFL mentioned on GitHubpytorch 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

6 samples harvested; 4 ran; 1 honoured the contract we drafted; 2 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
2unverified

Licence: 4 of the 6 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 4 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.

conv_dict WaqasSultani/AnomalyDetectionCVPR2018/Demo_GUI.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 735f91e98e11c521 · report
read_features ekosman/AnomalyDetectionCVPR2018-Pytorch/feature_extractor.py community (archive-listed) ran · honoured contract MIT (permissive) · fc262b74cdb072d8 · report
to_segments ekosman/AnomalyDetectionCVPR2018-Pytorch/feature_extractor.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · a38b1def991a393c · report
to_segments erktkdg/MTFL/utils/feature_extractor.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · fff37849771e411d · report
load_dataset_Train_batch ShreyasArthur/AbnormalEventDetection/AI_Train.py community (archive-listed) unverified no licence file found · pointer only · 5a6e5e0b636974c5 · report
load_weights WaqasSultani/AnomalyDetectionCVPR2018/Demo_GUI.py community (archive-listed) unverified no licence file found · pointer only · de911070910355c4 · report

Tasks

Abnormal Event Detection In VideoActivity RecognitionAnomaly DetectionAnomaly Detection In Surveillance VideosMultiple Instance LearningSemi-supervised Anomaly DetectionWeakly-supervised Video Anomaly Detection

Datasets

Introduced by this paper, per the archive.

UCF-Crime

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Abnormal Event Detection In Video UBI-Fights Sultani et al. AUC 0.892 #2 of 6 Archive leaderboard report
Abnormal Event Detection In Video UBI-Fights Sultani et al. Decidability 0.804 #2 of 6 Archive leaderboard report
Abnormal Event Detection In Video UBI-Fights Sultani et al. EER 0.186 #2 of 6 Archive leaderboard report
Anomaly Detection UBnormal MIL AUC 50.3% #14 of 14 Archive leaderboard report
Anomaly Detection UBnormal MIL RBDC 0.002 #14 of 14 Archive leaderboard report
Anomaly Detection UBnormal MIL TBDC 0.001 #14 of 14 Archive leaderboard report
Anomaly Detection In Surveillance Videos UCF-Crime Sultani et al. Decidability 0.613 #20 of 21 Archive leaderboard report
Anomaly Detection In Surveillance Videos UCF-Crime Sultani et al. EER 0.353 #20 of 21 Archive leaderboard report
Anomaly Detection In Surveillance Videos UCF-Crime Sultani et al. ROC AUC 75.41 #20 of 21 Archive leaderboard report
Semi-supervised Anomaly Detection UBI-Fights Sultani et al. AUC 0.787 #3 of 7 Archive leaderboard report
Semi-supervised Anomaly Detection UBI-Fights Sultani et al. Decidability 0.738 #3 of 7 Archive leaderboard report
Semi-supervised Anomaly Detection UBI-Fights Sultani et al. EER 0.294 #3 of 7 Archive leaderboard report
Weakly-supervised Video Anomaly Detection ShanghaiTech Weakly Supervised MIL-Rank AUC-ROC 85.33 #16 of 16 Archive leaderboard report
Weakly-supervised Video Anomaly Detection ShanghaiTech Weakly Supervised MIL-Rank FAR-Normal 0.15 #16 of 16 Archive leaderboard report
Weakly-supervised Video Anomaly Detection UBnormal MIL-Rank AUC-ROC 54.12 #11 of 11 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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