Gaming the beamlines—employing reinforcement learning to maximize scientific outcomes at large-scale user facilities
Author(s) -
Phillip M. Maffettone,
Joshua Lynch,
Thomas A Caswell,
Clara E Cook,
Stuart I. Campbell,
Daniel Olds
Publication year - 2021
Publication title -
machine learning science and technology
Language(s) - English
Resource type - Journals
ISSN - 2632-2153
DOI - 10.1088/2632-2153/abc9fc
Subject(s) - reinforcement learning , beamline , computer science , suite , throughput , interface (matter) , software suite , domain (mathematical analysis) , data acquisition , software , machine learning , operating system , beam (structure) , engineering , mathematical analysis , civil engineering , mathematics , archaeology , bubble , maximum bubble pressure method , wireless , history
Beamline experiments at central facilities are increasingly demanding of remote, high-throughput, and adaptive operation conditions. To accommodate such needs, new approaches must be developed that enable on-the-fly decision making for data intensive challenges. Reinforcement learning (RL) is a domain of AI that holds the potential to enable autonomous operations in a feedback loop between beamline experiments and trained agents. Here, we outline the advanced data acquisition and control software of the Bluesky suite, and demonstrate its functionality with a canonical RL problem: cartpole. We then extend these methods to efficient use of beamline resources by using RL to develop an optimal measurement strategy for samples with different scattering characteristics. The RL agents converge on the empirically optimal policy when under-constrained with time. When resource limited, the agents outperform a naive or sequential measurement strategy, often by a factor of 100%. We interface these methods directly with the data storage and provenance technologies at the National Synchrotron Light Source II, thus demonstrating the potential for RL to increase the scientific output of beamlines, and layout the framework for how to achieve this impact.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom