Searcharxiv⌕ Search

arXiv subjects

Kai Xiao

Publications and source records attributed to Kai Xiao.

At least 55 records · Page 3Linked to original sources

Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learning

Automated red teaming can discover rare model failures and generate challenging examples that can be used for training or evaluation. However, a core challenge in automated red teaming is ensuring that the attacks are both diverse and effective. Prior methods typically succeed in optimizing either for diversity or for effectiveness, but rarely both. In this paper, we provide methods that enable automated red teaming to generate a large number of diverse and successful attacks. Our approach decomposes the task into two steps: (1) automated methods for generating diverse attack goals and (2) generating effective attacks for those goals. While we provide multiple straightforward methods for generating diverse goals, our key contributions are to train an RL attacker that both follows those goals and generates diverse attacks for those goals. First, we demonstrate that it is easy to use a large language model (LLM) to generate diverse attacker goals with per-goal prompts and rewards, including rule-based rewards (RBRs) to grade whether the attacks are successful for the particular goal. Second, we demonstrate how training the attacker model with multi-step RL, where the model is rewarded for generating attacks that are different from past attempts further increases diversity while remaining effective. We use our approach to generate both prompt injection attacks and prompts that elicit unsafe responses. In both cases, we find that our approach is able to generate highly-effective and considerably more diverse attacks than past general red-teaming approaches.

cs.LG↗

Bayesian state estimation unlocks real-time control in thin film synthesis

The rapid validation of newly predicted materials through autonomous synthesis requires real-time adaptive control methods that exploit physics knowledge, a capability that is lacking in most systems. Here, we demonstrate an approach to enable the real-time control of thin film synthesis by combining in situ optical diagnostics with a Bayesian state estimation method. We developed a physical model for film growth and applied the Direct Filter (DF) method for real-time estimation of nucleation and growth rates during pulsed laser deposition (PLD) of transition metal dichalcogenides. We validated the approach on simulated and previously acquired reflectivity data for WSe$_2$ growth and ultimately deployed the algorithm on an autonomous PLD system during growth of 1T$^\prime$-MoTe$_2$ under various synthesis conditions. We found that the DF robustly estimates growth parameters in real-time at early stages of growth, down to 15% percent monolayer area coverage. This approach opens new opportunities for adaptive film growth control based on a fusion of in situ diagnostics, modern data assimilation methods, and physical models which promises to enable control of synthesis trajectories towards desired material states.

cond-mat.mtrl-sci↗

A Versatile Side Entry Laser System for Scanning Transmission Electron Microscopy

We present the design and implementation of a side entry laser system designed for an ultra-high vacuum scanning transmission electron microscope. This system uses a versatile probe design enclosed in a vacuum envelope such that parts can be easily aligned, modified, or exchanged without disturbing the vacuum. The system uses a mirror mounted on the sample holder such that the sample can be illuminated without being tilted. Notably the mirror can be removed and replaced with an ablation target and a higher power laser used to ablate material directly onto the sample. We argue that new capabilities hold the potential to transform the electron microscope from an analysis tool towards a more flexible synthesis system, where atomic scale fabrication and atom-by-atom experiments can be performed.

physics.app-ph↗

Your Clean Graphene is Still Not Clean

Efforts aimed at scaling fabrication processes to the level of single atoms, dubbed atom-by-atom fabrication or atomic fabrication, invariably encounter the obstacle of atomic scale cleanliness. When considering atomic fabrication, cleanliness of the base material and purity of the source reservoir from which atomic structures will be built are invariable constraints imposed by laws of physics and chemistry. As obvious as such statements may be, and regardless of the inevitable consequences for successful atomic fabrication, there is a poignant lack of understanding of the "dirt" (contamination/impurities). Here, we examine hydrocarbon contamination on graphene. Graphene has formed the base substrate for many e-beam-based atomic fabrication studies and many strategies for cleaning graphene have been presented in the literature. One popular method is heating to high temperatures (>500 °C). It is usually inferred that volatile hydrocarbons evaporate into the microscope vacuum system leaving behind pristine graphene. Here, we show through direct image intensity analysis that what appears to be clean graphene can be coated with a thin layer of dynamically diffusing hydrocarbons. This result holds significant implications for approaches to e-beam based atomic fabrication, updates the conceptual model of e-beam induced hydrocarbon deposition, and may extend to hot surfaces generally.

cond-mat.mtrl-sci↗

The Stellar Abundances and Galactic Evolution Survey (SAGES) III -- The g/r/i-band Data Release

