Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 251100007-462.doi: 10.11896/jsjkx.251100007

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

Weakly Supervised Video Anomaly Detection with Multi-branch Feature Fusion and Text-promptGuidance

MO Zhongrui, LIU Teli, ZHANG Yifan, LUO Qihang, ZENG Zhaolong   

  1. College of Information and Cyber Security,People’s Public Security University of China,Beijing 100038,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:MO Zhongrui,born in 2003,postgraduate,is a member of CCF(No.A02126G).His main research interests include video anomaly detection and object detection.
    ZENG Zhaolong,born in 1976,Ph.D,associate professor.His main research interests include data policing technology and social security risk analysis,etc.
  • Supported by:
    This work was supported by the National Key Research and Development Program of China(2024YFC3306901).

Abstract: To address the weak generalization and ambiguous decision boundaries in existing WS-VAD(Weakly Supervised Video Anomaly Detection) methods,which arise from single feature extraction paradigms and insufficient loss function constraints,a CLIP-guided multi-branch fusion network(ClipMBFN) is proposed.The network constructs an adaptive multi-branch feature fusion module to dynamically fuse parallelly extracted multi-scale temporal features,global topological associations,and long-range contextual dependencies via a gating mechanism.It also incorporates a BiMamba network to efficiently model bidirectional temporal dynamics.To enhance feature discrimination,the model leverages CLIP’s vision-language alignment capability,introducing class-specific text prompts to guide feature learning.For optimization,an adaptive focal contrastive loss function is designed.Within a Top-k multiple instance learning framework,this function combines an adaptive focal loss and a semantic contrastive loss to focus on hard-to-classify samples and explicitly increase the semantic distance among classes,thereby optimizing the decision boundary.Experimental results demonstrate that the proposed model achieves an AP of 85.91% on the XD-Violence dataset and an AUC of 85.93% on the UCF-Crime dataset,exhibiting superior accuracy and generalization capabilities.

Key words: Video anomaly detection, Weak supervision, Multiple instance learning, Multi-branch feature fusion, Text prompt

CLC Number: 

  • TP391
[1] WANG Y,ZHOU J G,YAN J,et al.Survey of anomaly detection methods in surveillance videos based on deep learning[J].Journal of Image and Graphics,2025,30(3):615-640.
[2] HUANG Z,WU Y.A Survey on Explainable Anomaly Detec-tion for Industrial Internet of Things [C]//Proceedings of the IEEE Conference on Dependable and Secure Computing.IEEE,2022:1-9.
[3] LUO H H.Video Surveillance-based Detection of Urban Road Traffic Accident[D].Shanghai:East China Normal University,2023.
[4] PANG G S,SHEN C H,CAO L B,etal.Deep learning for anomaly detection:A review [J].ACM Computing Surveys,2021,54(2):1-38.
[5] ZHANG L,CHEN Z B,MA X X,etal.Review of unsupervised and weakly supervised video anomaly detection methods [J].Science Technology and Engineering,2024,24(19):7941-7955.
[6] JIAO R,WANY,POIESI F,et al.Survey on vide-o anomaly detection in dynamic scenes with moving cameras[J].Artificial Intelligence Review,2023,56(Suppl3):3515-3570.
[7] YANG H,QUAN J C,LIANG X Y,et al.Research Progress of Object Detection Based on Weakly Supervised Learning[J].Computer Engineering and Applications,2021,57(16):40-49.
[8] SULTANI W,CHEN C,SHAH M.Real-world Anomaly Detection in Surveillance Videos[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2018:6479-6488.
[9] LIU K,ZHUM,FU H Y,et al.Enhancing Anomaly Detection in Surveillance Videos with Transfer Learning from Action Recognition[C]//Proceedings of the 28th ACM International Confe-rence on Multimedia.ACM,2020:4664-4668.
[10] ZHU Y,NEWSAM S.Motion-Aware Feature for Improved Vi-deo Anomaly Detection[C]//Proceedings of the British Machine Vision Conference(BMVC).2019.
[11] ZHONG J X,LI N N,KONG W J,et al.Graph Convolutional Label Noise Cleaner:Train a Plug-And-Play Action Classifier for Anomaly Detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2019:1237-1246.
[12] ZHANG D S,HUANG C,LIU C L,et al.Weakly Supervised Video Anomaly Detection via Transformer-Enabled Temporal Relation Learning [J].IEEE Signal Processing Letters,2022,29:1197-1201.
[13] ABDALLA M,JAVED S,AL RADI M,et al.Video anomaly detection in 10 years:a survey and outlook [J].Neural Computing and Applications,2025,37(32):26321-26364.
[14] ZHANG J G,QING L,MIAO J.Temporal Convolutional Network with Complementary Inner Bag Loss for Weakly Supervised Anomaly Detection[C]//2019 IEEE International Confe-rence on Image Processing(ICIP).IEEE,2019:4030-4034.
[15] TIAN Y,PANG G,CHEN Y,et al.Weakly-Supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learning[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.IEEE/CVF,2021:4955-4966.
[16] LI S,LIU F,JIAO L C.Self-Training Multi-Sequence Learning with Transformer for Weakly Supervised Video Anomaly Detection[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2022:1395-1403.
[17] ZHU X R,QIAN X Y,SHI Y Z,et al.Video anomaly detection with long-and-short-term time series correlations[J].Journal of Image and Graphics,2024,29(7):1998-2010.
[18] ZHANG J,HUANG J,JIN S,et al.Vision-language models for vision tasks:A survey[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2024,46(8):5625-5644.
[19] GAN Z,LI L,LI C,et al.Vision-Language Pre-Training:Basics,Recent Advances,and Future Trends[J].Foundations and Trends in Computer Graphics and Vision,2022,14(3/4):163-352.
[20] RADFORD A,KIM J W,HALLACY C,et al.Learning Transferable Visual Models from Natural Language Supervision[C]//Proceedings of the 38th International Conference on Machine Learning.PMLR,2021,139:8748-8763.
[21] GU X,LIN T Y,KUO W,et al.Open-vocabulary object detection via vision and language knowledge distillation [J].arXiv:2104.13921,2021.
[22] LÜDDECKE T,ECKER A.Image Segmentation Using Textand Image Prompts[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.IEEE/CVF,2022:7086-7096.
[23] MOKADY R,HERTZA,BERMANO A H.Clipcap:Clip prefix for image captioning [J].arXiv:2111.09734,2021.
[24] LUO H,JI L,ZHONG M,et al.Clip4Clip:An empirical study of CLIP for end to end video clip retrieval and captioning[J].Neurocomputing,2022,508:293-304.
[25] NAG S,ZHU X,SONG Y Z,et al.Zero-shot temporal action detection via vision-language prompting [C]//European Conference on Computer Vision.Cham:Springer Nature Switzerland,2022:681-697.
[26] DAI R,DAS S,KAHATAPITIYA K,et al.Ms-tct:Multi-scale temporal convtransformer for action detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,2022:20041-20051.
[27] MA X,WU J,XUE S,et al.A Comprehensive Survey on Graph Anomaly Detection With Deep Learning[J].IEEE Transactions on Knowledge and Data Engineering,35(12):12012-12038.
[28] GHIASI A,KAZEMI H,BORGNIA E,et al.What do Vision Transformers Learn? A Visual Exploration[J].arXiv:2212.06727,2022.
[29] WU P,LIUJ,SHI Y J,et al.Not only Look,But Also Listen:Learning Multimodal Violence Detection under Weak Supervision[C]//Computer Vision-ECCV 2020.Springer,2020:322-339.
[30] WU P,LIU X T,LIU J.Weakly Supervised Audio-Visual Violence Detection[J].IEEE Transactions on Multimedia,2022,25:1674-1685.
[31] ZANELLA L,LIBERATORI B,MENAPACE W,et al.Delvinginto CLIP latent space for Video Anomaly Recognition[J].Computer Vision and Image Understanding,2024,249:104163.
[32] TAN W,YAO Q,LIU J.Overlooked Video Classification inWeakly Supervised Video Anomaly Detection[C]//Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision(WACV) Workshops.IEEE/CVF,2024:202-210.
[33] YANG Z,LIU J,WU P.Text Prompt with Normality Guidance for Weakly Supervised Video Anomaly Detection[C]//Procee-dings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.IEEE/CVF,2024:18899-18908.
[34] ZHOU Y,QU Y,XU X,et al.Batch Norm-Based Weakly Supervised Video Anomaly Detection[J].IEEE Transactions on Circuits and Systems for Video Technology,2024,34(12):13642-13654.
[35] ZAHEER M Z,MAHMOOD A,ASTRID M,et al.CLAWS:Clustering Assisted Weakly Supervised Learning with Normalcy Suppression for Anomalous Event Detection[C]//Computer Vision-ECCV 2020.Springer,2020:358-376.
[36] GONG Y L,WANG C,DAI X M,etal.Multi-Scale Continuity-Aware Refinement Network for Weakly Supervised Video Anomaly Detection[C]//Proceedings of the 2022 IEEE International Conference on Multimedia and Expo(ICME).IEEE,2022:1-6.
[1] HAN Lei, SHANG Haoyu, QIAN Xiaoyan, GU Yan, LIU Qingsong, WANG Chuang. Constrained Multi-loss Video Anomaly Detection with Dual-branch Feature Fusion [J]. Computer Science, 2026, 53(2): 236-244.
[2] GENG Jianxun, XU Chengjie, MENG Siyu, WANG Rong. Video Anomaly Detection Method with Text Guidance and Context-aware Prompt Tuning [J]. Computer Science, 2026, 53(11A): 260400165-434.
[3] BIAN Shan, CHEN Qianyi, ZHANG Xueli, ZHANG Peng, DONG Guixin. Method for Proboscis Monkey Behavior Recognition and Tracking Based on Improved YOLOv8and BoT-SORT [J]. Computer Science, 2026, 53(11A): 251200129-507.
[4] LUO Chi, LU Lingyun, LIU Fei. Partial Differential Equation Solving Method Based on Locally Enhanced Fourier NeuralOperators [J]. Computer Science, 2025, 52(9): 144-151.
[5] FANG Quan, ZHANG Jinlong, WANG Bingqian, HU Jun. Research on Domain Knowledge Question Answering via Large Language Models withCompositional Context Prompting [J]. Computer Science, 2025, 52(11): 13-21.
[6] GUO Fangyuan, JI Genlin. Video Anomaly Detection Method Based on Dual Discriminators and Pseudo Video Generation [J]. Computer Science, 2024, 51(8): 217-223.
[7] ZHOU Wenhao, HU Hongtao, CHEN Xu, ZHAO Chunhui. Weakly Supervised Video Anomaly Detection Based on Dual Dynamic Memory Network [J]. Computer Science, 2024, 51(1): 243-251.
[8] LENG Jia-xu, TAN Ming-pi, HU Bo, GAO Xin-bo. Video Anomaly Detection Based on Implicit View Transformation [J]. Computer Science, 2022, 49(2): 142-148.
[9] QING Lai-yun, ZHANG Jian-gong, MIAO Jun. Temporal Modeling for Online Anomaly Detection [J]. Computer Science, 2021, 48(7): 206-212.
[10] KANG Ming. Method for Diagnosis and Location of Chest X-ray Diseases with Deep Learning Based on Weak Supervision [J]. Computer Science, 2021, 48(11A): 367-369.
[11] LIU Yan, LEI Yin-jie, NING Qian. Study of Crowd Counting Algorithm of “Weak Supervision” Dense Scene Based on DeepNeural Network [J]. Computer Science, 2020, 47(4): 184-188.
[12] LIU Kai, FU Hai-dong, ZOU Yu-wei and GU Jin-guang. Chinese Medical Weak Supervised Relation Extraction Based on Convolution Neural Network [J]. Computer Science, 2017, 44(10): 249-253.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!