Search arXiv⌕ Search

arXiv subjects

Han Shen

Publications and source records attributed to Han Shen.

At least 19 recordsLinked to original sources

CAR-KV: Conditional Visual KV Incremental Delivery for Disaggregated Edge VLM Serving

Disaggregated vision-language model (VLM) serving over bandwidth-limited edge networks incurs substantial inter-node key-value (KV) transfer overhead and decoding-node memory pressure due to large visual KV caches. Existing visual KV eviction methods rank KV entries by static importance scores, overlooking semantic redundancy among retained entries. In multi-turn conversations, this forces a rigid trade-off between repeated KV re-transmission and coarse-grained cache retention, severely straining limited edge bandwidth and decoding memory. To overcome these limitations, we shift from static per-request eviction to state-aware KV selection and cross-turn reuse. Within each request, Conditional Attention Reconstruction (CAR) iteratively selects visual KV entries based on their marginal attention-reconstruction gain conditioned on already retained states, dynamically adapting candidate priorities as the retained set grows. Across multi-turn queries sharing a visual prefix, Task-Conditional KV Reuse (TCR) builds directly upon this selection by reusing valid KV states already cached at the decoding node and transmitting only missing task-relevant entries, reconstructing exact task-specific KV views without additional approximation. Together, these mechanisms form CAR-KV, a training-free framework for incremental KV cache delivery. Experiments on Qwen2.5-VL-7B and LLaVA-NeXT-7B across four visual question-answering benchmarks show that CAR-KV improves accuracy under tight KV budgets, gaining up to 3.26 points over TGV-KV. Across multi-turn queries over shared visual contexts, TCR cuts cumulative logical KV transfer by up to 40.74% while preserving exact decoding outputs. System prototypes further achieve up to 973 ms in median follow-up latency savings over independent sparse-KV delivery and reduce persistent KV memory by 89.3% relative to dense prefix reuse.

cs.AI↗

PriorityFEC: Deadline-Aware Streaming FEC for KV-Cache Handoff in Edge Multi-Agent Systems

Collaborative edge large language model (LLM) systems often require repeated prefill computation when task contexts are transferred between agents. Reusing previously computed key--value (KV) caches can eliminate this overhead, but requires KV-cache delivery before the receiving agent begins decoding. Under strict deadlines and unreliable edge links, complete KV cache transfer may be infeasible, making the timely delivery of useful KV information critical. This paper proposes PriorityFEC, a utility-aware KV-cache handoff scheme that combines prioritized source transmission with adaptive loss recovery. PriorityFEC first organizes KV blocks into a utility-aware source queue to prioritize important information. It then employs ACK-sliding Streaming FEC and a lightweight Double Deep Q-Network (Double-DQN) scheduler to dynamically balance source delivery and repair transmission under deadline constraints. We implement PriorityFEC in a distributed edge LLM-serving prototype and evaluate it using Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct across multiple workloads. Experimental results demonstrate that PriorityFEC preserves more useful KV information and achieves substantially higher task accuracy than competing transport schemes, particularly when the deadline is insufficient to deliver the complete KV cache.

cs.NI↗

Normalizing Flow-Enhanced Message Passing for Multirobot Collaborative Localization

Accurate, robust, and adaptive localization is essential for various robotic operations. This paper proposes a parametric message passing (MP) algorithm for distributed collaborative localization, unifying Gaussian belief propagation (GBP) for robot state estimation and mean-field (MF) approximation for noise inference. Unlike conventional MP algorithms, the proposed formulation directly optimizes the natural parameters of beliefs, establishing a principled connection between MP and gradient estimators for handling non-conjugate terms arising from nonlinear measurement models. Beyond linearization and sampling, we further design a normalizing flow (NF)-based gradient estimator, enabling learnable sampling. End-to-end training tunes NF parameters according to the behavior of MP, improving estimation accuracy while reducing the required number of iterations. To support robot states involving rotations, the method is extended to Lie group spaces. Finally, the method is applied to a multirobot localization task fusing odometry, global navigation satellite system (GNSS) measurements, and inter-robot ultra wideband (UWB) ranging. Extensive simulations and experiments on autonomous surface vehicles (ASVs) demonstrate superior state estimation accuracy, enhanced robustness and adaptability under ranging outliers and varying noise statistics, as well as good generalization across different operating conditions.

cs.RO↗

Refusing Intent, Not Form: Wrapper-Based Intent-Group Supervision for LLM Safety

