An agentic AI neutron scattering data scientist at the China Spallation Neutron Source
This paper introduces DrSai-Rongzai, an autonomous LLM-based agent deployed at the China Spallation Neutron Source that utilizes a novel Agentic Context Operation framework to perform accurate, human-free joint neutron powder diffraction and pair-distribution-function analysis, thereby accelerating materials discovery by reliably refining structural parameters with fewer iterations than traditional expert workflows.
Original paper licensed under CC BY 4.0 (https://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
At the China Spallation Neutron Source, a massive scientific facility in Dongguan, researchers fire pulses of neutrons at materials to see how their atoms are arranged. This process is like taking a three-dimensional photograph of the invisible world inside a solid object. When neutrons bounce off the atoms, they create a complex pattern of data. For decades, turning these raw patterns into a clear picture of a material's structure has been a slow, human-heavy task. It requires a scientist to repeatedly adjust mathematical models, check for errors, and decide which details matter, a cycle that can take hours or even days for a single sample. As facilities generate more data than ever before, this manual bottleneck threatens to slow down the discovery of new materials for batteries, medicines, and electronics. The challenge is not just that the data is hard to read, but that the process of reading it demands a level of experience and patience that is difficult to scale.
To solve this, a team of scientists has introduced DrSai-Rongzai, an autonomous artificial intelligence agent designed to act as a neutron scattering data scientist. Unlike simple software that follows a fixed set of instructions, this agent uses a large language model to think through problems, plan its steps, and execute complex tasks without human intervention. It was built to handle two specific types of analysis simultaneously: looking at the average arrangement of atoms and examining the local, short-range disorder where atoms might be slightly out of place. By combining these two views, the agent can tell a complete story about a material's structure. The researchers deployed this system at the facility, connecting it directly to the database where experimental data is stored. The agent operates under strict security rules, only accessing data for which a user has given permission, and it archives its findings back into the system, making it a legitimate part of the scientific workflow rather than just a research prototype.
The team tested DrSai-Rongzai on several standard materials, including silicon and complex thermoelectric compounds, to see if it could match the work of human experts. The results were striking. The agent produced structural models that were statistically indistinguishable from those created by experienced scientists, and in some cases, it found better fits with fewer attempts. It successfully refined the atomic positions and measured how well the model matched the data, achieving results that were physically reasonable and consistent with expert practice. This demonstrated that the agent could not only perform the routine work of data analysis but could do so with a speed and consistency that surpassed human capabilities in terms of the number of iterations required to reach a solution.
However, the true test came when the researchers asked the agent to handle a much more difficult scenario: analyzing high-entropy alloys, which are complex mixtures of multiple metals. These materials are notoriously difficult to study because their atomic structures are messy and disordered. To succeed, the agent had to manage a long chain of decisions, keeping track of file paths, intermediate results, and specific rules about how to refine the data. The researchers found that without a special memory system, the agent would often lose its way as the task grew longer, forgetting critical details needed to finish the job. They developed a new method called Agentic Context Operation to solve this. This system allows the agent to write down key information, such as file locations and expert rules, into a protected memory block that is never deleted or compressed, even when the task becomes very long.
When the team tested the agent with and without this memory system, the difference was clear. In situations where the agent had to process a large amount of information, the version with the memory system consistently produced correct results and stable performance. The version without it struggled, sometimes failing to complete the analysis or producing lower-quality results. The study showed that the memory system improved the agent's overall performance by nearly twenty-five percent and made its results far more repeatable. This means that the agent can now be trusted to run complex, multi-step analyses on its own, returning reliable data every time. By proving that an artificial intelligence can autonomously orchestrate these difficult scientific workflows, the researchers have taken a significant step toward fully automated facilities where machines handle the heavy lifting of data interpretation, allowing human scientists to focus on the questions that drive discovery.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.