SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.21449 · NeurIPS · 2025

MoniTor: Exploiting Large Language Models with Instruction for Online Video Anomaly Detection

Jie Qin, Yue Feng, Shengtian Yang, Yingshi Liu, Jingrou Zhang

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.21449.json · badge: /api/ran/2510.21449.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
YsTvT/MoniTor canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
extract_frames_with_sliding_window Ran
ran; our contract draft was wrong, not the code
YsTvT/MoniTor/src/preprocessing/extract_frames.py
pointer only (licence: NONE) · get_code("c49976554f791c36")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_video_labels Ran
ran, honoured the contract we drafted
YsTvT/MoniTor/src/ucf_eval.py
pointer only (licence: NONE) · get_code("8dee51ff90edc220")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

init_faiss_index Ran
ran; our contract draft was wrong, not the code
YsTvT/MoniTor/src/model/create_index.py
pointer only (licence: NONE) · get_code("35d786dd20ef925f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

initialize_faiss_index Ran
ran; our contract draft was wrong, not the code
YsTvT/MoniTor/src/model/create_summary_index.py
pointer only (licence: NONE) · get_code("69b4d00fdc9b6fde")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image_from_path Ran
ran, honoured the contract we drafted
YsTvT/MoniTor/src/utils/image_utiles.py
pointer only (licence: NONE) · get_code("de4e64889773a183")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_images_from_paths Ran
ran, honoured the contract we drafted
YsTvT/MoniTor/src/utils/image_utiles.py
pointer only (licence: NONE) · get_code("b3291300275b3dfb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_video_captions Ran
ran; our contract draft was wrong, not the code
YsTvT/MoniTor/src/model/create_index.py
pointer only (licence: NONE) · get_code("4fb2bb08df8f3d5a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

replace_negative_scores_with_previous Ran
ran; our contract draft was wrong, not the code
YsTvT/MoniTor/src/ucf_eval.py
pointer only (licence: NONE) · get_code("a9f96ced5d7e4dc1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

temporal_testing_annotations Ran
ran; our contract draft was wrong, not the code
YsTvT/MoniTor/src/ucf_eval.py
pointer only (licence: NONE) · get_code("c86cb59b3fb3b86b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

filter_frame_idxs Not yet run
unverified (harvested, no recorded run)
YsTvT/MoniTor/src/model/create_summary_index.py
pointer only (licence: NONE) · get_code("1c7ce7f17e004a54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

find_last_processed_video_index Not yet run
unverified (harvested, no recorded run)
YsTvT/MoniTor/src/utils/path_utiles.py
pointer only (licence: NONE) · get_code("980931c6436f1d5f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

find_unprocessed_videos Not yet run
unverified (harvested, no recorded run)
YsTvT/MoniTor/src/utils/path_utiles.py
pointer only (licence: NONE) · get_code("50054df0b1fb2ede")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YsTvT/MoniTor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Video Anomaly Detection (VAD) aims to locate unusual activities or behaviors within videos. Recently, offline VAD has garnered substantial research attention, which has been invigorated by the progress in large language models (LLMs) and vision-language models (VLMs), offering the potential for a more nuanced understanding of anomalies. However, online VAD has seldom received attention due to real-time constraints and computational intensity. In this paper, we introduce a novel Memory-based online scoring queue scheme for Training-free VAD (MoniTor), to address the inherent complexities in online VAD. Specifically, MoniTor applies a streaming input to VLMs, leveraging the capabilities of pretrained large-scale models. To capture temporal dependencies more effectively, we incorporate a novel prediction mechanism inspired by Long Short-Term Memory (LSTM) networks. This ensures the model can effectively model past states and leverage previous predictions to identify anomalous behaviors. Thereby, it better understands the current frame. Moreover, we design a scoring queue and an anomaly prior to dynamically store recent scores and cover all anomalies in the monitoring scenario, providing guidance for LLMs to distinguish between normal and abnormal behaviors over time. We evaluate MoniTor on two large datasets (i.e., UCF-Crime and XD-Violence) containing various surveillance and real-world scenarios. The results demonstrate that MoniTor outperforms state-of-the-art methods and is competitive with weakly supervised methods without training. Code is available at https://github.com/YsTvT/MoniTor.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.21449")
get_code_for_paper("2510.21449")
have("2510.21449")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.21449.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.21449.svg)](https://syntology.ai/paper/2510.21449)

Connect an agent — have() is free.