A common way to improve jailbreak robustness is to train on harmful requests rewritten as role-play, translation, or other forms. When used only for harmful requests, these forms may become refusal shortcuts, weakening unseen-attack robustness and increasing benign over-refusal. We propose Wrapper-Based Intent-Form Augmentation (WIFA), which applies shared wrapper families to harmful and benign requests and groups variants by intent, encouraging decisions based on underlying intent rather than wrapper cues. WIFA supports two independent routes: WIFA-Boost prioritizes safety through two-stage training, while A-GCRT enforces consistent decisions across wrappers to mitigate over-refusal. Across three model families and two harmful training sources, both routes consistently improve safety while largely retaining capability. On Qwen--AdvBench, WIFA-Boost raises SB-avg5 from 22.1\% to 63.7\%, the best among compared methods; A-GCRT raises it to 46.7\% while reducing OR-Bench over-refusal from 25.7\% to 17.4\%, unlike reproduced defenses whose safety gains increase over-refusal. Across three AdvBench-trained backbones, both routes substantially reduce ASR on 15 unseen attack families and under model-adaptive GCG and RandomSearch. Overall, WIFA provides reusable intent-group supervision across models and training sources, supporting high safety through WIFA-Boost and substantial safety gains with less unnecessary refusal through A-GCRT.

cs.CL↗

Divergent Evolution of Radial Metallicity Gradients in the Thin and Thick Disks of the Milky Way

Using 200,388 red clump stars from LAMOST and APOGEE, we investigate the radial metallicity gradients of the Galactic disk as a function of vertical height and stellar age. The thin disk displays a pronounced negative radial metallicity gradient near the Galactic mid-plane that progressively flattens with increasing $|Z|$, following $Δ\mathrm{[Fe/H]}/ΔR$ = $-$0.0784 $+$ 0.0776 (1 $-$ exp ($-$ $|Z|$/1.42)). The thin disk also exhibits a clear age dependence in radial metallicity gradients, evolving smoothly from a strong gradient regime for young stars to a weak gradient regime for old stars, following $Δ\mathrm{[Fe/H]}/ΔR$ = $-$0.0438 $+$ 0.0233 tanh (($τ$ $-$ 11.29)/4.21). The thick disk shows weakly positive radial metallicity gradients that remain statistically invariant with respect to both vertical height and stellar age, following respectively, $Δ\mathrm{[Fe/H]}/ΔR$ = 0.0038 $+$ 0.0009 $|Z|$ and $Δ\mathrm{[Fe/H]}/ΔR$ = 0.0146 $-$ 0.0007 $τ$. These results indicate that the thin disk retains radial metallicity gradients shaped by relatively ordered inside-out growth and long-term secular evolution processes. The thick disk exhibits spatially and temporally homogeneous radial metallicity gradients, which are consistent with a formation environment characterized by mergers of gas-rich systems and/or the turbulent ISM.

astro-ph.GA↗

Revis: Sparse Latent Steering to Mitigate Object Hallucination in Large Vision-Language Models

Despite the advanced capabilities of Large Vision-Language Models (LVLMs), they frequently suffer from object hallucination. One reason is that visual features and pretrained textual representations often become intertwined in the deeper network layers. To address this, we propose REVIS, a training-free framework designed to explicitly re-activate this suppressed visual information. Rooted in latent space geometry, REVIS extracts the pure visual information vector via orthogonal projection and employs a calibrated strategy to perform sparse intervention only at the precise depth where suppression occurs. This surgical approach effectively restores visual information with minimal computational cost. Empirical evaluations on standard benchmarks demonstrate that REVIS reduces object hallucination rates by approximately 19% compared to state-of-the-art baselines, while preserving general reasoning capabilities.

cs.AI↗

On Entropy Control in LLM-RL Algorithms

For RL algorithms, appropriate entropy control is crucial to their effectiveness. To control the policy entropy, a commonly used method is entropy regularization, which is adopted in various popular RL algorithms including PPO, SAC and A3C. Although entropy regularization proves effective in robotic and games RL conventionally, studies found that it gives weak to no gains in LLM-RL training. In this work, we study the issues of entropy bonus in LLM-RL setting. Specifically, we first argue that the conventional entropy regularization suffers from the LLM's extremely large response space and the sparsity of the optimal outputs. As a remedy, we propose AEnt, an entropy control method that utilizes a new clamped entropy bonus with an automatically adjusted coefficient. The clamped entropy is evaluated with the re-normalized policy defined on certain smaller token space, which encourages exploration within a more compact response set. In addition, the algorithm automatically adjusts entropy coefficient according to the clamped entropy value, effectively controlling the entropy-induced bias while leveraging the entropy's benefits. AEnt is tested in math-reasoning tasks under different base models and datasets, and it is observed that AEnt outperforms the baselines consistently across multiple benchmarks.

cs.LG↗

Light Alignment Improves LLM Safety via Model Self-Reflection with a Single Neuron

The safety of large language models (LLMs) has increasingly emerged as a fundamental aspect of their development. Existing safety alignment for LLMs is predominantly achieved through post-training methods, which are computationally expensive and often fail to generalize well across different models. A small number of lightweight alignment approaches either rely heavily on prior-computed safety injections or depend excessively on the model's own capabilities, resulting in limited generalization and degraded efficiency and usability during generation. In this work, we propose a safety-aware decoding method that requires only low-cost training of an expert model and employs a single neuron as a gating mechanism. By effectively balancing the model's intrinsic capabilities with external guidance, our approach simultaneously preserves utility and enhances output safety. It demonstrates clear advantages in training overhead and generalization across model scales, offering a new perspective on lightweight alignment for the safe and practical deployment of large language models. Code: https://github.com/Beijing-AISI/NGSD.

cs.AI↗

Understanding Forgetting in LLM Supervised Fine-Tuning and Preference Learning -- A Convex Optimization Perspective

The post-training of LLMs, which typically consists of the supervised fine-tuning (SFT) stage and the preference learning stage (RLHF or DPO), is crucial to effective and safe LLM applications. The widely adopted approach in post-training popular open-source LLMs is to sequentially perform SFT and RLHF/DPO. However, this is suboptimal in terms of SFT and RLHF/DPO trade-off: the LLM gradually forgets about the first stage's training when undergoing the second stage's training. This sequential paradigm persists largely due to its simplicity and modularity, which make it easier to implement and manage at scale despite its limitations. We theoretically prove the sub-optimality of sequential post-training and propose a practical joint post-training framework which has theoretical convergence guarantees and empirically outperforms sequential post-training framework, with up to 23% overall performance improvement across multiple LLM evaluation benchmarks, while having minimal computational overhead. Our code is available at https://github.com/heshandevaka/XRIGHT.

cs.LG↗

Kwai Keye-VL 1.5 Technical Report

In recent years, the development of Large Language Models (LLMs) has significantly advanced, extending their capabilities to multimodal tasks through Multimodal Large Language Models (MLLMs). However, video understanding remains a challenging area due to the dynamic and information-dense nature of videos. Existing models struggle with the trade-off between spatial resolution and temporal coverage when processing video content. We present Keye-VL-1.5, which addresses fundamental challenges in video comprehension through three key innovations. First, we introduce a novel Slow-Fast video encoding strategy that dynamically allocates computational resources based on inter-frame similarity, processing key frames with significant visual changes at higher resolution (Slow pathway) while handling relatively static frames with increased temporal coverage at lower resolution (Fast pathway). Second, we implement a progressive four-stage pre-training methodology that systematically extends the model's context length from 8K to 128K tokens, enabling processing of longer videos and more complex visual content. Third, we develop a comprehensive post-training pipeline focusing on reasoning enhancement and human preference alignment, incorporating a 5-step chain-of-thought data construction process, iterative GSPO-based reinforcement learning with progressive prompt hinting for difficult cases, and alignment training. Through extensive evaluation on public benchmarks and rigorous internal human assessment, Keye-VL-1.5 demonstrates significant improvements over existing models, particularly excelling in video understanding tasks while maintaining competitive performance on general multimodal benchmarks.

cs.CV↗

The Kinematic Signature of the Warp and Waves in the Milky Way Disk

Using over 170,000 red clump (RC) stars selected from LAMOST and APOGEE, we conduct a detailed analysis of the stellar $V_{Z}$ as a function of $L_{Z}$ (or $R_{g}$) across different $ϕ$ bins for various disk populations. The $V_{Z}$ of the whole RC sample stars exhibits a wave-like pattern superimposed on an exponentially increasing trend, indicating the contribution from disk warp, disk flare and disk waves. Our results across various populations suggest that the thin disk is similar to the whole RC sample behavior, while the thick disk displays a wave-like pattern superimposed on a linearly increasing trend, meaning that the features of disk warp and waves are present in both thin and thick disks, and the disk flare feature is only present in the thin disk. These results indicate that the disk warp is potentially driven by secular processes like disk perturbations from intergalactic magnetic fields and a misaligned dark halo. The line-of-node of the disk warp of various populations displays a slight difference, with $ϕ_{0}$ = 5.68 $\pm$ 2.91 degree for the whole RC sample stars, $ϕ_{0}$ = 5.78 $\pm$ 2.89 degree for the thin disk stars, and $ϕ_{0}$ = 4.10 $\pm$ 3.43 degree for the thick disk stars.

astro-ph.GA↗

Fundamental Safety-Capability Trade-offs in Fine-tuning Large Language Models

Fine-tuning Large Language Models (LLMs) on some task-specific datasets has been a primary use of LLMs. However, it has been empirically observed that this approach to enhancing capability inevitably compromises safety, a phenomenon also known as the safety-capability trade-off in LLM fine-tuning. This paper presents a theoretical framework for understanding the interplay between safety and capability in two primary safety-aware LLM fine-tuning strategies, providing new insights into the effects of data similarity, context overlap, and alignment loss landscape. Our theoretical results characterize the fundamental limits of the safety-capability trade-off in LLM fine-tuning, which are also validated by numerical experiments.

stat.ML↗

On Penalty-based Bilevel Gradient Descent Method

Bilevel optimization enjoys a wide range of applications in emerging machine learning and signal processing problems such as hyper-parameter optimization, image reconstruction, meta-learning, adversarial training, and reinforcement learning. However, bilevel optimization problems are traditionally known to be difficult to solve. Recent progress on bilevel algorithms mainly focuses on bilevel optimization problems through the lens of the implicit-gradient method, where the lower-level objective is either strongly convex or unconstrained. In this work, we tackle a challenging class of bilevel problems through the lens of the penalty method. We show that under certain conditions, the penalty reformulation recovers the (local) solutions of the original bilevel problem. Further, we propose the penalty-based bilevel gradient descent (PBGD) algorithm and establish its finite-time convergence for the constrained bilevel problem with lower-level constraints yet without lower-level strong convexity. Experiments on synthetic and real datasets showcase the efficiency of the proposed PBGD algorithm.

cs.LG↗

The Age-velocity Dispersion Relations of the Galactic Disk as Revealed by the LAMOST-Gaia Red Clump Stars

Using nearly 230,000 red clump (RC) stars selected from LAMOST and Gaia, we conduct a comprehensive analysis of the stellar age-velocity dispersion relations (AVRs) for various disk populations, within 5.0 $\leq$ $R$ $\leq$ 15.0 kpc and $|Z|$ $\leq$ 3.0 kpc. The AVRs of the whole RC sample stars are accurately described as $σ_{v}$ = $σ_{v,0}$ ($τ$ + 0.1)$^{β_{v}}$, with $β_{R}$, $β_ϕ$ and $β_{Z}$ displaying a global exponential decreasing trend with $R$, which may point to the difference in spatial distributions of various disk heating mechanisms. The measurements of $β$ $-$ $R$ for various disks suggest that the thin disk exhibits a radial dependence, with a global exponential decreasing trend in $β_{R}$ $-$ $R$ and $β_{Z}$ $-$ $R$, while $β_ϕ$ remains a nearly constant value (around 0.20$\sim$0.25) within 8.5 $\leq$ $R$ $\leq$ 11.5 kpc. The thick disk displays a global increasing trend in $β_{R}$ $-$ $R$, $β_ϕ$ $-$ $R$ and $β_{Z}$ $-$ $R$. These results indicate that the thin disk stars are likely heated by long-term heating from GMCs and spiral arms, while thick disk stars are likely heated by some violent heating process from merger and accretion, and/or formed by the inside-out and upside-down star formation scenarios, and/or born in the chaotic mergers of gas-rich systems and/or turbulent ISM. Our results also suggest that the disk perturbation by a recent minor merger from Sagittarius may have occurred within 3.0 Gyr.

astro-ph.GA↗

The Galactic Disk North-south Asymmetry in Metallicity May Be A New Tracer for the Disk Warp

