SearcharxivSearch

arXiv subjects

Kaiyu Zhang

Publications and source records attributed to Kaiyu Zhang.

14 recordsLinked to original sources

PERO: Efficient Robust Post-Training Foundation Models for Encrypted Traffic Classification

Encrypted traffic classification is vital for network security, yet real-world deployments are inherently sensitive to rare but high-loss errors such as misclassification of malicious traffic. The encrypted traffic foundation model, as a promising general-purpose technique, can achieve impressive overall performance. However, employing standard objectives such as empirical risk minimization often overlooks high-risk tail events, and commonly used performance metrics hardly reflect robustness limitations in risk-sensitive scenarios. Directly applying robust optimization objectives, such as conditional value-at-risk, to post-training is computationally prohibitive for large models, as identifying high-loss samples exhausts substantial computation. To this end, we propose Pre-Evaluation Robust Optimization (PERO), an efficient robust post-training framework for encrypted traffic foundation models. PERO employs a lightweight proxy to estimate sample-wise risk and selects a subset of high-risk samples to update the foundation model, decoupling risk estimation from expensive large-model optimization. Extensive experiments on typical encrypted traffic datasets show that PERO achieves competitive or superior robustness and average performance compared to outstanding robust post-training methods, while significantly reducing computational and memory costs.

cs.LG

Turbulent Nature of the Quasicontinuous Exhaust Regime for Fusion Plasmas

We demonstrate a turbulence mechanism that reconciles high plasma confinement with efficient heat exhaust -- a central challenge for fusion energy. Global two-fluid turbulence simulations of the reactor-relevant Quasicontinuous Exhaust regime on the ASDEX Upgrade tokamak reveal that a quasicoherent mode drives mesoscopic oscillations of the pedestal boundary across the magnetic separatrix and ejects ballistic filaments (blobs), reproducing both the mean profiles and turbulent fluctuations observed experimentally. This behavior arises from a synergistic interplay between kinetic ballooning modes and resistive X-point modes straddling the separatrix. These first-principles results place extrapolations to future fusion reactors on a firm physical footing.

physics.plasm-ph

On the mechanism of Pedestal Relaxation Events -- Insights gained by turbulence simulations with GRILLIX

Pedestal Relaxation Events (PREs) appear in I-mode discharges close to the I-H transition. Although they show certain similarities with Edge Localised Modes (ELMs), i.e. periodic energy ejections, the underlying mechanism seems to be very different from the mechanism responsible for ELMs. In this manuscript, we present global trans-collisional fluid simulations of an I-mode discharge in ASDEX Upgrade using GRILLIX. We observe multiple PREs during the simulation, which reproduce a range of experimentally observed PRE characteristics. Furthermore, a detailed analysis of various mode properties in our simulation allows us to pinpoint the underlying mechanism responsible for triggering PREs to Micro-Tearing Modes (MTMs). The system is analysed dynamically by evaluating density and electron temperature gradient lengths at the OMP position, where the MTM is located and grows over time. The path taken by the system in gradient length space is compared to a growth-rate estimate calculated by linear theory in simplified slab geometry, providing excellent agreement. Building on these insights, we sketch a qualitative picture of a full PRE cycle. Finally, we discuss the influence of the recently implemented Landau-fluid closure and the challenges of simulating low collisionality regimes with trans-collisional fluid models, like the one employed by GRILLIX.

physics.plasm-ph

The impact of plasma turbulence on atomic reaction rates in the detached ASDEX Upgrade divertor

Numerical modeling of the edge and scrape-off layer (SOL) must account for atomic processes such as hydrogenic ionization and recombination, charge-exchange, and line radiation. Their reaction rates depend non-linearly on density and temperature and are thus sensitive to turbulent fluctuations, whose inclusion/omission may significantly affect model outcomes. We quantify the impact of fluctuations by studying global turbulence simulations of the edge and SOL of ASDEX Upgrade in both attached and detached divertor conditions. While the effect of fluctuations is minimal for the attached state, pronounced localized discrepancies emerge in colder, detached conditions. The inclusion of turbulent fluctuations, when compared to mean-field calculations, causes a factor of 2 reduction in ionization and radiation rates local to the detachment front in the confined edge region. The effect arises from fluctuations crossing below the ionization energy threshold, facilitated by low mean temperature and increased fluctuation amplitudes at the detachment front. The rate reduction (rather than rate increase) is explained by the character of divertor fluctuations (negative density-temperature correlation, i.e., cold and dense blobs), notably distinct from characteristic fluctuations found at the outboard-midplane (positive correlation, i.e., hot and dense blobs). Furthermore, the cold and dense fluctuations enable efficient plasma recombination even at average temperatures above the recombination threshold. In detached conditions, the combined plasma particle source from ionization and recombination is, therefore, effectively reduced by at least 50% when compared to the standard mean-field source.

physics.plasm-ph

Unified and Semantically Grounded Domain Adaptation for Medical Image Segmentation

Most prior unsupervised domain adaptation approaches for medical image segmentation are narrowly tailored to either the source-accessible setting, where adaptation is guided by source-target alignment, or the source-free setting, which typically resorts to implicit adaptation mechanisms such as pseudo-labeling and network distillation. This substantial divergence in methodological designs between the two settings reveals an inherent flaw: the lack of an explicit, structured construction of anatomical knowledge that naturally generalizes across domains and settings. To bridge this longstanding divide, we introduce a unified, semantically grounded framework that supports both source-accessible and source-free adaptation. Fundamentally distinct from all prior works, our framework's adaptability emerges naturally as a direct consequence of the model architecture, without relying on explicit cross-domain alignment strategies. Specifically, our model learns a domain-agnostic probabilistic manifold as a global space of anatomical regularities, mirroring how humans establish visual understanding. Thus, the structural content in each image can be interpreted as a canonical anatomy retrieved from the manifold and a spatial transformation capturing individual-specific geometry. This disentangled, interpretable formulation enables semantically meaningful prediction with intrinsic adaptability. Extensive experiments on challenging cardiac and abdominal datasets show that our framework achieves state-of-the-art results in both settings, with source-free performance closely approaching its source-accessible counterpart, a level of consistency rarely observed in prior works. The results provide a principled foundation for anatomically informed, interpretable, and unified solutions for domain adaptation in medical imaging. The code is available at https://github.com/wxdrizzle/remind

cs.CV

VIP: Video Inpainting Pipeline for Real World Human Removal

Inpainting for real-world human and pedestrian removal in high-resolution video clips presents significant challenges, particularly in achieving high-quality outcomes, ensuring temporal consistency, and managing complex object interactions that involve humans, their belongings, and their shadows. In this paper, we introduce VIP (Video Inpainting Pipeline), a novel promptless video inpainting framework for real-world human removal applications. VIP enhances a state-of-the-art text-to-video model with a motion module and employs a Variational Autoencoder (VAE) for progressive denoising in the latent space. Additionally, we implement an efficient human-and-belongings segmentation for precise mask generation. Sufficient experimental results demonstrate that VIP achieves superior temporal consistency and visual fidelity across diverse real-world scenarios, surpassing state-of-the-art methods on challenging datasets. Our key contributions include the development of the VIP pipeline, a reference frame integration technique, and the Dual-Fusion Latent Segment Refinement method, all of which address the complexities of inpainting in long, high-resolution video sequences.

cs.CV

RemInD: Remembering Anatomical Variations for Interpretable Domain Adaptive Medical Image Segmentation

This work presents a novel Bayesian framework for unsupervised domain adaptation (UDA) in medical image segmentation. While prior works have explored this clinically significant task using various strategies of domain alignment, they often lack an explicit and explainable mechanism to ensure that target image features capture meaningful structural information. Besides, these methods are prone to the curse of dimensionality, inevitably leading to challenges in interpretability and computational efficiency. To address these limitations, we propose RemInD, a framework inspired by human adaptation. RemInD learns a domain-agnostic latent manifold, characterized by several anchors, to memorize anatomical variations. By mapping images onto this manifold as weighted anchor averages, our approach ensures realistic and reliable predictions. This design mirrors how humans develop representative components to understand images and then retrieve component combinations from memory to guide segmentation. Notably, model prediction is determined by two explainable factors: a low-dimensional anchor weight vector, and a spatial deformation. This design facilitates computationally efficient and geometry-adherent adaptation by aligning weight vectors between domains on a probability simplex. Experiments on two public datasets, encompassing cardiac and abdominal imaging, demonstrate the superiority of RemInD, which achieves state-of-the-art performance using a single alignment approach, outperforming existing methods that often rely on multiple complex alignment strategies.

