SearcharxivSearch

arXiv subjects

Yiming Pan

Publications and source records attributed to Yiming Pan.

At least 19 recordsLinked to original sources

Wnuan: Staged Post-Training for Question Answering over Proprietary Enterprise Knowledge

Enterprise question answering requires models to acquire proprietary knowledge without discarding general capabilities. We present Wnuan, a three-stage pipeline that constructs task-oriented supervision from documents, performs supervised fine-tuning with general-data replay, and applies reinforcement learning to residual errors. On the 707-question WnuanBench, the primary 32B route raises acceptable-answer rate (AAR) from 52.76% before adaptation to 80.06% after SFT and 91.51% after RL. Under a matched 100-update protocol, residual-error sampling outperforms full-pool and size-matched random sampling by 3.11 and 2.97 points, respectively. Source-cluster bootstrap intervals remain above zero for both contrasts, and a same-domain validation set preserves the ordering. The general-benchmark average decreases by 5.17 points across the route, concentrated in instruction following. The automatic evaluation ensemble agrees with an authoritative domain expert on 90.5% of a stratified Wnuan-Inst response sample. These results characterize both the gains and the general-capability cost of staged enterprise adaptation.

cs.AI

Generation and manipulation of multipole and vortex events in (1+1)-dimensional spacetime

An event is usually regarded as a zero-dimensional coordinate label in spacetime, rather than as an object with spatial extent, internal structure or topology. Here we show that in nonlinear photonic spacetime crystals, a complete energy-momentum gap ($\omega k$-gap) suppresses extended radiation channels, while Kerr self-trapping localizes an optical occurrence in the physical $(x,t)$ plane. Imposing and relaxing symmetry constraints then yields multipole and vortex events with distinct internal structure. Their spacetime action of these states establishes a hierarchy of structural cost, Bogoliubov-de Gennes spectra distinguish phase-winding vortices from real-valued multipoles, and initial-value reconstructions provide an independent robustness check together with a finite preparation window. Using representative optical parameters, we predict that these structured events span transverse scales of 30-60 $\mu$m and temporal duration of 85-170 fs. These results suggest that an event can be treated not only as a point label, but also as a localized wave object with controllable internal degrees of freedom, offering a route to wave control in time-varying nonlinear media.

physics.optics

Time domain Stokes mechanism of pair correlated k gap solitons in nonlinear photonic time crystal slabs

Pair generation in time-varying media is commonly attributed to time reflection at temporal boundaries or to amplification inside momentum k gaps. Here we show that these two processes are connected by the time domain Stokes phenomenon. A finite duration photonic time crystal (PTC) slab provides the necessary Stokes connection between the incident vacuum mode, transient k gap amplification, and time boundary scattering. With Kerr nonlinearity, the otherwise unbounded amplification is arrested, spawning Kerr stabilized k gap solitons. When these solitons cross the exit boundary of the time slab, Stokes induced mode conversion produces a secondary pair generation process, yielding four spatially separated and entangled pulse branches. Detection of a backward propagating light pulse therefore heralds its forward propagating partner. We further propose combined Hanbury Brown Twiss and Hong Ou Mandel measurements to test their nonclassical correlations. These results reveal a link between asymptotic Stokes physics and quantum temporal scattering in PTCs, and suggest a route toward ultrafast heralded quantum light sources.

physics.optics

Phase-Programmable Free Electron Quantum States in Synthetic Momentum Space

Light-electron interactions generate synthetic momentum-space dynamics that can be used to engineer free electron quantum states. Here we develop coherent control protocols in which the optical phase acts as the controllable hopping phase of a Floquet-Bloch momentum lattice. Pontryagin optimization designs phase-only waveforms that prepare selected momentum populations and coherent few-sideband superpositions with programmable relative phases. In a complementary Bragg regime protocol, dynamical phase matching selectively couples neighboring sidebands and enables deterministic sequential state synthesis. Full wave-packet simulations based on the minimal-coupling Hamiltonian identify the tolerance window set by phase noise, detuning, and finite momentum spread. The two protocols expose a speed-selectivity tradeoff between ultrafast multilevel interference control and slower resonant engineering, establishing programmable free electron sidebands as a platform for ultrafast quantum state synthesis.

