원시데이터 수집 시스템
선정목록으로

Multi-objective and multi-fidelity Bayesian optimization of laser-plasma acceleration

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. F. Irshad — Ludwig-Maximilian-Universität München, Am Coulombwall 1, 85748 Garching, Germany
  2. S. Karsch — Ludwig-Maximilian-Universität München, Am Coulombwall 1, 85748 Garching, Germany|||Max Planck Institut für Quantenoptik, Hans-Kopfermann-Strasse 1, 85748 Garching, Germany
  3. A. Döpp — Ludwig-Maximilian-Universität München, Am Coulombwall 1, 85748 Garching, Germany|||Max Planck Institut für Quantenoptik, Hans-Kopfermann-Strasse 1, 85748 Garching, Germany
DOI
10.1103/physrevresearch.5.013063
저널
Physical Review Research
발행년도
2023
발행기관
American Physical Society
피인용수
36
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1103/physrevresearch.5.013063
토픽
Laser Material Processing Techniques
OpenAlex ID
W4318703531

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Beam parameter optimization in accelerators involves multiple, sometimes competing, objectives. Condensing these individual objectives into a single figure of merit unavoidably results in a bias towards particular outcomes, often in an undesired way in the absence of prior knowledge. Finding an optimal objective definition then requires operators to iterate over many possible objective weights and definitions, a process that can take many times longer than the optimization itself. A more versatile approach is multi-objective optimization, which establishes the trade-off curve or Pareto front between objectives. Here we present the first results on multi-objective Bayesian optimization of a simulated laser-plasma accelerator. We find that multi-objective optimization reaches comparable performance to its single-objective counterparts while allowing for instant evaluation of entirely new objectives. This dramatically reduces the time required to find appropriate objective definitions for new problems. Additionally, our multi-objective, multi-fidelity method reduces the time required for an optimization run by an order of magnitude. It does so by dynamically choosing simulation resolution and box size, requiring fewer slow and expensive simulations as it learns about the Pareto-optimal solutions from fast low-resolution runs. The techniques demonstrated in this paper can easily be translated into many different computational and experimental use cases beyond accelerator optimization.

본문 37,660자

본문 펼치기
Beam parameter optimization in accelerators involves multiple, sometimes competing objectives. Condensing these individual objectives into a single figure of merit unavoidably results in a bias towards particular outcomes, in absence of prior knowledge often in a non-desired way. Finding an optimal objective definition then requires operators to iterate over many possible objective weights and definitions, a process that can take many times longer than the optimization itself. A more versatile approach is multi-objective optimization, which establishes the trade-off curve or Pareto front between objectives. Here we present the first results on multi-objective Bayesian optimization of a simulated laser-plasma accelerator. We find that multi-objective optimization reaches comparable performance to its single-objective counterparts while allowing for instant evaluation of entirely new objectives. This dramatically reduces the time required to find appropriate objective definitions for new problems. Additionally, our multi-objective, multi-fidelity method reduces the time required for an optimization run by an order of magnitude. It does so by dynamically choosing simulation resolution and box size, requiring fewer slow and expensive simulations as it learns about the Pareto-optimal solutions from fast low-resolution runs. The techniques demonstrated in this paper can easily be translated into many different computational and experimental use cases beyond accelerator optimization. Beam parameter optimization in accelerators involves multiple, sometimes competing objectives. Condensing these individual objectives into a single figure of merit unavoidably results in a bias towards particular outcomes, in absence of prior knowledge often in a non-desired way. Finding an optimal objective definition then requires operators to iterate over many possible objective weights and definitions, a process that can take many times longer than the optimization itself. A more versatile approach is multi-objective optimization, which establishes the trade-off curve or Pareto front between objectives. Here we present the first results on multi-objective Bayesian optimization of a simulated laser-plasma accelerator. We find that multi-objective optimization reaches comparable performance to its single-objective counterparts while allowing for instant evaluation of entirely new objectives. This dramatically reduces the time required to find appropriate objective definitions for new problems. Additionally, our multi-objective, multi-fidelity method reduces the time required for an optimization run by an order of magnitude. It does so by dynamically choosing simulation resolution and box size, requiring fewer slow and expensive simulations as it learns about the Pareto-optimal solutions from fast low-resolution runs. The techniques demonstrated in this paper can easily be translated into many different computational and experimental use cases beyond accelerator optimization. I. INTRODUCTION Laser-plasma interaction [1,2] and in particular its sub-field of laser-plasma acceleration [3,4] are highly researched areas with prospects for numerous scientific and societal applications [5,6]. Until the past decade, both experimental and numerical investigations in these fields were often based on single or a few laser shots and particle-in-cell simulations [7], respectively. Since then, improvements in laser technology as well as computing hard-and software have made it possible to gather data for hundreds or thousands of different configurations in both experiments and simulations [8][9][10]. This has sparked interest in using advanced techniques from computer science, particularly machine learning methods, which can deal more efficiently with large multidimensional data sets than human operators [11]. I. INTRODUCTION Early examples include the use of genetic algorithms [12,13] and, more recently, the first measurements using surrogate models have been presented [14,15]. The latter are intermediate models that are generated based on existing data during optimization and that can be quickly explored numerically. Studies involving this Bayesian optimization have demonstrated clear optimization of a carefully chosen optimization goal. Importantly, this goal has to be encoded in form of a so-called objective function, which acts on the measurement and gives a scalar output. In the case of a particle accelerator, the beam can generally be described by the charge distribution ρ( x, p) in the six-dimensional phase space, and an objective function that optimizes beam parameters will act on this distribution or a subset of it. One of the simplest examples of an objective function is the charge objective function g Q (ρ( x, p)) = ρ( x, p)d xd p. I. INTRODUCTION While this function can in principle be used as an objective function in a particle accelerator, it will usually not yield a useful optimization result. This is because it optimizes solely the charge and all other beam parameters such as divergence and energy are lost in the integration process. In fact, due to energy conservation, this optimizer tends to reduce the beam energy, which is an unintended consequence in almost all conceivable applications of particle accelerators. I. INTRODUCTION In practice, one usually uses a combination of objectives, e.g. reaching a certain charge above a certain energy or the total beam energy. The design of objective functions for these problems is even more difficult because they need to give some constraints or limits to the single objectives. Many multi-objective scalarizations take the form of a weighted product g = g αi i or sum g = α i g i of the individual objectives g i with the hyperparameter α i describing its weight. For instance, Jalas et al. [15] optimized the spectrum of a laser-accelerated beam using an objective function that combines the beam charge Q, the median energyẼ and the median absolute deviation ∆Ẽ. Their proposed objective function to be maximized is √ QẼ/∆Ẽ, i.e. the exponential weights are α 1 = 0.5, α 2 = 1 and α 3 = −1. Here, the use of medianbased metrics will result in less sensitivity to outliers in the spectrum, while the weight parameter α 1 = 0.5 explicitly reduces the relevance of charge compared to beam energy and spread. The choice of particular weights is, however, entirely empirical and usually the result of trial and error. An objective function is thus not necessarily aligned with the actual optimization goal, and one often needs to manually adjust the parameters of the objective function over multiple optimization runs. In essence, instead of scanning the input parameters of an experiment or simulation, the human operator will be scanning hyperparame-arXiv:2210.03484v2 [physics.acc-ph] 23 Dec 2022 ters of the objective function many times over. The less prior knowledge about the system is known, the longer this process may take. I. INTRODUCTION The underlying problem is essentially one of compression, i.e. that the objective function needs to reduce a complex distribution function to a single number characterizing said distribution. It is impossible to do this without information loss for an unknown distribution function. In fact, even if we knew the distribution, e.g. a normal distribution, one would still need both mean and variance to describe it without ambiguities. In the case of an unknown one-dimensional distribution function, we can use multiple statistical descriptions to capture essential features of the distribution such as the central tendency (weighted arithmetic or truncated mean, the median, mode, percentiles, etc.) and the statistical dispersion of the distribution (full width at half maximum, median absolute deviation, standard deviation, maximum deviation, etc.). These measures weigh different features in the distribution differently. One may also include higher-order features such as the skewness, which occurs for instance as a sign of beam loading in energy spectra of laser-plasma accelerators [8], or coupling terms between the different parameters. Last, the amplitude or integral of the distribution function are often parameters of interest [16]. I. INTRODUCTION In the following, we will discuss optimizations of electron energy spectra according to different objective definitions and then present a more general multi-objective optimization. I. INTRODUCTION The paper is structured as follows: First, we are going to discuss details of the simulated laser-plasma accelerator used for our numerical experiments (Section II) and introduce Bayesian optimization (Section III). Then we present results from optimization runs using different definitions of scalarized objectives that aim for beams with high charge and low energy spread at a certain target energy (Section IV). We then compare these results with an optimization using effective hypervolume optimization of all objectives (Section V). In Section VI we discuss some of the physics that the optimizer 'discovers' during optimization and in the last section, we summarize our results and outline perspectives for future research (Section VII). I. INTRODUCTION II. LASER-PLASMA ACCELERATOR As a test system for optimization, we use an example from the realm of plasma-based acceleration, i.e. a laser wakefield accelerator with electron injection in a sharp density downramp [8,17]. The basic scenario here is that electrons get trapped in a laser-driven plasma wave due to a local reduction in the plasma density, which is often realized experimentally as a transition from one side to the other of a hydrodynamic shock, hence the oftenused name "shock injection". The number of electrons injected at this density transition strongly depends on the laser parameters at the moment of injection, but also°1 Table I, namely the upramp length lup, the downramp length l down , the plateau density ne and the focus position z0. I. INTRODUCTION on the plasma density itself. Both parameters also affect the final energy spectrum the electrons exhibit at the end of the acceleration process. Here we will use simulations to investigate this system, the primary reason being that they are perfectly reproducible and do not require additional handling of jitter, drifts, and noise. However, the methods outlined in this paper are equally relevant to experiments. The input space consists of four variable parameters, namely the plateau plasma density, the position of laser focus, as well as the lengths of the up-and downramps of the plasma density close to the density transition. I. INTRODUCTION While the shock injection scenario is sufficiently complex to require particle-in-cell codes, we use the code FBPIC by Lehe et al. [18] in conjunction with various optimizations to achieve an hour-scale run-time. On the hardware side, the code is optimized to run on NVIDIA GPUs (here we used Tesla V100 or RTX3090), while the physical model includes optimizations such as the usage of a cylindrical geometry with Fourier decomposition in the angular direction and boosted-frame moving windows [19]. Additionally, we can take advantage of the very localized injection to locally increase the macro-particles density in the injection area [8]. Similarly, the linear wakefields forming in regions of lower laser intensity result in a nearly laminar flow of particles, meaning that we can decrease the macro-particle density far away from the laser axis [20]. I. INTRODUCTION One particular challenge that arises in simulations over a large range of parameters is that different input parameters may result in different computational requirements. For instance, the transverse box size needs to be several times larger than the beam waist to assure that the energy of a focusing beam is not lost. Hence, a laser that is initialized out of focus requires a larger box size than a beam initialized in focus. We address this by scaling the transverse box size l r as a function of the laser waist w(z) at the beginning of the simulation. Similarly, the size of the wakefield depends on the plasma density, and accordingly, we scale the longitudinal size l z of the box with the estimated wakefield size. By using these adapted simu- Simulation mesh parameters lz,max 3.5 mm Transverse resolution ∆r 600 nm/χ Longitudinal resolution ∆z 60 nm/χ Boost factor γ boost lz,max/lz/χ TABLE I. Simulation and scan parameters. The top section shows the four simulation parameters and their ranges that are used in the optimization problem. Furthermore, a fidelity parameter χ is introduced that allows the optimizer to choose between low and high numerical resolution (see the section on mesh parameters). Based on the scan parameters and the fixed problem parameters, we calculate several dependent variables that help us to estimate the correct box size for the simulations. Simulation mesh parameters lation boxes, we avoid wasting computational resources and only capture the physics relevant to our problem. It should be noted that the scan range of these highly optimized simulations is to some extent limited by the appearance of numerical instabilities or artifacts and, for instance, the boosted-frame geometry cannot be used in a near-critical setting. A summary of all free and dependent parameters of the simulations is given in Table I and illustrated in Fig. 1. III. BAYESIAN OPTIMIZATION In this paper, we make use of Bayesian optimization, a sequential model-based algorithm, to optimize problems that are either costly or time-intensive to probe. Bayesian optimization works by constructing a probabilistic surrogate model of an objective function by sampling the parameter space, see Döpp et al. [11] for an overview. In this paper, we use a Gaussian process (GP) as the probabilistic model, which is a non-parametric model based on a prior (in this case a zero-mean distribution) and a covariance function that expresses the correlation between the prior and the current data points. This surrogate model is cheap and fast to evaluate, and Bayesian optimization finds the next evaluation point by optimizing the model instead of the real system. To this end, a so-called acquisition function, which quantifies the expected improvement from a certain set of input parameters, is used. After a measurement at this point, the model is updated, and the procedure is repeated until a certain stopping criterion is fulfilled. III. BAYESIAN OPTIMIZATION The main advantage of Bayesian optimization compared to other methods is that it can find the global optimum of a function in a very sample-efficient way. Furthermore, the acquisition function and the model can be adapted to not only optimize a single objective but multiple combinations of objectives. This adaptation is done in multi-objective optimization (see Section V), where Bayesian optimization can implicitly optimize multiple combinations of objectives by optimizing the expected hypervolume improvement [21,22]. III. BAYESIAN OPTIMIZATION Despite its high sample efficiency, optimizing a multidimensional problem still requires a non-negligible number of evaluations. For our laser-plasma accelerator with four variable inputs we typically need to perform on the order of ∼ 10 2 evaluations to locate the optimum. Given the hour-scale runtime of our simulations discussed in Section II, a full optimization run would that take several days to compute. III. BAYESIAN OPTIMIZATION We can speed up the optimization process and allow for multi-dimensional optimization by using low-resolution simulations that use a larger numerical grid, see Table I, and a larger boost factor. They capture the essential physics of injection and acceleration but have not yet fully converged in terms of final charge, energy, and so forth. These approximate solutions take only a few GPU minutes to compute while providing valuable information for optimization. Importantly, we can directly incorporate the possibility of varying the resolution and hence, fidelity of a simulation into the optimization process by introducing a new fidelity variable χ (see Table I). In a process called multi-fidelity optimization, we construct a Gaussian process that models the objective function over the four input dimensions (n e , l up , l down , z 0 ) as well as the fidelity parameter χ. The decision regarding the next position to probe is taken by a recently introduced multiobjective, multi-fidelity (MOMF) Bayesian optimization algorithm [23], which is based on the common optimization of the different objectives and an additional trust objective. Regarding the latter, the algorithm also considers the computational cost associated with the fidelity parameter. From a convergence study of PIC simulations, we found that the computing time of our simulations approximately scales with cost(χ) ∝ χ 3.5 . The speed-up gained by taking this cost and fidelity information into account is on average an order of magnitude in this study and a full multi-fidelity optimization run typically takes about 10 hours. III. BAYESIAN OPTIMIZATION While designed for multiple objectives, the MOMF acquisition function also supports the optimization of a single objective with multiple fidelities [23]. All results presented in the following, both single-and multi-objective, are thus obtained using the same algorithm for a fair comparison. The optimization parameters are outlined in Table II and importantly, both objective types have the same constraints regarding maximum iteration number and computational budget, as well, and they were executed 5 times with 5 random initial points each to assess the typical performance. IV. SINGLE-OBJECTIVE OPTIMIZATION The goal of the optimization presented here is to produce quasi-monoenergetic electron beams with a high to- tal charge around a certain target energy E 0 . In statistical terms, these goals can be captured by the difference of the central tendency from the target energy, statistical dispersion, and the integral of the electron beam spectrum. But as mentioned in the introduction, these three features can be described by multiple statistical measures such as the standard deviation, median absolute deviation, mean energy, median energy, and total charge [24]. In practice there thus exists large freedom how exactly these objectives are encoded into a single scalarized objective. Each objective function has a bias toward a particular outcome and thus, the final optimization result may differ significantly. In the following, we present several different objective functions that intend to reach the same goal, i.e. simultaneously maximize charge, reduce spectral width and reduce the distance to the target energy. IV. SINGLE-OBJECTIVE OPTIMIZATION Examples. In terms of the mean energy and standard deviation we can define the objective IV. SINGLE-OBJECTIVE OPTIMIZATION where Q is the total charge, ∆Ē 2 = |Ē − E 0 | 2 + is the squared difference between the mean energyĒ of the spectrum and the target energy and σ E is the standard deviation. Note that in the definition of ∆Ē 2 is an offset to prevent the objective from approaching infinity as the distance to the target energy is decreased. Throughout the manuscript we use = 1 MeV, as beams within a distance of 1 MeV to the target energy are considered sufficiently optimized. It is a characteristic of the mean that it tends to emphasize points further away from the target. In presence of noise, it is thus often suitable to use median-based descriptors, instead. Such an objective could be IV. SINGLE-OBJECTIVE OPTIMIZATION Objective definitions where Q is the total charge,Ẽ is the median energy of the spectrum, E 0 is the target energy, |∆Ẽ| = |Ẽ −E 0 |+ is their absolute distance (plus offset) and E M AD is the median absolute deviation around the median. Note the use of the square root to decrease the emphasis placed on the total charge. This is essentially the aforementioned objective used by Jalas et al. [15], with the difference that we use a target energy instead of an energy maximization. IV. SINGLE-OBJECTIVE OPTIMIZATION The choice of Q 1/2 is, however, entirely empirical and we can equally well define alternative versions of such an objective function with different exponential weights of charge. For instance, we can use the two objectives IV. SINGLE-OBJECTIVE OPTIMIZATION and IV. SINGLE-OBJECTIVE OPTIMIZATION which should incentivise the optimizer to find beams with higher total charge. We already alluded to the general problem that objectives using division can get arbitrarily large when decreasing the value of the denominator. Instead of circumventing this problem with offsets, it can be preferable to rewrite the objective entirely without using division. One possible way to do so in our case is to implicitly optimize the target energy and energy spread by optimizing the charge within a certain energy window. This can be written in the form IV. SINGLE-OBJECTIVE OPTIMIZATION where Q in = E0+∆E/2 E0−∆E/2 Q(E)dE is the charge within a given energy interval ∆E around the target energy. A summary of these single objectives and definitions of metrics used to define them is outlined in Table III. IV. SINGLE-OBJECTIVE OPTIMIZATION Results and discussion. Having defined several "sensible" objectives, we now present results using them to optimize the simulated laser wakefield accelerator. In Fig. 2, we show the final spectrum of the three scalarized objectives O 1 , O 2 and O 3 . Since we use mean energy for the first objective the spectrum outliers can influence the mean much more than the second objective using median energy. This explains why the first spectrum tends to not have any high or low-energy tail. The second spectrum using median energy and median absolute deviation allows having a high energy tail while keeping the median close to 300 MeV. Since this spectrum has a longer tail the mean of this spectrum is higher than 300 MeV. The third objective in Fig. 2 has a much higher peak charge because it has a higher implicit weighting on charge. The beam here has an even shorter tail since it explicitly penalizes charge outside of the 250 − 350 MeV window. Overall, we can see that the different scalarization of the statistical measures can result in different spectra. Also, implicitly optimizing for beams near a target energy, as is done in the case of the third objective, appears to yield better results than explicitly optimizing for it. IV. SINGLE-OBJECTIVE OPTIMIZATION One prominent feature in these spectra is that the energy exhibiting the highest spectral charge density of FIG. 2. Single-objective spectra. (a) Final spectra obtained using three different objectives (O1, O2 and O3 from the text) to optimize beam charge, beam distance from target energy (300 MeV) and energy spread. Median energỹ E of each spectrum is indicated using triangular markers, while mean energyĒ is marked with circles. (b) Example for changes in objective weight. Here we use variations of the O2 objective with charge squared (O2,a) or charge to the power of three (O 2,b ), leading to higher overall charge in the beam and -without explicit optimization -more peaked spectra. FIG. 2. electrons, subsequently referred to as peak energy E peak , is much further from the target energy than the mean or median energies. This is because highly-charged electron beams create beam loading effects in laser wakefield accelerators, resulting in skewed spectra [8]. For such asymmetric spectra, the peak does not coincide with the distribution's mean or median and an explicit optimization of the peak energy becomes necessary, which we discuss in more detail in the next section. FIG. 2. In a next step we compare the different versions of the second objective (O 2 , O 2,a and O 2,b ) with Q 1/2 ,Q 2 and Q 3 weighting, respectively. As expected, the higher weight increases the total charge in the optimized beam spectrum. However, while this particular combination of hyperparameters appears to yield objectively better beams than the O 2 and O 2a variations, it is not possible to know this beforehand, adding the hyperparameter choice as an additional degree of freedom to the optimization problem. For any new problem an operator or user thus needs to run several optimization run to identify the most suitable definitions and combinations of objectives. V. MULTI-OBJECTIVE OPTIMIZATION As we have seen in the previous section, a major problem with the single-objective optimizations of complex systems is that the optimal weights for the hyperparameters in single-objective optimization are not known a priori. Thus, to get a higher value for one particular objective, the weights need to be changed via trial and error. Furthermore, multi-objective optimization problems often exhibit some trade-offs in the optimization of different objectives. As a result, changing one objective's weight will also affect the other objectives, in either a detrimental or beneficial way. A single-objective optimization will always be biased towards a particular trade-off. But it is difficult or impossible to assess this bias beforehand, and the optimization will often not yield the optimal trade-off of parameters a user or operator intended. V. MULTI-OBJECTIVE OPTIMIZATION A more versatile strategy is to directly explore the trade-off between different objectives and choose the optimal combination of objectives a posteriori. This tradeoff optimization results in a solution set that in the output space is known as the Pareto front and in the input space as the Pareto set. A point is said to dominate another when it has at a minimum higher value for one objective keeping others equal. Thus, the Pareto front is the set of non-dominated points in any given output space. The area covered by the dominated space is known as the hypervolume and it is an indirect measure for the diversity of solutions. In Bayesian optimization the expected hypervolume improvement can therefore be used to optimize different objectives simultaneously. In our case we choose the mean energy difference ∆Ē = |Ē − E 0 |, the standard deviation σ E and total charge in the beam Q as individual objectives spanning the output space. V. MULTI-OBJECTIVE OPTIMIZATION Results and discussion. In Fig. 3 we show the results for one representative run of the multi-objective Bayesian optimization. By probing the Gaussian process model, we obtain an entire set of solutions that can be visualized as a Pareto surface, consisting of all the non-dominated points in the three-dimensional output space. Projections showing the Pareto fronts for the three pairs of objectives are shown in Fig. 3b-d. We also indicate the beam parameters of the different optimizations presented in the previous section as blue triangles. The results show that the multi-objective optimization yields comparable performance to the combinations of objectives discussed in Section IV. V. MULTI-OBJECTIVE OPTIMIZATION This figure also shows some trade-offs, inherent to many multi-objective problems, some of which have an underlying physics interpretation. One prominent feature can be seen in Fig. 3b, where an increase in the distance to target energy is seen when the total charge exceeds 500 pC. This distance is mainly due to a decrease in energy caused by beam loading [8]: As the charge increases the electron bunch dampens the strength of the wakefields, which consequently leads to lower mean energy and thus, an increase in the distance to the tar- get energy. Another trade-off in Fig. 3c is between high charge and mono-energetic beams, where increasing charge results in a wider spectrum of the electron beams. This indicates that the input parameters that yield a beam with a higher total charge are different from the ones that produce quasi-mono-energetic beams, an effect seen throughout the literature, e.g. in Götzfried et al. [8]. V. MULTI-OBJECTIVE OPTIMIZATION Another notable result, albeit not directly visible from the plots, is the absence of any high-energy beams with low charge. This is because high-energy beams are implicitly excluded by the three objectives. As the energy increases, the distance to the target energy increased and the charge injected for these high-energy beams is less than those for lower-energy beams. Hence, most beams are restricted to energies near or lower than the target energy. V. MULTI-OBJECTIVE OPTIMIZATION The effect of exploring inherent trade-offs makes multiobjective Bayesian optimization a very useful optimization technique. Two important benefits are (a) that one can characterize the capability of the system (laserplasma accelerator) regarding each objective and (b) that it yields a solution set without strong bias towards particular objective combinations. The expression of the objective in terms of the hypervolume also avoids the problem seen in single-objective optimization, where offset values needed to be included for objectives in the denominator. This is because the hypervolume does not increase drastically if only a single objective is concerned and hence, multi-objective optimization does not excessively exploit single objectives. V. MULTI-OBJECTIVE OPTIMIZATION As mentioned earlier, another important feature of this optimization strategy is that the Gaussian process model is cheap to probe and provides immediate feedback regarding the predicted means and variances of each individual objective (here Q, σ E and ∆Ē) for a combination of input parameters x (i.e. n e , l down , l up and z 0 ). These can easily be combined into any desired objective O(x). We can propagate the variances through the new objective to get an estimate of the uncertainty [25] and a conservative solution candidatex can be found using the lower confidence bound V. MULTI-OBJECTIVE OPTIMIZATION In Fig. 4a we show such inferred solutions for the previously defined objectives O 1 and O 2 , see Eq. (1) and Eq. (2), respectively. Due to the higher charge in these beams, the value of O 1 is approximately 40% higher than in the single-objective optimization result (see Fig. 2a). The results for O 2 are comparable to those shown before, with the multi-objective result reaching 90% of the corresponding single-objective result. The objective value is nonetheless diminished, most likely because the optimizer is not strictly optimizing the median energy but the mean energy. V. MULTI-OBJECTIVE OPTIMIZATION It is notable that the spectral peaks in these candidate solutions are located at 230 MeV and 272 MeV, respectively, and thus, far from the "target" energy E 0 = 300 MeV. As discussed before, this happens because the mean or median of these highly skewed spectral distributions does not coincide with peak energy E peak . We can address this problem without needing to run a new optimization. Instead, we take the existing multi-objective scan and construct a Gaussian process that predicts the peak energy for a given input x. Next, we can select suitable candidates usinĝ V. MULTI-OBJECTIVE OPTIMIZATION As this is a minimization problem, we now use the lower confidence bound to exploit the existing solutions while taking into account uncertainty. Suitable results are either found immediately, or after 1−2 iterations for which the results of a candidate solution are used to improve the Gaussian process regression. The results of this process are shown in Fig. 4b, showing that the multi-objective results can even translate to objectives that differ substantially from the three objectives directing the hypervolume search. The results thus show that multi-objective Bayesian optimization greatly facilitates the process of finding both optimal parameter settings and optimal objective configurations. The latter can be evaluated a posteriori at negligible cost and feed subsequent iterations of single-objective optimizers focused on objective exploitation. It should be emphasized that this process is most suitable in the optimization of unknown systems, e.g. newly set up experiments or simulations. For wellknown systems the optimization of a well-working objective function, e.g. Eq. (5) with an appropriately chosen energy window, can produce competitive results. VI. INPUT SPACE ANALYSIS So far, our discussion has been limited to the performance regarding single or multiple objectives. Another advantage of Bayesian optimization is that the model created during optimization can itself be analyzed and provide insights about the underlying physics and parameter dependencies of the system. In this section, we will thus look how specifically the choice of input parameters affects each of the different objectives. To do so, we use the data from our multi-objective optimization runs and train a GP model. We can sample points from this model to generate plots that map the influence of the input parameters on the individual objectives, either in a pairwise comparison or individually. The results are shown in Fig. 5. The data is binned by taking pair-wise input parameters while averaging over the other two. This results in a total of six two-dimensional plots for the four input parameters, which are color-coded by the values of the output objective. We can also see the influence of a single parameter by repeating the same procedure as above by averaging over the three input parameters. This is repeated three times to generate plots for each output objective. Based on these plots we can observe trends for each input parameter, which in some cases have straightforward physical interpretations. VI. INPUT SPACE ANALYSIS Density (n e ): We observe that the charge initially increases with density, but then somewhat surprisingly starts to decrease again. Closer analysis of the underlying PIC simulations showed that injection indeed increases monotonically within our density range, but at higher density parts of the injected electrons are lost at the end of the accelerator due to dephasing and defocusing fields. We observe that the optimal energy is reached at the same density as the optimal charge, which indicates an optimal charge for beam loading to reach the desired target energy of 300 MeV. The energy spread tends to increase with the density and shows an interesting correlation with the focal plane. VI. INPUT SPACE ANALYSIS Upramp length (l up ): We observe that the injected charge increases linearly with the upramp length. This effect is most likely related to laser self-focusing, where a longer upramp allows for stronger self-focusing of the laser and hence, a higher laser intensity at the injection point. We also observe that longer upramps seem to facilitate reaching the target energy. VI. INPUT SPACE ANALYSIS Downramp length (l down ): The length of the downramp directly affects the injected charge, which is expected as shorter downramps corresponding to a more rapid wakefield expansion and thus increased injection. VI. INPUT SPACE ANALYSIS Meanwhile, the downramp length shows no influence on the mean energy, which also is to be expected because within the ranges scanned here it controls the point of the injection and not the acceleration length. a specific focus position, but for the same position we tend to observe the worst energy and energy spread, most likely because higher charge leads to beam loading. For some parameter combinations we also observe couplings. For instance, the optimal focus position for maximal charge moves to the front the higher the plasma density and the longer upramp length. VII. CONCLUSION AND OUTLOOK To conclude, we have presented the first multiobjective optimization of a simulated laser-plasma accelerator. The performance of the multi-objective optimizer was benchmarked against several single-objective optimizers and it was found to lead to similar or even superior results. Meanwhile, the multi-objective optimizer yields a far more general result that does not require iterative fine-tuning of objective parameters. VII. CONCLUSION AND OUTLOOK By combining a state-of-the-art GPU-based simulation code with a multi-fidelity optimization algorithm, we were able to perform extensive, multi-dimensional optimizations that are to our knowledge without precedent in the field of notoriously expensive particle-in-cell simulations of physical systems. This result is a milestone towards using 'digital twins' of complex physical systems to optimize real-life experiments and infrastructure. This does not only concern laser-plasma acceleration but applies to any optimization problem with different available numerical resolutions. VII. CONCLUSION AND OUTLOOK While the multi-fidelity component most immediately benefits simulation studies with different resolutions, the multi-objective techniques presented in this paper can also be directly transferred to experiments. As already noted by [14] and discussed in Section VI, surrogate models carry significant information about the physics interaction that can help physicists to better understand couplings between input and output parameters. This information may directly be used to improve experiments, e.g. as a prior for Bayesian optimization in experiments. ACKNOWLEDGMENTS This work was supported by the DFG through the Cluster of Excellence Munich-Centre for Advanced Photonics (MAP EXC 158), TR-18 funding schemes and the Max Planck Society. It was also supported by the Independent Junior Research Group "Characterization and control of high-intensity laser pulses for particle acceleration", DFG Project No. 453619281. F.I. is part of the Max Planck School of Photonics supported by BMBF, Max Planck Society and Fraunhofer Society.

섹션 본문 52문단 · 36,333자

(제목 없음)

1Beam parameter optimization in accelerators involves multiple, sometimes competing objectives. Condensing these individual objectives into a single figure of merit unavoidably results in a bias towards particular outcomes, in absence of prior knowledge often in a non-desired way. Finding an optimal objective definition then requires operators to iterate over many possible objective weights and definitions, a process that can take many times longer than the optimization itself. A more versatile approach is multi-objective optimization, which establishes the trade-off curve or Pareto front between objectives. Here we present the first results on multi-objective Bayesian optimization of a simulated laser-plasma accelerator. We find that multi-objective optimization reaches comparable performance to its single-objective counterparts while allowing for instant evaluation of entirely new objectives. This dramatically reduces the time required to find appropriate objective definitions for new problems. Additionally, our multi-objective, multi-fidelity method reduces the time required for an optimization run by an order of magnitude. It does so by dynamically choosing simulation resolution and box size, requiring fewer slow and expensive simulations as it learns about the Pareto-optimal solutions from fast low-resolution runs. The techniques demonstrated in this paper can easily be translated into many different computational and experimental use cases beyond accelerator optimization.

2Beam parameter optimization in accelerators involves multiple, sometimes competing objectives. Condensing these individual objectives into a single figure of merit unavoidably results in a bias towards particular outcomes, in absence of prior knowledge often in a non-desired way. Finding an optimal objective definition then requires operators to iterate over many possible objective weights and definitions, a process that can take many times longer than the optimization itself. A more versatile approach is multi-objective optimization, which establishes the trade-off curve or Pareto front between objectives. Here we present the first results on multi-objective Bayesian optimization of a simulated laser-plasma accelerator. We find that multi-objective optimization reaches comparable performance to its single-objective counterparts while allowing for instant evaluation of entirely new objectives. This dramatically reduces the time required to find appropriate objective definitions for new problems. Additionally, our multi-objective, multi-fidelity method reduces the time required for an optimization run by an order of magnitude. It does so by dynamically choosing simulation resolution and box size, requiring fewer slow and expensive simulations as it learns about the Pareto-optimal solutions from fast low-resolution runs. The techniques demonstrated in this paper can easily be translated into many different computational and experimental use cases beyond accelerator optimization.

I. INTRODUCTION

3Laser-plasma interaction [1,2] and in particular its sub-field of laser-plasma acceleration [3,4] are highly researched areas with prospects for numerous scientific and societal applications [5,6]. Until the past decade, both experimental and numerical investigations in these fields were often based on single or a few laser shots and particle-in-cell simulations [7], respectively. Since then, improvements in laser technology as well as computing hard-and software have made it possible to gather data for hundreds or thousands of different configurations in both experiments and simulations [8][9][10]. This has sparked interest in using advanced techniques from computer science, particularly machine learning methods, which can deal more efficiently with large multidimensional data sets than human operators [11].

4Early examples include the use of genetic algorithms [12,13] and, more recently, the first measurements using surrogate models have been presented [14,15]. The latter are intermediate models that are generated based on existing data during optimization and that can be quickly explored numerically. Studies involving this Bayesian optimization have demonstrated clear optimization of a carefully chosen optimization goal. Importantly, this goal has to be encoded in form of a so-called objective function, which acts on the measurement and gives a scalar output. In the case of a particle accelerator, the beam can generally be described by the charge distribution ρ( x, p) in the six-dimensional phase space, and an objective function that optimizes beam parameters will act on this distribution or a subset of it. One of the simplest examples of an objective function is the charge objective function g Q (ρ( x, p)) = ρ( x, p)d xd p.

5While this function can in principle be used as an objective function in a particle accelerator, it will usually not yield a useful optimization result. This is because it optimizes solely the charge and all other beam parameters such as divergence and energy are lost in the integration process. In fact, due to energy conservation, this optimizer tends to reduce the beam energy, which is an unintended consequence in almost all conceivable applications of particle accelerators.

6In practice, one usually uses a combination of objectives, e.g. reaching a certain charge above a certain energy or the total beam energy. The design of objective functions for these problems is even more difficult because they need to give some constraints or limits to the single objectives. Many multi-objective scalarizations take the form of a weighted product g = g αi i or sum g = α i g i of the individual objectives g i with the hyperparameter α i describing its weight. For instance, Jalas et al. [15] optimized the spectrum of a laser-accelerated beam using an objective function that combines the beam charge Q, the median energyẼ and the median absolute deviation ∆Ẽ. Their proposed objective function to be maximized is √ QẼ/∆Ẽ, i.e. the exponential weights are α 1 = 0.5, α 2 = 1 and α 3 = −1. Here, the use of medianbased metrics will result in less sensitivity to outliers in the spectrum, while the weight parameter α 1 = 0.5 explicitly reduces the relevance of charge compared to beam energy and spread. The choice of particular weights is, however, entirely empirical and usually the result of trial and error. An objective function is thus not necessarily aligned with the actual optimization goal, and one often needs to manually adjust the parameters of the objective function over multiple optimization runs. In essence, instead of scanning the input parameters of an experiment or simulation, the human operator will be scanning hyperparame-arXiv:2210.03484v2 [physics.acc-ph] 23 Dec 2022 ters of the objective function many times over. The less prior knowledge about the system is known, the longer this process may take.

7The underlying problem is essentially one of compression, i.e. that the objective function needs to reduce a complex distribution function to a single number characterizing said distribution. It is impossible to do this without information loss for an unknown distribution function. In fact, even if we knew the distribution, e.g. a normal distribution, one would still need both mean and variance to describe it without ambiguities. In the case of an unknown one-dimensional distribution function, we can use multiple statistical descriptions to capture essential features of the distribution such as the central tendency (weighted arithmetic or truncated mean, the median, mode, percentiles, etc.) and the statistical dispersion of the distribution (full width at half maximum, median absolute deviation, standard deviation, maximum deviation, etc.). These measures weigh different features in the distribution differently. One may also include higher-order features such as the skewness, which occurs for instance as a sign of beam loading in energy spectra of laser-plasma accelerators [8], or coupling terms between the different parameters. Last, the amplitude or integral of the distribution function are often parameters of interest [16].

8In the following, we will discuss optimizations of electron energy spectra according to different objective definitions and then present a more general multi-objective optimization.

9The paper is structured as follows: First, we are going to discuss details of the simulated laser-plasma accelerator used for our numerical experiments (Section II) and introduce Bayesian optimization (Section III). Then we present results from optimization runs using different definitions of scalarized objectives that aim for beams with high charge and low energy spread at a certain target energy (Section IV). We then compare these results with an optimization using effective hypervolume optimization of all objectives (Section V). In Section VI we discuss some of the physics that the optimizer 'discovers' during optimization and in the last section, we summarize our results and outline perspectives for future research (Section VII).

10II. LASER-PLASMA ACCELERATOR As a test system for optimization, we use an example from the realm of plasma-based acceleration, i.e. a laser wakefield accelerator with electron injection in a sharp density downramp [8,17]. The basic scenario here is that electrons get trapped in a laser-driven plasma wave due to a local reduction in the plasma density, which is often realized experimentally as a transition from one side to the other of a hydrodynamic shock, hence the oftenused name "shock injection". The number of electrons injected at this density transition strongly depends on the laser parameters at the moment of injection, but also°1 Table I, namely the upramp length lup, the downramp length l down , the plateau density ne and the focus position z0.

11on the plasma density itself. Both parameters also affect the final energy spectrum the electrons exhibit at the end of the acceleration process. Here we will use simulations to investigate this system, the primary reason being that they are perfectly reproducible and do not require additional handling of jitter, drifts, and noise. However, the methods outlined in this paper are equally relevant to experiments. The input space consists of four variable parameters, namely the plateau plasma density, the position of laser focus, as well as the lengths of the up-and downramps of the plasma density close to the density transition.

12While the shock injection scenario is sufficiently complex to require particle-in-cell codes, we use the code FBPIC by Lehe et al. [18] in conjunction with various optimizations to achieve an hour-scale run-time. On the hardware side, the code is optimized to run on NVIDIA GPUs (here we used Tesla V100 or RTX3090), while the physical model includes optimizations such as the usage of a cylindrical geometry with Fourier decomposition in the angular direction and boosted-frame moving windows [19]. Additionally, we can take advantage of the very localized injection to locally increase the macro-particles density in the injection area [8]. Similarly, the linear wakefields forming in regions of lower laser intensity result in a nearly laminar flow of particles, meaning that we can decrease the macro-particle density far away from the laser axis [20].

13One particular challenge that arises in simulations over a large range of parameters is that different input parameters may result in different computational requirements. For instance, the transverse box size needs to be several times larger than the beam waist to assure that the energy of a focusing beam is not lost. Hence, a laser that is initialized out of focus requires a larger box size than a beam initialized in focus. We address this by scaling the transverse box size l r as a function of the laser waist w(z) at the beginning of the simulation. Similarly, the size of the wakefield depends on the plasma density, and accordingly, we scale the longitudinal size l z of the box with the estimated wakefield size. By using these adapted simu-

Simulation mesh parameters

14lz,max 3.5 mm Transverse resolution ∆r 600 nm/χ Longitudinal resolution ∆z 60 nm/χ Boost factor γ boost lz,max/lz/χ TABLE I. Simulation and scan parameters. The top section shows the four simulation parameters and their ranges that are used in the optimization problem. Furthermore, a fidelity parameter χ is introduced that allows the optimizer to choose between low and high numerical resolution (see the section on mesh parameters). Based on the scan parameters and the fixed problem parameters, we calculate several dependent variables that help us to estimate the correct box size for the simulations.

15lation boxes, we avoid wasting computational resources and only capture the physics relevant to our problem. It should be noted that the scan range of these highly optimized simulations is to some extent limited by the appearance of numerical instabilities or artifacts and, for instance, the boosted-frame geometry cannot be used in a near-critical setting. A summary of all free and dependent parameters of the simulations is given in Table I and illustrated in Fig. 1.

III. BAYESIAN OPTIMIZATION

16In this paper, we make use of Bayesian optimization, a sequential model-based algorithm, to optimize problems that are either costly or time-intensive to probe. Bayesian optimization works by constructing a probabilistic surrogate model of an objective function by sampling the parameter space, see Döpp et al. [11] for an overview. In this paper, we use a Gaussian process (GP) as the probabilistic model, which is a non-parametric model based on a prior (in this case a zero-mean distribution) and a covariance function that expresses the correlation between the prior and the current data points. This surrogate model is cheap and fast to evaluate, and Bayesian optimization finds the next evaluation point by optimizing the model instead of the real system. To this end, a so-called acquisition function, which quantifies the expected improvement from a certain set of input parameters, is used. After a measurement at this point, the model is updated, and the procedure is repeated until a certain stopping criterion is fulfilled.

17The main advantage of Bayesian optimization compared to other methods is that it can find the global optimum of a function in a very sample-efficient way. Furthermore, the acquisition function and the model can be adapted to not only optimize a single objective but multiple combinations of objectives. This adaptation is done in multi-objective optimization (see Section V), where Bayesian optimization can implicitly optimize multiple combinations of objectives by optimizing the expected hypervolume improvement [21,22].

18Despite its high sample efficiency, optimizing a multidimensional problem still requires a non-negligible number of evaluations. For our laser-plasma accelerator with four variable inputs we typically need to perform on the order of ∼ 10 2 evaluations to locate the optimum. Given the hour-scale runtime of our simulations discussed in Section II, a full optimization run would that take several days to compute.

19We can speed up the optimization process and allow for multi-dimensional optimization by using low-resolution simulations that use a larger numerical grid, see Table I, and a larger boost factor. They capture the essential physics of injection and acceleration but have not yet fully converged in terms of final charge, energy, and so forth. These approximate solutions take only a few GPU minutes to compute while providing valuable information for optimization. Importantly, we can directly incorporate the possibility of varying the resolution and hence, fidelity of a simulation into the optimization process by introducing a new fidelity variable χ (see Table I). In a process called multi-fidelity optimization, we construct a Gaussian process that models the objective function over the four input dimensions (n e , l up , l down , z 0 ) as well as the fidelity parameter χ. The decision regarding the next position to probe is taken by a recently introduced multiobjective, multi-fidelity (MOMF) Bayesian optimization algorithm [23], which is based on the common optimization of the different objectives and an additional trust objective. Regarding the latter, the algorithm also considers the computational cost associated with the fidelity parameter. From a convergence study of PIC simulations, we found that the computing time of our simulations approximately scales with cost(χ) ∝ χ 3.5 . The speed-up gained by taking this cost and fidelity information into account is on average an order of magnitude in this study and a full multi-fidelity optimization run typically takes about 10 hours.

20While designed for multiple objectives, the MOMF acquisition function also supports the optimization of a single objective with multiple fidelities [23]. All results presented in the following, both single-and multi-objective, are thus obtained using the same algorithm for a fair comparison. The optimization parameters are outlined in Table II and importantly, both objective types have the same constraints regarding maximum iteration number and computational budget, as well, and they were executed 5 times with 5 random initial points each to assess the typical performance.

IV. SINGLE-OBJECTIVE OPTIMIZATION

21The goal of the optimization presented here is to produce quasi-monoenergetic electron beams with a high to- tal charge around a certain target energy E 0 . In statistical terms, these goals can be captured by the difference of the central tendency from the target energy, statistical dispersion, and the integral of the electron beam spectrum. But as mentioned in the introduction, these three features can be described by multiple statistical measures such as the standard deviation, median absolute deviation, mean energy, median energy, and total charge [24]. In practice there thus exists large freedom how exactly these objectives are encoded into a single scalarized objective. Each objective function has a bias toward a particular outcome and thus, the final optimization result may differ significantly. In the following, we present several different objective functions that intend to reach the same goal, i.e. simultaneously maximize charge, reduce spectral width and reduce the distance to the target energy.

22Examples. In terms of the mean energy and standard deviation we can define the objective

23where Q is the total charge, ∆Ē 2 = |Ē − E 0 | 2 + is the squared difference between the mean energyĒ of the spectrum and the target energy and σ E is the standard deviation. Note that in the definition of ∆Ē 2 is an offset to prevent the objective from approaching infinity as the distance to the target energy is decreased. Throughout the manuscript we use = 1 MeV, as beams within a distance of 1 MeV to the target energy are considered sufficiently optimized. It is a characteristic of the mean that it tends to emphasize points further away from the target. In presence of noise, it is thus often suitable to use median-based descriptors, instead. Such an objective could be

24Objective definitions where Q is the total charge,Ẽ is the median energy of the spectrum, E 0 is the target energy, |∆Ẽ| = |Ẽ −E 0 |+ is their absolute distance (plus offset) and E M AD is the median absolute deviation around the median. Note the use of the square root to decrease the emphasis placed on the total charge. This is essentially the aforementioned objective used by Jalas et al. [15], with the difference that we use a target energy instead of an energy maximization.

25The choice of Q 1/2 is, however, entirely empirical and we can equally well define alternative versions of such an objective function with different exponential weights of charge. For instance, we can use the two objectives

26and

27which should incentivise the optimizer to find beams with higher total charge. We already alluded to the general problem that objectives using division can get arbitrarily large when decreasing the value of the denominator. Instead of circumventing this problem with offsets, it can be preferable to rewrite the objective entirely without using division. One possible way to do so in our case is to implicitly optimize the target energy and energy spread by optimizing the charge within a certain energy window. This can be written in the form

28where Q in = E0+∆E/2 E0−∆E/2 Q(E)dE is the charge within a given energy interval ∆E around the target energy. A summary of these single objectives and definitions of metrics used to define them is outlined in Table III.

29Results and discussion. Having defined several "sensible" objectives, we now present results using them to optimize the simulated laser wakefield accelerator. In Fig. 2, we show the final spectrum of the three scalarized objectives O 1 , O 2 and O 3 . Since we use mean energy for the first objective the spectrum outliers can influence the mean much more than the second objective using median energy. This explains why the first spectrum tends to not have any high or low-energy tail. The second spectrum using median energy and median absolute deviation allows having a high energy tail while keeping the median close to 300 MeV. Since this spectrum has a longer tail the mean of this spectrum is higher than 300 MeV. The third objective in Fig. 2 has a much higher peak charge because it has a higher implicit weighting on charge. The beam here has an even shorter tail since it explicitly penalizes charge outside of the 250 − 350 MeV window. Overall, we can see that the different scalarization of the statistical measures can result in different spectra. Also, implicitly optimizing for beams near a target energy, as is done in the case of the third objective, appears to yield better results than explicitly optimizing for it.

30One prominent feature in these spectra is that the energy exhibiting the highest spectral charge density of

FIG. 2.

31Single-objective spectra. (a) Final spectra obtained using three different objectives (O1, O2 and O3 from the text) to optimize beam charge, beam distance from target energy (300 MeV) and energy spread. Median energỹ E of each spectrum is indicated using triangular markers, while mean energyĒ is marked with circles. (b) Example for changes in objective weight. Here we use variations of the O2 objective with charge squared (O2,a) or charge to the power of three (O 2,b ), leading to higher overall charge in the beam and -without explicit optimization -more peaked spectra.

32electrons, subsequently referred to as peak energy E peak , is much further from the target energy than the mean or median energies. This is because highly-charged electron beams create beam loading effects in laser wakefield accelerators, resulting in skewed spectra [8]. For such asymmetric spectra, the peak does not coincide with the distribution's mean or median and an explicit optimization of the peak energy becomes necessary, which we discuss in more detail in the next section.

33In a next step we compare the different versions of the second objective (O 2 , O 2,a and O 2,b ) with Q 1/2 ,Q 2 and Q 3 weighting, respectively. As expected, the higher weight increases the total charge in the optimized beam spectrum. However, while this particular combination of hyperparameters appears to yield objectively better beams than the O 2 and O 2a variations, it is not possible to know this beforehand, adding the hyperparameter choice as an additional degree of freedom to the optimization problem. For any new problem an operator or user thus needs to run several optimization run to identify the most suitable definitions and combinations of objectives.

V. MULTI-OBJECTIVE OPTIMIZATION

34As we have seen in the previous section, a major problem with the single-objective optimizations of complex systems is that the optimal weights for the hyperparameters in single-objective optimization are not known a priori. Thus, to get a higher value for one particular objective, the weights need to be changed via trial and error. Furthermore, multi-objective optimization problems often exhibit some trade-offs in the optimization of different objectives. As a result, changing one objective's weight will also affect the other objectives, in either a detrimental or beneficial way. A single-objective optimization will always be biased towards a particular trade-off. But it is difficult or impossible to assess this bias beforehand, and the optimization will often not yield the optimal trade-off of parameters a user or operator intended.

35A more versatile strategy is to directly explore the trade-off between different objectives and choose the optimal combination of objectives a posteriori. This tradeoff optimization results in a solution set that in the output space is known as the Pareto front and in the input space as the Pareto set. A point is said to dominate another when it has at a minimum higher value for one objective keeping others equal. Thus, the Pareto front is the set of non-dominated points in any given output space. The area covered by the dominated space is known as the hypervolume and it is an indirect measure for the diversity of solutions. In Bayesian optimization the expected hypervolume improvement can therefore be used to optimize different objectives simultaneously. In our case we choose the mean energy difference ∆Ē = |Ē − E 0 |, the standard deviation σ E and total charge in the beam Q as individual objectives spanning the output space.

36Results and discussion. In Fig. 3 we show the results for one representative run of the multi-objective Bayesian optimization. By probing the Gaussian process model, we obtain an entire set of solutions that can be visualized as a Pareto surface, consisting of all the non-dominated points in the three-dimensional output space. Projections showing the Pareto fronts for the three pairs of objectives are shown in Fig. 3b-d. We also indicate the beam parameters of the different optimizations presented in the previous section as blue triangles. The results show that the multi-objective optimization yields comparable performance to the combinations of objectives discussed in Section IV.

37This figure also shows some trade-offs, inherent to many multi-objective problems, some of which have an underlying physics interpretation. One prominent feature can be seen in Fig. 3b, where an increase in the distance to target energy is seen when the total charge exceeds 500 pC. This distance is mainly due to a decrease in energy caused by beam loading [8]: As the charge increases the electron bunch dampens the strength of the wakefields, which consequently leads to lower mean energy and thus, an increase in the distance to the tar- get energy. Another trade-off in Fig. 3c is between high charge and mono-energetic beams, where increasing charge results in a wider spectrum of the electron beams. This indicates that the input parameters that yield a beam with a higher total charge are different from the ones that produce quasi-mono-energetic beams, an effect seen throughout the literature, e.g. in Götzfried et al. [8].

38Another notable result, albeit not directly visible from the plots, is the absence of any high-energy beams with low charge. This is because high-energy beams are implicitly excluded by the three objectives. As the energy increases, the distance to the target energy increased and the charge injected for these high-energy beams is less than those for lower-energy beams. Hence, most beams are restricted to energies near or lower than the target energy.

39The effect of exploring inherent trade-offs makes multiobjective Bayesian optimization a very useful optimization technique. Two important benefits are (a) that one can characterize the capability of the system (laserplasma accelerator) regarding each objective and (b) that it yields a solution set without strong bias towards particular objective combinations. The expression of the objective in terms of the hypervolume also avoids the problem seen in single-objective optimization, where offset values needed to be included for objectives in the denominator. This is because the hypervolume does not increase drastically if only a single objective is concerned and hence, multi-objective optimization does not excessively exploit single objectives.

40As mentioned earlier, another important feature of this optimization strategy is that the Gaussian process model is cheap to probe and provides immediate feedback regarding the predicted means and variances of each individual objective (here Q, σ E and ∆Ē) for a combination of input parameters x (i.e. n e , l down , l up and z 0 ). These can easily be combined into any desired objective O(x). We can propagate the variances through the new objective to get an estimate of the uncertainty [25] and a conservative solution candidatex can be found using the lower confidence bound

41In Fig. 4a we show such inferred solutions for the previously defined objectives O 1 and O 2 , see Eq. (1) and Eq. (2), respectively. Due to the higher charge in these beams, the value of O 1 is approximately 40% higher than in the single-objective optimization result (see Fig. 2a). The results for O 2 are comparable to those shown before, with the multi-objective result reaching 90% of the corresponding single-objective result. The objective value is nonetheless diminished, most likely because the optimizer is not strictly optimizing the median energy but the mean energy.

42It is notable that the spectral peaks in these candidate solutions are located at 230 MeV and 272 MeV, respectively, and thus, far from the "target" energy E 0 = 300 MeV. As discussed before, this happens because the mean or median of these highly skewed spectral distributions does not coincide with peak energy E peak . We can address this problem without needing to run a new optimization. Instead, we take the existing multi-objective scan and construct a Gaussian process that predicts the peak energy for a given input x. Next, we can select suitable candidates usinĝ

43As this is a minimization problem, we now use the lower confidence bound to exploit the existing solutions while taking into account uncertainty. Suitable results are either found immediately, or after 1−2 iterations for which the results of a candidate solution are used to improve the Gaussian process regression. The results of this process are shown in Fig. 4b, showing that the multi-objective results can even translate to objectives that differ substantially from the three objectives directing the hypervolume search. The results thus show that multi-objective Bayesian optimization greatly facilitates the process of finding both optimal parameter settings and optimal objective configurations. The latter can be evaluated a posteriori at negligible cost and feed subsequent iterations of single-objective optimizers focused on objective exploitation. It should be emphasized that this process is most suitable in the optimization of unknown systems, e.g. newly set up experiments or simulations. For wellknown systems the optimization of a well-working objective function, e.g. Eq. (5) with an appropriately chosen energy window, can produce competitive results.

VI. INPUT SPACE ANALYSIS

44So far, our discussion has been limited to the performance regarding single or multiple objectives. Another advantage of Bayesian optimization is that the model created during optimization can itself be analyzed and provide insights about the underlying physics and parameter dependencies of the system. In this section, we will thus look how specifically the choice of input parameters affects each of the different objectives. To do so, we use the data from our multi-objective optimization runs and train a GP model. We can sample points from this model to generate plots that map the influence of the input parameters on the individual objectives, either in a pairwise comparison or individually. The results are shown in Fig. 5. The data is binned by taking pair-wise input parameters while averaging over the other two. This results in a total of six two-dimensional plots for the four input parameters, which are color-coded by the values of the output objective. We can also see the influence of a single parameter by repeating the same procedure as above by averaging over the three input parameters. This is repeated three times to generate plots for each output objective. Based on these plots we can observe trends for each input parameter, which in some cases have straightforward physical interpretations.

45Density (n e ): We observe that the charge initially increases with density, but then somewhat surprisingly starts to decrease again. Closer analysis of the underlying PIC simulations showed that injection indeed increases monotonically within our density range, but at higher density parts of the injected electrons are lost at the end of the accelerator due to dephasing and defocusing fields. We observe that the optimal energy is reached at the same density as the optimal charge, which indicates an optimal charge for beam loading to reach the desired target energy of 300 MeV. The energy spread tends to increase with the density and shows an interesting correlation with the focal plane.

46Upramp length (l up ): We observe that the injected charge increases linearly with the upramp length. This effect is most likely related to laser self-focusing, where a longer upramp allows for stronger self-focusing of the laser and hence, a higher laser intensity at the injection point. We also observe that longer upramps seem to facilitate reaching the target energy.

47Downramp length (l down ): The length of the downramp directly affects the injected charge, which is expected as shorter downramps corresponding to a more rapid wakefield expansion and thus increased injection.

48Meanwhile, the downramp length shows no influence on the mean energy, which also is to be expected because within the ranges scanned here it controls the point of the injection and not the acceleration length. a specific focus position, but for the same position we tend to observe the worst energy and energy spread, most likely because higher charge leads to beam loading. For some parameter combinations we also observe couplings. For instance, the optimal focus position for maximal charge moves to the front the higher the plasma density and the longer upramp length.

VII. CONCLUSION AND OUTLOOK

49To conclude, we have presented the first multiobjective optimization of a simulated laser-plasma accelerator. The performance of the multi-objective optimizer was benchmarked against several single-objective optimizers and it was found to lead to similar or even superior results. Meanwhile, the multi-objective optimizer yields a far more general result that does not require iterative fine-tuning of objective parameters.

50By combining a state-of-the-art GPU-based simulation code with a multi-fidelity optimization algorithm, we were able to perform extensive, multi-dimensional optimizations that are to our knowledge without precedent in the field of notoriously expensive particle-in-cell simulations of physical systems. This result is a milestone towards using 'digital twins' of complex physical systems to optimize real-life experiments and infrastructure. This does not only concern laser-plasma acceleration but applies to any optimization problem with different available numerical resolutions.

51While the multi-fidelity component most immediately benefits simulation studies with different resolutions, the multi-objective techniques presented in this paper can also be directly transferred to experiments. As already noted by [14] and discussed in Section VI, surrogate models carry significant information about the physics interaction that can help physicists to better understand couplings between input and output parameters. This information may directly be used to improve experiments, e.g. as a prior for Bayesian optimization in experiments.

ACKNOWLEDGMENTS

52This work was supported by the DFG through the Cluster of Excellence Munich-Centre for Advanced Photonics (MAP EXC 158), TR-18 funding schemes and the Max Planck Society. It was also supported by the Independent Junior Research Group "Characterization and control of high-intensity laser pulses for particle acceleration", DFG Project No. 453619281. F.I. is part of the Max Planck School of Photonics supported by BMBF, Max Planck Society and Fraunhofer Society.

참고문헌 22건

  1. Statistics and Data Analysis for Financial Engineering Springer texts in statistics · Springer International Publishing · 2010 10.1007/978-1-4419-7787-8
  2. Laser plasma accelerators Physics of Plasmas · American Institute of Physics · 2012 10.1063/1.3695389
  3. Ion acceleration by superintense laser-plasma interaction Reviews of Modern Physics · American Physical Society · 2013 10.1103/revmodphys.85.751
  4. Shock-Front Injector for High-Quality Laser-Plasma Acceleration Physical Review Letters · American Physical Society · 2013 10.1103/physrevlett.110.185006
  5. Physics of laser-driven plasma-based electron accelerators Reviews of Modern Physics · American Physical Society · 2009 10.1103/revmodphys.81.1229
  6. Coherent control of plasma dynamics Nature Communications · Nature Portfolio · 2015 10.1038/ncomms8156
  7. A spectral, quasi-cylindrical and dispersion-free Particle-In-Cell algorithm Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2016.02.007
  8. Stable discrete representation of relativistically drifting plasmas Physics of Plasmas · American Institute of Physics · 2016 10.1063/1.4964770
  9. Applications of laser wakefield accelerator-based light sources Plasma Physics and Controlled Fusion · IOP Publishing · 2016 10.1088/0741-3335/58/10/103001
  10. Temporal feedback control of high-intensity laser pulses to optimize ultrafast heating of atomic clusters Applied Physics Letters · American Institute of Physics · 2018 10.1063/1.5027297
  11. Multi-Objective Bayesian Global Optimization using expected hypervolume improvement gradient Swarm and Evolutionary Computation · Elsevier BV · 2018 10.1016/j.swevo.2018.10.007
  12. Nonlinear plasma wavelength scalings in a laser wakefield accelerator Physical review. E · American Physical Society · 2020 10.1103/physreve.101.023209
  13. Physics of High-Charge Electron Beams in Laser-Plasma Wakefields Physical Review X · American Physical Society · 2020 10.1103/physrevx.10.041015
  14. Automation and control of laser wakefield accelerators using Bayesian optimization Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-20245-6
  15. Physics of High-Charge Electron Beams in Laser-Plasma Wakefields Physical Review X · American Physical Society · 2020 10.1103/physrevx.10.041015
  16. Temporal feedback control of high-intensity laser pulses to optimize ultrafast heating of atomic clusters Applied Physics Letters · American Institute of Physics · 2018 10.1063/1.5027297
  17. Automation and control of laser wakefield accelerators using Bayesian optimization Oxford University Research Archive (ORA) (University of Oxford) · University of Oxford · 2020
  18. Applications of Laser-Driven Particle Acceleration CRC Press eBooks · Informa · 2018 10.1201/9780429445101
  19. Bayesian Optimization of a Laser-Plasma Accelerator Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.126.104801
  20. Optimal Beam Loading in a Laser-Plasma Accelerator Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.126.174801
  21. Stability of ionization-injection-based laser-plasma accelerators Physical Review Accelerators and Beams · American Physical Society · 2022 10.1103/physrevaccelbeams.25.031301
  22. Reference dataset of multi-objective and multi-fidelity optimization in laser-plasma acceleration Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2023 10.5281/zenodo.7565882