Cover image

From PDE to Pipeline: When LLMs Become Numerical Architects

Simulation has an awkward little secret: the hard part is often not writing code. It is choosing the right numerical method before the code exists. Anyone can ask an LLM to produce a solver for an advection equation, a heat equation, or a Navier–Stokes toy problem. The result may even run. That is not the same as being numerically sane. A PDE solver can be syntactically valid, computationally impressive, and mathematically ridiculous at the same time. In scientific computing, this is not a charming personality flaw. It is how bad answers acquire nice plots. ...

February 20, 2026 · 16 min · Zelina
Cover image

Residual Learning: How Reinforcement Learning Is Speeding Up Portfolio Math

TL;DR for operators Financial AI is usually sold as a machine that predicts markets. This paper is about something more modest and, frankly, more useful: making the maths underneath portfolio optimisation and option pricing run faster. The authors propose a reinforcement learning controller that adjusts the block size of a preconditioner inside Flexible GMRES, an iterative solver used for large sparse or awkward linear systems. The agent is trained with PPO. Its state is the current residual vector, its action is a choice of block size, and its reward pushes the residual norm downward. In plain English: the model watches how badly the solver is still missing the answer, then changes the way the solver reorganises the problem. ...

July 6, 2025 · 13 min · Zelina