Back to search

Iowa State University

Detecting protocol violations in deep learning programs using typestate and value propagation analysis

Abstract

dc:description.abstract

Deep Learning (DL) is widely used in various applications, ranging from healthcare to chatbots. However, violations of usage protocols in these applications can lead to severe consequences, such as inaccurate predictions and system failures. To address this issue, researchers have proposed several techniques for detecting and preventing bugs in deep learning programs. However, existing static analysis tools only focus on undefined variables and shape-related bugs or do not consider a crucial property of DL programs, such as data dependency between layers. To address this challenge, we propose NeuralState, an approach to detect performance and program crash bugs in a DL program. NeuralState follows a four-step process: (i) gather specifications for Deep Learning operations from different sources; (ii) introduce abstract states to represent these Deep Learning operations; (iii) design formal rules for transitioning between states based on the specifications; (iv) utilize a combination of standard analysis techniques (i.e., typestate and value propagation) to identify bugs in a DL program. Our evaluation using a real-world benchmark that contains 45 real-world buggy programs shows that NeuralState can precisely detect more bugs than the state-of-the-art tool, NeuraLint. Specifically, it shows a 25% relative improvement in precision and 63% relative improvement in recall when compared with an existing technique.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer science
Department dc:contributor.department
Department of Computer Science
Grantor
Iowa State University
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Batole, Fraol Ahmed
Advisors dc:contributor.advisor
  • Rajan, Hridesh
  • Dyer, Robert
  • Li, Yang

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Batole, Fraol Ahmed. Detecting protocol violations in deep learning programs using typestate and value propagation analysis. thesis thesis, Iowa State University, 2024. https://doi.org/10.31274/td-20250502-218