cs.CV

On the proper treatment of magnetic fluctuations in full-$f$ field-aligned turbulence codes

Plasma turbulence in the edge of magnetic confinement devices is customarily treated as full-$f$ due to large fluctuations. For computational efficiency, field-aligned coordinates are employed, separating the magnetic field into equilibrium $B_0$ and delta-f perturbations which are handled by the magnetic flutter operators. Evolving the full-$f$ pressure with delta-$f$ magnetic perturbations can cause inconsistency since the latter contain background components such as the Shafranov shift, which are actually parts of the equilibrium magnetic field. Such background components ($B_s$) contained in the magnetic perturbations undermine the field-aligned numerics when treated as flutter: errors arise if $B_s/B_0\ll l_\perp/h_\parallel$ is not satisfied, with the perpendicular turbulence scale $l_\perp$ and the parallel grid distance $h_\parallel$. We find that the commonly used removal of $B_s$ by subtracting the toroidal average of magnetic perturbations intervenes in the Alfvén dynamics, causing spurious $E\times B$ transport. Instead, we propose an improved method to dynamically filter out the evolving background from the turbulent magnetic fluctuations in the time domain. The filter is verified in both low and high confinement tokamak conditions, confirming its capability to preserve the turbulence fidelity, provided sufficient filter width.

physics.plasm-ph

Tokamak edge-SOL turbulence in H-mode conditions simulated with a global, electromagnetic, transcollisional drift-fluid model

The design of commercially feasible magnetic confinement fusion reactors strongly relies on the reduced turbulent transport in the plasma edge during operation in the high confinement mode (H-mode). We present first global turbulence simulations of the ASDEX Upgrade tokamak edge and scrape-off layer (SOL) in ITER baseline H-mode conditions. Reasonable agreement with the experiment is obtained for outboard mid-plane measurements of plasma density, electron and ion temperature, as well as the radial electric field. The radial heat transport is underpredicted by roughly 1/3. These results were obtained with the GRILLIX code implementing a transcollisional, electromagnetic, global drift-fluid plasma model, coupled to diffusive neutrals. The transcollisional extensions include neoclassical corrections for the ion viscosity, as well as either a Landau-fluid or free-streaming limited model for the parallel heat conduction. Electromagnetic fluctuations are found to play a critical role in H-mode conditions. We investigate the structure of the significant $E \times B$ flow shear, finding both neoclassical components as well as zonal flows. But unlike in L-mode, geodesic acoustic modes are not observed. The turbulence mode structure is mostly that of drift-Alfvén waves. However, in the upper part of the pedestal, it is very weak and overshadowed by neoclassical transport. At the pedestal foot, on the other hand, we find instead the (electromagnetic) kinetic ballooning mode (KBM), most clearly just inside the separatrix. Our results pave the way towards predictive simulations of fusion reactors.

physics.plasm-ph

Towards Activated Muscle Group Estimation in the Wild

In this paper, we tackle the new task of video-based Activated Muscle Group Estimation (AMGE) aiming at identifying active muscle regions during physical activity in the wild. To this intent, we provide the MuscleMap dataset featuring >15K video clips with 135 different activities and 20 labeled muscle groups. This dataset opens the vistas to multiple video-based applications in sports and rehabilitation medicine under flexible environment constraints. The proposed MuscleMap dataset is constructed with YouTube videos, specifically targeting High-Intensity Interval Training (HIIT) physical exercise in the wild. To make the AMGE model applicable in real-life situations, it is crucial to ensure that the model can generalize well to numerous types of physical activities not present during training and involving new combinations of activated muscles. To achieve this, our benchmark also covers an evaluation setting where the model is exposed to activity types excluded from the training set. Our experiments reveal that the generalizability of existing architectures adapted for the AMGE task remains a challenge. Therefore, we also propose a new approach, TransM3E, which employs a multi-modality feature fusion mechanism between both the video transformer model and the skeleton-based graph convolution model with novel cross-modal knowledge distillation executed on multi-classification tokens. The proposed method surpasses all popular video classification models when dealing with both, previously seen and new types of physical activities. The database and code can be found at https://github.com/KPeng9510/MuscleMap.

