AI Learns Physics to Optimize Particle Accelerator Performance
August 9, 2021 | Stanford UniversityEstimated reading time: 3 minutes
Machine learning, a form of artificial intelligence, vastly speeds up computational tasks and enables new technology in areas as broad as speech and image recognition, self-driving cars, stock market trading and medical diagnosis.
Before going to work on a given task, machine learning algorithms typically need to be trained on pre-existing data so they can learn to make fast and accurate predictions about future scenarios on their own. But what if the job is a completely new one, with no data available for training?
Now, researchers at the Department of Energy’s SLAC National Accelerator Laboratory have demonstrated that they can use machine learning to optimize the performance of particle accelerators by teaching the algorithms the basic physics principles behind accelerator operations – no prior data needed.
“Injecting physics into machine learning is a really hot topic in many research areas – in materials science, environmental science, battery research, particle physics and more,” said Adi Hanuka, a former SLAC research associate who led a study published in Physical Review Accelerator and Beams. This is one of the first examples of using physics-informed machine learning in the accelerator physics community.
Educating AI with physics
Accelerators are powerful machines that energize beams of electrons or other particles for use in a wide range of applications, including fundamental physics experiments, molecular imaging and radiation therapy for cancer. To obtain the best beam for a given application, operators need to tune the accelerator for peak performance.
When it comes to large particle accelerators this can be very challenging because there are so many components that need to be adjusted. What further complicates things is that not all components are independent, meaning that if you adjust one, it can affect the settings for another.
Recent studies at SLAC have shown that machine learning can greatly support human operators by speeding up the optimization process and finding useful accelerator settings that nobody has thought of before. Machine learning can also help diagnose the quality of particle beams without interfering with them, as other techniques usually do.
For these procedures to work, researchers first had to train the machine learning algorithms with data from previous accelerator operations, computer simulations that make assumptions about the accelerator’s performance, or both. However, they also found that using information from physics models combined with available experimental data could dramatically decrease the amount of new data required.
The new study demonstrates that prior data are, in fact, not needed if you know enough about the physics that describes how an accelerator works.
The team used this approach to tune SLAC’s SPEAR3 accelerator, which powers the lab’s Stanford Synchrotron Radiation Lightsource (SSRL). By using information obtained directly from physics-based models, they got results that were just as good, if not better, as those achieved by training the algorithm with actual archival data, the researchers said.
“Our results are the latest highlight of a progressive push at SLAC to develop machine learning tools for tuning accelerators,” said SLAC staff scientist Joe Duris, the study’s principal investigator.
Predicting the unknown
That’s not to say that pre-existing data are not helpful. They still come in handy even if you have your physics down. In the SPEAR3 case, the researchers were able to further improve the physics-informed machine learning model by pairing it with actual data from the accelerator. The team is also applying the method to improve tuning of SLAC’s Linac Coherent Light Source (LCLS) X-ray laser, one of the most powerful X-ray sources on the planet, for which archival data are available from previous experimental runs.
The full potential of the new method will probably become apparent when SLAC crews turn on LCLS-II next year. This superconducting upgrade to LCLS has a brand-new accelerator, and its best settings need to be determined from scratch. Its operators may find it convenient to have AI by their side that has already learned some basics of accelerator physics.
Funding came from a DOE Laboratory Directed Research and Development (LDRD) program at SLAC and DOE’s Office of Science (SC). LDRD and SC funded separate projects that both contributed to these results. Additional research contributions came from the University of Cambridge, UK. SSRL and LCLS are Office of Science user facilities.
Testimonial
"Advertising in PCB007 Magazine has been a great way to showcase our bare board testers to the right audience. The I-Connect007 team makes the process smooth and professional. We’re proud to be featured in such a trusted publication."
Klaus Koziol - atgSuggested Items
Driving Innovation: Mastering Panel Warpage
09/23/2025 | Simon Khesin -- Column: Driving InnovationDuring the complex and multi-step process of PCB fabrication, a panel's flatness is constantly at risk. A host of factors can introduce warpage, bending, and unevenness, presenting a fundamental challenge to achieving high-precision results. This deformation (sometimes referred to as “bow and twist”), even on a microscopic scale, can lead to critical defects during subsequent stages, such as component surface mounting (e.g., tombstoning, solder opens) and the PCB's long-term functional reliability.
Secure Semiconductor Manufacturing Acquires Full SMT Line from Manncorp
09/11/2025 | ManncorpSecure Semiconductor Manufacturing, LLC (SSM), an American-owned company dedicated to producing secure printed wiring boards and advanced assembly solutions in the MidWest USA, today announced the acquisition of a complete surface mount technology (SMT) line from Manncorp.
Driving Innovation: Depth Routing Processes—Achieving Unparalleled Precision in Complex PCBs
09/08/2025 | Kurt Palmer -- Column: Driving InnovationIn PCB manufacturing, the demand for increasingly complex and miniaturized designs continually pushes the boundaries of traditional fabrication methods, including depth routing. Success in these applications demands not only on robust machinery but also sophisticated control functions. PCB manufacturers rely on advanced machine features and process methodologies to meet their precise depth routing goals. Here, I’ll explore some crucial functions that empower manufacturers to master complex depth routing challenges.
MS2 Technologies, LLC/P. Kay Focuses on Central America with First Installation in Honduras
08/24/2025 | P. Kay Metal, Inc.This year MS2 Technologies has turned their focused to the growing electronics market in Central America. With that focus came the adaptation of MS2 and the Akila System from a Honduras-based corporation with manufacturing plants in both Honduras and Mexico.
SEL: Revolutionizing PCB Production Through MES, Partnerships, and Vision
08/21/2025 | Barry Matties, I-Connect007Two years ago, we visited Schweitzer Engineering Laboratories (SEL) to better understand its new captive greenfield PCB facility. We recently returned, this time to discuss how this bold vision has transformed the industry. Barry Matties met with John Hendrickson, engineering director, and Jessi Hall, vice president of vertical integration, to discuss the transformative capabilities of Factory Core, SEL’s custom manufacturing execution system (MES), which allows for real-time monitoring of workflow and machine performance, and has led to impressive improvements in quality and cost efficiency.