Biological design problems naturally have continuous (e.g. molecular structures), discrete (e.g. DNA residue types) and often both modalities (e.g. protein structure-sequence co-design). Diffusion and CTMC-based methods have been developed for multimodal generation, and, for cross-modal tasks, the two are typically combined. However, it remains challenging to adapt these methods at inference-time to fulfill design constraints. Recent developments of one-shot samplers such as Meta Flow Maps (MFM) have demonstrated high controllability for image generation, showcasing the power of inference-time steering with accurately estimated reward gradients. Here, we adapt Meta Flow Maps to biological domains, and develop an MFM framework both in discrete (dMFM) and multimodal settings (multiMFM). We demonstrate dMFM by designing DNA sequences with a target mechanical property. MultiMFM trained on the molecular datasets QM9 and GEOM-Drugs are applied to design molecules of a given physical property. Once distilled, a single sampler can steer its base generator toward new design objectives without retraining. On QM9, the same multiMFM sampler achieves lower mean absolute error than the published TFG-Flow reference on all six properties, counting all generated molecules. On a four-motif design task with 400-base-pair DNA sequences, dMFM meets the same accuracy, diversity, and uniqueness thresholds as Feynman-Kac steering in about one-third of the sampling time.
A generator's knowledge lives in its parameters, so knowledge that appeared after training or exists only inside an organization is out of its reach, and models often fabricate answers about it. We propose zmem, which lets the inference server supply deterministic sources during generation at the model's request. The model writes a search instruction on a line of its own in its thinking (a latent tool); the server executes it in place and writes the result as a page, which the generator itself encodes and which is mounted on all full-attention layers (latent context). The page is visible to all later tokens but never enters the sequence or the conversation, and generation is not interrupted. The document store uses an inverted literal index (1.2 ms per search over 312 MB; updates take effect at once), and pages are cached by content. On LD3, a byte-level hybrid-attention model, and on Qwen3.5-9B we find: (1) on private sources, correct answers rise from 3/16 and 0/12 without sources, every wrong answer fabricated, to 15/16 and 9/12, on par with source text in context and with prompts 10-14 times shorter; with self-issued searches the model answers 44/48 held-out questions on synthetic memos. (2) Pages encoded by the generator itself and mounted on all full-attention layers are partly readable without training and fully readable with a small LoRA. (3) Trusting pages mounted mid-thinking needs training, and on-policy preference training forms the habit of using sources. (4) Pages do not occupy the context: over 8 turns, prefill per turn drops from 2.7-2.9 s to 0.49 s, and a page cache hit cuts time to first token from 2.0 s to 0.23 s. On DeepSeek-V4-Flash, pre-mounted pages work without training and match source text in context with 13-19 times fewer dialogue tokens; with pages written into the KV mid-thinking, search-page QA reaches 47/61 versus 53/61 under prefix replay.
Activation steering controls the behavior of large language models (LLMs) by intervening in their internal activations. We focus on Directional Ablation, which is a representative approach to suppress refusal behavior by removing the activation component along a Difference-in-Means (DIM) direction between harmful and safe prompts. In this work, we examine Directional Ablation from two perspectives. First, we revisit its conventional origin-based projection and consider the mean activation of safe prompts as an alternative reference point. Second, we examine whether intervention should rely only on a single DIM direction by considering additional directions derived from the covariance structure of activation differences. We introduce Reference-based Directional Ablation (RDA), which computes the projection relative to the mean activation of safe prompts rather than the origin. We further analyze the covariance structure of activation differences between harmful and safe prompts and extract principal directions using PCA as additional directions for intervention. Experiments show that RDA consistently outperforms conventional Directional Ablation in jailbreak performance. We also find substantial differences in covariance structure across harmful datasets, and additionally removing the dominant principal direction tends to improve jailbreak performance for datasets with larger variability relative to the DIM direction. These results demonstrate the importance of the reference point in Directional Ablation and suggest that covariance structure can provide additional directions that improve intervention effectiveness beyond the DIM direction alone.
Serving-side components of LLM inference have so far targeted speed, leaving output quality to the model. We propose the Quality Checker (QC), a form of intelligent inference serving: while the large model generates, the server hands each paragraph to a checker and, depending on the verdict, continues, rewinds and rewrites, or ends the thinking phase. Rewind stores no snapshot: the server cancels the request and continues from the kept output, so the prefix cache leaves only tens to about a hundred tokens to recompute, with no scheduler change. We implement QC in SGLang and evaluate it on a character-level 27B model, with four conclusions. (1) Asking whether a response contains a hallucination does not work: all four checkers are near chance. (2) The server holds the complete session and should make the question narrow: rules do verbatim checks, and the checker only judges whether session facts are consistent. Asked this way, a 27B dense model without decision training gets every item right regardless of material length and placement, a decision-trained 35B-A3B is sensitive to placement, and neither 9B nor 122B-A10B is good enough. (3) Rewind needs a clue: in production cases where the model denies a tool that is in its tool list, rewriting with only a new random seed lowers the share of outputs still denying from 69% to 47%, while writing the checker's clue into the context brings it to 11%. (4) Repetition must also be asked narrowly: comparing the new paragraph pairwise with earlier ones raises AUC from 0.94-0.95 to 0.99, and rules plus ending the thinking phase when the budget runs out cut severe loops from 5.2% to 0.3%.
Large language models frequently ignore in-context evidence that contradicts their parametric priors, producing answers that reflect default beliefs rather than the supplied passage, a phenomenon termed knowledge conflict. This failure is commonly attributed to insufficient encoding of the contextual signal. We challenge this explanation. Through systematic, layer-by-layer analysis in a controlled multi-hop question-answering setting, we show that models can favor the context-supported answer in their intermediate representations, yet suppress it in the final layers before generation. We term this late-layer reversal: the representational support for the evidence answer rises through the middle layers, then collapses in the final approximately 40% of the network. To explain this phenomenon, we identify a Dual-Track computational structure within the transformer's hidden state. A knowledge direction, recovered by a learned linear probe, makes answer-related information linearly readable; a nearly orthogonal output direction, aligned with the unembedding geometry, determines the model's prediction. Interventions along the knowledge direction have much weaker effects than those along the output direction: targeted suppression of prior-restoring computation makes the model prefer the contextual answer over the prior in 96.9% of collapse cases. Our findings across nine model-dataset combinations show that knowledge conflict failures can arise after contextual evidence has entered the model's computation, when the generation pathway restores the prior answer.
Reinforcement learning with verifiable rewards (RLVR) is widely used to improve the reasoning of large language models (LLMs), and popular pipelines keep only rollout groups that contain both correct and incorrect answers. We show that the resulting training logs suffer from survivorship bias. A group for a hard problem survives only because it contains a rare correct answer, so analyses that subsample stored rollouts overestimate how often the model succeeds. On two public math archives, uniformly subsampling eight of sixteen stored responses understates the rate of zero-gradient groups by 5.50 and 10.68 percentage points, and prioritized replay by 16.80 and 27.04. We propose Parity Replay, a training-free rule that returns a random half of a group whenever the discarded half contains an odd number of correct answers. It reduces the error to 0.29 and 0.43 points, and we prove that half a group is the largest fraction any rule can replay as fresh samples. On held-out HumanEval tasks, it cuts the bias of pass@8 under stronger tests from +4.6 and +6.8 points to -0.2.
Mixture of Experts (MoE) language models route tokens to a subset of experts, but it is not yet clear whether routing follows the meaning of the text or what the model does with it. To investigate this, we identified and tested four common functions a model can perform when working on a problem - reading, reasoning, writing, and tool use - across two domains, mathematics (math) and programming (code). We ran Qwen3-30B-A3B on 400 problems under each of the four functions, generating 1,600 traces. We measured expert use by each expert's contribution to layer output, rather than by frequency of selection. We found that function accounted for 48% of the variation in expert use and domain for 37%; experts used for different functions within the same problem overlapped less than chance would predict, and the difference persisted for identical tokens. Our results suggest that expert use is organized by function and stable enough across items to support expert caching mechanisms, which would reduce the memory needed to serve these models outside high-performance data centers.
A pretrained world model can become inaccurate when a robot changes policy, encounters new terrain, or carries an unknown load. Retraining the world model can be costly, raising two research questions: when is lightweight online correction sufficient to adapt a pretrained world model, and when does improved prediction translate into better robot performance? To explore these questions, we introduce a compact error-feedback predictor that is fitted by ridge regression and adapted using recursive least squares, with corrected states fed back into the model's recurrent history. Our experiments first evaluate the effectiveness of online correction for quadruped locomotion. On simulated ANYmal D and Unitree Go1, affine correction reduces the cumulative squared base-state error over 50-step forecasts by 62% and 49% respectively under a held-out policy. However, the benefits of correction are not universal. Under friction shifts, gains depend on the robot and prediction horizon; terrain changes can make correction harmful at longer horizons. Nonlinear polynomial, RBF, and Koopman-autoencoder dictionaries do not consistently improve on affine correction, whereas access to the world model's hidden state improves prediction. Beyond forecasting accuracy, we further investigate whether correction improves downstream planning and policy adaptation. In Franka FR3 planning, correction reduces the number of unsafe plans accepted under an unknown payload, with the greatest closed-loop benefits under compliant control or slower replanning. For policy adaptation, polynomial correction improves ANYmal return with a frozen model and 24-step imagination, but retraining or longer imagination reduces its additional benefit. These results identify useful operating conditions for online correction and distinguish improved forecasting from improved control.
Meta-learned intrinsic rewards are a powerful tool for shaping policy learning in reinforcement learning, particularly when extrinsic rewards are sparse, delayed, or unavailable. Learning Intrinsic Rewards for Policy Gradient (LIRPG) RL methods introduced this paradigm and serves as the foundation on which subsequent meta-learned intrinsic reward methods are built. While LIRPG and LIRPG-based methods have shown strong results in low-dimensional domains, their behavior in high-dimensional domains, where the policy and value networks use a shared encoder, remains poorly understood. In this work, we analyze meta-learned intrinsic rewards in high-dimensional domains and uncover a consistent failure mode, particularly when training with intrinsic rewards alone, where performance collapses to near-random behavior. We identify the root cause as dense, non-stationary intrinsic rewards inducing large and high-variance value losses that dominate shared encoder updates, suppressing policy learning. We further demonstrate that decoupling policy and value optimization, using existing phasic policy gradient methods, is one simple and effective approach to addressing this issue.
Rotary Position Embedding (RoPE) is a strong alternative to relative positional encoding in modern automatic speech recognition (ASR) encoder models. However, its discrete, uniformly-spaced chronological index is misaligned with the continuous, semantic nature of speech features. We propose Convolutional Dynamic RoPE (CD-RoPE), a dynamic positional encoding complementing Branchformer's attention path by warping the rotary temporal index conditioned on local acoustic context via a lightweight depthwise-separable convolution. Additive position modulation preserves RoPE's harmonic structure, enabling continuous input-dependent shifts. CD-RoPE achieves consistent WER improvements over RelPos on Branchformer across all LibriSpeech test sets with 2.2M fewer parameters. Targeted robustness evaluation on Speech Robust Bench (SRB) confirms that CD-RoPE's advantage is strongest under temporal perturbations, validating the temporal warping mechanism.
Empirical neural scaling laws often rely on fitted exponents, limiting prediction before costly resource sweeps. We develop a first-principles theory of quantized sequential neural computation from measurable structural profiles. We prove that marginal depth and library-size rates cannot identify their joint law. Using the task-quotiented shared-library reachable width, we derive the exact minimax error for separated writes in $\ell_1$: $\Delta_a(D,M)=(2D)^{-1}\sum_{i=1}^{2D}\max\{a_i,a_{M+1}\}$, where $D$ is depth, $M$ is library size and $a_i$ are ordered task-visible amplitudes. The clipped Ces\`aro profile yields the sharp universal saturation threshold $M=2D-1$. Regular variation yields spectrum-dependent rates, universal $\Theta(D^{-1})$ synthesis for summable spectra, and integrated slowly varying corrections at criticality. Routed nonlinear adapters realize task-dependent phases; balanced routing gives a constant-factor upper bound under uniform amplitude and relative Lipschitz bounds. Exact Green identities give worst-case full-state amplification of $\Theta(D)$ for write-back and $\Theta(1)$ for exact-carry feedback under stable fixed-horizon refinement. On frozen ResNet-18 features, calibration spectra reproduce 49 idle-route probe errors with 1.02% median and 2.49% worst relative error. For fixed targets in orthogonal SVD modes, pooled median held-out relative errors are 0.295% for measured profiles, 2.008% for a power-law spectrum with the same routes, and at least 18.697% for resource-only fits with different inputs. At a common write grid, feedback with an FP32 accumulator and carry changes the depth slope from 0.90 to 0.00 and yields a bit law of $2^{-1.01b}$. At equal persistent storage, write-back has lower error in all 680 packed and 64 active native comparisons. Scaling thus reflects operation geometry, synthesis, task geometry and arithmetic transport.
Semantic communication represents a paradigm shift beyond Shannon's theory on channel capacity by prioritizing the transmission of task-relevant meaning rather than raw bits, thereby facilitating the transition to sixth-generation (6G) networks through improved spectral efficiency and reduced latency. In parallel, artificial intelligence (AI), driven by generative models, large language models (LLMs), and vision-language models (VLMs), is rapidly reshaping wireless system design, enabling significant advances in resource allocation, channel estimation, and the emergence of AI-native air interfaces. While these AI-driven methods have profoundly enhanced wireless communications and semantic communication frameworks, they often operate as a black-box, limiting the ability to interpret how semantic information is extracted, represented, and affected during transmission. This lack of transparency not only constrains interpretability but also hinders debugging, trustworthiness, and standardization, particularly under channel impairments and varying signal-to-noise conditions. Explainable AI (XAI) has therefore emerged as a key enabler to address these challenges. In this paper, we examine the role of XAI in encoder-side of semantic communication, highlighting how methods ranging from lightweight post-hoc analysis to mathematically rigorous techniques can improve semantic encoding, feature prioritization, and transmission strategies. Furthermore, we discuss key XAI evaluation metrics for semantic communication, including fidelity, consistency, counterfactual validity, concept alignment, and formal verification measures.
Hurricane damage varies sharply between neighboring streets. Street-view damage research nonetheless remains retrospective, and preparedness products such as Federal Emergency Management Agency (FEMA) flood maps are not designed to separate damage on adjacent streets. We present a three-stage GeoAI framework that uses pre-disaster street-view imagery, 10-m AlphaEarth foundation-model embeddings, National Hurricane Center forecasts, and geospatial context to predict damage severity (Stage A), generate a severity-conditioned post-disaster image of each street (Stage B), and rank streets for inspection (Stage C) before landfall. On Hurricane Milton (2,556 located pre- and post-event panoramas at Horseshoe Beach, Florida), pre-event information recovers 93% of the macro-F1 of a model that sees the post-disaster image, and the AlphaEarth embedding is the strongest single source. Street-segment rankings reach a Spearman $\rho$ of 0.79, whereas FEMA flood zones show no positive association with damage ($\rho$ = $-$0.27; 95% CI $-$0.57 to 0.06). On Hurricane Ian (4,078 samples across Lee County), pre-event models recover 86--93% of the post-disaster model on the 886 samples with pre-event street views and rank spatial blocks at $\rho$ = 0.83, against 0.47 for flood zones. Part of this skill follows the spatial gradient of damage. When whole units are held out by region with a 60-m buffer, the embedding still ranks units at $\rho$ = 0.61 and 0.64, and the continuous score of a model trained only on Ian ranks Milton's street segments at $\rho$ = 0.70--0.72, although its class assignments do not transfer. Severity conditioning raises the severity consistency of generated scenarios while keeping the depicted street. Learned pre-event rankings complement regulatory maps by prioritizing streets within the exposure that those maps define.
Conformal prediction (CP) is a widely used model-free uncertainty quantification technique that provides prediction sets with finite sample statistical coverage guarantees. While CP guarantees marginal coverage, the size and shape of its prediction sets depend on the choice of non-conformity scores and the underlying predictive model. When the underlying predictive model is complex or multimodal, incorporating the highest predictive density (HPD) regions derived from Bayesian posterior predictive distributions can give more adaptive and substantially smaller prediction sets. However, it remains unclear when and to what extent HPD regions improve CP set efficiency, and how different conformal optimisation strategies affect this improvement. Here, we provide a systematic construction and optimisation framework for Bayesian CP under multimodal predictive distribution, and study when HPD set geometry produces material efficiency gains. We also evaluate different conformal optimisation approaches under the same PAC coverage guarantee and quantify their relative efficiency across unimodal, multimodal, overlapping distributions, and under model misspecification. Across the four settings, HPD candidates reduce CP set size by up to 47%. The gain will be the most obvious when the multimodal distribution is well-separated. Our results also demonstrate that Bayesian CP-set efficiency depends jointly on HPD geometry, statistical coverage, data splitting allocation, and the characteristics of the optimisation parameters.
Many problems in diverse fields involve data that naturally live on Lie groups. However, existing Riemannian and Lie group generative models still face several limitations. Riemannian flow and consistency models often require position-dependent vector fields, and expensive geometric terms such as covariant derivatives or Euler-Arnold simulation on Lie groups without a bi-invariant metric. Existing Lie group flow models are usually tied to collinear exponential paths, while momentum-based Lie group diffusion relies on compactness assumptions and does not naturally extend to non-compact groups. To address these limitations, we propose Trivialized Generative Models (TGM), a family of generative models that learns endpoint-constrained paths in the fixed Lie algebra and lifts them to the Lie group. In particular, we propose Trivialized Flow Matching (TFM), Trivialized Consistency Models (TCM), and momentum-based extensions with endpoint correction, enabling flexible path design, simpler few-step objectives, and generation on non-compact Lie groups. We evaluate TGM on compact SO(3) benchmarks, non-compact $\mathrm{Sp}(4,\mathbb{R})$ datasets motivated by continuous quantum systems and paraxial optics, and real-world protein backbone and robot grasp generation. Across these settings, TGM improves sample quality over existing Riemannian and Lie group baselines, and is more efficient on Lie groups without a bi-invariant metric.
Generalization measures -quantities computed from a trained model and its training data alone- promise to let us choose among models without held-out validation. But can we really skip validation? So far, large studies of such measures have only concerned deep networks, and examined whether a measure correlates with the generalization gap rather than what we care about in practice: selecting a good model. We compare over 100 statistical and deep-learning measures across 16 model families, 89 datasets and over 102,000 models, scoring each by the model it would select and its compute cost, against cross-validation (CV), cheap resampling and multi-fidelity search. No training-data-only measure matches CV in general: one rivals CV only in 5 identifiable situations` and a single 20% hold-out recovers most of CV's quality at a fifth of its cost. Complexity measures usually rank candidates backwards; we show that this is decided by whether generalization gaps or training errors vary more across the candidates, a detectable condition that holds past the interpolation threshold, where norm, flatness and stability measures can rival CV and extra parameters switch from hurting to helping generalization. Learned combinations of measures help mainly across model families, measures that refit the candidates improve them only at several times the cost of CV, and adding measures to CV does not improve it. Measures earn their place when candidates are already trained, as when choosing among pretrained models. We summarise the results in a decision guide for practitioners and release a benchmark for evaluating newly proposed measures.
Learning theory offers many ways of saying that an algorithm "does not depend much on its training sample": stability, replicability, differential privacy (DP), conditional mutual information (CMI), compression, memorisation, robustness to dropping data and the cost of unlearning an example. Do these data-dependency notions agree in practice for commonly used learning algorithms, and does depending little on the data always mean needing fewer data? We measure these notions side-by-side, picking one CPU-cheap proxy for each, for classification (21 learners on 22 binary and 4 multi-class tabular datasets) and regression (20 learners, 13 datasets), and summarise each learner by a data-dependency profile. Stability, replicability, CMI and memorisation form one cluster; compression and drop-robustness are separate axes. The main finding is that there are two routes to low data dependency. Reducing capacity lowers dependency and makes learning saturate sooner. Injecting noise also lowers dependency but slows learning, in proportion to the noise-to-signal ratio of training, whether or not the noise carries a privacy guarantee. Pooling learners that took different routes therefore hides the relation between dependency and sample efficiency. Within-family dials (one hyperparameter turned at a time), including in a convolutional network on CIFAR-10 images, support this. Unlearning cost belongs to the stability cluster, yet it divides the noise route: with output perturbation, deleting an example is nearly free; with per-example noise, as in noisy gradient descent, it costs as much as re-seeding. Privacy audits require a new random seed for every model, and CMI bounds are informative, unlike compression bounds.
Graph neural networks have been proposed for power flow and outage screening, with their number of layers chosen by trial. Each layer of a linear message-passing network that repeats the grid's Laplacian adds one degree to a polynomial filter in it; the depth such a network needs is therefore the order of a filter that approximates the inverse of the Laplacian. Classical approximation theory shows that this order grows as the square root of a condition number taken once the few eigenvectors with eigenvalues near zero are treated apart, but what sets this number on a real grid is unexplained, and filter-based outage factors lack error bounds. We write the condition number exactly as the product of a part set by the grid's topology and three factors set by its line weights, one for the largest eigenvalue, one for their spread and one for how they are arranged across the grid. We derive a model for each, one of them an effective-medium equation from condensed-matter physics in which each line's leverage replaces the lattice constant. We further prove (i) exact error formulas for outages of any size, (ii) per-line error bounds that certify each screened flow, and (iii) a lower bound on the number of hops that any message-passing model requires, trained or not. Tested on real and synthetic grids, the topology model and the effective-medium equation together give between half and twice the exact condition number in every case, and on the grids where we train them, nonlinear networks started from the filter require close to the predicted depth. The depth can thus be predicted from the grid's data before any training.
On-policy self-distillation (OPSD) pairs training problems with privileged information to supervise a model's own rollouts. The learning value of each pair depends on the current model, making effective pairs difficult to curate. We introduce On-Policy Self-Evolution (OPSE), a zero-data method in which the model acts as a synthesizer, writing problems around strategies it might overlook as a solver. It expresses each strategy in a hint that only the teacher sees. The synthesizer's GRPO reward scales with hint-induced teacher-student divergence only when the hint preserves the model's majority answer (the most frequent sampled answer) and increases its share of completed responses. Each training round distills the student on generated problem-hint pairs with the lowest divergence early in student responses. The updated student initializes the next round. Across three model families and four competition math benchmarks, one round improves average accuracy by 1.5-3.3 points, versus at most 0.7 for zero-data baselines and 0.3 for OPSD and GRPO on curated data. Qwen3-4B rises from 55.7% before training to 59.0% after one round and 62.6% after three. Code is available at https://github.com/GasolSun36/OPSE.
Quantization is essential for efficient neural network deployment, whereas its optimization overwhelmingly relies on the Straight-Through Estimator (STE). However, STE discards the structure of the quantization operator by replacing its derivative with an identity mapping, resulting in a mismatch between the forward and backward passes that can fundamentally limit the achievable quality of quantized models. To address this limitation, we introduce Rotated Fourier Surrogate (RFS), a unified framework that extends STE with a principled gradient estimator. RFS analytically reflects the structure of quantization while remaining stable and computationally efficient. We further provide rigorous theoretical guarantees for RFS, demonstrating well-conditioned gradients and favorable optimization properties. Moreover, RFS is plug-and-play and incurs negligible computational overhead with our optimized kernel. We extensively evaluate RFS across diverse quantization paradigms, spanning integer and floating-point quantization, weight and activation quantization, as well as quantization-aware training, quantization-aware distillation, and post-training quantization. Our experiments cover a broad spectrum of architectures, including large language models, diffusion language models, vision transformers, and convolutional neural networks, as well as diverse applications including generative recommendation, image classification, pre-training, and reasoning post-training. Across these diverse settings, RFS consistently improves upon strong state-of-the-art quantization baselines, demonstrating its broad applicability across quantization paradigms, model architectures, and applications.