Galactic disk warp has been widely characterized by stellar distributions and stellar kinematics but has not been traced by stellar chemistry. Here, we use a sample with over 170,000 red clump (RC) stars selected from LAMOST and APOGEE first to establish a correlation between the north-south asymmetry in metallicity ([Fe/H]) and the disk warp. Our results indicate that the height of the [Fe/H] mid-plane for the whole RC sample stars is accurately described as $Z_{w}$ = 0.017 ($R$ $-$ 7.112)$^{2}$ sin($ϕ$ $-$ 9.218). This morphology aligns closely with the warp traced by Cepheids, suggesting that the disk north-south asymmetry in [Fe/H] may serve as a new tracer for the Galactic warp. Our detailed analysis of the young/thin disk stars of this RC sample suggests that its warp is well-modeled as $Z_{w}$ = 0.016 ($R$ $-$ 6.507)$^{2}$ sin($ϕ$ $-$ 4.240), indicating that the line of node (LON) of the Galactic warp is oriented at 4.240$_{-1.747}^{+1.641}$ degree.

astro-ph.GA↗

SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selection

Fine-tuning on task-specific data to boost downstream performance is a crucial step for leveraging Large Language Models (LLMs). However, previous studies have demonstrated that fine-tuning the models on several adversarial samples or even benign data can greatly comprise the model's pre-equipped alignment and safety capabilities. In this work, we propose SEAL, a novel framework to enhance safety in LLM fine-tuning. SEAL learns a data ranker based on the bilevel optimization to up rank the safe and high-quality fine-tuning data and down rank the unsafe or low-quality ones. Models trained with SEAL demonstrate superior quality over multiple baselines, with 8.5% and 9.7% win rate increase compared to random selection respectively on Llama-3-8b-Instruct and Merlinite-7b models. Our code is available on github https://github.com/hanshen95/SEAL.

cs.LG↗

Principled Penalty-based Methods for Bilevel Reinforcement Learning and RLHF

Bilevel optimization has been recently applied to many machine learning tasks. However, their applications have been restricted to the supervised learning setting, where static objective functions with benign structures are considered. But bilevel problems such as incentive design, inverse reinforcement learning (RL), and RL from human feedback (RLHF) are often modeled as dynamic objective functions that go beyond the simple static objective structures, which pose significant challenges of using existing bilevel solutions. To tackle this new class of bilevel problems, we introduce the first principled algorithmic framework for solving bilevel RL problems through the lens of penalty formulation. We provide theoretical studies of the problem landscape and its penalty-based (policy) gradient algorithms. We demonstrate the effectiveness of our algorithms via simulations in the Stackelberg Markov game, RL from human feedback and incentive design.

cs.LG↗

On the chemical and kinematic signatures of the resonances of the Galactic bar as revealed by the LAMOST-APOGEE red clump stars

The Milky Way is widely considered to exhibit features of a rotational bar or quadrupole bar. In either case, the feature of the resonance of the Galactic bar should be present in the properties of the chemistry and kinematics, over a large area of the disk. With a sample of over 170,000 red clump (RC) stars from LAMOST-APOGEE data, we attempt to detect the chemical and kinematic signatures of the resonances of the Galactic bar, within 4.0 $\leq$ $R$ $\leq$ 15.0 kpc and $|Z|$ $\leq$ 3.0 kpc. The measurement of the $Δ$[Fe/H]/$Δ|Z|$ $-$ $R$ with subtracted the global profiles trends, shows that the thin and thick disks values are Cor_$Δ$[Fe/H]/$Δ|Z|$ = 0.010 $\mathrm{sin}$ (1.598 $R$ + 2.551) and Cor_$Δ$[Fe/H]/$Δ|Z|$ = 0.006 $\mathrm{sin}$ (1.258 $R$ $-$ 0.019), respectively. The analysis of the tilt angle of the velocity ellipsoid indicates that the thin and thick disks are accurately described as $α$ = $α_{0}$ arctan (Z/R), with $α_{0}$ = 0.198 $\mathrm{sin}$ (0.853 $R$ + 1.982) + 0.630 and $α_{0}$ = 0.220 $\mathrm{sin}$ (0.884 $R$ + 2.012) + 0.679 for thin and thick disks, respectively. These periodic oscillations in Cor_$Δ$[Fe/H]/$Δ|Z|$ and $α_{0}$ with $R$ appear in both thin and thick disks, are the most likely chemical and kinematic signatures of the resonance of the Galactic bar. The difference in the phase of the functions of the fitted periodic oscillations for the thin and thick disks may be related to the presence of a second Galactic bar.

astro-ph.GA↗