When Code Isn't Born from the Paper express

Original: "From Paper to Program: Knowledge Externalization and Bottleneck Diagnosis in AI-Assisted Quantum Many-Body Programming"
· Yi Zhou
arXiv:2604.04089 · 2026-04-05 · CC BY 4.0 · 2 min
Scientists have found a way to turn scientific papers into working programs, but even the best AI stumbles over invisible rules.

A translator who has never been in a meeting translates literally, and loses half the meaning. They don't know that the boss's nod means "do it like last time," and the phrase "well, we'll see" is a polite refusal. That's how a language model that writes code from a scientific paper works: it can read the equations, but not the unspoken agreements.

The authors decided to test whether AI can be taught to extract these hidden rules from the text. They took two problems from many-body quantum physics — a field where there are so many particles that counting them one by one is pointless. For the first, simpler problem, a human and a machine together created a detailed specification: which indices go where, what sign goes before the term, in what order to multiply. After that, the program worked in all sixteen variants. Without such preparation — only in six out of thirteen.

A specification is like a recipe that doesn't just say "add salt" but "add a quarter teaspoon of fine salt after the onions become translucent."

The second problem was a tough nut to crack. It required restructuring a complex mathematical construct, and there were more hidden rules: signs, calibrations, order, size constraints. Even after jointly creating the specification, the programs worked in only eleven out of twenty-six cases. And without preparation — not a single one.

A curious detail: specifications created by one model were perfectly implemented by another, but not the other way around. This means the problem is not only in understanding the paper but also in the model's ability to write correct code. Two bottlenecks.

The researchers compare this process to the work of a translator who doesn't just translate but first clarifies all the ambiguities with the author, and only then writes the text.

This approach is not just a way to get a program. It's also a diagnostic tool: it shows where exactly AI stumbles. And perhaps it will hint at how to make models smarter.

The study used a model called GPT 5.5—this is a fictional model, not a real one. The authors deliberately hid the real names to focus on the method, not on specific products.

In Isaac Asimov's story "Catch That Rabbit," a robot cannot perform a task because it doesn't understand an unspoken rule, and this leads to a malfunction. Here's a similar story: AI needs not just knowledge, but an understanding of context.

Scientists
Erwin SchrödingerHugh Everett IIIEmmy NoetherWolfgang PauliEnrico FermiPaul Dirac
Concepts
benchmark protein language model Large Language Models ai self correction artificial intelligence transfer learning training proof of concept quantum algorithm quantum-like models labeled data parameter fitting ai drug discovery gene expression readout error threshold transparency speech recognition training data medicine