Skip to main content

Improving MIL Video Anomaly Detection Concatenating Deep Features of Video Clips

  • Conference paper
  • First Online:
Intelligent Systems Design and Applications (ISDA 2022)

Abstract

In this work we apply the MIL ranking loss proposed in Sultani et al. (2018) in a different way than the original work. Videos are disposed into clips with fixed length, rather than a fixed number of segments. Furthermore, feature vectors are obtained by concatenating feature vectors from two adjacent segments. We argue that this procedure makes it easier for the algorithm to distinguish between normal and anomalous segment scores. Since with fixed-length clips the number of segments varies within videos, we balance the video mini-batch during the training phase with the same number of segments, for the smallest video in the mini-batch. Experiments with Shanghaitech dataset show that this procedure is able to improve performance when compared against the original proposal.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/wanboyang/Anomaly_AR_Net_ICME_2020.

  2. 2.

    https://pytorch.org/.

References

  1. Fawcett, T.: An introduction to roc analysis. Pattern Recognition Letters 27(8), 861 – 874 (2006). https://doi.org/10.1016/j.patrec.2005.10.010, http://www.sciencedirect.com/science/article/pii/S016786550500303X, rOC Analysis in Pattern Recognition

  2. Feng, J.C., Hong, F.T., Zheng, W.S.: Mist: multiple instance self-training framework for video anomaly detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 14009–14018 (2021)

    Google Scholar 

  3. Kosman, E.: Pytorch implementation of real-world anomaly detection in surveillance videos. https://github.com/ekosman/AnomalyDetectionCVPR2018-Pytorch. Accessed 06 Oct 2022

  4. Liu, Y., Liu, J., Zhu, X., Wei, D., Huang, X., Song, L.: Learning task-specific representation for video anomaly detection with spatial-temporal attention. In: ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 2190–2194. IEEE (2022)

    Google Scholar 

  5. Luo, W., Liu, W., Gao, S.: A revisit of sparse coding based anomaly detection in stacked RNN framework. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 341–349 (2017)

    Google Scholar 

  6. Nayak, R., Pati, U.C., Das, S.K.: A comprehensive review on deep learning-based methods for video anomaly detection. Image Vis. Comput. 106, 104078 (2021)

    Article  Google Scholar 

  7. Patrikar, D.R., Parate, M.R.: Anomaly detection using edge computing in video surveillance system. Int. J. Multimedia Inf. Retrieval, pp. 1–26 (2022)

    Google Scholar 

  8. Ren, J., Xia, F., Liu, Y., Lee, I.: Deep video anomaly detection: opportunities and challenges. In: 2021 International Conference on Data Mining Workshops (ICDMW), pp. 959–966. IEEE (2021)

    Google Scholar 

  9. Sultani, W., Chen, C., Shah, M.: Real-world anomaly detection in surveillance videos. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6479–6488 (2018)

    Google Scholar 

  10. Tian, Y., Pang, G., Chen, Y., Singh, R., Verjans, J.W., Carneiro, G.: Weakly-supervised video anomaly detection with robust temporal feature magnitude learning. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4975–4986 (2021)

    Google Scholar 

  11. Ullah, W., Ullah, A., Haq, I.U., Muhammad, K., Sajjad, M., Baik, S.W.: CNN features with bi-directional LSTM for real-time anomaly detection in surveillance networks. Multimedia Tools Appl. 80(11), 16979–16995 (2021)

    Article  Google Scholar 

  12. Wan, B., Fang, Y., Xia, X., Mei, J.: Weakly supervised video anomaly detection via center-guided discriminative learning. In: 2020 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6. IEEE (2020)

    Google Scholar 

  13. Wu, P., et al.: Not only look, but also listen: learning multimodal violence detection under weak supervision. In: Vedaldi, A., Bischof, H., Brox, T., Frahm, J.-M. (eds.) ECCV 2020. LNCS, vol. 12375, pp. 322–339. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58577-8_20

    Chapter  Google Scholar 

  14. Yu, S., Wang, C., Mao, Q., Li, Y., Wu, J.: Cross-epoch learning for weakly supervised anomaly detection in surveillance videos. IEEE Signal Process. Lett. 28, 2137–2141 (2021)

    Article  Google Scholar 

  15. Zhang, J., Qing, L., Miao, J.: Temporal convolutional network with complementary inner bag loss for weakly supervised anomaly detection. In: 2019 IEEE International Conference on Image Processing (ICIP), pp. 4030–4034. IEEE (2019)

    Google Scholar 

  16. Zhong, J.X., Li, N., Kong, W., Liu, S., Li, T.H., Li, G.: Graph convolutional label noise cleaner: Train a plug-and-play action classifier for anomaly detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1237–1246 (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Silas S. L. Pereira .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pereira, S.S.L., Maia, J.E.B. (2023). Improving MIL Video Anomaly Detection Concatenating Deep Features of Video Clips. In: Abraham, A., Pllana, S., Casalino, G., Ma, K., Bajaj, A. (eds) Intelligent Systems Design and Applications. ISDA 2022. Lecture Notes in Networks and Systems, vol 646. Springer, Cham. https://doi.org/10.1007/978-3-031-27440-4_36

Download citation

Publish with us

Policies and ethics