University of Pennsylvania
MAKING DEEP LEARNING RELIABLE WITH SCALABLE NEUROSYMBOLIC PROGRAMMING
Abstract
dc:description.abstractDeep learning models have evolved from isolated tools into critical components of high-stakes systems such as autonomous driving, medical diagnosis, and code generation. However, their black-box nature obscures catastrophic failures that standard aggregate performance metrics often miss. To mitigate the risks inherent in these systems, this dissertation proposes a constraint-based approach to deep learning, along with scalable neurosymbolic programming frameworks to bridge the gap between unstructured representation learning and checkable logic constraints. We structure this methodology around two fundamental hurdles: the Specification Challenge, which concerns identifying the rules a model has violated, and the Enforcement Challenge, which involves efficiently training models to adhere to those rules. To address the Specification Challenge, we introduce two complementary frameworks for defining valid model behaviors. For implicit constraints latent in data distributions, such as statistical notions of what a “typical” car looks like, we present SQRL (Statistical Quantile Rule Learning). This system automates the discovery of statistical rules and corrects violations via test-time model adaptation. Conversely, for verifying explicit domain knowledge, such as object permanence or laws of physics, we propose TorchQL. This programmable framework facilitates the rapid, interactive prototyping of integrity constraints, significantly outperforming traditional querying methods in both speed and expressivity to better characterize model faults. Finally, to overcome the Enforcement Challenge of integrating these constraints into training without the computational bottlenecks of prior methods, we introduce Dolphin, a scalable neurosymbolic learning framework. By implementing a unified cross-hardware representation that optimizes the interaction between GPU-based neural tensors and CPU-based symbolic logic, Dolphin achieves training speeds up to 62x faster than existing architectures. Yet even with these runtime gains, training remains difficult when the number of potential solutions explodes with task complexity. We address this with Clipper, a complementary technique that exploits the encoder’s representation space to prune irrelevant label combinations, improving accuracy by up to 74% across a variety of neurosymbolic benchmarks. Together, these contributions advance the reliability of deep learning systems by providing robust, scalable mechanisms to discover, verify, and enforce logical constraints within neural networks.
Degree
thesis:*- Department dc:contributor.department
- Computer and Information Science
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Naik, Aaditya
- Advisor dc:contributor.advisor
-
- Naik, Mayur
Subjects
dc:subject × 2Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://repository.upenn.edu/handle/20.500.14332/63141