Engineering Papers⌕ Search

Engineering topics

Shen, X.

Publications and source records attributed to Shen, X..

At least 19 records

Reductive Analysis with Compiler-Guided Large Language Models for Input-Centric Code Optimizations

Input-centric program optimization aims to optimize code by considering the relations between program inputs and program behaviors. Despite its promise, a long-standing barrier for its adoption is the difficulty of automatically identifying critical features of complex inputs. This paper introduces a novel technique, reductive analysis through compiler-guided Large Language Models (LLMs), to solve the problem through a synergy between compilers and LLMs. It uses a reductive approach to overcome the scalability and other limitations of LLMs in program code analysis. The solution, for the first time, automates the identification of critical input features without heavy instrumentation or profiling, cutting the time needed for input identification by 44× (or 450× for local LLMs), reduced from 9.6 hours to 13 minutes (with remote LLMs) or 77 seconds (with local LLMs) on average, making input characterization possible to be integrated into the workflow of program compilations. Optimizations on those identified input features show similar or even better results than those identified by previous profiling-based methods, leading to optimizations that yield 92.6% accuracy in selecting the appropriate adaptive OpenMP parallelization decisions, and 20-30% performance improvement of serverless computing while reducing resource usage by 50-60%.

Input-Centric Optimization↗

Photo-induced structural dynamics of o -nitrophenol by ultrafast electron diffraction

The photo-induced dynamics of o-nitrophenol, particularly its photolysis, has garnered significant scientific interest as a potential source of nitrous acid in the atmosphere. Although the photolysis products and preceding photo-induced electronic structure dynamics have been investigated extensively, the nuclear dynamics accompanying the non-radiative relaxation of o-nitrophenol on the ultrafast timescale, which include an intramolecular proton transfer step, have not been experimentally resolved. Herein, we present a direct observation of the ultrafast nuclear motions mediating photo-relaxation using ultrafast electron diffraction. Here, this work spatiotemporally resolves the loss of planarity which enables access to a conical intersection between the first excited state and the ground state after the proton transfer step, on the femtosecond timescale and with sub-Angstrom resolution. Our observations, supported by ab initio multiple spawning simulations, provide new insights into the proton transfer mediated relaxation mechanism in o-nitrophenol.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Energetic Electron Precipitation Driven by Electromagnetic Ion Cyclotron Waves from ELFIN’s Low Altitude Perspective

We review comprehensive observations of electromagnetic ion cyclotron (EMIC) wave-driven energetic electron precipitation using data collected by the energetic electron detector on the Electron Losses and Fields InvestigatioN (ELFIN) mission, two polar-orbiting low-altitude spinning CubeSats, measuring 50-5000 keV electrons with good pitch-angle and energy resolution. EMIC wave-driven precipitation exhibits a distinct signature in energy-spectrograms of the precipitating-to-trapped flux ratio: peaks at >0.5 MeV which are abrupt (bursty) (lasting ~17 s, or ΔL ~ 0.56) with significant substructure (occasionally down to sub-second timescale). We attribute the bursty nature of the precipitation to the spatial extent and structuredness of the wave field at the equator. Multiple ELFIN passes over the same MLT sector allow us to study the spatial and temporal evolution of the EMIC wave - electron interaction region. Case studies employing conjugate ground-based or equatorial observations of the EMIC waves reveal that the energy of moderate and strong precipitation at ELFIN approximately agrees with theoretical expectations for cyclotron resonant interactions in a cold plasma. Using multiple years of ELFIN data uniformly distributed in local time, we assemble a statistical database of ~50 events of strong EMIC wave-driven precipitation. Most reside at L ~ 5 – 7 at dusk, while a smaller subset exists at L ~ 8 – 12 at post-midnight. The energies of the peak-precipitation ratio and of the half-peak precipitation ratio (our proxy for the minimum resonance energy) exhibit an L-shell dependence in good agreement with theoretical estimates based on prior statistical observations of EMIC wave power spectra. The precipitation ratio’s spectral shape for the most intense events has an exponential falloff away from the peak (i.e., on either side of ~ 1.45 MeV). It too agrees well with quasi-linear diffusion theory based on prior statistics of wave spectra. It should be noted though that this diffusive treatment likely includes effects from nonlinear resonant interactions (especially at high energies) and nonresonant effects from sharp wave packet edges (at low energies). Sub-MeV electron precipitation observed concurrently with strong EMIC wave-driven >1 MeV precipitation has a spectral shape that is consistent with efficient pitch-angle scattering down to ~ 200-300 keV by much less intense higher frequency EMIC waves at dusk (where such waves are most frequent). At ~100 keV, whistler-mode chorus may be implicated in concurrent precipitation. These results confirm the critical role of EMIC waves in driving relativistic electron losses. Nonlinear effects may abound and require further investigation.

