Timon Gehr

Timon Gehr

ETH Zurich
1 previous affiliation
7Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Timon Gehr focuses on the intersection of formal methods, symbolic reasoning, and deep learning. His work emphasizes the development of scalable systems for the Verifying Neural Networks Beyond Piecewise Linear Activations, the integration of logical constraints into neural training, and the application of large language models (LLMs) to symbolic mathematical reasoning. By combining abstract interpretation with differentiable programming, Gehr’s research seeks to provide mathematical guarantees for the safety and robustness of neural architectures in domains where empirical testing is insufficient.

Research Trajectory

Gehr’s early research, beginning around 2018, addressed the "verification bottleneck" in deep learning. While neural networks are highly parallelizable on GPUs, traditional verification tools were often sequential and restricted to CPUs. Gehr contributed to the development of Massively Parallel Tensorized Neural Network Verification, utilizing abstract interpretation to create sound approximations of network behavior. This work focused on making verification scalable enough to handle large-scale convolutional and feedforward architectures, specifically targeting the Formal Verification of Adversarial Robustness. During this period, he explored differentiable abstract transformers, which allowed for the training of networks that are provably robust by construction rather than merely resistant to specific empirical attacks.

In 2019, Gehr’s focus expanded toward neuro-symbolic integration. This transition involved moving beyond verifying existing models to actively enforcing Logical Constraints for Neurosymbolic Reasoning during the training process. He participated in the development of systems that utilize Differentiable Logic for Neuro-Symbolic Reasoning, enabling neural networks to learn from structured domain knowledge and symbolic rules. This work addressed the tendency of deep learning models to violate fundamental logical constraints, such as those found in mathematical puzzles or safety-critical specifications. Additionally, he contributed to research on Automated Parameter Tuning for Formal Verification, aiming to reduce the "expert-in-the-loop" requirement that often hinders the practical application of formal methods.

By 2022, Gehr’s work on robustness evolved to include the generation of provably robust adversarial examples. This research shifted the focus from verifying a single point to certifying entire regions of the input space, ensuring that a model's prediction remains constant under a variety of real-world perturbations, such as geometric transformations or changes in pixel intensity.

Most recently, from 2024 to 2025, Gehr has focused on the intersection of LLMs and symbolic engines. This research addresses the limitations of LLMs in complex mathematical reasoning and counting problems. His recent work involves using Satisfiability Modulo Theories (SMT) solvers to generate high-quality synthetic data for training models and developing "correct-by-construction" systems for symbolic integration. This trajectory represents a move toward hybrid systems where neural policies guide symbolic search, combining the pattern recognition capabilities of transformers with the axiomatic rigor of symbolic solvers.

Representative Work

Differentiable Abstract Interpretation for Provably Robust Neural Networks In this work, Gehr and his collaborators introduced a scalable method for training neural networks that are robust by design. The approach utilizes abstract interpretation to propagate input constraints through the network using differentiable abstract transformers. By balancing the efficiency of the approximation with the precision of the verification, the method allows for the direct optimization of a network's provable robustness during training.

Fast and Effective Robustness Certification As a primary contributor to the DeepZ system, Gehr helped develop a framework for certifying the robustness of neural networks against $L_{\infty}$ attacks. DeepZ is notable for its ability to handle a variety of activation functions, including ReLU, Tanh, and Sigmoid, while maintaining soundness with respect to floating-point arithmetic. The system demonstrated significant scalability, certifying networks with tens of thousands of hidden units, which was a substantial advancement over previous automated verifiers.

DL2: Training and Querying Neural Networks with Logic Gehr participated in the development of DL2, a system designed to bridge the gap between deep learning and formal logic. DL2 allows users to declaratively specify domain knowledge as logical constraints. These constraints are then compiled into loss functions, enabling the network to be trained or queried in a way that respects symbolic rules. This work is a key component of the broader effort to create neuro-symbolic systems that are both flexible and logically consistent.

Provably Robust Adversarial Examples In this collaborative research, Gehr contributed to the PARADE method for generating connected input regions that are guaranteed to be robust. Unlike standard adversarial examples, which are single points of failure, these regions provide a certificate of robustness against a set of real-world perturbations. The method iteratively refines these regions using an optimization procedure that maximizes volume while maintaining safety constraints verified by state-of-the-art tools.

Constraint-Based Synthetic Data Generation for LLM Mathematical Reasoning This work explores the use of SMT solvers to overcome the data scarcity issues that prevent LLMs from effectively using specialized symbolic tools. Gehr and his colleagues leveraged SMT grammars to generate synthetic problem-solution pairs, specifically targeting counting problems where standard LLMs often fail. This approach demonstrates how formal methods can be used to augment the reasoning capabilities of generative models.

AlphaIntegrator: Transformer Action Search for Symbolic Integration Proofs Gehr is a key contributor to AlphaIntegrator, a system that combines a GPT-style transformer with a symbolic engine for step-by-step mathematical integration. The transformer acts as a policy to guide the search for correct mathematical rules, while the symbolic engine ensures that every step is axiomatically correct. This "correct-by-construction" framework allows the model to surpass its own data generator in both accuracy and efficiency, representing a significant step in learning-based symbolic reasoning.

Profile updated

See something wrong? Report a mistake