quant-ph

Breathing k-Gap Events and Instability on Instability in Nonlinear Photonic Time Crystals

Photonic time crystals (PTCs) host momentum bandgaps, or k gaps, that enable parametric amplification and lasing of seeded fields. In nonlinear PTCs, Kerr saturation dynamically suppresses the exponential growth, reshaping k-gap amplification into an active, spatially homogeneous k gap soliton train. Here, we show that a localized perturbation on this unstable background then nucleates a transient spatiotemporal excitation: the breathing k gap event. Unlike Peregrine breathers emerging from modulational instability on a planewave background, this event extracts energy from competing host k gap solitons and remains sustained by their interaction. We identify this process as an instability on instability mechanism intrinsic to nonlinear k gap dynamics. The event is robust against noise and disorder, and can be deterministically reshaped into collective breathing patterns by periodic and phase engineered seeding. These results establish k gap engineering as a route to generating and controlling extreme spatiotemporal waves in photonic time varying media.

physics.optics

Quantization and Biphoton Statistics of k-Gap Solitons in Nonlinear Photonic Time Crystals

Nonlinear photonic time crystals (PTCs) can support solitons inside momentum k gaps, where the amplification of k gap modes is saturated by Kerr nonlinearity, forming spatially homogeneous but temporally localized excitations. Yet their quantum nature remains unclear. Here we quantize nonlinear k gap dynamics of PTCs and show that k gap solitons are represented by biphoton Fock ladder states. K gap amplification drives two-mode squeezing of the biphoton, while Kerr nonlinearity generates an anharmonic potential along the biphoton Fock ladder that balances this squeezing process, creating a finite biphoton number turning point and giving rise to quantum collapse and revival dynamics and nonclassical phase space interference. We further analyze how photon loss and dephasing reshape the biphoton statistics of quantized k gap solitons. Our results establish a biphoton Fock space description of k gap soliton quantization and provide a framework for studying quantum nonlinear excitations and entangled light generation in photonic time crystals.

physics.optics

Data-driven reconstruction of band dispersion and quantum geometry via Koopman dynamical mode decomposition

We present a data-driven framework for reconstructing band structures using Koopman operator analysis and dynamic mode decomposition (Koopman-DMD). Instead of deriving spectra from an explicit Hamiltonian, the approach reconstructs band dispersion and modal dynamics directly from spatiotemporal data, including wavefunctions and observables. This framework establishes a correspondence between Hamiltonian Floquet-Bloch decomposition and Koopman-DMD, whereby the extracted DMD modes encode frequencies, decay or growth rates, spatial profiles and projection weights. These quantities allow the reconstruction of spectral functions, local density of states, and delocalized-to-localized measures such as the inverse participation ratio. Also, these extended DMD modes enable inference of quantum-geometric and topological properties, including the quantum metric, Berry curvature and geometric phases. Applications to prototypical one- and two-dimensional tight-binding models, including disordered Su-Schrieffer-Heeger model and its Floquet and non-Hermitian variants, graphene and Haldane models, demonstrate that Koopman-DMD provides a unified route for the data-driven analysis of wave propagation, localization, and topological phases in condensed matter, photonics, and related fields.

physics.comp-ph

Quantum echo-enabled high harmonic generation using ultrafast electrons

Controlling and generating ultrafast free-electron wavepackets via laser is pivotal for photon-induced near-field electron microscopes (PINEM) and also for developing compact, coherent free-electron radiation sources. Here, we present a quantum echo-enabled high-harmonic generation (QEEHG) scheme that manipulates the quantum phase of electron wavepackets to produce tunable, coherent high-harmonic radiation at ultrashort wavelengths. This framework, inspired by the EEHG concept for free-electron lasers by Stupikov et al. (2009), leverages multiphoton PINEM scattering followed by dispersive chirp sections to induce quantum interference among photon sidebands. Such interference selectively enhances a targeted harmonic order - for instance, the 60th harmonic at 13.3nm from an 800nm seeding - while suppressing unwanted radiations. The optimization of harmonic orders and its non-classical spectral characteristics are analyzed. This quantum echo technique establishes a promising paradigm for compact coherent sources and provides new perspectives for quantum wavefunction shaping in ultrafast electron microscopy and diffraction.

physics.optics

Programming Coherent and Quantum Light with a Free-Electron Wavepacket

The pursuit of compact, programmable light sources with high coherence and spectral purity hinges on establishing a precise set of phase relationships in light-matter interactions. Here, we demonstrate that the quadratic dispersion of freely propagating electron wavepacket serves as a programmable quantum medium. Prepared in a coherent momentum-state ladder via a single laser interaction, the electron subsequently undergoes deterministic phase evolution during free propagation-an intrinsic process that compiles its quantum state into two distinct emission channels. This mechanism, quantified by a quantum bunching factor, enables: (i) Talbot-resonant bunching, where the electron density self-structures into sub-cycle combs with tunable harmonic selectivity, and (ii) coherent phase transfer of the programmed quadratic phase to light, generating nonclassical photon states such as multi-component Schrodinger cat states via measurement-conditioned interaction. This quadratic-phase programming establishes a versatile platform for on-demand quantum state synthesis, bridging beam engineering with electron wavefunction shaping for compact quantum light sources, coherent radiation control, and scalable quantum information processing.

physics.optics

AeSlides: Incentivizing Aesthetic Layout in LLM-Based Slide Generation via Verifiable Rewards

Large language models (LLMs) have demonstrated strong potential in agentic tasks, particularly in slide generation. However, slide generation poses a fundamental challenge: the generation process is text-centric, whereas its quality is governed by visual aesthetics. This modality gap leads current models to frequently produce slides with aesthetically suboptimal layouts. Existing solutions typically rely either on heavy visual reflection, which incurs high inference cost yet yields limited gains; or on fine-tuning with large-scale datasets, which still provides weak and indirect aesthetic supervision. In contrast, the explicit use of aesthetic principles as supervision remains unexplored. In this work, we present AeSlides, a reinforcement learning framework with verifiable rewards for Aesthetic layout supervision in Slide generation. We introduce a suite of meticulously designed verifiable metrics to quantify slide layout quality, capturing key layout issues in an accurate, efficient, and low-cost manner. Leveraging these verifiable metrics, we develop a GRPO-based reinforcement learning method that directly optimizes slide generation models for aesthetically coherent layouts. With only 5K training prompts on GLM-4.7-Flash, AeSlides improves aspect ratio compliance from 36% to 85%, while reducing whitespace by 44%, element collisions by 43%, and visual imbalance by 28%. Human evaluation further shows a substantial improvement in overall quality, increasing scores from 3.31 to 3.56 (+7.6%), outperforming both model-based reward optimization and reflection-based agentic approaches, and even edging out Claude-Sonnet-4.5. These results demonstrate that such a verifiable aesthetic paradigm provides an efficient and scalable approach to aligning slide generation with human aesthetic preferences. Our repository is available at https://github.com/ympan0508/aeslides.

cs.CV

Multi-Head Residual-Gated DeepONet for Coherent Nonlinear Wave Dynamics

Coherent nonlinear wave dynamics are often strongly shaped by a compact set of physically meaningful descriptors of the initial state. Traditional neural operators typically treat the input-output mapping as a largely black-box high-dimensional regression problem, without explicitly exploiting this structured physical context. Common feature-integration strategies usually rely on direct concatenation or FiLM-style affine modulation in hidden latent spaces. Here we introduce a different paradigm, loosely inspired by the complementary roles of state evolution and physically meaningful observables in quantum mechanics: the wave field is learned through a standard DeepONet state pathway, while compact physical descriptors follow a parallel conditioning pathway and act as residual modulation factors on the state prediction. Based on this idea, we develop a Multi-Head Residual-Gated DeepONet (MH-RG), which combines a pre-branch residual modulator, a branch residual gate, and a trunk residual gate with a low-rank multi-head mechanism to capture multiple complementary conditioned response patterns without prohibitive parameter growth. We evaluate the framework on representative benchmarks including highly nonlinear conservative wave dynamics and dissipative trapped dynamics and further perform detailed mechanistic analyses of the learned multi-head gating behavior. Compared with feature-augmented baselines, MH-RG DeepONet achieves consistently lower error while better preserving phase coherence and the fidelity of physically relevant dynamical quantities.

