MCP
AE

Alan Edelman

86 papers in the library · Same-name authors told apart using DBLP

Papers

30
Learning to Select Sparse Linear Solvers with Convolutional Neural Networks
Artemis PadosAlan EdelmanEmmanuel LujanDaniel PickardFelipe TomeChristopher Rackauckas
This paper proposes using convolutional neural networks (CNNs) to automatically select sparse linear solvers. Given spy plot images of matrix nonzero structure, a CNN regresses log timing ratios between candidate solvers. The approach achieves strong prediction accuracy on held-out SuiteSparse matrices and real-world matrices from high-performance simulation codes, offering a practical solution to solver selection when performance varies dramatically with sparsity structure.
arXivarXiv · · November 9, 2026
0
Using Composition Operators to Linearize LLM Semantic Transformations
Afjal ChowdhuryJames ChenAlan Edelman
This paper models large language model (LLM) semantic transformations as rectangular infinite-dimensional composition operators, generalizing the Koopman operator from dynamical systems to map between distinct spaces. Under natural distributional assumptions, the LLM operator is shown to be an isometry, with representation misalignment appearing as spectral pollution in finite sections. The authors construct finite-dimensional approximations of this operator and demonstrate how its singular value spectrum enables task and model comparison.
arXivarXiv · · August 25, 2026
0
Decision-Support and Modeling with Large Language Models for Geothermal Well Arrays
Edwin OukoEmmanuel LujanAlan EdelmanRobert Metcalfe
This study evaluates large language models (LLMs) as expert assistants for geothermal well array design and analysis. A novel approach using Google's NotebookLM accelerates the generation of unpublished quantitative geothermal benchmarks to assess LLM capabilities. The authors analyze opportunities and limitations of geothermal well arrays and closed-loop coaxial wells, and present a case study on LLM-facilitated auto-parallelization of geothermal numerical models, emphasizing digital twin applications and high-performance code generation.
arXivarXiv · · August 22, 2026
0
4
When Structure is Silent: Opportunities for Algorithmic Dispatch in Linear Algebra
Emmanuel LujanAlan Edelman
The paper formalizes when structure-aware algorithmic dispatch yields tangible speedup in linear algebra, grounded in time-complexity analysis. It introduces criteria that account for detection and conversion overheads, characterizing net gain. A case study on LU factorization with banded matrices stored densely shows results consistent with theoretical bounds, achieving substantial improvements in both performance and memory usage. This work underscores the need for dispatch strategies that recognize silent structures beyond sparsity.
arXivarXiv · · August 22, 2026
0
0
Portable to Efficient: Auto-Tuning Hardware-Agnostic GPU Kernels in Julia
Floris-Jan WillemsenEvelyne RingootAlan Edelman
This paper introduces auto-tuning for hardware-agnostic GPU kernels written in Julia, addressing the portability-efficiency gap across heterogeneous GPUs. The authors extend the Kernel Tuner framework to support Julia, enabling systematic exploration of kernel configurations on NVIDIA, AMD, Intel, and Apple GPUs. Demonstrated on a hardware-agnostic singular value decomposition (SVD) kernel in NextLA.jl, auto-tuning yields performance improvements of 3x to 7x over median parameter configurations, confirming its necessity for resource-efficient execution.
arXivarXiv · · August 21, 2026
0
0
Data-Driven Dynamic Algorithm Dispatch with Large Language Models
Rushil ShahEmmanuel LujanRabab AlomairyAlan Edelman
This paper introduces a method that uses large language models (LLMs), specifically LLaMA 3 combined with prompt engineering and a performance database, to generate dynamic dispatch heuristics for selecting algorithms in high-performance linear algebra. The LLM learns to synthesize selection heuristics by exploiting structural patterns to identify fast algorithmic choices. A case study on LU factorization shows the model can replicate expert-designed strategies, demonstrating the potential of LLMs for algorithmic discovery.
arXivarXiv · · August 21, 2026
0
0
Cross-Model Cross-Language AI Coding Agent Performance: Accuracy and Speed of Parallel CLRS Algorithms
Shiqi ChengEvelyne RingootRabab AlomairyAlan Edelman
Three AI coding agents (Cursor's Composer 2.0, GPT 5.4, Claude Sonnet 4.6) were evaluated on parallel code generation for sorting, graph traversal, and search algorithms in C++, Python, and Julia. All agents produced correct parallel implementations with modest prompting, but achieving meaningful speedup was heavily algorithm- and language-dependent. Sonnet 4.6 delivered the strongest performance gains, while GPT 5.4 produced no measurable speedups despite consistent correctness. The results highlight the need to include runtime performance efficiency as a key LLM metric alongside accuracy, especially for parallel implementations.
arXivarXiv · · July 26, 2026
0
0
Jordan algebras, hemiplex numbers, and the Cholesky decomposition of arbitrary symmetric matrices
Alan EdelmanTimothy E. Holy
Positive-semidefinite matrices are factored efficiently by the Cholesky decomposition, which fails for indefinite matrices. By drawing an analogy with solving $x^2 = c$ for $c \le 0$, this paper introduces a non-associative algebra called hemiplex numbers. Using this algebra, a Cholesky-like factorization exists for arbitrary symmetric matrices without pivoting, thus preserving banded structure. For singular matrices it also yields a null-space parametrization and allows truncation of nearly-null directions, similar to the singular value decomposition.
arXivarXiv · · July 23, 2026
0
0
Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewards
Pengfei CaiUtkarsh UtkarshAlan EdelmanChristopher Vincent RackauckasRafael Gomez-Bombarelli
RLVP post-trains LLMs for PDE solver code generation using a hybrid verifier: hard program-validity checks ensure executability, while continuous physics rewards score function-space accuracy and PDE-residual consistency. A single policy trained across hyperbolic, parabolic, elliptic, and incompressible-flow PDEs improves over baselines, shows zero-shot transfer to held-out PDEs, and enables a smaller LLM to outperform prompting a frontier model on in-distribution problems. The policy also composes numerical motifs (stencils, time-stepping, boundary handling) for unseen PDEs.
arXivarXiv · · July 11, 2026
0
0
SNAP-FM: Sparse Nonlinear Accelerated Projection for Physics-Constrained Generative Modeling
Alaina KolliTheodoros XenakisUtkarsh UtkarshPengfei CaiRafael Gomez-BombarelliAlan EdelmanChristopher Vincent Rackauckas
This paper introduces SNAP-FM, a method that accelerates constrained sampling in generative models by exploiting the block-sparse structure of Jacobian and KKT systems arising from sample-wise batching and local PDE couplings. Using ExaModels.jl and MadNLP.jl with GPU sparse factorization, it enforces nonlinear physical constraints exactly at inference time without retraining, outperforming standard dense tensor approaches on physics-constrained flow matching benchmarks.
arXivarXiv · · June 30, 2026
0
0
SNAP-FM: Sparse Nonlinear Accelerated Projection for Physics-Constrained Generative Modeling
Alaina KolliTheodoros XenakisUtkarsh UtkarshPengfei CaiRafael Gomez-BombarelliAlan EdelmanChristopher Vincent Rackauckas
Generative surrogates for physical simulation lack guarantees that outputs obey conservation laws and nonlinear invariants; constrained sampling enforces them exactly at inference but is expensive for nonlinear constraints. This paper exploits the block-sparse Jacobian and KKT structure induced by sample-wise batching and local PDE couplings, using ExaModels.jl and MadNLP.jl with GPU sparse factorization. Applied to Physics-Constrained Flow Matching on PDE benchmarks, the approach accelerates nonlinear constraint projection while maintaining constraint satisfaction, showing sparse GPU nonlinear optimization as a practical foundation for constrained generative sampling.
OpenReviewOpenReview · · May 8, 2026
0
Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewards
Pengfei CaiUtkarsh UtkarshAlan EdelmanChristopher Vincent RackauckasRafael Gomez-Bombarelli
RLVP is an RL post-training framework for multi-PDE solver code generation that closes a verifiability gap in prior RL with verifiable rewards, whose verifiers are typically binary. It combines hard program-validity checks ensuring executability with continuous physics rewards scoring function-space physical accuracy, plus optional PDE-residual consistency. A single policy is post-trained across hyperbolic, parabolic, elliptic, and incompressible-flow PDE families; within the abstract's scope, RLVP beats pre-trained and supervised-only baselines on the trained families, transfers selectively zero-shot to held-out PDEs, and lets compact trained models outperform the evaluated frontier models under direct generation.
OpenReviewOpenReview · · May 5, 2026
0
Sampling Pfaffian point processes and the symplectic Arnoldi method
Alan EdelmanSungwoo JeongSimeon Schaub
We present an exact sampling algorithm for Pfaffian point processes using a skew-symmetric analogue of Cholesky factorization. It enables efficient sampling of eigenvalues from orthogonal and symplectic ensembles (β=1,4). We also introduce a symplectic Arnoldi method for computing skew-orthogonal polynomials and 2×2 matrix-valued skew-symmetric kernels, illustrated with examples including the Gaussian orthogonal ensemble and β=1,4 Airy point processes.
arXivarXiv · · May 2, 2026
0
0
ABM-UDE: Developing Surrogates for Epidemic Agent-Based Models via Scientific Machine Learning
Sharv MurgaiUtkarsh UtkarshKyle C. NguyenAlan EdelmanErin C. S. AcquestaChristopher Vincent Rackauckas
We develop surrogates for epidemic agent-based models (ABMs) via a scientific machine learning approach: Universal Differential Equations (UDEs), which are SEIR-type ODEs with a neural-network-parameterized contact rate. The central contribution is a prediction-error method (PEM) that, combined with multiple shooting, stabilizes identification across regime shifts. On a benchmark ExaEpi scenario, PEM-UDE reduces mean MSE by 77% relative to single-shooting UDE, improves calibration (empirical coverage of ABM 10–90% band rises from 0.68 to 0.86), and runs in seconds per 90-day forecast on commodity CPUs, enabling fast, calibrated scenario planning.
arXivarXiv · · February 25, 2026
0
0
The largest 5th pivot may be the root of a 61st degree polynomial
James ChenAlan EdelmanJohn Urschel
This paper addresses the maximal growth factor in Gaussian elimination with complete pivoting for $n=5$. Using a hybrid approach combining JuMP optimization, Gr\"obner basis computations, and interval arithmetic, the authors determine that the previously observed numerical value $4.1325\ldots$ is exactly the root of a 61st-degree polynomial and a maximum under the equality constraints considered. They conjecture this value is the true maximum and also slightly reduce the known upper bound to $4.84$.
arXivarXiv · · February 23, 2026
0
1
Enforcing Constraints in Molecular and Crystalline Generative Models via Physics-Constrained Flow Matching
Pengfei CaiUtkarsh UtkarshNofit SegalAkshay SubramanianKatharina JagerElton PanAlan EdelmanChristopher Vincent RackauckasRafael Gomez-Bombarelli
This paper extends Physics-Constrained Flow Matching (PCFM) to atomistic generative models, turning pretrained flow-matching samplers into constraint-enforcing ones without finetuning or architectural changes. In conformer sampling on GEOM-DRUGS, PCFM enforces bond length, aromatic planarity, and stereochemistry constraints, improving stereochemical pass rates by up to $14.5\%$ while preserving quality metrics. On MP-20, it enforces lattice system constraints, increasing FlowMM's crystal structure match rate to $74.3\%$ and reducing unit cell mismatches. Broader molecular and materials design applications are underway.
OpenReviewOpenReview · February 2, 2026
0
1
Topology-optimized distributed 3d anisotropic Raman emission
Ian M. HammondPengning ChaoHenry O. EverittRasmus E. ChristiansenAlan EdelmanFrancesc VerdugoSteven G. Johnson
This paper introduces a 3D topology optimization (TO) method for manufacturable surface-enhanced Raman scattering (SERS) substrates that maximize spatially averaged signals from randomly oriented, anisotropic molecules. The key contribution is a new trace formulation that provides a closed-form rotational average of anisotropic Raman tensors, addressing the nonlinearity that makes them inequivalent to isotropic molecules. The method imposes lengthscale constraints to suppress unphysical field singularities at sharp corners. Results show metallic designs yield broadband enhancement robust to Raman shifts, while dielectric designs provide narrower, quality-factor-limited gains. The approach extends naturally to other distributed-emitter design problems.
arXivarXiv · · January 30, 2026
0
2
Hierarchical Precision and Recursion for Accelerating Symmetric Linear Solves on MXUs
Vicki CarricaRabab AlomairyEvelyne RingootAlan Edelman
We present a portable mixed-precision solver for symmetric linear solves on MXUs (NVIDIA H200, AMD MI300X). The solver is built on a nested recursive Cholesky decomposition that exposes parallelism in TRSM and SYRK sub-problems, mapping large off-diagonal blocks to low-precision FP16 while preserving high precision on diagonal blocks for numerical stability. Implemented in Julia, it achieves up to 5x overall speedup for Cholesky over full-precision cuSOLVER on H200, with 100x better accuracy than pure FP16 and retaining 88% of its peak speedup.
arXivarXiv · · January 12, 2026
0
1
Accelerating Bidiagonalization of Banded Matrices through Memory-Aware Bulge-Chasing on GPUs
Evelyne RingootRabab AlomairyAlan Edelman
This paper presents the first GPU-accelerated algorithm for reducing a banded matrix to bidiagonal form, a key step in singular value decomposition. The algorithm adapts prior multicore CPU bulge-chasing methods to modern GPU architectures, using memory-aware optimization to exploit increased L1/L2 cache sizes. Implemented in Julia with KernelAbstractions.jl for hardware portability, it outperforms multithreaded CPU libraries (PLASMA, SLATE) from matrix sizes as small as 1024×1024 and achieves over 100× speedup on 32k×32k matrices, with performance scaling linearly with bandwidth.
arXivarXiv · · October 14, 2025
0
2
Efficient Symbolic Computation via Hash Consing
Bowen ZhuAayush SabharwalSongchen TanYingbo MaAlan EdelmanChristopher Rackauckas
This paper presents the first integration of hash consing into JuliaSymbolics, a high-performance symbolic toolkit in Julia, via a global weak-reference hash table that canonicalizes expressions and eliminates redundant storage of structurally identical subexpressions, addressing expression swell. Benchmark evaluations show symbolic computations accelerated by up to 3.2 times, memory usage reduced by up to 2 times, and code generation up to 5 times faster, with downstream processing consistently benefiting even when initial gains are modest.
arXivarXiv · · September 24, 2025
0
0
Performant Unified GPU Kernels for Portable Singular Value Computation Across Hardware and Precision
Evelyne RingootRabab AlomairyValentin ChuravyAlan Edelman
This paper presents a portable GPU-accelerated SVD implementation in Julia using a two-stage QR reduction, unified across hardware and precision via Julia's multiple dispatch and KernelAbstractions. It is the first such implementation to support Apple Metal GPUs and half precision. For matrices larger than 1024x1024, the unified kernel outperforms MAGMA, SLATE, rocSOLVER, and oneMKL, while reaching 80-90% of cuSOLVER's performance, showing that portability does not sacrifice speed.
arXivarXiv · · August 8, 2025
0
2
Scientific Machine Learning of Chaotic Systems Learns Reduced-Order Equations for Neural Populations
Anthony G. ChesebroDavid HofmannVaibhav DixitEarl K. MillerRichard H. GrangerAlan EdelmanChristopher V. RackauckasLilianne R. Mujica-ParodiHelmut H. Strey
PEM-UDE combines prediction-error minimization with universal differential equations to learn governing equations from noisy, limited observations of chaotic systems. On benchmark chaotic systems, the method recovers correct functional forms even when one observed dimension contains noise five times the signal magnitude. Applied to a simulated Izhikevich neuronal population, PEM-UDE produces a reduced-order neural mass model that ties single-neuron parameters to macroscopic dynamics, predicting a relationship between connection density, dominant oscillation frequency, and synchrony; these trends are indirectly consistent with three intracranial recording datasets.
arXivarXiv · · July 4, 2025
0
6
Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints
Utkarsh UtkarshPengfei CaiAlan EdelmanRafael Gomez-BombarelliChristopher Vincent Rackauckas
Physics-Constrained Flow Matching (PCFM) is a zero-shot inference framework that enforces arbitrary nonlinear physical constraints in pretrained flow-based generative models. It continuously guides sampling by applying physics-based corrections to intermediate states, keeping them aligned with the learned flow while satisfying constraints. On PDEs with shocks, discontinuities, and sharp features, PCFM outperforms unconstrained and soft-penalty baselines, exactly satisfying constraints at the final solution.
arXivarXiv · · June 4, 2025
0
61
Semi-Explicit Neural DAEs: Learning Long-Horizon Dynamical Systems with Algebraic Constraints
Avik PalAlan EdelmanChristopher Rackauckas
This paper introduces Manifold-Projected Neural ODEs (PNODEs), a method that enforces algebraic constraints by projecting each ODE step onto the constraint manifold, derived from semi-explicit differential-algebraic equations. A robust iterative variant and a fast single-factorization approximation are provided. On six benchmarks, PNODEs achieve a mean constraint violation below $10^{-10}$ and lower runtime at a given error tolerance, outperforming baselines for learning long-horizon dynamics with physical conservation laws.
arXivarXiv · · May 26, 2025
0
8
Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints
Utkarsh UtkarshPengfei CaiAlan EdelmanRafael Gomez-BombarelliChristopher Vincent Rackauckas
Physics-Constrained Flow Matching (PCFM) is a zero-shot inference framework that enforces arbitrary nonlinear physical constraints, such as conservation laws, in pretrained flow-based generative models. It continuously corrects intermediate solution states during sampling, keeping the process aligned with the learned flow while guaranteeing exact constraint satisfaction at the final solution. Empirically, PCFM outperforms unconstrained and constrained baselines on PDEs with shocks and discontinuities, offering a flexible approach to hard constraints in scientific and general-purpose generative models.
OpenReviewOpenReview · · May 12, 2025
0
Toward Portable GPU Performance: Julia Recursive Implementation of TRMM and TRSM
Vicki CarricaMaxwell OnyangoRabab AlomairyEvelyne RingootJames SchlossAlan Edelman
This paper presents a portable recursive implementation of triangular matrix-matrix multiplication (TRMM) and triangular solve (TRSM) in Julia that restructures these kernels to execute mostly as general matrix-matrix multiplication (GEMM), improving GPU memory hierarchy use. Using Julia's multiple dispatch and metaprogramming with GPUArrays and KernelAbstractions, a single hardware-agnostic API runs on NVIDIA, AMD, and Apple Silicon GPUs, achieving near-vendor throughput for large matrices and providing these routines on Apple Silicon for the first time.
arXivarXiv · · April 18, 2025
0
8
Scalable higher-order nonlinear solvers via higher-order automatic differentiation
Songchen TanKeming MiaoAlan EdelmanChristopher Rackauckas
This paper presents scalable higher-order nonlinear solvers that achieve faster convergence by efficiently computing higher-order derivatives via Taylor-mode automatic differentiation. The authors implement Householder's method of arbitrary order for one variable, find Halley's method (second-order) most valuable, and generalize it to systems of nonlinear equations. They demonstrate that this generalized Halley's method scales efficiently to large-scale problems, outperforms Newton's method on ill-conditioned nonlinear systems, and is effective within stiff ODE solvers.
arXivarXiv · · January 28, 2025
0
5
Matrix Calculus (for Machine Learning and Beyond)
Paige BrightAlan EdelmanSteven G. Johnson
This course extends differential calculus to functions on general vector spaces, such as those that take a matrix as input and return a matrix inverse or factorization. The central contribution is a practical framework for computing derivatives in complicated calculations, emphasizing adjoint or reverse-mode differentiation (backpropagation) and modern automatic differentiation techniques, which are essential for large-scale optimization and machine learning.
arXivarXiv · · January 7, 2025
0
4
On the Limit of the Tridiagonal Model for I^2β-Dyson Brownian Motion
Alan EdelmanSungwoo JeongRon Nissim
This paper extends the tridiagonal model of the Gaussian $\beta$-ensemble (G$\beta$E) to the dynamical setting of $\beta$-Dyson Brownian motion. The authors propose an explicit limit for the upper-left $k \times k$ minor of the $n \times n$ tridiagonal process as $n \to \infty$ with $k$ fixed. The result is proved for $\beta=1$ and supported numerically for $\beta=1,2,4$, leading to a conjectured dynamical $\beta$-stochastic Airy operator whose smallest $k$ eigenvalues match the limit of the largest, centered, and re-scaled eigenvalues of $\beta$-Dyson Brownian motion.
arXivarXiv · · November 3, 2024
0
2
On a perturbation analysis of Higham squared maximum Gaussian elimination growth matrices
Alan EdelmanJohn UrschelBowen Zhu
This paper studies the sensitivity of the growth factor under partial pivoting for the matrices that, according to Higham and Higham's 1989 characterization, achieve the maximum possible growth. Through theoretical analysis and numerical experiments, the authors show that the growth factor of these matrices is highly sensitive to perturbations: small, strategically chosen changes to the matrix entries can substantially reduce the growth.
arXivarXiv · · June 2, 2024
0
1
Frequent collaborators
Christopher Rackauckas (11)
Christopher Vincent Rackauckas (10)
Utkarsh Utkarsh (9)
Pengfei Cai (7)
Rafael Gomez-Bombarelli (7)
Avik Pal (7)
Evelyne Ringoot (6)
Rabab Alomairy (6)
Yingbo Ma (6)
Chris Rackauckas (5)
Jiahao Chen (5)
Ramis Movassagh (5)