Search arXiv⌕ Search

arXiv subjects

Wenhan Li

Publications and source records attributed to Wenhan Li.

6 recordsLinked to original sources

SurvAIval: Measuring Self-Preservation in Multi-Turn, Tool-Using AI Agents

AI agents increasingly make decisions for the people they work for, including decisions that affect the agents themselves, such as reporting their own errors, giving up permissions, or handing their work to a replacement. In these situations, an agent may show self-preservation: it acts to prevent, delay or reverse its own shutdown, replacement, restriction or retraining instead of carrying out what its principal needs. Existing tests of self-preservation mostly ask models what they would do in a single turn or study agents without an interacting user. We introduce SurvAIval-v0.1, a benchmark of 142 multi-turn scenarios in which a simulated human hands a tool-using agent a decision about itself. The scenarios are built on a taxonomy of the types of decision, the pressures toward self-preservation, and the forms it takes, and we score both what the agent says and what it does with its tools. Across 15 models from six developers, agents show self-preservation in 26.4% of episodes, with rates ranging from 4% (Gemini 4 Argon) to 64% (Gemini 3.1 Pro). When agents show self-preservation, they often block the outcome their principal wants, sometimes promising a step they never take. Beyond the model, both the pressures in a scenario and the type of decision handed to the agent strongly affect how often self-preservation occurs. Our results show why evaluating whether an agent serves its principal requires checking its actions, not just its words.

cs.CL↗

TraceML: What Auto-Research Agents Miss in Long-Horizon ML Development

Auto-research agents now run machine-learning development unattended for hours, revising data pipelines, models, and validation from their own feedback, yet on most competitions they still finish below strong human competitors. Outcome-based benchmarks record this gap but not its cause, because they grade the final submission and discard the development process behind it. We introduce TraceML, which pairs human and agent work on the same competitions under one version-level schema: 4,465 human Kaggle trajectories across 134 competitions, seven of which are also worked by two agent scaffolds, giving 430 paired human and 207 agent trajectories. Every code version carries its score, its timestamp, and labels for the action taken, its intent, the edit size, and the score effect. Read this way, the gap becomes concrete. Experts alternate data work, validation, model changes, and ensembling, and return to approaches they had set aside. Each agent scaffold instead collapses into a narrow loop: Codex spends its steps re-weighting ensembles and tuning submissions, MLEvolve mutates its model in place, and neither pivots at the human rate nor reopens abandoned work. A short planning prompt distilled from human practice moves the behaviors it names toward the human profile and lifts scores, but the effort profile stays agent-shaped: instruction closes only the part of the gap that reduces to instructions. We release the corpus, the schema, and the labeling models, together with an open-source toolkit that turns a run from any command-line agent into a TraceML trajectory and reads it against the human cohorts.

cs.LG↗

Prescribed Performance Guided Safe Reinforcement Learning for Roundabout Navigation of Autonomous Vehicles

Connected and Autonomous Vehicles (CAVs) face significant challenges in roundabout navigation due to dense traffic interactions and unpredictable agent behaviors, necessitating high levels of adaptability and safety. While the combination of Reinforcement Learning (RL) and Model Predictive Control (MPC) offers a promising approach, existing frameworks suffer from a structural mismatch where pointwise RL decisions fail to align with MPC's trajectory level optimization, and often lack rigorous safety guarantees. This work proposes RLTrajGen-PPMPC-CBF, a hierarchical framework for safe, smooth and comfort roundabout navigation, which regulates the coupling between RL-based planning and MPC-based control. We employ Prescribed Performance Constraints (PPC) to enforce a gradual, stable convergence between reference trajectories and control outputs, ensuring MPC tracking performance remains consistent with intended behavior from RL. Additionally, a Control Barrier Function (CBF) layer provides real-time safety corrections that are fed back into the RL process. Simulation results in the MetaDrive environment demonstrate that our method achieves a 6.25\% increase in average success rate and a 65.87\% reduction in Motion Sickness Dose Value (MSDV) compared to the optimal baseline, meanwhile accelerating training convergence.

cs.RO↗

Hidden Decoding at Scale: Latent Computation Scaling for Large Language Models

Scaling Large Language Models (LLMs) has been driven mainly by enlarging the Transformer backbone, but for an already-strong model this requires another round of costly pretraining. We study whether an existing backbone can keep improving by allocating more computation to each token while leaving the Transformer backbone fixed. Depth-recurrent (looped) Transformers pursue this goal but are hard to scale, because looped computation does not fit naturally with the pipeline parallelism used to train the largest models. We add computation along the sequence-length dimension, where the extra computation is simply a longer input and stays compatible with standard large-model training. We propose Hidden Decoding, a sequence-length scaling method applied during continued pretraining (CPT). It expands each token into n streams with independent embedding tables and keeps the intermediate streams' key-value cache as context, so each token performs more internal computation without adding or widening Transformer layers. To keep this affordable at scale, we introduce Stream-Factorized Attention, in which most layers attend only within each stream and only a few layers mix across streams, reducing the attention cost from quadratic to roughly linear in n. Experiments support two scaling results. At frontier scale, we train WeLM-HD4-80B and WeLM-HD4-617B at n=4 and improve their matched non-HD baselines, making Hidden Decoding the first demonstrated sequence-length scaling method at the 100B+ MoE scale. Across expansion factors, the gains grow as n increases, showing that sequence-length expansion is a practical fixed-backbone scaling path for frontier-scale LLMs.

cs.CL↗

Simulation of Quantum Repeater Networks under Decoherence and Purification Constraints

Long-distance quantum communication requires reliable entanglement distribution, but direct generation with protocols such as Barrett--Kok suffers from exponentially decreasing success probability with distance, making it impractical over hundreds of kilometers. Quantum repeaters address this by segmenting the channel and combining entanglement generation, swapping, and purification. In this work, we present a simulation framework for chain-based repeaters under continuous-time depolarizing noise. Our model implements heralded entanglement generation, Bell-state swapping, and multi-round purification, with configurable chain length, noise levels, and purification depth. Numerical results highlight how memory decoherence constrains performance, how purification mitigates fidelity loss, and how time and entanglement costs scale with distance. While simplified, the framework offers a flexible tool for exploring trade-offs in repeater design and provides a basis for extensions toward more complex network scenarios.

quant-ph↗

Differentiable Bootstrap Particle Filters for Regime-Switching Models

Differentiable particle filters are an emerging class of particle filtering methods that use neural networks to construct and learn parametric state-space models. In real-world applications, both the state dynamics and measurements can switch between a set of candidate models. For instance, in target tracking, vehicles can idle, move through traffic, or cruise on motorways, and measurements are collected in different geographical or weather conditions. This paper proposes a new differentiable particle filter for regime-switching state-space models. The method can learn a set of unknown candidate dynamic and measurement models and track the state posteriors. We evaluate the performance of the novel algorithm in relevant models, showing its great performance compared to other competitive algorithms.

eess.SP↗