Felix Petersen
· 2 previous affiliations
- Stanford UniversitySince 2022
- Postdoc · Since 2022
- University of Konstanz2015–2022
- PhD student · 2018–2022
- Undergrad student · 2015–2019
Research Overview
Felix Petersen focuses on integrating discrete algorithmic components into continuous neural architectures, developing differentiable relaxations for sorting, ranking, and logic operations. His research also addresses algorithmic fairness, uncertainty quantification, and second-order optimization techniques. Recently, his work explores stochastic smoothing for gradient estimation and the protection of training data in generative models.
Research Trajectory
Petersen's early research explored the intersection of symbolic reasoning and neural networks. In 2018, he developed methods for translating mathematical formulae from human-readable formats into executable code, contributing to the research direction of Hierarchical Tree Representations for Mathematical Reasoning with Towards Formula Translation using Recursive Neural Networks. Building on the desire to merge classical computer science algorithms with deep learning, he subsequently introduced AlgoNet: C∞ Smooth Algorithmic Neural Networks, an architecture designed to integrate smooth versions of classic algorithms directly into neural network topologies to solve inverse problems.
In 2021, his focus expanded to include algorithmic fairness, specifically addressing biases in deployed machine learning systems. He proposed graph-smoothing techniques in Post-processing for Individual Fairness, advancing work in the areas of Post-hoc Fairness Interventions for Pre-trained Models and Individual Fairness through Metric Invariance by correcting bias without requiring expensive model retraining.
Concurrently, Petersen significantly advanced the field of differentiable algorithms. He developed frameworks to train neural networks using algorithmic supervision, such as ordering constraints or silhouettes, in Learning with Algorithmic Supervision via Continuous Relaxations. This led to a series of foundational papers on differentiable sorting and ranking. He introduced a novel relaxation of sorting algorithms in Differentiable Sorting Networks for Scalable Sorting and Ranking Supervision, enabling end-to-end training on sets of over a thousand elements. He refined this approach to guarantee monotonicity in Monotonic Differentiable Sorting Networks and extended the principles of differentiable sorting to classification tasks in Differentiable Top-k Classification Learning, which treated the parameter k as a random variable to improve model robustness and top-1 accuracy.
Continuing to bridge discrete operations and continuous learning, he explored the integration of boolean logic into neural architectures with Deep Differentiable Logic Gate Networks, proposing a continuously parameterized relaxation that allows fast-executing logic gates to be trained via gradient descent. During this period, he also collaborated on research connecting fairness to distribution shifts, demonstrating in Domain Adaptation meets Individual Fairness. And they get along. that fairness interventions can improve out-of-distribution accuracy, contributing to the broader area of Algorithmic Fairness as a Domain Robustness Problem. Additionally, he introduced new methods for uncertainty quantification by tracking how input noise flows through networks via local linearization in Propagating Distributions through Neural Networks.
In 2023, Petersen returned to mathematical formula translation, demonstrating that convolutional sequence-to-sequence networks could achieve high exact-match accuracy in Neural Machine Translation for Mathematical Formulae. He also made significant contributions to second-order optimization with ISAAC Newton: Input-based Approximate Curvature for Newton's Method, presenting a method that conditions gradients using selected second-order information with an asymptotically vanishing computational overhead.
His work in 2024 built upon these diverse threads. He formalized his earlier uncertainty research into a mathematically grounded framework in Uncertainty Quantification via Stable Distribution Propagation. He also scaled his differentiable logic gate networks using convolutional architectures in Convolutional Differentiable Logic Gate Networks, which advanced the research direction of Stabilizing Deep Networks with Identity Initialization by enabling highly efficient inference on specialized hardware. Merging his expertise in differentiable algorithms and second-order optimization, he introduced Newton Losses: Using Curvature Information for Learning with Differentiable Algorithms to improve training on complex algorithmic tasks like shortest-path routing and sorting. Furthermore, he proposed a novel modification to vision model training dynamics in TrAct: Making First-layer Pre-Activations Trainable, decoupling first-layer learning from raw pixel magnitudes to accelerate convergence across various architectures.
In recent years, Petersen has applied his expertise to new domains. He participated in developing techniques to prevent diffusion models from memorizing training data in CPSample: Classifier Protected Sampling for Guarding Training Data During Diffusion. Most recently, he generalized the theory of stochastic smoothing in Generalizing Stochastic Smoothing for Differentiation and Gradient Estimation, allowing for gradient calculation across non-differentiable black-box functions and contributing to the area of Robust Gradient Estimation for Heavy-Tailed Stochastic Optimization.
Current Directions
The most recent papers in the evidence indicate a focus on robust gradient estimation and the safety of generative models. Recent work investigates generalized stochastic smoothing techniques that enable differentiation through complex, non-differentiable black-box functions, such as simulators and graph solvers. By relaxing assumptions on smoothing distributions and employing variance reduction methods, this research facilitates gradient-based optimization in previously intractable domains. Additionally, recent collaborative efforts address privacy and copyright concerns in generative AI, exploring inference-time sampling methods that steer diffusion models away from memorized training data without requiring costly retraining.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake