Back to search

Wright State University

Pre-ISP Forensic Detection of Adversarial Patches in RAW Bayer Sensor Data

Abstract

dc:description

Deep learning models are fundamental to modern computer vision applications, yet they remain vulnerable to adversarial patches. These patches are meticulously designed visual patterns that can be physically printed and can induce misclassification. Existing researches have attempted to detect these perturbations after the camera’s Image Signal Processor (ISP) has converted RAW sensor data into finalized RGB images, but ISP operations modify the underlying signal and often suppress the inconsistencies introduced by adversarial interference. Importantly, although the ISP interpolates and reconstructs pixel values into JPEG or PNG formats, the influence of an adversarial patch still remains in the final RGB image even when the visual evidence is partially hidden which highlights the analysis importance before ISP processing.This thesis introduces a pre-ISP forensic detection framework that identifies adversarial patches directly within RAW Bayer sensor data, where signals retain their original spatial and photometric structure. Adversarial disturbances are simulated by converting RGB patches into inverse-demosaiced Bayer mosaics and injecting them into the sensor grid. A modified ResNet-18 model, redesigned to accept four-channel Bayer input (R, G1, G2, B), is trained to classify clean and tampered RAW frames. Experimental evaluations show thatthe proposed detector achieves up to 99.7 % overall accuracy, with precision and recall values iiiexceeding 99.6 % which outperforms RGB-based detection pipelines by 15 to 20 %. Visual explainability using Grad-CAM also confirms that the network focuses on regions exhibiting disrupted mosaic patterns and abnormal sensor-level intensity variations.By focusing on adversarial patch detection at its earliest stage of the imaging pipeline demonstrates a practical approach for securing vision systems. This thesis concludes by outlining future research directions, specifically detailing pathways for adapting the developed pre-ISP forensic framework for deployment on phones and commercial camera hardware. It also proposes the integration of sensor-level tamper detection as a fundamental component within next-generation imaging systems.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MS)
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
Wright State University
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sijapati, Anusuya
Contributors dc:contributor
  • Amsaad, Fathi

Subjects

dc:subject × 10

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Sijapati, Anusuya. Pre-ISP Forensic Detection of Adversarial Patches in RAW Bayer Sensor Data. masters thesis, Wright State University, 2025. http://rave.ohiolink.edu/etdc/view?acc_num=wright1768930458622318