TESTIFAI: Probabilistic Context-Aware Testing for Safe Deep Learning Models

Deep neural networks (DNNs) are integral to AI systems deployed in safety-critical domains like autonomous driving, healthcare, and cybersecurity. However, assessing their robustness in real-world scenarios remains a significant challenge. Traditional metrics like neuron coverage often fail to quantify the sensitivity of DNN models to input perturbations. We introduce TESTIFAI, a probabilistic framework to comprehensively evaluate and enhance DNN robustness across diverse, context-aware scenarios. Testifai comprises four key stages: (1) specification enables users to simulate real-world test scenarios in the form of robustness properties (e.g., sensitivity to image rotation), their configuration (e.g., range of rotation angles), and their statistical inter-dependencies; (2) mapping constructs a probabilistic coverage graph that captures the aforementioned dependencies, updating probabilities as testing progresses; (3) test-case generation systematically produces property-specific unit tests; and, finally, (4) execution calculates both local (i.e., property-specific) and global (i.e., system-wide, based on property dependencies) coverage metrics. Our initial experimental results demonstrate that TESTIFAI offers a rigorous and adaptable approach to DNN testing suitable for complex, safety-critical environments.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/icse-companion66252.2025.00037
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TESTIFAI: Probabilistic Context-Aware Testing for Safe Deep Learning Models

Arooj Arif
Adversarial Robustness in Machine Learning
article

TESTIFAI: Probabilistic Context-Aware Testing for Safe Deep Learning Models

Arooj Arif
article en

Abstract

Deep neural networks (DNNs) are integral to AI systems deployed in safety-critical domains like autonomous driving, healthcare, and cybersecurity. However, assessing their robustness in real-world scenarios remains a significant challenge. Traditional metrics like neuron coverage often fail to quantify the sensitivity of DNN models to input perturbations. We introduce TESTIFAI, a probabilistic framework to comprehensively evaluate and enhance DNN robustness across diverse, context-aware scenarios. Testifai comprises four key stages: (1) specification enables users to simulate real-world test scenarios in the form of robustness properties (e.g., sensitivity to image rotation), their configuration (e.g., range of rotation angles), and their statistical inter-dependencies; (2) mapping constructs a probabilistic coverage graph that captures the aforementioned dependencies, updating probabilities as testing progresses; (3) test-case generation systematically produces property-specific unit tests; and, finally, (4) execution calculates both local (i.e., property-specific) and global (i.e., system-wide, based on property dependencies) coverage metrics. Our initial experimental results demonstrate that TESTIFAI offers a rigorous and adaptable approach to DNN testing suitable for complex, safety-critical environments.

Universidad del Noreste (MX)
Openalex Percentile: Top 93%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

TESTIFAI: Probabilistic Context-Aware Testing for Safe Deep Learning Models — Arooj Arif · (2025) | TGRS Research Map | TGRS