Riemannian conditional flow matching (RCFM) regresses velocities along geodesics determined by endpoint couplings. Within this framework, the choice of endpoint coupling has been key to improving RCFM performance, but finding an endpoint coupling with low squared geodesic cost can be computationally expensive. In this study, we introduce Geodesic-Cost-Selected Circular Slicing on Manifolds ( $\texttt{GeoSliM}$ ), an efficient coupling-search method for manifold-valued data. $\texttt{GeoSliM}$ utilizes slice maps for manifold-valued data to circles, constructs a coupling on each slice by circular optimal transport, and selects the candidate with the lowest squared geodesic cost on the original manifold. For a batch of size $N$ and $L$ slices in fixed dimension, $\texttt{GeoSliM}$ takes $O(LN\log N)$ time to construct the candidate couplings and evaluate their squared geodesic costs. We also prove that, under some conditions, $\texttt{GeoSliM}$ can realize any permutation coupling, and we show that the cost on a finite batch converges to its population counterpart at a rate independent of the dimension. In large-batch experiments, $\texttt{GeoSliM}$ constructed couplings faster than the Sinkhorn algorithm, and those couplings had lower squared geodesic cost than the independent coupling. On both protein-torsion and text-embedding tasks, replacing Sinkhorn with $\texttt{GeoSliM}$ allowed RCFM to match the target distribution more closely in less training time.
Continual learning (CL) under differential privacy (DP) involves two competing objectives: a model must learn from new tasks while avoiding catastrophic forgetting, and the training pipeline must preserve privacy. Requiring the model's decisions to be interpretable introduces an additional competing objective. These trade-offs become particularly pronounced when no sensitive state, such as memory buffers, can be retained across tasks. We introduce a DP prototype-based CL framework built on pretrained backbones, where each class is represented by a single DP prototype and predictions are made by nearest-prototype classification in a shared embedding space. This eliminates the need to store samples while making the decision rule inherently interpretable. We control the CL trade-offs through novel DP-friendly loss functions adapted from prior CL work. On the Split-CIFAR-100 and Split-ImageNet-R benchmarks, our method achieves similar or higher accuracy than a state-of-the-art interpretable DP CL baseline while remaining competitive with a stronger but non-interpretable DP CL baseline across challenging CL settings. Finally, we introduce two complementary methods for interpreting the learned DP prototypes: one based on publicly available pretraining data and another using synthetic samples generated by a generative model.
Photoplethysmography (PPG) foundation models have shown that a single physiological signal can encode broad health information. However, their pretraining has relied on wearable or clinical sensors. Here we present, to our knowledge, the first foundation model of smartphone camera PPG, pretrained on 539,372 measurements from 57,740 individuals. A single representation predicted 40 health outcomes spanning medical conditions, treatments, lifestyle and demographics. For six core cardiometabolic and kidney conditions, it outperformed a model of age, sex and body mass index and existing PPG foundation models, with a mean area under the receiver operating characteristic curve (AUROC) of 0.768 (95% CI, 0.754, 0.781) in held-out participants and 0.750 (0.711, 0.788) across the five available conditions in an independent test set excluded from model development. Discrimination was similar across skin tones (mean AUROC 0.764 for Fitzpatrick types 5--6 versus 0.776 for types 1--2) and smartphone platforms (0.717 on Android versus 0.696 on iOS after adjustment for population differences). Among participants without a hypertension diagnosis, PPG detected 56% of those with elevated blood pressure at 89% specificity, compared with 9% for demographics at 96% specificity. These results support smartphone cameras as a scalable tool for broad health assessment.
Background. Meibomian gland dysfunction (MGD) is graded by the proportion of gland dropout on infrared meibography, yet deep segmentation models are reported almost exclusively with Dice/IoU. The field has never systematically asked whether a better segmentation metric actually changes the clinical grade. Methods. We train four architectures (our stride-4 high-resolution fusion decoder MGD-Former plus UNet, AttentionUNet, SegResNet) under a patient-level 5-fold, 2-seed protocol on MGD-1K (999 images, 338 patients), giving 40 paired runs, then run four analyses needing no new data: an in-sample oracle bound for the single-scalar channel; 17 controlled perturbations on 999 ground-truth masks (33,277 trials) measuring the grade-flip rate of each error class; cross-run rank correlation between seven metrics and decision correctness; and a pre-registered test of a decision-aware loss (three arms, 30 runs). Results. (1) The single-scalar channel has a hard ceiling: even with perfect masks and cut-points fitted on the same data, QWK reaches only 0.490 (image) / 0.536 (patient). (2) Boundary errors are almost never lethal: breaking one gland through its middle flips 1.9% of cases versus 85.9% for deleting one, while real model error equals only 0.42 px of uniform boundary displacement. (3) Dice is the weakest model-selection metric (Spearman 0.56 against decision QWK, behind dropout-ratio error, ASSD and clDice). (4) The decision-aware loss misses its pre-registered threshold (+0.012 QWK, CI crossing zero). Conclusions. Four independent lines of evidence converge: the bottleneck lies not in pixel accuracy, reference-standard noise or training technique, but in compressing multiple morphological observations into one scalar and thresholding it. We recommend selecting models by dropout-ratio error or clDice, always reporting the flip rate, and building review triggers on other signals.
Cross-validation (CV) allows us to assess the generalizability of machine learning models for small molecule property prediction. Yet, checking whether evaluation results carry over to the target application domain is non-trivial. We introduce a method for comparing any CV split of small molecules against any chosen domain of application. We find that existing splitting methods produce test sets far from the application domain and are prone to data leakage. Next, we introduce a new splitting method based on Maximum Common Edge Subgraph (MCES) distances, and show that resulting CV splits align much better with the application domain of biomolecules. We evaluate five baseline and nine foundation models on different splits, and find that the strongest baseline consistently outperforms all but four of the foundation models on commonly used experimental datasets. All models show a drop of about 0.06 and 0.1 AUROC for MCES splits, indicating that previous splits substantially overstate real-world performance. Notably, pretraining data of foundation models overlaps substantially with downstream evaluation datasets. In the future, our methods may help to reach reliable evaluations for other graph-based machine learning tasks.
Mixture-of-Experts (MoE) architectures increase model capacity while activating only a subset of parameters for each token. LatentMoE revisits this design by moving expert computation and communication to a lower-dimensional latent space, but its factorized expert path can become unstable at large scale. We observe that LatentMoE's effective expert weights are low-rank matrix products with factors shared across experts. This connects LatentMoE to low-rank pretraining of dense Transformers, where Spectron (Janson et al., 2026b) stabilizes training by controlling the spectral norm of updates to the effective weight matrices through learning-rate adaptation. This motivates a natural extension of Spectron to LatentMoE that accounts for the sharing of factors across experts. Across the three model scales, our extension reduces held-out validation perplexity relative to Muon by 1.4%, 1.5%, and 1.3% at 0.4B-A0.1B, 1.4B-A0.3B, and 2.5B-A0.5B, respectively. In elevated-learning-rate stress tests, Muon's loss spikes coincide with growing effective expert-update norms and internal activations, while Spectron better controls both quantities and exhibits no loss spikes of comparable magnitude over the same interval, suggesting greater robustness to learning-rate selection. Compared to Muon with Kimi K3's architectural stabilizers, Spectron achieves competitive perplexity at the scales considered without requiring modifications to the forward computation.
Large language models (LLMs) can write simulation code, yet a solver that runs may still converge at the wrong rate or to the wrong answer. We show that a small open model learns to write correct solvers from plain-English problem statements when it is trained on cheap, programmatically generated and numerically verified data. For two-dimensional steady Darcy flow with heterogeneous and anisotropic conductivity, wells and mixed boundary conditions, a generator produces problems with second-order finite-volume solvers, and a convergence verifier runs every solver on two grids and checks its error and observed order. On 2000 correct and 1857 mutant runs the verifier rejects no correct solver and accepts 0.5% of mutants, where execution and mass-balance checks accept over 94%. Qwen3-8B fine-tuned on 2000 verified solvers passes 99.7$\pm$0.3% of in-distribution and 99.8$\pm$0.3% of held-out-combination test problems, level with GPT-6.2 Sol, in one local pass of about 1000 tokens; untuned, it writes no passing solver. Minimal pairs that change one physical fact in the wording show what the trained model still misreads: it solves both problems of 45$\pm$1% of pairs and writes the same source sign whether a well injects or extracts water. Replacing a quarter of the training problems by paraphrases and minimal pairs raises this to 87% with no loss of test accuracy. Corrupted training targets show which generator errors the verifier must catch: the model absorbs mixed errors in half of its targets but learns a single bug repeated in half of them.
Video Large Language Models (VideoLLMs) have demonstrated strong capabilities in online video understanding tasks and are increasingly deployed in mobile web applications. Existing edge-cloud collaborative systems select and upload query-relevant frames to cloud servers instead of transmitting the entire video stream upon query arrival. However, when deployed on mobile devices, these systems suffer severe performance degradation because they indiscriminately upload selected frames for every query over constrained uplink bandwidth. To address this challenge, this paper proposes Muse, a memory-based device-cloud collaborative system for efficient online video understanding. Muse continuously maintains a compact cloud memory of query-irrelevant visual tokens. For each query, Muse first attempts to generate a response from the cloud memory and only selects and uploads additional frames from the mobile device when necessary. To realize this design, Muse introduces a memory-conditioned entropy-based routing mechanism to balance accuracy and end-to-end latency and a memory-guided online Determinantal Point Process (DPP)-based frame selection mechanism to improve accuracy within a limited system cost. Our evaluation shows that Muse achieves a 1.42-1.86x speedup in end-to-end latency and a 2.01%-6.20% accuracy improvement over state-of-the-art edge-cloud collaborative baselines.
In domain continual medical image segmentation, distillation-based methods mitigate catastrophic forgetting by continuously reviewing old knowledge. However, these approaches often exhibit biases towards both new and old knowledge simultaneously due to confounding factors, which can undermine segmentation performance. To address these biases, we propose the Causality-Adjusted Data Augmentation (CauAug) framework, introducing a novel causal intervention strategy called the Texture-Domain Adjustment Hybrid-Scheme (TDAHS) alongside two causality-targeted data augmentation approaches: the Cross Kernel Network (CKNet) and the Fourier Transformer Generator (FTGen). (1) TDAHS establishes a domain-continual causal model that accounts for two types of knowledge biases by identifying irrelevant local textures (L) and domain-specific features (D) as confounders. It introduces a hybrid causal intervention that combines traditional confounder elimination with a proposed replacement approach to better adapt to domain shifts, thereby promoting causal segmentation. (2) CKNet eliminates confounder L to reduce biases in new knowledge absorption. It decreases reliance on local textures in input images, forcing the model to focus on relevant anatomical structures and thus improving generalization. (3) FTGen causally intervenes on confounder D by selectively replacing it to alleviate biases that impact old knowledge retention. It restores domain-specific features in images, aiding in the comprehensive distillation of old knowledge. Our experiments show that CauAug significantly mitigates catastrophic forgetting and surpasses existing methods in various medical image segmentation tasks. The source code is publicly available at: https://github.com/PerceptionComputingLab/CauAug_DCMIS .
Knowledge distillation can mitigate catastrophic forgetting in domain continual segmentation by transferring knowledge from the older model to the newer model. However, existing distillation-based methods primarily emphasize knowledge retention while overlooking inherent defects in the older teacher models. As a result, these teacher-originated defects, such as knowledge gaps or biases, are propagated and exacerbate forgetting. To address this challenge, we propose a Targeted Knowledge Rectification Learning framework (TKRL) to probe and correct teacher-originated defects. TKRL consists of two modules: 1) Probe-augmented Class Distillation, which generates gradient-driven probes to uncover underrepresented features in the older model, thereby bridging knowledge gaps by distilling hidden information into the new model; 2) Variance-guided Masked Autoencoder, which selectively masks and reconstructs critical high-uncertainty patches across multi-level semantic regions, thereby correcting biases inherited from the older model. Our experimental results show that TKRL effectively rectifies knowledge gaps and biases, thereby mitigating catastrophic forgetting and enhancing performance in domain continual segmentation.The source code is publicly available at: https://github.com/PerceptionComputingLab/TKRL_DCMIS .
Mapping a convolutional neural network that exceeds the RRAM crossbar capacity normally requires replacing weights between layers, so repeated program-and-verify operations can dominate inference. We present a reprogramming-free framework that stores one shared basis bank in a single small RRAM crossbar and digitally combines its outputs with layer-specific coefficients to realize all convolutional layers. Because conductance variations in the shared basis vectors affect computations throughout the network, we add a variation-aware regularizer that limits layer sensitivity, as well as calibrated early exits that stop inputs when continued noisy computation is more likely to harm than improve the prediction. Measured RRAM characteristics extracted from a 4 kbit array fabricated in 130nm technology are used to evaluate the proposed solution. The results show that the proposed framework consistently restores inference accuracy to at least 96% of the variation-free quantized inference accuracy across all evaluated configurations and variation levels with negligible programming cost.
We establish sharp worst-case Kurdyka--{\L}ojasiewicz (K{\L}) exponents for deep matrix factorization. For the loss $H(W)=\|W_L\cdots W_1-M\|_{\mathrm F}^2$ with nonzero target $M$, we prove a K{\L} inequality with exponent $1-1/(2L)$ and explicit constants, valid uniformly at sufficiently small loss when the first and last factors, $W_1$ and $W_L$, have bounded operator norm. No balancedness assumptions or bounds on intermediate factors are required. The exponent is sharp when every layer dimension exceeds $\operatorname{rank}(M)$. When the smallest layer width equals $\mathrm{rank}(M)$, the inequality holds with exponent $1/2$. Numerical experiments illustrate how depth, initialization, and algorithmic schemes influence convergence behavior, revealing regimes in which observed convergence rates closely match our sharp worst-case predictions.
Retrieval-augmented generation (RAG) improves LLM generation quality by incorporating retrieved context into prompts. However, full-prompt prefill, which processes the complete RAG prompt, becomes increasingly expensive as the retrieved context grows, increasing time-to-first-token (TTFT). Existing systems reduce this cost by prefilling retrieved chunks independently and stitching their cached KV states at request time, but this omits cross-chunk interactions. Recent systems partially repair these interactions through token-level selective recomputation, recomputing a subset of token positions while reusing the remaining cached KV states. However, such position-wise selection may miss task-relevant cross-chunk interactions. It can also fragment coherent context, while reused content can distract generation. To address these limitations, we present CARVE, a KV-cache reuse system that performs task-aware cross-chunk repair at chunk-pair granularity. CARVE uses Entity-Linked Planner, which consists of an offline entity--chunk graph and an online query-conditioned planner, to identify and recompute task-relevant repair pairs, while Position-Aware KV Scaling is leveraged to scale reused VALUE vectors to reduce the distracting influence of reused content on generation. Chunk reordering and pipelined execution further reduce serving overhead. Across three datasets and five models, CARVE improves F1 over CacheBlend by 4.1 points on average at a comparable recomputation ratio and achieves an 8.71--62.31$\times$ TTFT speedup over full-prompt prefill.
Learned dynamical models are usually trained to match the continuous-time vector field, so their simulations inherit the discretization error of the integrator and require small timesteps. We propose Modified-Equation-Aware Learning (MEAL), which moves this cost from inference to training. Using backward error analysis, MEAL trains the vector field so that the modified equation of the chosen integrator, rather than the field itself, matches the target dynamics at a prescribed timestep. The additional derivatives are computed only during training, so a cheap low-order integrator can be used at inference while achieving the accuracy of a higher-order method. For molecular dynamics, where only the potential is learned, we prove that leapfrog integration leaves a momentum-dependent error that no potential can cancel, and show that a processed leapfrog integrator removes it, making fourth-order accuracy attainable with a potential trained on ordinary force labels. On a double-well system, MEAL with a second-order Runge-Kutta method reduces the long-time error by a factor of about 200 and is comparable to classical fourth-order Runge-Kutta at half the number of field evaluations. On rMD17, MEAL with processed leapfrog raises the fitted convergence order from 2.0 to 3.6 and, with output every 10 fs, is up to 6.8x faster than leapfrog at equal accuracy against a teacher potential and 3.3x faster against independent DFT trajectories.
Estimating the number of concurrent sound sources is a fundamental step for spatial audio processing, yet it remains challenging in highly reverberant environments. While recent deep learning methods utilize spherical microphone arrays, they predominantly rely on magnitude-only spatial power maps, discarding the phase information of the incident sound field. We propose SGCT (Spherical GCN-Transformer), an end-to-end architecture that estimates source counts directly from complex-valued Steered Response Functional (SRF) maps. The model projects the SRF onto a HEALPix-discretized sphere, using a Graph Convolutional Network (GCN) to capture spatial geometry and a Transformer encoder to model temporal dynamics across frames. Experimental results on simulated reverberant scenes demonstrate that retaining phase information and leveraging spherical graph convolutions yields a macro F1 score of 0.919, significantly outperforming classical estimators and magnitude-only baselines, particularly for high source counts.
A learned process reward model (PRM) provides feedback at each step, whereas its reward estimates may be inaccurate, which can lead to suboptimal policies. We compare policy learning from a fixed PRM with learning from unbiased outcome feedback under the same downstream rollout budget. On task families where the PRM preserves most preferences, we establish a reversal through matching bounds: process feedback has lower minimax regret at small positive budgets, while outcome feedback has lower minimax regret at large budgets. With an unknown transition model, the minimax regret of the process learner decreases toward an exact bias floor. Our lower bound accounts for the transition estimation error, establishing the reversal even when actions have an arbitrarily small effect on transition probabilities. In the known-transition family, for trajectories of $H$ steps, the crossover budget scales as $\Theta(H^2/b^2)$ for the largest process regret $b$ over a range of per-stage reward gap. For finite tabular MDPs with compact convex occupancy sets, we give exact bounds on the loss in cumulative true reward under policy comparisons with a specified tolerance in PRM value. These bounds account for potential shaping and reward scale, and policy constraints can make these class-specific certificates arbitrarily smaller than the corresponding global STARC guarantees. For a weighted combination of process and outcome rewards, the bias term in the regret bound is proportional to the PRM weight. Our tabular experiments vary PRM accuracy at a fixed true reward, examining how horizon length and transition estimation affect policy regret.
Training a large model across many machines is often limited by how much those machines can talk to each other. Low-communication methods such as DiLoCo let each worker train on its own for many steps and only then average what the workers have learned. Mixture-of-Experts (MoE) models look like a risky fit for this: each token visits only a few experts, so workers might drift apart in which experts they use, and averaging might upset load balance and expert roles. We pretrain a small MoE language model (78M parameters, 17M active per token) on FineWeb-Edu with DiLoCo-style data parallelism across 2 or 4 workers, sync intervals of 16 to 256 steps, two load-balancing methods, and several sync splits across the router, MoE layers, and shared layers, compared against a dense model of the same active size (35 runs in all). Four findings stand out. (1) The extra cost an MoE pays under DiLoCo beyond a dense model is small (0.02-0.03 in validation loss), does not grow with the sync interval, and holds across seeds, balancing methods, and outer learning rates. (2) Routers stay aligned: late in training, workers choose the same experts 94-97% of the time, and averaging keeps load balance and expert specialization intact. (3) The real danger is letting the MoE layers sync less often than the shared layers. Though experts hold about 72% of parameters, this raises validation loss by up to 0.95 over syncing everything together, and does worse than syncing everything less often while sending more data. (4) Fixes aimed at the router (syncing it more often, weighting experts by token counts, or changing how the balancing bias is merged) make no measurable difference. The practical rule is simple: keep the MoE layers in lockstep with the shared layers, and save bandwidth by syncing everything less often.
We introduce TARS (Transferable Assembly of Reusable Subtasks), a reinforcement learning-based approach that enables Vision-Language Models (VLMs) to solve complex problems by dynamically assembling sequences of reusable, format-verifiable subtasks. To address the scarcity of supervisory signals for intermediate steps, which is the core challenge in compositional reasoning, TARS employs a composite reward function that couples final-answer accuracy with the structural adherence of intermediate subtask outputs. This design encourages the model to decompose complex problems into parsed, format-compliant segments, effectively turning reasoning into an automatically checkable process without requiring costly human-annotated traces or external semantic verifiers. We evaluate cross-task transfer performance across segmentation, counting, and spatial VQA benchmarks. Our results across multiple training seeds and two VLM backbones demonstrate that TARS achieves superior transfer proficiency compared to supervised fine-tuning and free-form reasoning RL. These findings suggest that learning to assemble typed, verifiable subtasks is an effective strategy for improving cross-task transfer in VLMs.
The temporal, non-stationary nature of mobile wireless channels, constrained by energy and latency requirements RIS controllers, constitute a paradigm shift from conventional artificial neural networks towards brain-inspired models that natively process time-varying signals. In this paper, we leverage liquid neural networks (LNNs) and spiking neural networks (SNNs) to establish a reinforcement learning (RL) framework that performs predictive beam tracking of reconfigurable intelligent surfaces (RISs) in dynamic wireless environments. The proposed framework formulates RIS phase adaptation as onestep-ahead predictive control, in which the actor observes only the recent trajectory of a mobile user and is scored at the position the user reaches next. A systematic and fair evaluation methodology is established based on ray-tracing end-to-end simulation of a dynamic urban environment. The comparative analysis isolates the impact of LNN, SNN and conventional artificial neural network (ANN) actors under identical environments, critics, and training algorithms. The results reveal that the discrete spiking behavior of SNNs and the feed-forward ANN baseline fall short of the continuous-time dynamics of LNNs, which consistently achieve higher coverage robustness in combination with higher data rate compared to their SNN and ANN counterparts.
Trainable sparse attention reduces long-context inference cost by using a multi-head indexer to select a fixed number of keys k per query in each layer. The indexer still scores every preceding key with a uniform head count, making long prefill compute-intensive, and its score matrix competes with the key-value (KV) cache for GPU memory. Existing methods reduce scoring through cross-layer reuse or coarse block filtering, but either can miss relevant keys. Attention Express (AttnEx) sizes each layer's indexer by its attention coverage, the share of attention probability mass captured by the selected keys. AttnEx also fuses key scoring with exact top-k selection and writes only surviving candidates. With about 15 heads per layer instead of 64 in DeepSeek-V3.2 and 32 in GLM-5.1, AttnEx keeps quality comparable to the original indexers on eight 128K-token benchmarks. In vLLM on eight H200 GPUs, AttnEx speeds up time to first token (TTFT) by up to 1.52x within the native context windows and 1.76x at 1M tokens under the default 512 MB score-matrix budget.