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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ae7cfa66-8251-4e3a-9ec2-7738a38ff38aCited 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