The Stellar Abundances and Galactic Evolution Survey (SAGES) is a multi-band survey that covers the northern sky area of ~12000 deg2. Nanshan One-meter Wide-field Telescope (NOWT) of Xinjiang Astronomical Observatory (XAO) carried out observations on g/r/i bands. We present here the survey strategy, data processing, catalog construction, and database schema. The observations of NOWT started in 2016 August and was completed in 2018 January, total 17827 frames were obtained and ~4600 deg2 sky areas were covered. In this paper, we released the catalog of the data in the g/r/i bands observed with NOWT. In total, there are 109,197,578 items of the source records. The catalog is the supplement for the SDSS for the bright end, and the combination of our catalog and these catalogs could be helpful for source selections for other surveys and the Milky Way sciences, e.g., white dwarf candidates and stellar flares.

astro-ph.GA↗

A Spatial Uniformity Check of Gaia DR3 Photometry and BP/RP Spectra

Gaia DR3 photometry and BP/RP spectra have been widely used as reference in photometric calibrations. In this work, we check the spatial uniformity of Gaia DR3 photometry and BP/RP spectra by comparing the BP, RP and G bands photometry with the synthetic ones from the BP/RP spectra. The discrepancies have a small dispersion of 1.07, 0.55 and 1.02 mmag for the BP, RP, and G bands, respectively. However, the discrepancies exhibit obvious spatial patterns, which are clearly associated with the Gaia's scanning law. The patterns observed in the BP and G bands are similar, with discrepancies between photometry and spectra being more pronounced in these bands compared to the RP band. A further independent test with the Dark Energy Survey DR2 photometry reveals that the spatial patterns are more likely attributed to the Gaia DR3 BP/RP spectra, particularly in the BP band. On one hand, our results confirm the high spatial uniformity of Gaia data at the mmag level. On the other hand, our results suggest that the spatial uniformity of Gaia DR3 BP/RP spectra is not as good as that of Gaia DR3 photometry, and could be further improved in the future.

astro-ph.IM↗

J-PLUS: Beyond Spectroscopy III. Stellar Parameters and Elemental-abundance Ratios for Five Million Stars from DR3

We present a catalog of stellar parameters (effective temperature $T_{\rm eff}$, surface gravity $\log g$, age, and metallicity [Fe/H]) and elemental-abundance ratios ([C/Fe], [Mg/Fe], and [$α$/Fe]) for some five million stars (4.5 million dwarfs and 0.5 million giants stars) in the Milky Way, based on stellar colors from the Javalambre Photometric Local Universe Survey (J-PLUS) DR3 and \textit{Gaia} EDR3. These estimates are obtained through the construction of a large spectroscopic training set with parameters and abundances adjusted to uniform scales, and trained with a Kernel Principal Component Analysis. Owing to the seven narrow/medium-band filters employed by J-PLUS, we obtain precisions in the abundance estimates that are as good or better than derived from medium-resolution spectroscopy for stars covering a wide range of the parameter space: 0.10-0.20 dex for [Fe/H] and [C/Fe], and 0.05 dex for [Mg/Fe] and [$α$/Fe]. Moreover, systematic errors due to the influence of molecular carbon bands on previous photometric-metallicity estimates (which only included two narrow/medium-band blue filters) have now been removed, resulting in photometric-metallicity estimates down to [Fe/H] $\sim -4.0$, with typical uncertainties of 0.25 dex and 0.40 dex for dwarfs and giants, respectively. This large photometric sample should prove useful for the exploration of the assembly and chemical-evolution history of our Galaxy.

astro-ph.SR↗

Filter Design for Estimation of Stellar Metallicity: Insights from Experiments with Gaia XP Spectra

We search for an optimal filter design for the estimation of stellar metallicity, based on synthetic photometry from Gaia XP spectra convolved with a series of filter-transmission curves defined by different central wavelengths and bandwidths. Unlike previous designs based solely on maximizing metallicity sensitivity, we find that the optimal solution provides a balance between the sensitivity and uncertainty of the spectra. With this optimal filter design, the best precision of metallicity estimates for relatively bright ($G \sim 11.5$) stars is excellent, $σ_{\rm [Fe/H]} = 0.034$\,dex for FGK dwarf stars, superior to that obtained utilizing custom sensitivity-optimized filters (e.g., SkyMapper\,$v$). By selecting hundreds of high-probabability member stars of the open cluster M67, our analysis reveals that the intrinsic photometric-metallicity scatter of these cluster members is only 0.036\,dex, consistent with this level of precision. Our results clearly demonstrate that the internal precision of photometric-metallicity estimates can be extremely high, even providing the opportunity to perform chemical tagging for very large numbers of field stars in the Milky Way. This experiment shows that it is crucial to take into account uncertainty alongside the sensitivity when designing filters for measuring the stellar metallicity and other parameters.

astro-ph.SR↗

Stellar X-ray activity and habitability revealed by ROSAT sky survey

Using the homogeneous X-ray catalog from ROSAT observations, we conducted a comprehensive investigation into stellar X-ray activity-rotation relations for both single and binary stars. Generally, the relation for single stars consists of two distinct regions: a weak decay region, indicating a continued dependence of the magnetic dynamo on stellar rotation rather than a saturation regime with constant activity, and a rapid decay region, where X-ray activity is strongly correlated with the Rossby number. Detailed analysis reveals more fine structures within the relation: in the extremely fast rotating regime, a decrease in X-ray activity was observed with increasing rotation rate, referred to as super-saturation, while in the extremely slow rotating region, the relation flattens, mainly due to the scattering of F stars. This scattering may result from intrinsic variability in stellar activities over one stellar cycle or the presence of different dynamo mechanisms. Binaries exhibit a similar relation to that of single stars while the limited sample size prevented the identification of fine structures in the relation for binaries. We calculated the mass loss rates of planetary atmosphere triggered by X-ray emissions from host stars. Our findings indicate that for an Earth-like planet within the stellar habitable zone, it would easily lose its entire primordial H/He envelope (equating to about 1% of the planetary mass).

astro-ph.SR↗

The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions

Today's LLMs are susceptible to prompt injections, jailbreaks, and other attacks that allow adversaries to overwrite a model's original instructions with their own malicious prompts. In this work, we argue that one of the primary vulnerabilities underlying these attacks is that LLMs often consider system prompts (e.g., text from an application developer) to be the same priority as text from untrusted users and third parties. To address this, we propose an instruction hierarchy that explicitly defines how models should behave when instructions of different priorities conflict. We then propose a data generation method to demonstrate this hierarchical instruction following behavior, which teaches LLMs to selectively ignore lower-privileged instructions. We apply this method to GPT-3.5, showing that it drastically increases robustness -- even for attack types not seen during training -- while imposing minimal degradations on standard capabilities.

cs.CR↗

Momentum Matching for 2D-3D Heterogeneous Ohmic van der Waals Contact

Construction of ohmic contact is a long-standing challenge encountered by two-dimensional (2D) device fabrication and integration. van der Waals contacts, as a new solution for 2D contact construction, can effectively eliminate issues, such as Fermi-level pining and formation of Schottky barrier. Nevertheless, current research primarily considers energy band alignment, while ignoring the transverse momentum conservation of charge carriers during the quantum tunneling across the van der Waals contacts. In this study, by comparing the IV characteristics and tunneling spectra of graphene-silicon tunneling junctions with various interfacial transverse momentum distribution, we demonstrate the importance of charge carrier momentum in constructing high-performance 2D contact. Further, by conditioning the van der Waals contacts and minimizing the momentum mismatch, we successfully enhanced the quantum tunneling current with more than three orders of magnitude and obtain ohmic-like contact. Our study provide and effective method for the construction of direction 2D-3D contact with low resistance and can potentially benefit the heterogeneous of integration of 2D materials in post-CMOS architectures.

physics.app-ph↗

A star-based method for precise flux calibration of the Chinese Space Station Telescope (CSST) slitless spectroscopic survey

The upcoming Chinese Space Station Telescope (CSST) slitless spectroscopic survey poses a challenge of flux calibration, which requires a large number of flux-standard stars. In this work, we design an uncertainty-aware residual attention network, the UaRA-net, to derive the CSST SEDs with a resolution of R = 200 over the wavelength range of 2500-10000 Åusing LAMOST normalized spectra with a resolution of R = 2000 over the wavelength range of 4000-7000 Å. With the special structure and training strategy, the proposed model can not only provide accurate predictions of SEDs but also their corresponding errors. The precision of the predicted SEDs depends on effective temperature (Teff), wavelength, and the LAMOST spectral signal-to-noise ratios (SNRs), particularly in the GU band. For stars with Teff = 6000 K, the typical SED precisions in the GU band are 4.2%, 2.1%, and 1.5% at SNR values of 20, 40, and 80, respectively. As Teff increases to 8000 K, the precision increases to 1.2%, 0.6%, and 0.5%, respectively. The precision is higher at redder wavelengths. In the GI band, the typical SED precisions for stars with Teff = 6000 K increase to 0.3%, 0.1%, and 0.1% at SNR values of 20, 40, and 80, respectively. We further verify our model using the empirical spectra of the MILES and find good performance. The proposed method will open up new possibilities for optimal utilization of slitless spectra of the CSST and other surveys.

astro-ph.IM↗

A comprehensive correction of the Gaia DR3 XP spectra

By combining spectra from the CALSPEC and NGSL, as well as spectroscopic data from the LAMOST Data Release 7 (DR7), we have analyzed and corrected the systematic errors of the Gaia DR3 BP/RP (XP) spectra. The errors depend on the normalized spectral energy distribution (simplified by two independent ``colors'') and $G$ magnitude. Our corrections are applicable in the range of approximately $-0.5<BP-RP<2$, $3<G<17.5$ and $E(B-V)<0.8$. To validate our correction, we conduct independent tests by comparing with the MILES and LEMONY spectra. The results demonstrate that the systematic errors of $BP-RP$ and $G$ have been effectively corrected, especially in the near ultraviolet. The consistency between the corrected Gaia XP spectra and the MILES and LEMONY is better than 2 per cent in the wavelength range of $336-400$\,nm and 1 per cent in redder wavelengths. A global absolute calibration is also carried out by comparing the synthetic Gaia photometry from the corrected XP spectra with the corrected Gaia DR3 photometry. Our study opens up new possibilities for using XP spectra in many fields. A Python package is publicly available to do the corrections (https://doi.org/10.12149/101375 or https://github.com/HiromonGON/GaiaXPcorrection).

astro-ph.IM↗

Stellar Loci. VII. Photometric Metallicities of 5 Million FGK Stars Based on GALEX GR6+7 AIS and Gaia EDR3

We combine photometric data from GALEX GR6+7 AIS and Gaia EDR3 with stellar parameters from the SAGA and PASTEL catalogs to construct high-quality training samples for dwarfs ($\rm 0.4< BP-RP<1.6$) and giants ($\rm 0.6< BP-RP <1.6$). We apply careful reddening corrections using empirical temperature- and extinction-dependent extinction coefficients. Using the two samples, we establish a relationship between stellar loci (NUV$-$BP vs. BP$-$RP colors), metallicity, and $\rm M_G$. For a given BP$-$RP color, a 1 dex change in [Fe/H] corresponds to an approximately 1 magnitude change in NUV$-$BP color for solar-type stars. These relationships are employed to estimate metallicities based on NUV$-$BP, BP$-$RP, and $\rm M_G$. Thanks to the strong metallicity dependence in the GALEX NUV-band, our models enable a typical photometric-metallicity precision of approximately $σ_{\rm [Fe/H]}$ = 0.11 dex for dwarfs and $σ_{\rm [Fe/H]}$ = 0.17 dex for giants, with an effective metallicity range extending down to [Fe/H] $= -3.0$ for dwarfs and [Fe/H] $= -4.0$ for giants. We also find that the NUV-band based photometric-metallicity estimate is not as strongly affected by carbon enhancement as previous photometric techniques. With the Gaia and GALEX data, we have estimated metallicities for about 5 million stars across almost the entire sky, including approximately 4.5 million dwarfs and 0.5 million giants. This work demonstrates the potential of the NUV-band for estimating photometric metallicities, and sets the groundwork for utilizing the NUV data from space telescopes such as the upcoming Chinese Space Station Telescope.

astro-ph.SR↗

Deep learning with plasma plume image sequences for anomaly detection and prediction of growth kinetics during pulsed laser deposition

Materials synthesis platforms that are designed for autonomous experimentation are capable of collecting multimodal diagnostic data that can be utilized for feedback to optimize material properties. Pulsed laser deposition (PLD) is emerging as a viable autonomous synthesis tool, and so the need arises to develop machine learning (ML) techniques that are capable of extracting information from in situ diagnostics. Here, we demonstrate that intensified-CCD image sequences of the plasma plume generated during PLD can be used for anomaly detection and the prediction of thin film growth kinetics. We developed a multi-output (2$+$1)D convolutional neural network regression model that extracts deep features from plume dynamics that not only correlate with the measured chamber pressure and incident laser energy, but more importantly, predict parameters of an auto-catalytic film growth model derived from in situ laser reflectivity experiments. Our results are the first demonstration of how ML with in situ plume diagnostics data in PLD can be utilized to maintain deposition conditions in an optimal regime. Further, the predictive capabilities of plume dynamics on the kinetics of film growth or other film properties prior to deposition provides a means for rapid pre-screening of growth conditions for the non-expert, which promises to accelerate materials optimization with PLD.

cond-mat.mtrl-sci↗

Residual Stress-Driven Non-Euclidean Morphing in Origami Structures

Non-Euclidean surfaces are ubiquitous in numerous engineering fields, such as automotive, aerospace, and biomedical engineering domains. Morphing origami has numerous potential engineering applications, including soft robots, mechanical metamaterials, antennas, aerospace structures, and biomedical devices, owing to its intrinsic morphing features from two-dimensional (2D) planes to three-dimensional (3D) surfaces. However, the current one-dimensional (1D) hinge deformation-driven transformation of foldable origami with rigid or slightly deformable panels cannot achieve a 3D complex and large curvilinear morphing. Moreover, most active origami structures use thin hinges with soft materials on their creases, thus resulting in a lower load capability. This study proposes a novel origami morphing method that demonstrates large free-form surface morphing, e.g., Euclidean to non-Euclidean surface morphing with shape-locking. We embedded tensorial anisotropic stress in origami panels during the extrusion-based 3D printing of shape memory polymers. The extrusion-based 3D printing of isotropic shape memory polymers can produce tensorial anisotropic stress in origami panels during fabrication, which can realize large non-Euclidean surface morphing with multiple deformation modes. The connecting topology of the origami unit cells influences the global morphing behavior owing to the interaction of the deformation of adjacent panels. Non-Euclidean morphing integrated with four-dimensional (4D) printing can provide multimodal shape locking at material and structural levels. The non-Euclidean surface morphing caused by tensorial residual stress in the panel during 3D printing expands the design space of origami and kirigami structures.

cond-mat.mtrl-sci↗

J-PLUS: Photometric Re-calibration with the Stellar Color Regression Method and an Improved Gaia XP Synthetic Photometry Method

We employ the corrected Gaia Early Data Release 3 (EDR3) photometric data and spectroscopic data from the Large Sky Area Multi-Object Fiber Spectroscopic Telescope (LAMOST) DR7 to assemble a sample of approximately 0.25 million FGK dwarf photometric standard stars for the 12 J-PLUS filters using the Stellar Color Regression (SCR) method. We then independently validated the J-PLUS DR3 photometry, and uncovered significant systematic errors: up to 15 mmag in the results of Stellar Locus (SL) method, and up to 10 mmag mainly caused by magnitude-, color-, and extinction-dependent errors of the Gaia XP spectra with the Gaia BP/RP (XP) Synthetic Photometry (XPSP) method. We have also further developed the XPSP method using the corrected Gaia XP spectra by Huang et al. (2023) and applied it to the J-PLUS DR3 photometry. This resulted in an agreement of 1-5 mmag with the SCR method, and a two-fold improvement in the J-PLUS zero-point precision. Finally, the zero-point calibration for around 91% of the tiles within the LAMOST observation footprint is determined through the SCR method, with the remaining approximately 9% of tiles outside this footprint relying on the improved XPSP method. The re-calibrated J-PLUS DR3 photometric data establishes a solid data foundation for conducting research that depends on high-precision photometric calibration.

astro-ph.SR↗

Topologically Variable and Volumetric Morphing of 3D Architected Materials with Shape Locking

The morphing of 3D structures is suitable for i) future tunable material design for customizing material properties and ii) advanced manufacturing tools for fabricating 3D structures on a 2D plane. However, there is no inverse design method for topologically variable and volumetric morphing or morphing with shape locking, which limits practical engineering applications. In this study, we construct a general inverse design method for 3D architected materials for topologically variable and volumetric morphing, whose shapes are lockable in the morphed states, which can contribute to future tunable materials, design, and advanced manufacturing. Volumetric mapping of bistable unit cells onto any 3D morphing target geometry with kinematic and kinetic modifications can produce flat-foldable and volumetric morphing structures with shape-locking. This study presents a generalized inverse design method for 3D metamaterial morphing that can be used for structural applications with shape locking. Topologically variable morphing enables the manufacture of volumetric structures on a 2D plane, saving tremendous energy and materials compared with conventional 3D printing. Volumetric morphing can significantly expand the design space with tunable physical properties without limiting the selection of base materials.

cond-mat.mtrl-sci↗