79 ASTRONOMY AND ASTROPHYSICS↗

Effect of lattice excitations on transient near-edge x-ray absorption spectroscopy

Here, time-dependent and constituent-specific spectral changes in soft near-edge x-ray absorption spectroscopy (XAS) of an [Fe/MgO] 8 metal/insulator heterostructure after laser excitation are analyzed at the O K-edge with picosecond time resolution. The oxygen absorption edge of the insulator features a uniform intensity decrease of the fine structure at elevated phononic temperatures, which can be quantified by a simple simulation and fitting procedure presented here. Combining XAS with ultrafast electron diffraction measurements and ab initio calculations demonstrates that the transient intensity changes in XAS can be assigned to a transient lattice temperature. Thus, the sensitivity of transient near-edge XAS to phonons is demonstrated.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Conformer-specific photochemistry imaged in real space and time

Conformation-dependent dynamics play an important role in organic chemistry syntheses such as electrocyclic reactions, as well as in biological processes such as protein folding. However, current time-resolved experimental methods struggle to distinguish conformers from each other, and conformational isomerism is usually analyzed through reactant and product distributions. Using a combination of mega–electron volt ultrafast electron diffraction and quantum wave packet simulations, Champenois et al. directly followed the photochemical electrocyclic ring opening of the molecule α-phellandrene with femtosecond time resolution and confirmed that the transformation of a specific molecular conformer follows the famous Woodward-Hoffmann rules. The proposed method is potentially a powerful tool to follow conformer specificity in various organic and biological systems in real time.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Imaging the short-lived hydroxyl-hydronium pair in ionized liquid water

The radiolysis of water is ubiquitous in nature and plays a critical role in numerous biochemical and technological applications. Although the elementary reaction pathways for the ionized water have been studied, the short-lived intermediate complex and structural dynamic response after the proton transfer reaction remain poorly understood. Here, using liquid-phase ultrafast electron diffraction technique to measure the intermolecular O··O and O··H bonds, we captured the short-lived radical-cation complex OH(H 3 O + ) that was formed within 140 femtoseconds through a direct oxygen-oxygen bond contraction and proton transfer, followed by the radical-cation pair dissociation and the subsequent structural relaxation of water within 250 femtoseconds. These measurements provide direct evidence of capturing this metastable radical-cation complex before separation, thereby improving our fundamental understanding of elementary reaction dynamics in ionized liquid water.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Fast attenuation of high-frequency acoustic waves in bicontinuous nanoporous gold

We studied the formation and attenuation of GHz elastic waves in free-standing nanoporous gold films by MeV ultrafast electron diffraction and finite element simulations. By tracing the evolution of the high frequency acoustic waves in time domain, we found that the bicontinuous nanoporous structure in nanoporous gold films results in three-dimensionally acoustic response with low coherence, leading to fast attenuation of the elastic waves in comparison with solid gold films. The morphologically dominated dynamics indicates the nanoporosity plays an important role in the high-frequency acoustic energy relaxation, which shines a light on the applications of dealloyed nanoporous materials in nanodevices and sensors as GHz and THz acoustic filters and dampers.

36 MATERIALS SCIENCE↗

Quantitative agreement between dynamical rocking curves in ultrafast electron diffraction for x-ray lasers

Electron diffraction through a thin patterned silicon membrane can be used to create complex spatial modulations in electron distributions. By precisely varying parameters such as crystallographic orientation and wafer thickness, the intensity of reflections in the diffraction plane can be controlled and by placing an aperture to block all but one spot, we can form an image with different parts of the patterned membrane, as is done for bright-field imaging in microscopy. The patterned electron beams can then be used to control phase and amplitude of subsequent x-ray emission, enabling novel coherent x-ray methods. Furthermore, the electrons themselves can also be used for femtosecond time resolved diffraction and microscopy. As a first step toward patterned beams, we demonstrate experimentally and through simulation the ability to accurately predict and control diffraction spot intensities. We simulate MeV transmission electron diffraction patterns using the multislice method for various crystallographic orientations of a single crystal Si(001) membrane near beam normal. The resulting intensity maps of the Bragg reflections are compared to experimental results obtained at the Accelerator Structure Test Area Ultrafast Electron Diffraction (ASTA UED) facility at SLAC. Furthermore, the fraction of inelastic and elastic scattering of the initial charge is estimated along with the absorption of the membrane to determine the contrast that would be seen in a patterned version of the Si(001) membrane.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Photodissociation of aqueous I3− observed with liquid-phase ultrafast mega-electron-volt electron diffraction

Developing femtosecond resolution methods for directly observing structural dynamics is critical to understanding complex photochemical reaction mechanisms in solution. We have used two recent developments, ultrafast mega-electron-volt electron sources and vacuum compatible sub-micron thick liquid sheet jets, to enable liquid-phase ultrafast electron diffraction (LUED). We have demonstrated the viability of LUED by investigating the photodissociation of tri-iodide initiated with a 400 nm laser pulse. This has enabled the average speed of the bond expansion to be measured during the first 750 fs of dissociation and the geminate recombination to be directly captured on the picosecond time scale.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Liquid-phase mega-electron-volt ultrafast electron diffraction

The conversion of light into usable chemical and mechanical energy is pivotal to several biological and chemical processes, many of which occur in solution. To understand the structure–function relationships mediating these processes, a technique with high spatial and temporal resolutions is required. Here, we report on the design and commissioning of a liquid-phase mega-electron-volt (MeV) ultrafast electron diffraction instrument for the study of structural dynamics in solution. Limitations posed by the shallow penetration depth of electrons and the resulting information loss due to multiple scattering and the technical challenge of delivering liquids to vacuum were overcome through the use of MeV electrons and a gas-accelerated thin liquid sheet jet. To demonstrate the capabilities of this instrument, the structure of water and its network were resolved up to the 3rd hydration shell with a spatial resolution of 0.6 Å; preliminary time-resolved experiments demonstrated a temporal resolution of 200 fs.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Femtosecond Compression Dynamics and Timing Jitter Suppression in a THz-driven Electron Bunch Compressor

Herein we present the first demonstration of THz driven bunch compression and timing stabilization of a relativistic electron beam. Quasi-single-cycle strong field THz radiation is used in a shorted parallel-plate structure to compress a few-fC beam with 2.5 MeV kinetic energy by a factor of 2.7, producing a 39 fs rms bunch length and a reduction in timing jitter by more than a factor of 2 to 31 fs rms. This THz driven technique offers a significant improvement to beam performance for applications like ultrafast electron diffraction, providing a critical step towards unprecedented timing resolution in ultrafast sciences, and other accelerator applications using femtosecond-scale electron beams.

43 PARTICLE ACCELERATORS↗

Challenges in simulating beam dynamics of dielectric laser acceleration

Dielectric Laser Acceleration (DLA) achieves the highest gradients among structure-based electron accelerators. The use of dielectrics increases the breakdown field limit, and thus the achievable gradient, by a factor of at least 10 in comparison to metals. Experimental demonstrations of DLA in 2013 led to the Accelerator on a Chip International Program (ACHIP), funded by the Gordon and Betty Moore Foundation. In ACHIP, our main goal is to build an accelerator on a silicon chip, which can accelerate electrons from below 100 keV to above 1 MeV with a gradient of at least 100 MeV/m. For stable acceleration on the chip, magnet-only focusing techniques are insufficient to compensate the strong acceleration defocusing. Thus, spatial harmonic and Alternating Phase Focusing (APF) laser-based focusing techniques have been developed. Additionally, we have developed the simplified symplectic tracking code DLAtrack6D, which makes use of the periodicity and applies only one kick per DLA cell, which is calculated by the Fourier coefficient of the synchronous spatial harmonic. Due to coupling, the Fourier coefficients of neighboring cells are not entirely independent and a field flatness optimization (similarly as in multi-cell cavities) needs to be performed. The simulation of the entire accelerator on a chip by a Particle In Cell (PIC) code is possible, but impractical for optimization purposes. Finally, we have also outlined the treatment of wake field effects in attosecond bunches in the grating within DLAtrack6D, where the wake function is computed by an external solver.

43 PARTICLE ACCELERATORS↗