cs.LG

Ultrafast Strongly Anisotropic Valleytronics in SnSe

Valleytronics aims to control electrons in a valley-specific manner for quantum information manipulation. Due to their strong in-plane anisotropy, which enables polarization-controlled optical transitions to distinct nondegenerate valleys, group-IV monochalcogenides have been recently proposed as promising candidates for next-generation valleytronic materials. However, ultrafast nonequilibrium dynamics following optical preparation of valley-polarized states remain completely unexplored in these systems. Combining time- and angle-resolved extreme-ultraviolet photoemission spectroscopy with time-dependent Boltzmann equation simulations, we investigate ultrafast valley polarization dynamics following polarization-controlled photoexcitation in SnSe. We show that selective excitation to valleys at global conduction minima yields nearly unity and time-independent valley polarization. In contrast, photoexcitation to the other valley channel leads to ultrafast decay and reversal of valley polarization on sub-picosecond timescales due to intervalley scattering mediated by strong electron-phonon coupling with an optical phonon mode. Our findings reveal strongly anisotropic and radically different nonequilibrium valley physics than in most common two-dimensional valleytronics materials.

cond-mat.mtrl-sci

Topologically-protected superluminal pair annihilation in photonic time crystals

Photonic time crystals (PTCs) - dielectric media whose permittivity is periodically modulated in time - map to a Dirac equation with an imaginary mass, opening a momentum gap (k-gap) where modes grow or decay exponentially. Here, we introduce a sequence of temporal Jackiw-Rebbi kinks that act as a programmable flip of the Dirac mass, exchanging the amplifying and decaying in-gap modes. By launching two seeded pulses with a controlled relative phase, we demonstrate topological pair annihilation in spacetime domain, the phase-selective cancellation of counter-propagating, k-gap-amplified modes. The resulting spatiotemporal cascade appears superluminal, yet causality is preserved because the cascaded pattern carries no net energy flux. To facilitate implementation, we construct a minimal time-varying non-Hermitian lattice model and reproduce the phase-selective pair annihilation behavior, establishing a direct continuum-lattice correspondence. Our results identify topological kinks as temporal gating to manipulate the growth and wave propagation of time-varying media.

physics.optics

Access Paths for Efficient Ordering with Large Language Models

In this work, we present the \texttt{LLM ORDER BY} semantic operator as a logical abstraction and conduct a systematic study of its physical implementations. First, we propose several improvements to existing semantic sorting algorithms and introduce a semantic-aware external merge sort algorithm. Our extensive evaluation reveals that no single implementation offers universal optimality on all datasets. From our evaluations, we observe a general test-time scaling relationship between sorting cost and the ordering quality for comparison-based algorithms. Building on these insights, we design a budget-aware optimizer that utilizes heuristic rules, LLM-as-Judge evaluation, and consensus aggregation to dynamically select the near-optimal access path for LLM ORDER BY. In our extensive evaluations, our optimizer consistently achieves ranking accuracy on par with or superior to the best static methods across all benchmarks. We believe that this work provides foundational insights into the principled optimization of semantic operators essential for building robust, large-scale LLM-powered analytic systems.

cs.DB

Ultrafast Stern-Gerlach and Anomalous Bragg Diffraction Regimes of Low-energy Free Electron Interaction with Light

Recent advances in photon-induced near-field electron microscopy (PINEM) have significantly impacted allied disciplines such as laser-driven accelerators and free electron radiations, collectively fostering the emergence of free-electron quantum optics (FEQO). A central objective of FEQO is to achieve coherent optical control of free electrons, analogous to light manipulation of atoms in atom optics. Motivated by this analogy, we propose an ultrafast Stern-Gerlach (USG) regime for low-energy quantum electron wavepacket (QEW), which crucially incorporates the effects of second-order dispersion inherent to slow electrons. We demonstrate that the USG diffraction induces spectral splitting and shifting of the QEW via a longitudinal electric field gradient, with the two dominant truncated sidebands forming a pseudospin degree of freedom for an effective "two-level" electron. Furthermore, by examining the wave-particle duality of the QEW during light interaction, we identify a dispersion-induced anomalous Bragg diffraction regime. This regime exhibits a distinct spectral pattern, differentiating it from these reported PINEM (Raman-Nath), dielectric laser accelerators (DLA), anomalous PINEM, and Bragg diffraction regimes. Our study provides a comprehensive classification for light-induced diffraction regimes for both swift and slow electrons. These findings underscore the pivotal role of slow-electron dispersion and duality nature in free-electron optics, offering promising avenues for electron wavefunction quantum engineering ultrafast interferometers.

