Long-context clinical AI systems can miss relevant patient history when prior admissions fall outside the active reasoning context. In ICU monitoring, this can cause early vital-sign drift to appear nonspecific even when it resembles a prior deterioration pattern. SMARtCARE addresses this gap through a four-state clinical decision-support architecture: Stable, Meta-cognitive, Assisted, and Regulated (Revoked). Rather than automatically retrieving prior records, SMARtCARE uses a lossy six-channel fingerprint of the patient's prior trajectory. When current drift matches that fingerprint and the prior record is absent from context, the system raises a Meta-cognitive escalation for clinician review; full retrieval occurs only through clinician action in the Assisted state. A patient-identity guard is designed to enforce correct attribution across data loading, logging, and audit layers. Evaluation combines a synthetic Monte Carlo study that validates the state-transition logic and estimator stability, not clinical performance, with real-data runs on both the MIMIC-III and MIMIC-IV Clinical Database Demos. On MIMIC-III, one prior-pattern recurrence was identified among 14 two-admission patients; on MIMIC-IV, the same pipeline produced no fingerprint matches among 9 two-admission patients, which illustrates a key limitation of a fixed canonical pattern library. Across both runs all logged decisions were fully traceable and correctly attributed. The results support SMARtCARE as a traceable, privacy-aware mechanism for surfacing middle-context risk; they are not a clinical efficacy claim.
Fully continuous diffusion language models (dLMs) denoise continuous representations without intermediate discretization, then decode all response tokens in parallel at the final step. Their performance on challenging reasoning tasks remains less established than that of autoregressive (AR) LLMs and masked dLMs. We scale Embedded Language Flows (ELF) to mathematical reasoning and code generation on GSM8K, MATH-500, HumanEval, and MBPP. We introduce ELF-R, which improves learning with representation alignment and entanglement (REPA+REG), where a frozen AR teacher supervises intermediate denoiser features and supplies a global representation that is jointly denoised with the response. ELF-R-L achieves 55.96% pass@1 on GSM8K at 64 network function evaluations (NFE), and 13.39% on MATH-500 and 22.56% on HumanEval at 128 NFE. It outperforms the evaluated comparable-scale dLMs in pass@1 on GSM8K and code, and improves MATH-500 pass@1 from 10.55% for the ELF-L baseline to 13.39% with ELF-R-L. Without few-step training, the same task-specific checkpoints support strong low-NFE performance through early-stop, which decodes an intermediate clean prediction without completing the denoising trajectory. At 16 NFE, ELF-R-L reaches 41.21% HumanEval pass@10, outperforming recent continuous dLMs of comparable scale.
Solving AC power flow couples every bus to the whole network, whereas corrective graph neural networks exchange information only between neighboring buses. We insert a two-level hierarchical exchange into GENCO, replacing two of its twelve corrective layers at lower counted matrix FLOPs. The exchange compresses bus states onto nested sets of anchor buses, mixes them by coarse-graph message passing and global attention, and maps the context back to every bus. Bus-to-anchor weights come from Kron's zero-injection map of the admittance matrix (Kron) or a graph partition (Quotient). Under a 200-epoch multi-grid training across 500-, 2,000-, and 4,917-bus grids, Kron lowers the flat network's error on new scenarios by 85.0% (from 3.24 to 0.49 times a bus-mean reference) and Quotient by 78.2%. Both beat the reference on every training grid and seed, with Kron consistently ahead, while no model beats it on two unseen grids.
The statistical accuracy of neural networks depends on both their approximation power and the complexity of the class fitted from data. We establish sharp width--radius and width--bits tradeoffs at fixed depth using one elementary bounded $1$-Lipschitz Dyadic--Triangular Activation. For the unit $\beta$-H\"older ball on $[0,1]^d$ ($\beta\in(0,1]$), the optimal $L^p$ ($p\in(0,\infty)$) approximation error is $\Theta([N^2\log(eNT)]^{-\beta/d})$ for $N\ge2d+3$ and $T\ge1$, where $T$ bounds every weight and bias. Matching lower bounds hold for every fixed globally H\"older activation. With $B$ binary digits per parameter, the optimal rate is $\Theta([N^2B]^{-\beta/d})$ at the same depth, for every independent choice of $N\ge2d+3$ and $B\ge2$. Under bounded design densities and independent centered sub-Gaussian noise, approximate least squares over the full clipped classes at depth $19$ attains the classical H\"older minimax risk $\mathcal{O}(M^{-2\beta/(2\beta+d)})$ without logarithmic loss when $N^2\log(eNT)=\Theta(M^{d/(2\beta+d)})$ or $N^2B=\Theta(M^{d/(2\beta+d)})$, respectively. These balances give a continuum of statistically optimal choices of width and parameter radius or bit budget, extending previously known isolated optimal choices to entire optimal curves. We also extend this optimal width--bits rate and this optimal statistic tradeoff to a broad class of elementary activations. At fixed size, four hidden layers with at most $8d+7$ nonzero parameters give a near-optimal radius, while six layers with at most $8d+27$ attain the optimal worst-case order $\log T=\Theta(\varepsilon^{-d/\beta})$ at approximation error $\varepsilon$. The same decoding method also yields fixed-size Transformer approximation.
Subliminal learning is a phenomenon in which a distillation dataset transmits traits from the teacher model that are not legibly encoded in the dataset itself. This introduces a new challenge for model development and creates new risks from data poisoning. In this work, we use text optimization to detect subliminal learning effects and describe them as legible prompts. Subliminal learning from a prompted teacher motivates our approach. We observe that this is a special case of context distillation and leverage this observation to show that, in theory, the prompted subliminal learning dataset identifies the teacher's prompt. We reduce recovering this prompt to a text optimization problem and present a method to approximately solve it. Our method, SALVE (Search-Aided Latent VErbalization), optimizes a soft prompt, queries the same model to verbalize it as text, and uses beam search to make the verbalization reliable. In the standard subliminal learning setting, SALVE reliably recovers legible prompts that name the teacher's trait, while common text optimization methods fail to do so. In addition, we find that there are settings in which SALVE recovers the teacher's trait from a dataset even when subliminal learning fails, but that modifying student training to improve context distillation can create subliminal learning effects. We lastly show that SALVE detects subliminal learning effects encoded in real preference data via Logit-Linear Selection. Overall, our results deepen our understanding of subliminal learning and present SALVE as a method to proactively detect subliminal learning effects.
We present a Kubernetes Dynamic Resource Allocation (DRA) driver that makes composable Compute Express Link (CXL) memory a schedulable cluster resource, and evaluate the resulting shared-memory tier for cross-node KV-cache transfer and reuse in LLM serving. The driver composes CXL regions on demand, materializes them as DAX devices on each participating host, and injects them into pods under a single Container Device Interface (CDI) name. A shared-memory connector for vLLM uses that region as a KV-cache tier with a slot directory embedded inside the shared medium, which requires no external metadata service. On a two-node cluster with a 512 GiB CXL appliance and Qwen2.5-7B-Instruct, cross-node prefix reuse reduces TTFT by 5.5x-36.6x at an external hit rate of 95.4-99.5%, while node-local tiers (GPU prefix caching, CPU-DRAM offload) fall back to full recompute. The sharing gap, defined as the latency ratio between cross-node and same-node reuse, is 1-4%, indicating that cross-node reuse incurs little additional latency relative to same-node reuse. On a KV cache transfer case between disaggregated prefill/decode, CXL and RDMA converge to within 7% at all prefix lengths. We report these results as a feasibility study, not a performance evaluation.
Physics-informed neural networks (PINNs) solve PDEs by minimising the equation residual, yet what their hidden layers represent is largely unknown. We present PhysSAE, which trains sparse autoencoders (SAEs) on PINN activations, aligns the learned atoms with physical fields computed from independent reference solutions, and tests them by editing the frozen network's hidden state. Across 12 PDEs and 36 PINNs, atoms form readable shock, interface, soliton and front features (best |r| up to 0.98), and removing an atom changes the solution mostly where its concept lives. Comparing every statistic with untrained networks and with PINNs trained on other equations shows that trained PINNs encode the individual terms of their own PDE operator. A pre-registered test on three unseen equations confirmed all five predictions (Burgers diffusion term: probe $R^2 = 0.99$ against $0.15$ for the null networks). PINNs that fail to train lose this structure, which makes PhysSAE a diagnostic of what a PINN has learned.
Jets are central to the physics programs of both current and future colliders, from precision Standard Model measurements and searches for new physics at the Large Hadron Collider to studies of nucleon structure at the future Electron-Ion Collider. Motivated by these applications, we explore quantum machine learning for jet classification and present a permutation-invariant Quantum Graph Neural Network (QGNN) applied to particle-cloud representations of jets. We apply the model to two such discrimination tasks: quark vs. gluon and up vs. down quark flavor tagging, with the latter being, to our knowledge, the first application of a quantum model to this problem. In the ideal simulation, the QGNN performs competitively against the Particle Flow Network and traditional QCD observables. We further deploy scaled-down models to IBM and IonQ quantum processing units (QPUs), where we train and evaluate them, obtaining promising results. Finally, we perform an interpretability analysis to characterize the observables learned by the quantum model, relating them to generalized angularities for the quark-gluon study and to jet charge for the flavor study.
When a statistical agency or regulator releases synthetic data in place of sensitive records, it chooses the generator that produces the table, and can shape that generator so unfair pathways are absent. DECAF made this concrete on one non-private GAN: three fairness definitions become three sets of edge cuts on the generator's causal graph. Whether the mechanism belongs to DECAF, or to causal factorisation itself, was untested. We port all three definitions to ten generators from four unrelated families (marginals-based, GAN, and diffusion, each with differentially private variants, and the tabular foundation model TabPFN), across three levels of formal privacy guarantee, over 2,640 matched-pair runs on Adult and COMPAS datasets. The mechanism transfers everywhere. TabPFN is best overall: its release is the most useful and loses the most disparity, though it starts with the most. Our new causal diffusion backbone leaves the smallest gap under CF and has a private version. Applying the cut barely moves fidelity, costs a downstream classifier about $0.08$ (CF) to $0.16$ (DemPar) AUC on average, and adding privacy guarantees does not make the data less fair.
Structured pruning has long assumed access to training code, framework internals and gradient updates. Deployed models rarely offer any of them: they exist as frozen ONNX graphs. Given such a graph and a device to deploy it on, there is no straightforward way to find the variant that will run best on that hardware. Taksha closes that gap with a hardware-aware architecture search that never leaves the graph. Candidates come from the graph itself. A channel-layout model reads which channels are coupled and where attention heads live, and an evolutionary search gives every coupled group a width under a hard budget on MACs, parameters or a device's own limits. Scoring a candidate costs one forward pass and no gradients; the search therefore runs after training, not inside it. A static verifier then rejects any graph that would fail to load or run, so what the search returns is always a model the target runtime will accept. The budget, the target device and the recovery recipe are all chosen by the user, so the results below are one setting among many, not a ceiling. We run Taksha across convolutional networks, point-cloud networks, vision and language transformers, and a vision--language model, under one configuration per family. Searched models run 2.00$\times$ faster on a CPU where the best method that needs the source code manages 1.26$\times$. PointNet++ ends +0.58 points above its original at 57.0\% fewer MACs; ViT-B/16 gives up 2.29 at 49.7\%, beating the strongest ONNX-level result at that operating point with a third of its fine-tuning. The generated models are then benchmarked for latency on a range of silicon, not estimated from MAC counts: a Jetson Orin Nano, an Apple M2 and a server CPU, each running the same emitted file unmodified, with speed-ups of up to 3.25$\times$ on the CPU, 1.79$\times$ on the M2 and 1.72$\times$ on the Jetson.
Large language models (LLMs) achieve state-of-the-art generative ranking quality, but the ranking they produce must be decoded, and autoregressive decoding spends one sequential forward pass per emitted token. We observe that the only tokens a ranker must emit are the $N$ ordinal values, corresponding to the number of positions available to rank, naming the items in ranked order, and that this narrow, permutation-structured output format admits decoding strategies which are much more efficient than left-to-right generation. We introduce SPD (Single Pass Decoding), a format-specialized decoding strategy that decodes all $N$ ordinals in $O(1)$ forward passes. SPD reads an $N \times K$ item-position score matrix off the LLM's prefill hidden states with a lightweight self-attention head, then decodes the ordinals as the optimal bipartite assignment of that matrix via the Hungarian algorithm, yielding a valid permutation by construction rather than by repair, without enumerating candidate prefixes or re-querying the LLM. Through a systematic study of training signals and backbone adaptation, we show that LoRA-based fine-tuning combined with autoregressive LLM ranking distillation reaches 28 ms end-to-end inference, $3.1\times$ faster than a same-size autoregressive teacher without reasoning ($64\times$ faster than the teacher with reasoning) while maintaining ranking quality on par. On four public benchmarks, a 0.6B SPD student stays within 4% of its 32B teacher's AUC at $44$-$88\times$ lower latency. An autoregressive student trained on the same teacher reaches similar quality but is $14$-$41\times$ slower, so distillation supplies the quality and single-pass decoding supplies the speed. We provide a complete ablation decomposing the contributions of architecture, training signal, and backbone adaptation, and compare against five efficient rerankers.
End-to-end weather forecasting systems produce skillful global gridded and station forecasts directly from raw Earth observations, replacing the numerical weather prediction pipeline, including data assimilation, at a fraction of its cost. These systems are deterministic and issue no uncertainty. Here we render the Aardvark Weather model probabilistic by attaching one stochastic mechanism to each component: learned, input-dependent noise at the observation encoder, aimed at the uncertainty inherited from the observing system, and Monte Carlo dropout in the processor, aimed at the uncertainty of the learned dynamics. The resulting nested ensemble attributes forecast spread to the two sources through a law-of-total-variance decomposition, cross-checked by withholding observation streams. Probabilistic finetuning significantly improves the mean forecast, by 11% on average across variables and lead times. The ensemble is close to calibrated against ERA5 through the medium range, is at least as accurate as the deterministic model at weather stations while beating it in relative economic value at every lead time, and remains considerably behind the operational ECMWF IFS ensemble. The encoder branch behaves consistently with observation-driven uncertainty. Component-attributed uncertainty makes end-to-end forecasts more transparent, a step toward observation-driven digital twins of the atmosphere.
Large language models (LLMs) are built from structured high-dimensional objects such as token representations, weights, adaptation updates, caches, and activations, whose multilinear structure is underexploited by the conventional matrix-centric view. Tensor decompositions and tensor networks provide a principled algebraic language for this structure, yet the literature often treats them as isolated compression mechanisms. This survey organizes tensor methods for LLMs through two complementary views: a seven-stage lifecycle taxonomy covering tokenization, embeddings, pre-training, adaptation, compression, inference, and interpretability, and a component view covering embeddings, attention, and feed-forward networks. We provide unified notation and theoretical foundations, analyze tensorization strategies for individual Transformer components, and compare methods at each lifecycle stage while making differences in evaluation protocols and model scales explicit. We further connect tensor methods to neighboring efficiency techniques and probabilistic tensor networks. Finally, we synthesize open challenges and introduce $\rho_{\rm gap}$, a metric for the compression-realization gap between theoretical memory reduction and measured system-level speedup. By treating tensorization as a common structural principle, the survey provides a structured entry point to tensorized language models and clarifies when parameter savings can plausibly translate into memory efficiency, computational efficiency, or interpretability. The GitHub page dedicated to this paper is accessible at https://github.com/ma-tt-a/awesome-tensor-methods-for-llms.
The hidden states of large language models (LLMs) are known to capture rich information relating to model knowledge and behavior that can be hard to extract from examination of input and output alone. As LLM-based systems increasingly interface with the external world, one area of concern is detecting incorrect or improper use of tools. Motivated by this, we study the effectiveness of using linear probes to detect incorrect tool-calls, measuring probe efficacy across 18 tool-calling LLMs evaluated on the Berkeley Function Calling Leaderboard and 35k tool-calling instances from Glaive. Overall, we find that probing is an effective means to catch a range of different tool-calling errors, including errors arising from using an argument that has the wrong value but the correct type, which might not be recorded by standard logging frameworks. Important factors in success include model size, probing layer, and model post-training type. We also show that probes are capable of generalizing to novel types of errors, which is critical in real world deployments.
Foundation models have transformed molecular property prediction, yet it remains unclear whether a molecular foundation model, fine-tuned on a single canonical olfactory prediction task, can learn representations that transfer across diverse machine olfaction problems. We investigate this question by fine-tuning Uni-Mol2 on the GS-LF benchmark for multi-label odor descriptor prediction and evaluating the resulting model, without additional deep-learning training, on four complementary downstream settings: cross-dataset odor descriptor prediction, odorous-versus-odorless classification, enantiomer evaluation, and odor mixture discriminability. The fine-tuned model matches or exceeds the performance of the state-of-the-art olfaction-specific baseline on the primary GS-LF benchmark and consistently transfers across these downstream evaluations. The enantiomer analysis further shows that the learned representations yield distinct predictions within each enantiomer pair, although accurately predicting the perceptual consequences of stereochemistry remains an open challenge. Together, these results support a train-once, transfer-across-tasks paradigm for machine olfaction and suggest that chemically pretrained molecular representations provide a strong foundation for transferable olfactory prediction.
In high-stakes healthcare applications, machine learning models are frequently trained on data from one patient population and deployed on another, creating a distribution shift that degrades their performance. Semi-Supervised Domain Adaptation (SSDA) addresses this by leveraging labeled data from some source domain to improve model performance on a target domain where labels are scarce. However, existing SSDA methods optimize primarily for point-prediction accuracy and offer no principled uncertainty quantification --- a prerequisite for clinical trust. Conformal Prediction (CP) can address this limitation by providing prediction sets with rigorous, distribution-free coverage guarantees. However, applying CP post-hoc to a pre-trained model can yield prohibitively large prediction sets, as SSDA pre-training methods do not account for the nonconformity score geometry that determines conformal set size. Conformal Risk Minimization (CRM) has been used to resolve this issue in the fully supervised setting by integrating the CP objective directly into model training, but it requires a large labeled dataset to compute nonconformity thresholds during training, precisely the data that is scarce in the SSDA regime. We propose CP-JDOT, an end-to-end framework that integrates CRM into the SSDA training objective, enabling effective CRM in the limited-labeled-target-data regime. We utilize Optimal Transport (OT) to generate pseudolabels for unlabeled target instances, providing the additional training signal needed by CRM to operate using only a small labeled target set. This results in a model jointly optimized for domain alignment and conformal set size, producing compact prediction sets with marginal coverage guarantees and allowing us to incorporate domain knowledge into training, as we show by penalizing the inclusion of both benign and malignant classes in a skin lesion classification task.
As LLMs are increasingly deployed within agentic systems, their capabilities depend not only on the model weights but also on the harness: the prompts, tools, control flow, memory, and orchestration code surrounding them. This makes automated harness optimization, the improvement of a harness by an AI system, both a route to better AI systems and a demanding capability in its own right. We introduce HarnessOpt-Bench, a benchmark for end-to-end harness optimization under expensive and stochastic evaluation. HarnessOpt-Bench provides a sandboxed environment in which an optimizer, an LLM in a coding harness, iteratively edits and evaluates a target agent's harness within a fixed budget, then submits a final candidate that is scored by normalized gain over the baseline on a held-out test partition. We evaluate 5 frontier LLMs as optimizers under two shared and their native coding harnesses across 4 downstream tasks, with 3 runs per condition. Of the 10 model pairs, 7 differ clearly, and these differences hold when the final candidates are run with two unseen target models. Native coding harnesses give no consistent advantage. Gains depend on the task and on the starting harness's strength. These results establish harness optimization as measurable and discriminative, with space for improvement. Code is available at https://github.com/scaleapi/vero/tree/main.
Proactive face-swap protection must disrupt identity transfer while preserving portrait quality. We observe that later singular components of PGD perturbations are more high-frequency, and together they carry most of the perturbation's high-frequency energy. Such high-frequency noise degrades image quality, motivating selective refinement during optimization. We propose DUNE, which jointly optimizes an SVD-refined full-resolution perturbation and a bilinearly upsampled low-resolution perturbation through frozen surrogate recognizers under a shared $\ell_\infty$ bound. SVD truncation and Gaussian smoothing (SVDG) reduce distortion, while the auxiliary branch recovers protection. Importance masking and masked total variation further regulate local appearance. Across four black-box face swappers, DUNE achieves mean protection rates of 95.1% on CelebA-HQ and 93.1% on VGGFace2, leading the compared methods while attaining the best source PSNR, SSIM, and LPIPS. Component-wise ablations and comparisons further show how each component contributes to these gains in protection and image fidelity.
Steering vectors (SVs) are widely used to influence the expression of concepts (e.g., truthfulness) in large language model outputs. A key assumption underpinning SVs is that they are linearly discriminative with respect to the concept: representations of texts that exhibit the concept are more aligned with the SV than those that do not, motivating shifts along the positive or negative SV direction to respectively promote or suppress the concept. In this work, we identify an inverted detection-control phenomenon in which some highly discriminative SVs that are aligned with positive representations can consistently promote the opposite behavior. We refer to such vectors as inverted-steering vectors (ISVs). We provide a geometric characterization of ISVs' effects, finding that steering along these directions systematically pushes representations in discriminative downstream heads as if the concept were absent, even prior to decoding. Motivated by this analysis, we propose an approach for distinguishing ISVs without requiring generation or associated response scoring. This enables targeted sign flips, which we use to improve a foundational detection-based steering pipeline via Inference Time Intervention (ITI). Our approach improves results in 27/30 experiments, ranging from +0.9% to +138%. We evaluate our findings on Gemma 3 12B, Qwen 2.5 14B, and Olmo 3 7B across 5 concepts. Our code is publicly available at https://github.com/MaxTorop/ISV.
Classical best-arm identification ranks arms by their mean rewards. Under this criterion, arms with the same mean are equally desirable, even if some yield consistent rewards while others attain that mean through rare, large rewards. This motivates comparing arms based on where their realized rewards fall within the reward distributions of all arms. We therefore introduce a novel dominant arm criterion and an efficient estimator with theoretical guarantees. Our approach relies on two key technical innovations: (i) a dominance score criterion that an arm beats the locally dominant arm over the partitioned reward space and (ii) a joint mixing and recycling mechanism coupled with a doubly robust estimator that guarantees simultaneous convergence of the empirical distribution functions for all arms. These key innovations pave the way to efficient computation of global arm dominance. Our proposed elimination algorithm identifies the dominant arm with a near-optimal rate of sample complexity. Numerical experiments demonstrate that our algorithm consistently achieves exact recovery of the true dominant arm, outperforming existing baselines.