Welcome to the upgraded BRAC University Institutional Repository. We are currently organizing collections after a recent system upgrade. Homepage category counters may temporarily show lower numbers while syncing, but over 27,000 repository items remain safe and accessible. Please use the search bar to find theses, scholarly outputs, and institutional documents.

Context-aware zero-shot anomaly detection in surveillance using contrastive and predictive spatiotemporal mod

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorAlam, Md. Ashraful
dc.contributor.authorHasan, Md. Abrar
dc.contributor.authorKhan, Md. Rashid Shahriar
dc.contributor.authorJustice, Mohammod Tareq Aziz
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2025-08-27T04:35:04Z
dc.date.available2025-08-27T04:35:04Z
dc.date.copyright2025
dc.date.issued2025-07
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 41-43).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025.en_US
dc.description.abstractTackling anomalies through surveillance feeds is challenging due to the unpredictable nature of anomalies and their strong dependence on context. Modern video anomaly detection architectures have been shown to thrive in such conditions. Their ability to adapt to intricate and complex patterns serves as the foundation of anomaly detection, especially for unseen scenarios, making the impossible seem tangible. The research demonstrates a novel context-aware zero-shot anomaly detection framework that learns normal spatiotemporal patterns and identifies anomalies without any explicit anomaly examples during training. In order to perform the approach, it proposed a hybrid model which is a combination of TimeSformer, DPC, and CLIP. A TimeSformer-based vision transformer backbone is employed to encode video sequences, capturing rich spatial-temporal features. We integrate Data Predictive Control (DPC) to forecast future video dynamics and flag deviations. Simultaneously, we leverage the vision-language power of CLIP in a semantic stream where the model is conditioned on contextual information and uses text prompts to detect concept-level irregularities in a zero-shot fashion. These components are jointly optimized using InfoNCE and Contrastive Predictive Coding (CPC) losses, enabling the model to align video inputs with their semantic and temporal contexts without ever being exposed to anomaly labels. To condition decisions on the situational context, we propose a context-gating mechanism that modulates temporal predictions based on scene-specific text or global video features. During inference, anomalies are flagged based on a fusion of context misalignment and predictive failure, allowing the system to generalize to previously unseen behaviours. Evaluations of our lightweight and fully zero-shot approach achieve a ROC-AUC of 84.5 %, and a PR-AUC of 72.3 %. This work advances the gap between semantic understanding and temporal prediction in surveillance, laying the foundation for context-sensitive, zero-shot detection systems deployable in dynamic real-world environments.en_US
dc.description.degreeBachelor of Science in Computer Science and Engineering
dc.description.statementofresponsibilityMd. Abrar Hasan
dc.description.statementofresponsibilityMd. Rashid Shahriar Khan
dc.description.statementofresponsibilityMohammod Tareq Aziz Justice
dc.format.extent43 pages
dc.identifier.otherID 23241115
dc.identifier.otherID 20101557
dc.identifier.otherID 21201585
dc.identifier.urihttp://hdl.handle.net/10361/26592
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.
dc.subjectContext awarenessen_US
dc.subjectZero-shot learningen_US
dc.subjectVideo surveillanceen_US
dc.subjectContrastive learningen_US
dc.subjectSpatiotemporalen_US
dc.subjectPredictive modelingen_US
dc.subject.lcshData Visualization.
dc.subject.lcshElectronic surveillance.
dc.subject.lcshSpatial analysis.
dc.subject.lcshGeographic information systems.
dc.subject.lcshPrediction theory.
dc.subject.lcshMathematical models.
dc.titleContext-aware zero-shot anomaly detection in surveillance using contrastive and predictive spatiotemporal moden_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
23241115,21201585,20101557_CSE.pdf
Size:
2.58 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: