Frank Schäfer
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Frank Schäfer has a total of 52 co-authors. Here are the top co-authors by number of shared publications:
- Julian Arnold
Department of Physics University of Basel Basel Switzerland
7 shared publications Christoph Bruder
University of Basel
5 shared publications- Michal Kloc
Department of Biomedicine, University of Basel, University Hospital Basel, Basel, Switzerland
4 shared publications - Alan Edelman
Massachusetts Institute of Technology
3 shared publications - Christopher Rackauckas
Massachusetts Institute of Technology
3 shared publications - Axel U. J. Lode
Albert-Ludwigs-Universität Freiburg
2 shared publications
Latest Publications
- Top Cited PapersOpen Access
- 17 March 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 52 (1) , 1-26
NonlinearSolve.jl: High-Performance and Robust Solvers for Systems of Nonlinear Equations in Julia
Efficiently solving nonlinear equations underpins numerous scientific and engineering disciplines, yet scaling these solutions for challenging system models remains a challenge. This article presents NonlinearSolve.jl —a suite of high-performance open source nonlinear equation solvers implemented natively in the Julia programming language. NonlinearSolve.jl distinguishes itself by offering a unified API that accommodates a diverse range of solver specifications alongside features such as automatic algorithm selection based on runtime analysis, support for static array kernels for improved GPU computation on smaller problems, and the utilization of sparse automatic differentiation and Jacobian-free Krylov methods for large-scale problem-solving. Through rigorous comparison with established tools such as PETSc SNES , Sundials KINSOL , and MINPACK , NonlinearSolve.jl demonstrates robustness and efficiency, achieving significant advancements in solving nonlinear equations while being implemented in a high-level programming language. The capabilities of NonlinearSolve.jl unlock new potentials in modeling and simulation across various domains, making it a valuable addition to the computational toolkit of researchers and practitioners alike.
- 17 March 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 52 (1) , 1-26
Top Cited PapersOpen AccessNonlinearSolve.jl: High-Performance and Robust Solvers for Systems of Nonlinear Equations in Julia
Efficiently solving nonlinear equations underpins numerous scientific and engineering disciplines, yet scaling these solutions for challenging system models remains a challenge. This article presents NonlinearSolve.jl —a suite of high-performance open source nonlinear equation solvers implemented natively in the Julia programming language. NonlinearSolve.jl distinguishes itself by offering a unified API that accommodates a diverse range of solver specifications alongside features such as automatic algorithm selection based on runtime analysis, support for static array kernels for improved GPU computation on smaller problems, and the utilization of sparse automatic differentiation and Jacobian-free Krylov methods for large-scale problem-solving. Through rigorous comparison with established tools such as PETSc SNES , Sundials KINSOL , and MINPACK , NonlinearSolve.jl demonstrates robustness and efficiency, achieving significant advancements in solving nonlinear equations while being implemented in a high-level programming language. The capabilities of NonlinearSolve.jl unlock new potentials in modeling and simulation across various domains, making it a valuable addition to the computational toolkit of researchers and practitioners alike.
- Open Access
- 1 May 2025
- Published by IOP Publishing in Journal of Physics Communications
- Vol. 9 (5) , 055007
Machine learning the Ising transition: A comparison between discriminative and generative approaches
The detection of phase transitions is a central task in many-body physics. To automate this process, the task can be phrased as a classification problem. Classification problems can be approached in two fundamentally distinct ways: through either a discriminative or a generative method. In general, it is unclear which of these two approaches is most suitable for a given problem. In this work, we answer the question of how one should approach the detection of the thermal transition within the classical two-dimensional square-lattice ferromagnetic Ising model by performing a systematic numerical case study. We find that in a data-driven setting with limited system knowledge, neural network-based approaches outperform nonparametric generative methods in terms of the achieved accuracy for a given dataset size. Both parametric generative and discriminative approaches may be viable depending on how the classification task is set up. Conversely, in a knowledge-driven setting where the system Hamiltonian is known, nonparametric generative approaches leveraging sufficient statistics are superior in terms of the accuracy reached at a given budget of computation time for all but the smallest sample sizes or highest error tolerances. Our findings provide a guide for the selection of machine-learning strategies for phase transition detection based on criteria such as the amount of available system knowledge, the number of data points, or computational constraints.
- 1 May 2025
- Published by IOP Publishing in Journal of Physics Communications
- Vol. 9 (5) , 055007
Open AccessMachine learning the Ising transition: A comparison between discriminative and generative approaches
The detection of phase transitions is a central task in many-body physics. To automate this process, the task can be phrased as a classification problem. Classification problems can be approached in two fundamentally distinct ways: through either a discriminative or a generative method. In general, it is unclear which of these two approaches is most suitable for a given problem. In this work, we answer the question of how one should approach the detection of the thermal transition within the classical two-dimensional square-lattice ferromagnetic Ising model by performing a systematic numerical case study. We find that in a data-driven setting with limited system knowledge, neural network-based approaches outperform nonparametric generative methods in terms of the achieved accuracy for a given dataset size. Both parametric generative and discriminative approaches may be viable depending on how the classification task is set up. Conversely, in a knowledge-driven setting where the system Hamiltonian is known, nonparametric generative approaches leveraging sufficient statistics are superior in terms of the accuracy reached at a given budget of computation time for all but the smallest sample sizes or highest error tolerances. Our findings provide a guide for the selection of machine-learning strategies for phase transition detection based on criteria such as the amount of available system knowledge, the number of data points, or computational constraints.
- Open Access
Machine learning the Ising transition: A comparison between discriminative and generative approaches
The detection of phase transitions is a central task in many-body physics. To automate this process, the task can be phrased as a classification problem. Classification problems can be approached in two fundamentally distinct ways: through either a discriminative or a generative method. In general, it is unclear which of these two approaches is most suitable for a given problem. The choice is expected to depend on factors such as the availability of system knowledge, dataset size, desired accuracy, computational resources, and other considerations. In this work, we answer the question of how one should approach the solution of phase-classification problems by performing a numerical case study on the thermal phase transition in the classical two-dimensional square-lattice ferromagnetic Ising model.
Open AccessMachine learning the Ising transition: A comparison between discriminative and generative approaches
The detection of phase transitions is a central task in many-body physics. To automate this process, the task can be phrased as a classification problem. Classification problems can be approached in two fundamentally distinct ways: through either a discriminative or a generative method. In general, it is unclear which of these two approaches is most suitable for a given problem. The choice is expected to depend on factors such as the availability of system knowledge, dataset size, desired accuracy, computational resources, and other considerations. In this work, we answer the question of how one should approach the solution of phase-classification problems by performing a numerical case study on the thermal phase transition in the classical two-dimensional square-lattice ferromagnetic Ising model.
- 18 June 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Automatic Control
- Vol. 69 (11) , 8057-8063
Performance Bounds for Quantum Feedback Control
The limits of quantum feedback control have immediate consequences for quantum information science at large, yet remain largely unexplored. Here, we combine quantum filtering theory and moment-sum-of-squares techniques to construct a hierarchy of convex optimization problems that furnish monotonically improving, computable bounds on the best attainable performance for a broad class of quantum feedback control problems. These bounds may serve as witnesses of fundamental limitations, optimality certificates, or performance targets. We prove convergence of the bounds to the optimal control performance under technical conditions and demonstrate the practical utility of our approach by designing certifiably near-optimal controllers for a qubit in a cavity subjected to photon counting and homodyne detection measurements.
- 18 June 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Automatic Control
- Vol. 69 (11) , 8057-8063
Performance Bounds for Quantum Feedback Control
The limits of quantum feedback control have immediate consequences for quantum information science at large, yet remain largely unexplored. Here, we combine quantum filtering theory and moment-sum-of-squares techniques to construct a hierarchy of convex optimization problems that furnish monotonically improving, computable bounds on the best attainable performance for a broad class of quantum feedback control problems. These bounds may serve as witnesses of fundamental limitations, optimality certificates, or performance targets. We prove convergence of the bounds to the optimal control performance under technical conditions and demonstrate the practical utility of our approach by designing certifiably near-optimal controllers for a qubit in a cavity subjected to photon counting and homodyne detection measurements.
- 16 May 2024
- Published by American Physical Society (APS) in Physical Review Letters
- Vol. 132 (20) , 207301
Mapping Out Phase Diagrams with Generative Classifiers
One of the central tasks in many-body physics is the determination of phase diagrams. However, mapping out a phase diagram generally requires a great deal of human intuition and understanding. To automate this process, one can frame it as a classification task. Typically, classification problems are tackled using discriminative classifiers that explicitly model the probability of the labels for a given sample. Here we show that phase-classification problems are naturally suitable to be solved using generative classifiers based on probabilistic models of the measurement statistics underlying the physical system. Such a generative approach benefits from modeling concepts native to the realm of statistical and quantum physics, as well as recent advances in machine learning. This leads to a powerful framework for the autonomous determination of phase diagrams with little to no human supervision that we showcase in applications to classical equilibrium systems and quantum ground states.
- 16 May 2024
- Published by American Physical Society (APS) in Physical Review Letters
- Vol. 132 (20) , 207301
Mapping Out Phase Diagrams with Generative Classifiers
One of the central tasks in many-body physics is the determination of phase diagrams. However, mapping out a phase diagram generally requires a great deal of human intuition and understanding. To automate this process, one can frame it as a classification task. Typically, classification problems are tackled using discriminative classifiers that explicitly model the probability of the labels for a given sample. Here we show that phase-classification problems are naturally suitable to be solved using generative classifiers based on probabilistic models of the measurement statistics underlying the physical system. Such a generative approach benefits from modeling concepts native to the realm of statistical and quantum physics, as well as recent advances in machine learning. This leads to a powerful framework for the autonomous determination of phase diagrams with little to no human supervision that we showcase in applications to classical equilibrium systems and quantum ground states.
- Open Access
Fast Detection of Phase Transitions with Multi-Task Learning-by-Confusion
Machine learning has been successfully used to study phase transitions. One of the most popular approaches to identifying critical points from data without prior knowledge of the underlying phases is the learning-by-confusion scheme. As input, it requires system samples drawn from a grid of the parameter whose change is associated with potential phase transitions. Up to now, the scheme required training a distinct binary classifier for each possible splitting of the grid into two sides, resulting in a computational cost that scales linearly with the number of grid points. In this work, we propose and showcase an alternative implementation that only requires the training of a single multi-class classifier. Ideally, such multi-task learning eliminates the scaling with respect to the number of grid points. In applications to the Ising model and an image dataset generated with Stable Diffusion, we find significant speedups that closely correspond to the ideal case, with only minor deviations.
Open AccessFast Detection of Phase Transitions with Multi-Task Learning-by-Confusion
Machine learning has been successfully used to study phase transitions. One of the most popular approaches to identifying critical points from data without prior knowledge of the underlying phases is the learning-by-confusion scheme. As input, it requires system samples drawn from a grid of the parameter whose change is associated with potential phase transitions. Up to now, the scheme required training a distinct binary classifier for each possible splitting of the grid into two sides, resulting in a computational cost that scales linearly with the number of grid points. In this work, we propose and showcase an alternative implementation that only requires the training of a single multi-class classifier. Ideally, such multi-task learning eliminates the scaling with respect to the number of grid points. In applications to the Ising model and an image dataset generated with Stable Diffusion, we find significant speedups that closely correspond to the ideal case, with only minor deviations.
- 6 February 2023
- Published by American Physical Society (APS) in Physical Review Applied
- Vol. 19 (2) , 024015
Automated Reconstruction of Bound States in Bilayer Graphene Quantum Dots
Bilayer graphene is a nanomaterial that allows for well-defined, separated quantum states to be defined by electrostatic gating and, therefore, provides an attractive platform to construct tunable quantum dots. When a magnetic field perpendicular to the graphene layers is applied, the graphene valley degeneracy is lifted, and splitting of the energy levels of the dot is observed. Although bilayer graphene quantum dots have recently been realized in experiments, it is critically important to devise robust methods that can identify the observed quantum states from accessible measurement data. Here, we develop an efficient algorithm for extracting the model parameters needed to characterize the states of a bilayer graphene quantum dot. Specifically, we put forward a Hamiltonian-guided random search method and demonstrate robust identification of quantum states on both simulated and experimental data.
- 6 February 2023
- Published by American Physical Society (APS) in Physical Review Applied
- Vol. 19 (2) , 024015
Automated Reconstruction of Bound States in Bilayer Graphene Quantum Dots
Bilayer graphene is a nanomaterial that allows for well-defined, separated quantum states to be defined by electrostatic gating and, therefore, provides an attractive platform to construct tunable quantum dots. When a magnetic field perpendicular to the graphene layers is applied, the graphene valley degeneracy is lifted, and splitting of the energy levels of the dot is observed. Although bilayer graphene quantum dots have recently been realized in experiments, it is critically important to devise robust methods that can identify the observed quantum states from accessible measurement data. Here, we develop an efficient algorithm for extracting the model parameters needed to characterize the states of a bilayer graphene quantum dot. Specifically, we put forward a Hamiltonian-guided random search method and demonstrate robust identification of quantum states on both simulated and experimental data.
- Open Access
Automatic Differentiation of Programs with Discrete Randomness
Automatic differentiation (AD), a technique for constructing new programs which compute the derivative of an original program, has become ubiquitous throughout scientific computing and deep learning due to the improved performance afforded by gradient-based optimization. However, AD systems have been restricted to the subset of programs that have a continuous dependence on parameters. Programs that have discrete stochastic behaviors governed by distribution parameters, such as flipping a coin with probability $p$ of being heads, pose a challenge to these systems because the connection between the result (heads vs tails) and the parameters ($p$) is fundamentally discrete. In this paper we develop a new reparameterization-based methodology that allows for generating programs whose expectation is the derivative of the expectation of the original program. We showcase how this method gives an unbiased and low-variance estimator which is as automated as traditional AD mechanisms. We demonstrate unbiased forward-mode AD of discrete-time Markov chains, agent-based models such as Conway's Game of Life, and unbiased reverse-mode AD of a particle filter. Our code package is available at https://github.com/gaurav-arya/StochasticAD.jl.Open AccessAutomatic Differentiation of Programs with Discrete Randomness
Automatic differentiation (AD), a technique for constructing new programs which compute the derivative of an original program, has become ubiquitous throughout scientific computing and deep learning due to the improved performance afforded by gradient-based optimization. However, AD systems have been restricted to the subset of programs that have a continuous dependence on parameters. Programs that have discrete stochastic behaviors governed by distribution parameters, such as flipping a coin with probability $p$ of being heads, pose a challenge to these systems because the connection between the result (heads vs tails) and the parameters ($p$) is fundamentally discrete. In this paper we develop a new reparameterization-based methodology that allows for generating programs whose expectation is the derivative of the expectation of the original program. We showcase how this method gives an unbiased and low-variance estimator which is as automated as traditional AD mechanisms. We demonstrate unbiased forward-mode AD of discrete-time Markov chains, agent-based models such as Conway's Game of Life, and unbiased reverse-mode AD of a particle filter. Our code package is available at https://github.com/gaurav-arya/StochasticAD.jl. - 15 November 2022
- Published by Physical Society of Japan in Journal of the Physical Society of Japan
- Vol. 91 (11)
Data-Driven Reconstruction of Spectral Conductivity and Chemical Potential Using Thermoelectric Transport Properties
The spectral conductivity, i.e., the electrical conductivity as a function of the Fermi energy, is a cornerstone in determining the thermoelectric transport properties of electrons. However, the sp...
- 15 November 2022
- Published by Physical Society of Japan in Journal of the Physical Society of Japan
- Vol. 91 (11)
Data-Driven Reconstruction of Spectral Conductivity and Chemical Potential Using Thermoelectric Transport Properties
The spectral conductivity, i.e., the electrical conductivity as a function of the Fermi energy, is a cornerstone in determining the thermoelectric transport properties of electrons. However, the sp...
- Open Access
Data-driven reconstruction of spectral conductivity and chemical potential from thermoelectric transport data
The spectral conductivity, i.e., the electrical conductivity as a function of the Fermi energy, is a cornerstone in determining the thermoelectric transport properties of electrons. However, the spectral conductivity depends on sample-specific properties such as carrier concentrations, vacancies, charge impurities, chemical compositions, and material microstructures, making it difficult to relate the experimental result with the theoretical prediction directly. Here, we propose a data-driven approach based on machine learning to reconstruct the spectral conductivity and chemical potential from the thermoelectric transport data. Using this machine learning method, we first demonstrate that the spectral conductivity and temperature-dependent chemical potentials can be recovered within a simple toy model. In a second step, we apply our method to experimental data in doped one-dimensional telluride Ta$_4$SiTe$_4$~[T. Inohara, \textit{et al.}, Appl. Phys. Lett. \textbf{110}, 183901 (2017)] to reconstruct the spectral conductivity and chemical potential for each sample. Furthermore, the thermal conductivity of electrons and the maximal figure of merit $ZT$ are estimated from the reconstructed spectral conductivity, which provides accurate estimates beyond the Wiedemann-Franz law. Our study clarifies the connection between the thermoelectric transport properties and the low-energy electronic states of real materials, and establishes a promising route to incorporate experimental data into traditional theory-driven workflows.Open AccessData-driven reconstruction of spectral conductivity and chemical potential from thermoelectric transport data
The spectral conductivity, i.e., the electrical conductivity as a function of the Fermi energy, is a cornerstone in determining the thermoelectric transport properties of electrons. However, the spectral conductivity depends on sample-specific properties such as carrier concentrations, vacancies, charge impurities, chemical compositions, and material microstructures, making it difficult to relate the experimental result with the theoretical prediction directly. Here, we propose a data-driven approach based on machine learning to reconstruct the spectral conductivity and chemical potential from the thermoelectric transport data. Using this machine learning method, we first demonstrate that the spectral conductivity and temperature-dependent chemical potentials can be recovered within a simple toy model. In a second step, we apply our method to experimental data in doped one-dimensional telluride Ta$_4$SiTe$_4$~[T. Inohara, \textit{et al.}, Appl. Phys. Lett. \textbf{110}, 183901 (2017)] to reconstruct the spectral conductivity and chemical potential for each sample. Furthermore, the thermal conductivity of electrons and the maximal figure of merit $ZT$ are estimated from the reconstructed spectral conductivity, which provides accurate estimates beyond the Wiedemann-Franz law. Our study clarifies the connection between the thermoelectric transport properties and the low-energy electronic states of real materials, and establishes a promising route to incorporate experimental data into traditional theory-driven workflows.