quant-ph

Indirect multiphoton scattering between light and bulk plasmons via ultrafast free electrons

Efficient coupling between light and bulk plasmons (BPs) remains a central challenge because of their inherent mode mismatch, limited penetration depth, and pronounced resonant energy mismatch between visible-range photons and BPs. In this work, we demonstrate that ultrafast free electrons can coherently mediate an interaction between electromagnetic fields and BPs at the nanoscale. An electron pulse emitted from the photocathode of ultrafast transmission electron microscope, functions as a quantum intermediary that is capable of simultaneously interacting with the laser field by multiphoton processes and BPs by perturbative scattering. Electron energy-loss spectroscopy can capture this indirect interaction, the final electron energy distribution encodes both quantum pathways arising from distinct combinations of multiphoton absorption and emission and BP scattering events. Interference among these pathways gives rise to characteristic spectral modulations, directly revealing the exchange of energy and information between photons and BPs via the electron delivery. Our results show that femtosecond-driven, ultrafast electrons provide a viable route to modulate and even control bulk plasmon excitations in a volume, thereby extending beyond the conventional nanoplasmonics schemes on manipulating surface plasmons by light. This indirect light-BP interaction paves the promising way for exploring fundamental light-matter interaction at ultrafast and nanometer scales.

physics.optics

Generating and Weaving Topological Event Wavepackets in Photonic Spacetime Crystals with Fully Energy-Momentum Gapped

We propose a novel type of topological excitation topological event wavepackets (TEWs) emerging in photonic spacetime crystals (STCs) with spacetime modulated dielectric constants. These TEWs exhibit strong spatiotemporal localization and are topologically protected by a fully opened energy momentum ({\omega}k) gap, within which conventional steady states are absent. We further demonstrate that TEWs are spectrally confined within the {\omega}k-gap, providing a combined measurement for probing the emergence of TEW and the {\omega}k-gap size. Furthermore, we construct a spacetime winding number to elucidate the protection of these events. Unlike previously reported nolinearity-induced event solitons, TEWs originate from topological configuration for linear media, thereby more accessible and versatile for experimental realization. Moreover, we show that TEWs can be periodically woven to form an event lattice, enabling to suppress unwanted noise amplification. Our findings open a new pathway toward topological control in photonic spacetime-modulated systems, enabling the {\omega}k-gap band enginering for wave manipulation ranging from microwave to optical regimes.

physics.optics

Light-induced Pairing Instability of Ultrafast Electron Beams with Space Charge Interactions

Ultrafast electron beams are essential for many applications, yet space-charge interactions in high-intensity beams lead to energy dissipation, coherence loss, and pulse broadening. Existing techniques mitigate these effects by using low-flux beams, preserving beam coherence into the quantum regime. Here, we propose a novel approach by treating the electrons as a strongly correlated Fermi gas rather than merely as an ensemble of charged point-like particles. We introduce a photon-induced pairing mechanism that generates a net attractive force between two electrons, thereby forming "flying bound states" analogous to Cooper pairs of conduction electrons in superconductors. Employing the setting of photon-induced near-field electron microscopy (PINEM), we demonstrate that the effective interaction via single-photon exchange among PINEM electrons can suppress the inherent repulsive Coulomb interaction, enabling a pairing instability mediated by structured electromagnetic fields at near-resonant velocity matching regimes. Finally, we analyze the dynamics of the free-electron pairs in a bunched beam, underscoring the potential to facilitate a phase-coherent condensate of electrons, which can further enhance beam coherence and multi-particle correlation for high-intensity electrons.

physics.optics