ChatGPT, run my particle accelerator!
A first step towards a future in which complex scientific systems can be optimised simply by voice input
Do you sometimes find yourself thinking, ‘I wonder what ChatGPT has to say about this’? It has become common practice to consult artificial intelligence (AI) on a wide range of topics and problems. Scientists at DESY and the University of Hamburg have now asked this question with regard to operating an accelerator and have discovered that ChatGPT can help them to run these machines. They recently published their findings in the journal Science Advances.
Machine learning is often used in physics to automate certain routines and tasks. In accelerator physics, an extremely attractive field of application is tuning particle accelerators in real time to ensure that the best performance at all times. A research group led by DESY scientist Jan Kaiser has now demonstrated how this can be done using a special type of machine learning – with the help of ‘large language models’ (LLMs). These AI programmes, which are also behind popular chatbots such as ChatGPT, are trained on huge amounts of data (hence the ‘large’ in the name) and are able to recognise, interpret and generate human language.
The team experimented with 14 different LLMs and used them to control ARES, an experimental electron accelerator at DESY. Their task was to adjust five magnets in such a way that the electron beam from ARES was focused and steered in the best possible way. Instead of ‘coding’ the requirements, however, the scientists described the problem to the LLMs using natural language prompts. The LLMs then suggested how to set the five tuning parameters with the utmost precision, explaining what each value would achieve.
“We were totally surprised at how well some of the LLMs were able to solve the problem,” says Kaiser. “What’s even more fascinating, though, is that they don’t even need to know that they are operating a particle accelerator. So in theory, LLMs can solve any type of optimisation problem, which means that our approach is relevant far beyond the field of accelerator physics.”
Of course, the researchers also encountered certain obstacles during their proof-of-concept investigations. “Just like with human operators, you have to ask the right LLM the right question to get a good solution,” says Annika Eichler (DESY and Hamburg University of Technology), whose research group is responsible for the intelligent control of accelerator systems using AI. The computational power and thus the environmental impact of solving such problem is currently substantial. Furthermore, the systems are still lagging behind other specialised methods. For the time being, LLMs would probably be better serving as advisory ‘co-pilots’ in accelerator control rooms.
“Nevertheless, our work is an important first step towards a future in which complex and highly relevant scientific facilities can be operated simply by asking for the desired result using natural language,” says Eichler.
Original publication
Original publication
Jan Kaiser, Anne Lauscher, Annika Eichler; "Large language models for human-machine collaborative particle accelerator tuning through natural language"; Science Advances, Volume 11
Topics
Organizations
Other news from the department science
![Newsletter](https://img.chemie.de/assets/ceurope/images/newsletter.png)
Get the chemical industry in your inbox
By submitting this form you agree that LUMITOS AG will send you the newsletter(s) selected above by email. Your data will not be passed on to third parties. Your data will be stored and processed in accordance with our data protection regulations. LUMITOS may contact you by email for the purpose of advertising or market and opinion surveys. You can revoke your consent at any time without giving reasons to LUMITOS AG, Ernst-Augustin-Str. 2, 12489 Berlin, Germany or by e-mail at revoke@lumitos.com with effect for the future. In addition, each email contains a link to unsubscribe from the corresponding newsletter.