Training for sustainable scientific software in the AI era: from code production to scientific stewardship
This paper argues that as generative AI transforms scientific software development, training for high-energy physics must shift from focusing solely on code production to cultivating "scientific stewardship," ensuring researchers can validate, explain, and maintain AI-assisted workflows to preserve trustworthiness, reproducibility, and sustainable resource use.
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 author. For technical accuracy, refer to the original paper. Read full disclaimer
High-energy physics is a field where scientists study the smallest building blocks of the universe by smashing particles together at incredible speeds. To make sense of the massive amounts of data these collisions produce, researchers rely on complex computer programs. For decades, training new scientists in this field has meant teaching them how to write their own code, debug errors, and manage the massive computing power needed to run simulations. It is a rigorous process designed to ensure that every scientist understands exactly how their results were produced, from the first line of code to the final graph. This deep understanding is the bedrock of trust in scientific discovery; if a result cannot be explained or reproduced, it cannot be accepted as fact.
Now, a new tool has entered the laboratory: artificial intelligence systems that can write code, fix errors, and even plan entire research workflows. These tools are changing the landscape of scientific work, but they are also creating a subtle shift in how scientists learn and how they are judged. A recent perspective piece by Juliette Alimena, a researcher at the Deutsches Elektronen-Synchrotron in Germany, argues that the arrival of these intelligent assistants requires a fundamental change in training. The goal is no longer just to teach researchers how to produce working software, but to teach them how to act as stewards of software they did not necessarily write themselves. The paper suggests that as machines take over the heavy lifting of coding, the human role must evolve to focus on validation, explanation, and responsibility for the final outcome.
The paper begins by looking at how these artificial intelligence tools actually affect productivity. The results are not a simple story of machines making everything faster. In some studies involving professional developers, using an AI assistant helped people finish tasks about twenty-six percent faster, with the biggest gains seen among those with less experience. However, other studies found that for experienced developers working on familiar projects, these same tools actually made them slower. More importantly, the research highlights a troubling trade-off. When people use AI to generate code, they often finish the task more quickly, but they understand the code less. In one experiment, students who used AI to write programs were significantly worse at identifying errors in that code than students who wrote it themselves. The ability to produce a working result is becoming separated from the ability to understand how that result was achieved.
This separation creates a new challenge for scientific training. In the past, a researcher who wrote a program was assumed to understand every choice made within it. Today, a researcher might ask an AI to write a complex analysis tool, and the tool might work perfectly. But if the researcher cannot explain why the tool made certain choices, or what assumptions it relied on, the scientific value of the work is weakened. The paper argues that the training for high-energy physics must shift from focusing on code production to focusing on scientific stewardship. Stewardship means taking responsibility for the entire lifecycle of a software project, even if a machine helped build it. It involves being able to validate that the output is correct, explain the logic behind it, and ensure that the work can be reproduced by others in the future.
To illustrate what this new kind of training looks like, the author points to recent workshops and schools where scientists are already experimenting with these tools. In one session at a university in Germany, researchers learned to use AI coding agents alongside traditional skills like testing and version control. The training did not just teach them how to use the AI; it taught them how to question it. Participants were asked to design their own tests to check the AI's work, to track exactly which tools and data the AI used, and to justify why they chose a particular method. The focus was on the evidence supporting a result, rather than the result itself. For example, instead of just accepting a graph generated by an AI, a scientist must be able to explain the assumptions behind it and prove that the graph is not a fluke.
The paper also addresses the practical realities of using these tools, such as the cost of computing power and the risk of relying on specific commercial services. AI tools can help optimize software to run more efficiently, but they also consume energy to generate that optimization. The training must teach scientists to measure the full cost of their workflows, including the energy used by the AI itself, to ensure they are not wasting resources. Furthermore, the training must ensure that scientific skills do not become dependent on a single company's software or a specific subscription. If a tool changes or disappears, the scientists must still be able to do their work. This means teaching them to use a variety of tools and to understand the underlying principles that make the software work, rather than just memorizing how to click buttons in one specific program.
Ultimately, the paper concludes that the solution is not to ban artificial intelligence from scientific training, nor to create a separate class just for learning AI. Instead, the AI must be woven into the existing fabric of scientific education. Researchers need dedicated instruction on how these systems work, their limitations, and how to handle data safely. But more importantly, they need to practice using these tools in real-world scenarios where they are held accountable for the results. The assessment of a scientist's skill should change, too. A correct plot or a successful computer run is no longer enough proof of competence. True competence will be measured by the scientist's ability to explain the choices made, to validate the work independently, and to maintain the software for the long term. By shifting the focus to stewardship, the scientific community can embrace the power of artificial intelligence without losing the human judgment and responsibility that make science reliable.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.