jNO: A JAX Library for Neural Operator and Foundation Model Training

jNO is a unified, JAX-native library that streamlines the training of neural operators and foundation models by integrating data-driven and physics-informed approaches into a single symbolic tracing system, enabling seamless transitions between operator regression, mesh-aware residual evaluation, and PDE-constrained optimization without code restructuring.

Original authors: Leon Armbruster, Rathan Ramesh, Georg Kruse, Christopher Straub

Published 2026-05-12
📖 5 min read🧠 Deep dive

Original authors: Leon Armbruster, Rathan Ramesh, Georg Kruse, Christopher Straub

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a computer to understand the laws of physics, like how heat flows through a metal plate or how water swirls around a rock. In the past, doing this with artificial intelligence was like trying to build a house where the architect, the plumber, the electrician, and the carpenter all spoke different languages and used different blueprints. You had to write one set of code for the shape of the room (geometry), another for the math equations (physics), and a third for the actual learning process. If you wanted to switch from one type of math to another, you often had to tear down the whole house and start over.

jNO (jax Neural Operators) is a new tool that acts like a "universal translator" and a "master builder" rolled into one. It is a software library designed to make training these physics-smart AI models much easier, faster, and more flexible, specifically for the JAX programming language (a popular tool for high-speed scientific computing).

Here is how it works, using some simple analogies:

1. The "One-Script" Magic (Tracing System)

Think of jNO as a single, magical script that controls the entire construction site.

  • Before: You had to write a script for the blueprint, a separate script for the math, and another for the learning rules. If you wanted to change the math, you had to rewrite the blueprint script too.
  • With jNO: You write everything in one language. You define the shape of the room, the physics equations, and the learning goals all in one go. The software "traces" (or records) your instructions like a movie director filming a scene. Later, it compiles this movie into a super-efficient, high-speed program. This means you can swap between different types of math problems or add new physics rules without rewriting your code.

2. The "Lego" Foundation Models

Currently, there are many different "foundation models" (pre-trained AI brains) for physics, but they are like Lego sets from different manufacturers that don't fit together. One brand uses red bricks, another uses blue, and they can't be stacked.

  • jNO's Role: It acts as a universal adapter. It takes these different AI models (like Poseidon, Walrus, and Morph) and translates them so they all fit into the same JAX ecosystem. Now, a researcher can take a pre-trained "brain," tweak it slightly, and combine it with their own custom physics rules, all without needing to switch software tools.

3. The "Smart Mesh" (Handling Shapes)

When simulating physics, computers need to break shapes (like a curved pipe or a complex building) into tiny grid pieces called a "mesh."

  • The Innovation: jNO has a built-in "smart mesh" system. It's like having a robot that can instantly draw a grid over any shape you describe, whether it's a simple square or a complex 3D object with holes. It keeps track of which part of the grid is the "inside," which is the "wall," and which is the "boundary," so the AI knows exactly where to apply the physics rules.

4. The "Fine-Tuning" Dial

Sometimes you want to take a pre-trained AI and teach it a specific new task.

  • The Control Panel: jNO gives you a very detailed control panel. You can tell the AI, "Freeze these parts of your brain so they don't change," or "Only learn from these specific connections," or "Use a specific learning speed." You can do this for individual parts of the model without having to rebuild the whole thing. It's like being able to adjust the volume on just the drums in a song without changing the guitar or vocals.

5. The "Double-Mode" Engine (FEM and PINNs)

The paper highlights that jNO can handle two different ways of solving physics problems:

  • Point-by-Point: Checking the physics at specific dots (like checking the temperature at specific spots on a map).
  • Whole-Shape (Finite Element): Looking at the physics as a continuous flow over a whole shape (like calculating the total stress on a bridge).
  • The Benefit: jNO lets you switch between these two modes using the same code. It's like having a car that can drive on both dirt roads and highways without you needing to change the engine or the steering wheel.

Why Does This Matter?

The main goal of jNO is to stop the "fragmentation" of scientific software. Instead of researchers juggling five different tools to train one AI model, jNO brings everything into one place.

  • Speed: Because it uses JAX's special compilation features, it runs faster on modern computer chips.
  • Simplicity: You don't need to be a software architect to switch between different types of physics problems.
  • Reusability: Once you write a program in jNO, you can save it, share it, and run it again later, even on different computers, with confidence that it will work the same way.

In short, jNO is trying to make the complex world of "scientific machine learning" feel as simple and unified as writing a single, coherent story, rather than stitching together a patchwork quilt of different code fragments.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →