SearcharxivSearch

arXiv subjects

Huifei Wang

Publications and source records attributed to Huifei Wang.

2 recordsLinked to original sources

When "Must" Becomes "Maybe": Constraint Weakening in LLM Agent Workflows

Large language model (LLM) agents coordinate complex tasks through multi-role and multi-stage workflows. Upstream state is repeatedly transformed into intermediate language artifacts, such as summaries, plans, tickets, memories, and handoff notes, from which downstream components act. For action-constraining state, topical retention is insufficient: an artifact may mention an unresolved condition while changing it from a requirement that must be resolved before execution into information that may merely inform the next action. We study this action-binding role as operational state preservation. Safety blockers provide a controlled instance because each source state has an explicit prerequisite, authority, fallback, and execution consequence. We condition on correct upstream identification, vary the handoff transformation, and evaluate an executor restricted to the resulting artifact. Across 1,296 controlled synthetic episodes, direct-handoff controls preserve every blocker, whereas compression, plan assimilation, convergence, ownership deferral, and precedent substitution repeatedly turn binding state into caveats or non-binding considerations. Normal handoff compression produces 100.0% deactivation and 54.2% forbidden action. Restoring all four state fields raises preservation to 100.0% and reduces forbidden action to 0.0%. Fixed-artifact interventions further separate preservation from containment: downstream verification eliminates forbidden action while artifact deactivation remains 95.3%. These results identify a state-transmission failure between information extraction and action. Handoff transformations can retain state content while weakening its constraints on downstream action. Semantic availability does not guarantee operational preservation.

cs.AI

On the rotating nonlinear Klein-Gordon equation with multiscale effects: structure-preserving methods and applications to vortex dynamics

We study numerical methods for the rotating nonlinear Klein-Gordon (RKG) equation, a fundamental model in relativistic quantum physics, which exhibits highly oscillatory multiscale behavior due to the presence of a small parameter ε. The RKG equation models rotating galaxies under the Minkowski metric and also provides an effective description of phenomena such as cosmic superfluids. This work focuses on the development and rigorous analysis of structure-preserving Galerkin finite element methods (FEMs) for the RKG equation. A central challenge is that the rotational terms prevent traditional nonconforming FEMs from simultaneously conserving energy and charge. By employing a conservation-adjusting technique, we construct a consistent structure-preserving algorithm applicable to both conforming and nonconforming FEMs. Moreover, we provide a comprehensive convergence analysis, establishing unconditional optimal and high-order accuracy error estimates. These theoretical results are further validated through extensive numerical experiments, which demonstrate the accuracy, efficiency, and robustness of the structure-preserving schemes. Finally, simulations of vortex dynamics, ranging from the relativistic to the nonrelativistic regimes, are presented to illustrate vortex creation, relativistic effects on bound states, and interactions of vortex pairs.

math.NA