cs.CV

Magnetic flutter effect on validated edge turbulence simulations

Small magnetic fluctuations ($B_1/B_0 \sim 10^{-4}$) are intrinsically present in a magnetic confinement plasma due to turbulent currents. While the perpendicular transport of particles and heat is typically dominated by fluctuations of the electric field, the parallel stream of plasma is affected by fluttering magnetic field lines. In particular through electrons, this indirectly impacts the turbulence dynamics. Even in low beta conditions, we find that $E\times B$ turbulent transport can be reduced by more than a factor 2 when magnetic flutter is included in our validated edge turbulence simulations of L-mode ASDEX Upgrade. The primary reason for this is the stabilization of drift-Alfvén-waves, which reduces the phase shifts of density and temperature fluctuations with respect to potential fluctuations. This stabilization can be qualitatively explained by linear analytical theory, and appreciably reinforced by the flutter nonlinearity. As a secondary effect, the steeper temperature gradients and thus higher $η_i$ increase the impact of the ion-temperature-gradient mode on overall turbulent transport. With increasing beta, the stabilizing effect on $E\times B$ turbulence increases, balancing the destabilization by induction, until direct electromagnetic perpendicular transport is triggered. We conclude that including flutter is crucial for predictive edge turbulence simulations.

physics.plasm-ph

Improve Ranking Correlation of Super-net through Training Scheme from One-shot NAS to Few-shot NAS

The algorithms of one-shot neural architecture search(NAS) have been widely used to reduce computation consumption. However, because of the interference among the subnets in which weights are shared, the subnets inherited from these super-net trained by those algorithms have poor consistency in precision ranking. To address this problem, we propose a step-by-step training super-net scheme from one-shot NAS to few-shot NAS. In the training scheme, we firstly train super-net in a one-shot way, and then we disentangle the weights of super-net by splitting them into multi-subnets and training them gradually. Finally, our method ranks 4th place in the CVPR2022 3rd Lightweight NAS Challenge Track1. Our code is available at https://github.com/liujiawei2333/CVPR2022-NAS-competition-Track-1-4th-solution.

cs.CV

MHD Flow Regimes in Annular Channel

One method and two results are contributed to the complete understanding about MHD laminar flow in annular channel with transverse magnetic field in this paper. In terms of the method, a computationally cheap semi-analytic algorithm is developed based on spectral method and perturbation expansion. By virtue of the fast computation, dense cases with almost continuous varying Hartmann number $M$, Reynolds number $Re$ and cross-section ratio $η$ are calculated to explore the flow patterns that are missed in previous research. In terms of the results of inertialess regime, we establish the average velocity map and electric-flow coupling delimitation in $η$-$M$ space. Seven phenomenological flow patterns and their analytical approaches are identified. In terms of the results of inertial regime, we examine the law of decreasing order-of-magnitude of inertial perturbation on primary flow with increasing Hartmann number. The proposed semi-analytic solution coincides with the $Re^2/M^{4}$ suppression theory of Baylis & Hunt (J. Fluid Mech., vol. 43, 1971, pp. 423-428) in the case of $M<40$. When $M>40$, the pair of trapezoid vortices of secondary flow begins to crack and there is therefore a faster drop in inertial perturbation as $Re^2/M^{5}$, which is a new suppression theory. When $M>80$, the anomalous reverse vortices are fully developed near Shercliff layers resulting in the slower suppression mode of $Re^2/M^{2.5}$, which confirms the prediction of Tabeling & Chabrerie (J. Fluid Mech., vol. 103, 1981, pp. 225-239).

physics.flu-dyn

Omnidirectional ghost imaging system and unwrapping-free panoramic ghost imaging

Ghost imaging (GI) is a novel imaging method, which can reconstruct the object information by the light intensity correlation measurements. However, at present, the field of view (FOV) is limited to the illuminating range of the light patterns. To enlarge FOV of GI efficiently, here we proposed the omnidirectional ghost imaging system (OGIS), which can achieve a 360° omnidirectional FOV at one shot only by adding a curved mirror. Moreover, by designing the retina-like annular patterns with log-polar patterns, OGIS can obtain unwrapping-free undistorted panoramic images with uniform resolution, which opens up a new way for the application of GI.

physics.optics