Safe Neurosymbolic Learning with Differentiable Symbolic Execution
Chenxi Yang, Swarat Chaudhuri
Abstract
We study the problem of learning worst-case-safe parameters for programs that use neural networks as well as symbolic, human-written code. Such neurosymbolic programs arise in many safety-critical domains. However, because they can use nondifferentiable operations, it is hard to learn their parameters using existing gradient-based approaches to safe learning. Our approach to this problem, Differentiable Symbolic Execution (DSE), samples control flow paths in a program, symbolically constructs worst-case "safety losses" along these paths, and backpropagates the gradients of these losses through program operations using a generalization of the REINFORCE estimator. We evaluate the method on a mix of synthetic tasks and real-world benchmarks. Our experiments show that DSE significantly outperforms the state-of-the-art DIFFAI method on these tasks. 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Automated Safety Verification of Programs Invoking Neural Networks cites Phantom of the ADAS: Securing Advanced Driver-Assistance Systems from Split-Second Phantom Attacks
- Automated Safety Verification of Programs Invoking Neural Networks cites Formal Security Analysis of Neural Networks using Symbolic Intervals
- Canopy: Property-Driven Learning for Congestion Control cites Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- An Abstraction-Based Framework for Neural Network Verification cites Formal Security Analysis of Neural Networks using Symbolic Intervals
- SAIL: Sound Abstract Interpreters with LLMs cites Towards Stable and Efficient Training of Verifiably Robust Neural Networks
Cited by top-tier papers3
- Canopy: Property-Driven Learning for Congestion ControlChenxi Yang, Divyanshu Saxena, Rohit Dwivedula, Kshiteej Mahajan et al.EuroSys 2026 · 2 citations
- Composing Linear Layers from IrreduciblesTravis Pence, Daisuke Yamada, Vikas SinghNeurIPS 2025 · 1 citation
- SAIL: Sound Abstract Interpreters with LLMsQiuhan Gu, Avaljot Singh, Gagandeep SinghPLDI 2026
Builds on5
- Formal Security Analysis of Neural Networks using Symbolic IntervalsShiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang et al.USENIX Security 2018 · 523 citations
- Towards Stable and Efficient Training of Verifiably Robust Neural NetworksHuan Zhang, Hongge Chen, Chaowei Xiao, Sven Gowal et al.ICLR 2020 · 384 citations
- An Abstraction-Based Framework for Neural Network VerificationYizhak Yisrael Elboher, Justin Gottschlich, Guy KatzCAV 2020 · 97 citations
- Phantom of the ADAS: Securing Advanced Driver-Assistance Systems from Split-Second Phantom AttacksBen Nassi, Yisroel Mirsky, Dudi Nassi, Raz Ben-Netanel et al.CCS 2020 · 89 citations
- Automated Safety Verification of Programs Invoking Neural NetworksMaria Christakis, Hasan Ferit Eniser, Holger Hermanns, Jörg Hoffmann et al.CAV 2021 · 10 citations
Related papers
- Neuro-Symbolic Execution: Augmenting Symbolic Execution with Neural ConstraintsShiqi Shen, Shweta Shinde, Soundarya Ramesh, Abhik Roychoudhury et al.NDSS 2019 · 43 citations
- Guiding Safe Exploration with Weakest PreconditionsGreg Anderson, Swarat Chaudhuri, Isil DilligICLR 2023
- Data-Efficient Learning with Neural ProgramsAlaia Solko-Breslin, Seewon Choi, Ziyang Li, Neelay Velingker et al.NeurIPS 2024 · 10 citations
- From Perception to Programs: Regularize, Overparameterize, and AmortizeHao Tang, Kevin EllisICML 2023 · 13 citations
- Neurosymbolic Reinforcement Learning with Formally Verified ExplorationGreg Anderson, Abhinav Verma, Isil Dillig, Swarat ChaudhuriNeurIPS 2020 · 91 citations
