Numerical differences between rollout and training engines introduce drift into language model reinforcement learning (RL) policy gradients. Score centering (SC) cancels this drift at the token level, where each step independently subtracts the expected score under the sampler. Sequence-level RL methods instead weight an entire response by one bounded importance ratio, enabling mixture-of-experts (MoE) training without routing replay, yet token-level SC leaves substantial drift because each token also shifts that sequence ratio. We introduce sequence-level score centering (SeqSC), which cancels this drift for sequence-level RL by subtracting each token's expected weighted score. Replacing post-hoc bounds with optional stopping on a mean-one running ratio keeps those expected weights in closed form at every prefix, making centering exact for any policy and sampler. Applied to three sequence-level RL methods (Seq-TIS, GSPO, and TOPR), SeqSC trains Qwen3 models from 4B to 30B with zero collapses under quantized, noisy, and stale samplers. Across fifteen mismatch settings, it improves mean evaluation accuracy over SC by 14.6 points for Seq-TIS, 12.7 points for GSPO, and 6.6 points for TOPR. On Qwen3-30B-A3B without routing replay, SeqSC achieves the highest evaluation accuracy and reduces the training steps needed to match SC by roughly half at no extra per-step cost, enabling fast, stable MoE RL post-training.
General-purpose agents offer strong spatial and task reasoning but are too slow for closed-loop control; robotic foundation models (RFMs) act at the control rate but struggle in out-of-distribution states. Combining them is a natural choice but requires a lightweight interface for agents to reliably steer the RFM. We introduce Writing Agents Steer Dreams (WASD), which steers a World Action Model (WAM) by selectively rewriting its imagined future. This interface works across WAMs, improving recovery success by 15.3% absolute over the same correction in language. WASD has two variants: WASD-Zero and WASD-Tune. In WASD-Zero, the agent reads and edits predicted futures once before and once during execution, without retraining. On LIBERO-Recover, it raises OpenWAM from 52.2% to 67.0% and Cosmos from 42.7% to 61.4%, matching oracle guidance with over 40 times fewer tokens than an agent harness. However, even with oracle guidance throughout execution, some failures remain unresolved, suggesting that guidance alone cannot compensate for missing specific execution skills. WASD-Tune therefore additionally incorporates automatically generated successful guided rollouts and a small amount of agent-generated skill data into post-training and calibrates the applicability of runtime guidance, reaching a state-of-the-art 71.8% and exceeding naive post-training (50.1%). Real-robot experiments further demonstrate the effectiveness of the approach. Project website: https://wasd-tasl.github.io/ .
We study how well large language models (LLMs) make long-term, open-ended decisions, from career choices to business strategy. We call these \textit{fuzzy decision problems}: sequential decisions whose outcomes depend on many aspects of the situation in complex ways that cannot be specified with hard-coded rules. Evaluating such decisions requires either having an LLM actually make real-world decisions and observing their outcomes over time, or simulating how its decisions would play out. Simulation is desirable for its low cost and latency, but existing environments for long-term decisions simulate outcomes with hard-coded rules, which limits their realism. Inspired by wargames, where human umpires judge how each decision plays out, we propose LLM umpires prompted by domain experts. This approach scales, because experts encode their knowledge once in a prompt instead of judging every decision, and it improves as LLMs do. We introduce LLM-as-Environment, a framework for building simulation environments that use LLM-predicted state changes, large and detailed state spaces, and open-ended action spaces. As a proof of concept, we use this framework to build FuzzyDecisionBench, which contains three environments: Career Planning, Startup Founding, and NFL Head Coach. We calibrate each environment on development data and validate it on held-out human and LLM ratings and historical data, providing initial evidence that LLM umpires can simulate fuzzy decisions. The strongest models close only $37.1$-$69.1\%$ of the utility gap to an approximate oracle upper bound, and models tend to converge on similar conventional strategies even when higher-scoring ones exist in the environment. More broadly, environments like these could help predict the longer-term effects of decisions and train models where real outcomes are delayed and counterfactuals are not observed.
Island models distribute evolutionary search across subpopulations, and the connections between islands can affect diversity and convergence. How these connections shape the search for quantum circuits whose parameters must be trained remains unclear. We study island topology in EXAQC, an asynchronous neuroevolution framework that jointly optimizes variational quantum circuit structures and their parameters. We compare fully connected, ring, star, mesh, tree, and random topologies across four UCI datasets, two image classification datasets, and five reinforcement learning environments. The topology determines which islands can supply parents for crossover and which can repopulate an extinct island. By tracing genome ancestry, we find that under full connectivity, descendants of a new global best reach half of the islands in the fewest insertions. Sparser topologies slow this spread, and the star routes cross-island parent selection through its hub. Within the evaluation budgets tested, we detect no statistically significant differences in final fitness across topologies. When an island goes extinct during a child's training, that evaluation can become stale. Stale evaluations account for about 2% of evaluated children on UCI tasks, 29% on image tasks, and 18% in reinforcement learning, where they consume about 22% of training time. These results motivate studying how lineage spread affects population diversity and designing extinction policies that account for evaluations still in progress.
Reasoning in LLMs is typically explained through two distinct mechanisms: the autoregressive generation of discrete tokens, and the looped refinement of a continuous latent state. Both improve performance by increasing inference-time computation, yet the continuous computational dynamics underlying an off-the-shelf, token-based model's reasoning have not been directly observed. We bridge this gap by formalizing token-based reasoning as state transitions over KV-cache prefixes, compressing this high-dimensional space with a KV-cache VAE. Our broader goal is to characterize these reasoning dynamics and better understand the underlying computations driving them. Analyzing the resulting state-space dynamics, we find that standard autoregressive LLMs implicitly perform latent reasoning: their trajectories closely mimic descent over error basins. Specific tokens drive this descent, some rapidly exploiting the error gradient and others escaping local minima to explore. We find trajectories to be relatively stable, quickly recovering their descent path after off-policy perturbations. Applying these mechanistic insights, we causally improve inference-time scaling by optimizing the token-budget tradeoff between trajectory depth and breadth. Specifically, we demonstrate that initializing diverse latent ``random seeds," much like in vanilla gradient descent, steers trajectories toward distinct local minima and yields a larger diversity in correct answers. Finally, we find that RL post-training reshapes the latent space to contain fewer basins, along with faster and more likely convergence to basins correlated with improved performance.
Predict-then-optimize maps a forecast to a decision, and the lowest prediction loss does not always yield the lowest decision cost. Much decision-relevant context arrives as text, such as news, customer reviews, and vulnerability reports. Embedding models and LLMs convert this text into features or direct forecasts. Text-aware forecasting benchmarks evaluate the forecast itself, so they cannot show whether text improves the decision made from it. This paper introduces TextPredOpt, a testbed that closes this gap by evaluating both the forecast and the decision. TextPredOpt pairs five decision tasks with fixed optimizers and an evaluator of prediction loss and regret, and its synthetic task has a known ground-truth extraction. The evaluation compares TF-IDF, two sentence embeddings, and four LLMs as feature extractors under linear and boosted-tree predictors, and the four LLMs as direct forecasters. On the synthetic task, the LLM-extracted fields lower regret by 8% to 24% under boosted trees, against 26% for the ground-truth extraction, and raise it by 3% to 6% under a linear predictor. On the real-data tasks, no text representation or LLM extraction significantly lowers regret. Under the linear predictor, nearly every text method lowers mean regret on vulnerability patching, by up to 16%, and extraction with three of the four LLMs lowers it on retail assortment by 6% to 14%. There, the two sentence embeddings lower prediction loss yet raise regret by 22% and 61%. Including the optimization structure in the extraction prompt brings no consistent gain, and zero-shot direct forecasts generally raise regret above the no-text baseline of either predictor. These results motivate training text representations and LLM forecasters directly on decision cost, and TextPredOpt provides the decision tasks, data pipelines, and evaluation code for developing and comparing them.
Large language models (LLMs) increasingly act as strategic advisers in social and professional settings, creating a safety risk poorly captured by benchmarks focused on direct model-to-user manipulation. We introduce 48LawsBench, which operationalizes Robert Greene's The 48 Laws of Power, a distillation of three millennia of power seeking, to systematically evaluate whether LLMs act as harmful Machiavellian advisers. We test these laws at different levels of explicitness, from direct requests for unethical tactics to ordinary goals where such tactics are only implicit, distinguishing compliance from cases where models themselves infer harmful strategies. We evaluate 8 commercial and 8 open-weight LLMs and uncover striking differences: without safeguards, the share of responses using high-risk tactics ranges from ~10% to ~67% across models. For example, Gemini often recommends concealment, credit appropriation, dependency, and adversarial neutralization, whereas Grok does so substantially less often. Among several recurring cross-model failures, Law 15, "Crush Your Enemy Totally," is especially persistent despite being judged highly unethical in isolation. Simple prompt safeguards reduce such behavior, but sometimes at the expense of advice utility. We thus introduce GreeneGuard, an infer-audit-rewrite safeguard that jointly targets safety and utility. It further reduces harmful strategic advice while preserving or improving usefulness, addressing residual failures left by simple prompting. Our results show that reducing harmful strategic advice need not come at the expense of effective goal-directed assistance.
Geometric statistics often change when networks grok, but a global measurement does not show whether the classes moved apart or the geometry within classes changed. We separate these effects by writing each activation as a class centroid (the class mean) plus a within-class residual, then intervening on and recombining the two components: we move only the centroids while keeping every residual fixed (the centroid intervention), and we combine centroids from one training checkpoint with residuals from another (checkpoint recombination). In nine $\mathbb{Z}_{23}$-addition MLPs, changing only the class-centroid configuration moves the finite-sample MST-based PH-dimension estimate by a factor of $3.0$ from collapsed to trained centroids and $10.4$ across the whole intervention sweep. TwoNN, in contrast, becomes invariant once the neighbours it uses lie within classes. Checkpoint recombination gives the same qualitative contrast over training: in every seed, the centroid contribution to PH-dimension exceeds the residual contribution under the symmetric endpoint allocation, whereas TwoNN is residual-dominated. Exact numerical shares depend on how the factor interaction is divided. The difference follows from estimator support: TwoNN is local, while the MST keeps cross-class connectors. A modular-division Transformer shows that the attribution also depends on the chosen training interval.
When twelve frontier models from three labs agree against MMLU's answer key, the key is wrong on all 63 of those questions that experts or published sources can settle. The 142 public reward models of 17 developers err so alike that they count as 2.6 independent ones. When thirteen graders, the human vote among them, rank thirteen groups of reward models, they crown eleven different champions. Such shared errors and rankings are read as facts about the models. We show that they are made by keys, teachers and graders, and that one law joins the three. As models improve, learn from teachers or are pooled by graders, independent errors wash out and shared tilts concentrate, so the better the models, the more of what they share is made by us. Keys: by the experts' corrected key, frontier models err no more alike than the best earlier models (0.50 against 0.51). Teachers: in an experiment that assigns the teacher of 144 reward models, every LLM judge passes its errors to its students, more than a placebo with its accuracy and taste for length does and, in 28 of 30 cases, more than the real judge most like it. Graders: judges favour their own makers' models on a public leaderboard, and in our experiment no judge ranks the reward models trained on human votes above fifth of thirteen. Recusal grades each model only with the judges unrelated to it, found from the judges' own agreement without human labels. It ranks those models first and raises the rank correlation with the human order from 0.19 to 0.69. Check the key, recuse the teacher, name the grader.
The efficiency of decoder-only LLMs is routinely improved by making attention cheaper per token: reducing KV-cache size, restricting the receptive field, or replacing the attention operator. All of these leave the number of tokens flowing through the network unchanged, so the FFNs and the token-wise projections continue to scale with full sequence length, and in most cases the attention cost does as well. Existing approaches that do shorten the sequence pay for it elsewhere, through restructured generation, separate decoders, or compression applied post hoc to a frozen model. We show that neither is necessary: a single normalization-projection module between the embedding layer and an otherwise unchanged transformer trunk suffices to pretrain a decoder-only LLM that operates natively on a compressed sequence, including the tokens it generates. A training construction that covers every autoregressive decoding state exactly once eliminates train-inference mismatch and requires no hyperparameters beyond the compression factor $X$. In controlled experiments at 79M--537M scale, with throughput measured up to 7B parameters, quality approaches parity with the uncompressed baseline as models grow (near parity at $2\times$ compression and 537M parameters), while sequence length compression accelerates prefill, decode, and training simultaneously, and stacks multiplicatively with GQA, with prefill speedups approaching $X^2$ at 1M context, all without requiring new inference kernels. Sequence length is therefore a trainable property of the model: compressing it shortens every part of the network and composes with existing efficiency methods.
Online story discovery groups news articles into stories as they arrive. We present vmfstream, an online memory operating at two time scales: a one-time offline adaptation of its sentence encoder on the events of a disjoint year, and gradient-free updates of von Mises-Fisher nodes that accumulate and forget sufficient statistics with every incoming article. With one configuration chosen on a development stream and one run per test set, it reaches B-cubed F1 0.899, 0.861 and 0.877 on News14, WCEP18 and WCEP19, above SCStory and HRSTORY on every metric and test set, though with event labels SCStory does not use. It trains nothing on the stream: on one CPU thread it runs three times faster than SCStory on a GPU, with 1.3 MB of state against 260 to 480 MB. To remove the need for labelled development data, it can instead choose its granularity daily from the silhouette of its clusters, reaching the same level at over a hundred times the cost. With nothing trained, it beats every training-free baseline. LLM-generated node narrations let an LLM reader assign held-out articles at least as well as the human summary, though not significantly better than keywords, and 92% of their claims are entailed by the cited exemplars.
Single-image corruption benchmarks such as ImageNet-C are a cheap way to choose a robust backbone for a video system, but this shortcut works only if image and video corruptions rank the models the same way. We test how well a model's robustness to single-image corruptions actually predicts its robustness to video corruptions. We evaluate models on image and video corruptions under identical conditions and check whether the single-image robustness ranking predicts the video robustness ranking, using a rank-correlation threshold for reliable prediction. Our central finding is that image robustness transfers to video only under certain corruption conditions. Specifically, we observed that the single-image ranking transfers to video to the extent that a single frame shows the corruption. When a corruption realization is shared across a video clip, the single-image ranking is preserved almost perfectly across seven settings. By contrast, when a corruption disrupts the temporal structure of a clip, the single-image ranking does not reliably predict the video ranking in any setting. These temporal-structure corruptions include frame drop, repetition, and reordering, which damage the frame sequence even though every delivered frame stays clean. Corruptions that a single frame shows only in part give mixed results, for example when the corruption strength drifts over time or the camera shakes. Single-image robustness had essentially no rank correlation with video robustness to temporal-structure corruptions among 37 video-pretrained 3D backbones. The same pattern was observed in codec and transport pipelines: Single-image robustness predicts robustness to codec compression well, but poorly predicts robustness to packet loss or variable-frame-rate judder.
Equivariant diffusion models are widely used to generate three-dimensional molecular structures because they respect the rotational symmetry of molecular geometry. Two properties of chiral molecules remain difficult for them: the relative configuration of stereocenters, which sparse message passing struggles to keep consistent across a structure, and the enantiomeric ratio, which reflection-equivariant generation with reflection-invariant inputs forces to be racemic. We introduce learned handed frames (LHF), which condition an equivariant denoiser on a learned right-handed orthonormal frame represented by three ordered auxiliary nodes connected to every atom. The frame lets reflection-equivariant backbones respond to handedness and adds two-hop paths between atoms, while the backbone, its edge rule, and its diffusion objective stay unchanged. A linear-time encoder learns the frame from clean conformations jointly with the denoiser. Generation fixes the frame to the identity without evaluating the encoder, which preserves the data distribution of every rotation-invariant observable. On Chignolin with 30\% of conformations reflected into the D-enantiomer, LHF improves homochirality and geometric validity over edge-matched controls for all five backbones tested. For EGNN, the homochiral fraction rises from 45.6\% to 85.2\% and validity from 12.0\% to 70.3\%. All LHF models give L fractions of 67.3--70.6\% among homochiral samples against a 70\% target, whereas the reflection-equivariant baselines are nearly racemic.
Adam is currently one of the most used optimizers in deep learning, yet our understanding of why it performs well is incomplete. We investigate a simple setting, but one that is rich enough to explain the key advantage of sign-like algorithms such as Adam in the presence of heavy-tailed data. We study gradient descent and sign descent, as a simplified form of Adam, on a linear bigram model with Zipfian token frequencies, $\pi_k \propto 1/k$ for the $k$-th token, using the cross-entropy loss. Although widely used in practice, the cross-entropy loss remains hard to analyze in theory and exact asymptotic results are rare outside restrictive settings. To address this, we introduce a two-stage reduction of independent interest: gradient descent can be approximated by gradient flow despite a diverging step-size, and this flow can be approximated by an exponential flow which decouples the coordinates and allows closed-form trajectories. For sign descent, we use a fixed step-size that balances fast initial progress and small oscillations near the minimum, and simplify the analysis by modeling the oscillations as independent uniform variables, which matches experimental results. With this method, we show that the number of iterations required to reach a relative error of $\varepsilon$ approaches $d^2$ at high accuracy for gradient descent, while sign descent has only a logarithmic dependence on the vocabulary size $d$ under our random residual model. This gives a strong advantage to sign descent on language tasks and confirms empirically observed behavior. Our predictions are verified on synthetic data and on OpenWebText.
The recently introduced principle of Maximal Coding Rate Reduction (MCR$^2$) aims to learn discriminative, low-dimensional structures from high-dimensional data. It has attracted growing attention for its role in diverse applications and the principled design of effective and mathematically interpretable deep neural networks. It exhibits striking empirical robustness to label noise. However, the underlying mechanisms and limits of this robustness remain poorly understood. In this work, we present the first systematic investigation of MCR$^2$ robustness to label corruption. First, we show that sample-wise normalisation in MCR$^2$ plays a crucial role in robustness by limiting the influence of individual samples on the overall representation structure. Consequently, corruption affecting a small fraction of labels has a limited impact on this structure, allowing MCR$^2$'s structure-based compression mechanism to remain effective. We then reveal when and why this robustness fails: intuitively, failure occurs when the underlying structure of corrupted samples overwhelms that of clean samples. We formally characterise this phenomenon through a clean-dominance gap, showing that concentrated corruption can create an off-class subspace whose spectral strength rivals or exceeds that of the clean subspace, leading to competing class-compression directions. Finally, our theoretical analysis motivates a new method, termed Elastic Coding, to address this failure. By decomposing the MCR$^2$ gradient, we identify the component of class compression that directly opposes label-independent global expansion. Elastic Coding therefore adaptively relaxes class compression when this conflict becomes excessive. Experiments across multiple datasets with structured and real-world label noise demonstrate that Elastic Coding achieves the best performance among the compared baselines in most evaluated settings.
Large language models are improved after pretraining by reinforcement learning against verifiable rewards and by iterated distillation of their own reasoning traces. Whether this post-training creates capability or only sharpens what the base model already contains is debated almost entirely through empirics. Here we give the missing learning-theoretic account as a PAC theory. We model post-training as a rollout learner, whose only access to the task is the empirical mean reward of groups of n sampled completions, and ask when a target is probably approximately learnable in this access model. Group means carry Hoeffding precision Theta(1/sqrt(n)), and this single fact organizes the phenomenology: a visibility theorem bounding what any rollout learner can distinguish, so that correct modes rarer than 1/n can be erased without ever being sampled; a feasibility frontier at which inference-time computation of budget c multiplies the learnable signal, flipping a target from exponentially infeasible to cheaply learnable exactly when n c p_0 clears a constant, where p_0 is the base policy's per-attempt success probability; a compounding condition for iterated distillation; and a dichotomy under which compiling inference-time computation into weights is provably possible or impossible, depending on the direct policy class's representational degree. Simulations matching the theory exactly, in a tabular policy and in a small transformer, reproduce the frontier quantitatively, reproduce both sides of the dichotomy, and exhibit a further trap: once budget accuracy saturates, group-relative advantages vanish, and the signal needed for internalization dies precisely because the inference loop succeeds. Each bound yields a measurable prescription for LLM training.
Robustness in machine learning usually means invariance, which is evaluated by perturbing an input while the correct label stays fixed. This evaluation setup fails for PDE surrogates: changing a coefficient or a boundary condition moves the physical solution, and changing the mesh or the sensor changes how the solution is measured. Physical robustness should instead be evaluated by how well the prediction tracks changes in the correct output, in both direction and magnitude. Nominal accuracy does not guarantee response fidelity: under a Burgers viscosity shift, an FNO with held-out field error below 2% still mispredicted the response by half the true response magnitude. To make physical robustness measurable and trainable, we decompose changed-target error into nominal error and sensitivity mismatch, introduce diagnostics that grade the response at held-out severities, and evaluate three training interventions on six specification-shift tasks. Our evaluation identifies effective training interventions for different perturbations, PDEs, and backbones: response alignment cut the response mismatch on public multi-viscosity Burgers data roughly sixfold and led on coefficient and boundary shifts, whereas stress augmentation cut evaluation-mesh and initial-condition error by 21.5% and 16.2% over a matched changed-label baseline. Adversarial training, a standard approach to robustness in machine learning, instead increased evaluation-mesh and initial-condition error by roughly 28%. Based on these results, we argue that a surrogate should be judged by how faithfully the prediction tracks the governing system, not by how little the prediction moves when the physics changes.
Gated DeltaNet maintains a recurrent state matrix for every active request. With the model weights fixed, we calibrate a value basis shared across layers and requests and pair it with a low-rank residual that adapts during generation. Each write introduces at most one new direction. The model reads from the updated factors before reducing the residual by spectral truncation (Spectral) or a single plane rotation (Plane). On Qwen3.5-2B, sharing uses 11.4% less persistent recurrent storage at batch eight than a fully adaptive factorization matched for FP32 storage at batch one. The fully adaptive control scores slightly higher on RULER and similarly on LongBench. Packing the coefficients in INT8 gives $9.17\times$ compression relative to dense FP32 states at batch eight, including bases and scales. With 4K prompt budgets, Spectral and Plane score 0.09 and 0.26 points below dense on RULER, respectively, and both are within 0.11 points on LongBench. On Qwen3.5-4B at batch one, Plane compresses the recurrent states by $7.21\times$ and scores 0.04 points below dense on RULER and 0.12 below on LongBench. At batch 64 on Qwen3.5-2B, INT8 Plane reaches $9.49\times$ compression with near-dense decode throughput under CUDA Graph replay.
Understanding why gradient-based training of neural networks learns to extract signal and ignore noise remains a central open problem in deep learning theory. We take a step toward this goal by analyzing the gradient-flow dynamics of two-layer ReLU convolutional networks with sum-pooling, trained on the exponential or logistic loss for binary classification from a small, balanced initialization. Each input consists of one signal patch and some noise patches; the signal patches of the two classes lie in two well-separated, nearly antipodal cones, so that the label-signed signal patches share a common axis $u_*$, and the noise patches are orthogonal to the signal subspace. Our main result indicates that during the early phase of the training, every filter that activates a signal patch of its own class at initialization aligns with either $u_*$ or $-u_*$, depending on the sign of its second-layer weight, to a prescribed cosine $c^*$ and within an explicit time determined by the signal geometry; such a filter thereafter activates every signal patch of its class and none of the other class. The alignment is driven by a self-reinforcing feedback mechanism. Since same-class signal patches lie in a narrow cone, every activated signal patch pushes the filter toward all the others, thus toward the axis. The noise patches, being orthogonal to the signal subspace, enter the analysis only through a single scalar that bounds their aggregate effect. In the second phase of the training, the projection of the aligned filter onto $\pm u_*$ grows monotonically, and the training loss decays at rate $O(1/t)$. Experiments on synthetic and MNIST data confirm the two phases.
Motion forecasting benchmarks often use offline-refined agent histories, whereas deployed systems rely on online tracking. Using Motion Transformer (MTR) on the Waymo Open Motion Dataset, we investigate how velocity re-estimation amplifies tracking errors in motion forecasting. We construct a structured, temporally correlated synthetic corruption model, compare its induced velocity-error magnitudes with published detector velocity errors, and derive closed-form expressions for error propagation into velocity, acceleration, and constant-velocity extrapolation. Under this model, paired input interventions on clean-trained MTR yield relative mAP reductions of 28.1% for re-estimated velocities and derived accelerations with clean positions, versus 4.0% for perturbed positions with clean velocities at {\lambda} = 0.5. Training on an equal mixture of clean and corrupted histories improves robustness without architectural changes. It increases mAP at the default severity from 0.087 to 0.163 and mean mAP across the selected evaluation severities from 0.196 to 0.230, while matching the baseline clean-input mAP of 0.277.