Machine Learning
Drafting Agents, Not Just Tokens: Speculative Recursive Self-Improvement for Agentic Systems
Xin Xu, Ke Cheng, Hao Wang et al. (+11 more)
Improving an
agent through successive revisions requires balancing exploration and evaluation under a limited budget. A narrow search can miss useful sequences of edits, while fully evaluating every intermediate version can exhaust the budget before those sequences yield a verified improvement. We introduce Speculative Recursive Self-Improvement (SpecRSI), which drafts executable successor
agents before their predecessors are fully evaluated, while requiring complete verification before adoption. Verification-Aware Tree Search (VATS) allocates the budget between further edits and outstanding checks using the predicted verified return of a continuation. Group Verification Optimization (GVO) learns the improver from completed searches while keeping the real evaluator fixed. In the main scientific comparison, terminal gains exceed Janus by 33.3%–40.0%. Additional evaluations show that SpecRSI outperforms Janus in all 50 scientific backbone–task pairs and exceeds MetaRSI-v1 by 1.85%–2.38% in macro-average system score across twenty backbones. Coding-validation success reaches 69.4% versus HGM's 64.3% at a 20.8% lower target-cost index.
Read the full abstract ▾
All authors Xin Xu, Ke Cheng, Hao Wang, Yangru Huang, Yanghao Xiao, Zhichao Chen, Zhisheng Zhong, Xun Liu, Yi Li, Qian Li, Haibin Lv, Jun Zhang, Jie Jiang, Zhouchen Lin
Machine Learning
Growing and Transferring Pathways for LLM Reinforcement Learning
Haolin Tian, Yikang Li and Tonghan Wang
Reinforcement learning (RL) can substantially improve the
reasoning capabilities of large
language models, but an effective training run requires considerable resources. Reusing the computation acquired through RL across models would extend the value of that training. We propose GrowRL, an RL method that organizes learned updates into compact computational pathways through structural growth. GrowRL freezes the pretrained backbone and adds an independent causal
attention branch and a feed-forward network branch at each
Transformer layer. Zero-initialized output projections preserve the pretrained policy at initialization, and RL updates only the added pathways. The learned pathways remain explicit after training, allowing transfer to structurally compatible target models and subsequent adaptation with the target backbone frozen. The architecture also supports sequential transfer of additional pathways. By keeping the learned
attention and feed-forward computation separate from the pretrained weights, GrowRL provides an explicit structure for preserving and reusing the outcome of an RL run. Experiments across five backbones show competitive mathematical
reasoning and out-of-distribution performance with a small number of trainable parameters. Learned pathways provide immediate gains across all three transfer directions, with performance after only 10 target-side updates already close to that after 100 updates in every case. These results support computational pathways as parameter-efficient and reusable units of reinforcement learning adaptation.
Read the full abstract ▾
Machine Learning
SLEM: Spectrum-Aware Latent Expert Merging
Dohyeon Kim, Bedionita Soro, Bruno Andreis et al. (+1 more)
Mixture-of-Experts (MoE) models scale model capacity efficiently by activating only a small subset of experts for each input, while still requiring all parameters to be stored in
memory, resulting in substantial
memory overhead. Expert merging techniques have recently emerged as a promising compression paradigm that reduces this overhead by consolidating multiple experts into a smaller set. However, existing approaches have two key limitations: (i) direct convex interpolation in parameter space is not generally guaranteed to yield meaningful interpolation of expert functions; and (ii) estimating expert similarity or merging coefficients often relies on calibration data, introducing dependence on the calibration distribution. To address these limitations, we propose Spectrum-Aware Latent Expert Merging (SLEM), a calibration-free expert merging framework that occurs in a structured latent representation of expert weights using a VAE. SLEM groups experts within and across layers based on latent similarities and derives merging coefficients from expert weight spectra. It then performs geometry-aware latent interpolation and decodes the resulting representations into merged expert weights. Compared with existing expert merging methods, SLEM achieves comparable or better performance on general knowledge
benchmarks and higher average performance on generation
benchmarks involving mathematical
reasoning and code generation.
Read the full abstract ▾
All authors Dohyeon Kim, Bedionita Soro, Bruno Andreis, Sung Ju Hwang
Machine Learning · Cross-listed from stat.ML
Online Individualized Treatment Selection under Partial Feedback: False Discovery Control and Minimax Optimality
Runzhe Gu, Zinan Zhao, Wenguang Sun et al. (+1 more)
We study online individualized treatment selection when only the outcome under the assigned treatment is observed. Our objective is to preferentially treat individuals whose potential outcomes under treatment exceed a
covariate-specific control reference, while limiting false discoveries among treated individuals. We propose Partial-Feedback Adaptive Individualized Treatment Selection (PAITS), which initializes learning from historical data and combines sequential estimation of local null risks, randomized exploration, and feedback-driven updates of the treatment selection threshold. Under regularity conditions, we establish asymptotic false discovery rate control and sublinear gap-weighted assignment regret relative to a population oracle. We further establish a minimax lower bound on assignment regret under prescribed uniform nuisance-estimation requirements and give conditions under which PAITS attains the corresponding constrained minimax rate up to logarithmic factors. These results quantify the tradeoff between accurate treatment assignment and nuisance learning under partial feedback. Simulation studies and a real-data analysis using the Jester recommendation
dataset illustrate the finite-sample performance of PAITS.
Read the full abstract ▾
All authors Runzhe Gu, Zinan Zhao, Wenguang Sun, Xintao Xia
Machine Learning · Cross-listed from cs.CR
Differential Privacy Protected Preference Alignment on Survey Derived Data
Xiuyuan Qi, Yi Wang and Wenjie Wang
Preference
alignment enables
language models to better reflect human values, but the preference data contains sensitive information, especially when derived from surveys about political beliefs, social norms, religion, gender attitudes, and cultural values. This paper studies
privacy-preserving
alignment on questionnaire-derived data from the World Values Survey, where supervision takes the form of ordinal labels rather than standard pairwise rankings. Existing efforts mainly focus on general
privacy protections upon model training, while data-specific methods for survey data remain unexplored. We first show the vulnerability of aligned models, then formulate the task as rating prediction and introduce label differential
privacy. Building on this formulation, we construct a differential private pipeline utilizing three
privacy mechanisms: randomized response, exponential mechanism, and DP-SGD. Experiments show that simple label-level mechanisms outperform gradient-level methods, and proper aggregation function for preprocessing also make large contribution. The new fine-grained private comparison motivates explorations toward
language model
alignment with formal
privacy guarantees.
Read the full abstract ▾
Machine Learning · Cross-listed from cs.SI
A temporal graph dissimilarity measure capturing epidemic spreading behavior
Salvatore Freni, Lorenzo Dall'Amico, Francesca Pistilli et al. (+3 more)
Comparing temporal networks is a challenging problem in network analysis. Commonly adopted methods compare structural properties of temporal graphs and can be highly sensitive to the pre-selected features. However, temporal networks are the support of dynamical processes, and a process may take place in statistically indistinguishable ways on structurally different temporal graphs. In particular, a dissimilarity measure that compares temporal graphs based on how spreading processes unfold on them is highly desirable. In this work, we first define the Time-Shift DTW, a dissimilarity between epidemic curves that accounts for both differences in their shape and temporal shifts. We then introduce Epidemic-Aware Temporal Graph Dissimilarity (EATGD), a deterministic and differentiable dissimilarity between temporal graphs that combines an
embedding-based temporal graph distance with a set of topological and temporal features. Its parameters are calibrated using
stochastic SIR simulations to maximize the correlation with the Time-Shift DTW, after which graph comparisons require no further epidemic simulations. Using empirical human proximity networks from the SocioPatterns collaboration and synthetic temporal graphs, we show that EATGD captures epidemic-based graph dissimilarity and generalizes across heterogeneous network settings. Its differentiability and computational efficiency make EATGD suitable for integration into machine-learning pipelines and provide a potential loss function for training generative models to reproduce epidemic dynamics without requiring an exact reconstruction of fine-grained network structure.
Read the full abstract ▾
All authors Salvatore Freni, Lorenzo Dall'Amico, Francesca Pistilli, Alain Barrat, Tatiana Tommasi, Ciro Cattuto
Machine Learning
StructZO: Structured Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning
Xuanlin Yang, Jia Li and Zhouchen Lin
Fine-tuning large
language models at scale is increasingly limited by the
memory cost of backpropagation. Zeroth-Order (ZO) optimizers reduce this burden by relying only on forward function evaluations, but they still exhibit a substantial performance gap to first-order (FO) optimizers such as Adam. We argue that this gap does not arise solely from the absence of explicit gradients: FO fine-tuning also benefits from informative low-rank optimization geometry, large-scale signal aggregation, and well-conditioned update directions. Motivated by this, we introduce StructZO, a structured Zeroth-Order optimization framework for
memory-efficient LLM fine-tuning. StructZO performs large-query ZO estimation within an activation-induced informative subspace and applies spectral control to the resulting reduced-space update before mapping it back to the original parameters. This lets ZO aggregate useful directional signals in a compact, geometry-aware space while avoiding the activation and optimizer-state
memory costs of backpropagation. We show theoretically that, when the induced subspace captures concentrated optimization-relevant directions, StructZO reduces the effective ZO estimation dimension from $mn$ to $mr$, with the remaining projection error governed by the spectral tail of the activation Gram
matrix. Empirically, across OPT-series and Llama3.1-8B on diverse downstreamtasks, StructZO improves over the strongest existing ZO baselines by up to $8.7%$ relative on average and up to $26.9%$ relative on individual tasks, while remaining within $1.5%$ of FO-Adam on average. These results suggest that structured and spectrally controlled ZO updates can substantially narrow the gap between ZO and FO optimization.
Read the full abstract ▾
Machine Learning · Cross-listed from cs.CR
CryptoFlowBench: Benchmarking Multi-Hop Reasoning on Blockchains for Cryptocurrency Fund Tracing
Runang He, Tongya Zheng, Jing Cao et al. (+7 more)
Pseudonymous accounts and complex smart-contract ecosystems substantially hinder the tracing of illicit cryptocurrency fund flows. Existing Graph Neural Networks (GNNs) have achieved promising performance in blockchain fraud detection, yet their static node- or edge-level predictions do not naturally generalize to multi-hop fund tracing. Meanwhile, existing tracing methods mainly rely on predefined heuristics to capture multi-hop relationships, limiting their adaptive
reasoning capabilities. To bridge this gap, we introduce CryptoFlowBench, a
benchmark constructed from authoritative reports on cryptocurrency-related illicit incidents, with four tasks spanning local to multi-hop fund tracing. These tasks pose substantial challenges to existing learning- and heuristic-based methods, particularly in complex multi-hop scenarios. We therefore propose ChainSleuth, a graph-tool-augmented
agent that iteratively reasons, invokes graph tools, and updates its tracing trajectory, enabling adaptive information acquisition and recovery from erroneous paths. Experiments show that no baseline consistently dominates all four tasks, revealing substantial gaps between local fraud detection and multi-hop fund tracing. ChainSleuth achieves notable improvements on multi-hop tasks, demonstrating the potential of agentic graph
reasoning for cryptocurrency fund investigation.
Read the full abstract ▾
All authors Runang He, Tongya Zheng, Jing Cao, Yucheng Ying, Shunyu Liu, Bingde Hu, Yang Gao, Zeyuan Hu, Jianrong Zhang, Mingli Song
Machine Learning · Cross-listed from stat.ML
Explaining Heterogeneous Treatment Effects with Causal Forests and the Hoeffding Functional Decomposition
Gaëtan Patinier, Clément Bénard and Margaux Törnqvist
The estimation of heterogeneous treatment effects is a central objective of causal inference. However, state-of-the-art
algorithms to solve this task are based on machine learning principles, and thus behave as black boxes. Consequently, the identification of
covariates driving heterogeneity remains a challenging and open problem. To address this limitation, we introduce CausalTreeHFD, an interpretable extension of causal forests, based on the Hoeffding functional decomposition adapted to tree ensembles. Our approach decomposes predictions of conditional average treatment effects (CATE) into contributions from individual
covariates and pairwise interactions, providing a direct characterization of the factors driving treatment effect heterogeneity. We establish the consistency of CausalTreeHFD, which converges towards the Hoeffding decomposition of the underlying CATE function, under standard assumptions for the analysis of causal forests. Experiments on simulated and real
datasets show that CausalTreeHFD accurately identifies relevant
covariates and interactions, and precisely recovers their contributions to heterogeneous treatment effects.
Read the full abstract ▾
Machine Learning
ARMED: Adaptive Retrieval-Augmented Medication Recommendation
Kyungkeon Chung, Se Un Park, Hyejin Lee et al. (+1 more)
Medication recommendation requires jointly considering diagnoses, comorbidities, longitudinal patient history, and treatment interactions. Although recent
retrieval-augmented generation approaches using
language models have shown promise for clinical recommendation, most existing systems rely on fixed
retrieval pipelines that cannot adapt to diverse clinical
retrieval scenarios and may introduce noisy or irrelevant evidence. We propose ARMED, an adaptive clinical RAG framework that dynamically expands
retrieval according to
retrieval sufficiency and current-admission relevance. ARMED first observes the initial
retrieval outcome and selectively performs supplementary or fallback multi-query
retrieval when additional evidence is needed. The framework also incorporates a relevance gate that activates only clinically relevant same-patient history and organizes retrieved evidence into structured query-level clinical evidence. Experiments on MIMIC-IV demonstrate that ARMED consistently outperforms previous static
retrieval baselines and improves overall medication recommendation quality. By combining locally runnable small
language models with adaptive
retrieval, ARMED supports medication recommendation without relying on external
language model APIs or task-specific fine-tuning.
Read the full abstract ▾
All authors Kyungkeon Chung, Se Un Park, Hyejin Lee, Junyoung Park
Machine Learning
ECHO: Correcting Time Series Foundation Model Forecasts with Historical Analogues and Errors
Boya Zhang, Xilin Dai, Yilin Wang et al. (+4 more)
Time Series Foundation Models (TSFMs) provide general-purpose forecasting capabilities, yet their forecasts can remain misaligned with the temporal characteristics of a target domain. This motivates lightweight forecast correction even when only black-box access to the TSFM is available. Our key observation is that two forms of historical information provide complementary correction signals: historical analogues reveal how similar contexts evolved, while past forecast errors reveal a TSFM's characteristic deviations in the target domain. Based on this observation, we propose ECHO, a black-box forecast correction framework that learns from both sources. ECHO uses AnalogE to assess retrieved historical analogues together with the current context and base forecast, learning transferable corrections through cross-domain pretraining. In parallel, RecentE learns target-specific residual corrections from past forecast errors and refines them as causally available feedback accumulates. ECHO dynamically combines the two corrections according to their observed forecasting performance. Across 5 representative TSFMs and 9 real-world
datasets, ECHO reduces MSE in all 45 backbone–
dataset settings, yielding an average relative reduction of 9.26% in macro-average MSE. Its gains also extend to long-horizon forecasting.
Read the full abstract ▾
All authors Boya Zhang, Xilin Dai, Yilin Wang, Qiang Xu, Luyao Dong, Xing He, Wen Wu
Machine Learning · Cross-listed from math.OC
Taming Nonconvexity with Epigraph Lifting
Clara Lage, Hok Shing Wong and Matthias Ehrhardt
We consider inverse problems regularized by a trained neural network with convex activations and unrestricted weights. The resulting optimization problem is generally nonconvex, and gradient-based methods may converge to poor local minima. We introduce a penalized epigraph lifting of the network and show that the lifted problem admits a difference-of-convex (DC) decomposition. For Lipschitz continuous activations, we establish finite exactness: the original objective is recovered exactly at a finite and explicitly computable penalty threshold $\bar\rho$. Building on this structure, we propose H-DC (Homotopic DC), a homotopic scheme that solves a sequence of DC subproblems with increasing $\rho$, warm-starting each level from the previous solution. Numerical experiments on synthetic problems, a
manifold denoiser regularizer, and image inpainting with a learned Mumford–Shah regularizer show that H-DC consistently escapes poor local minima and reaches solutions with lower objective values than gradient-based methods from the same initialization.
Read the full abstract ▾
Machine Learning
Resample the Answer: Where to Spend Test-Time Compute in Recursive Reasoning
Maxime Illouz
Recursive
reasoning models such as the Tiny Recursive Model (TRM) iteratively refine two latent states: an answer state y, decoded into the output, and a
reasoning state z, which is never decoded. Many of their failures have been attributed to bad basins, regions of latent space that trap the recursion on wrong answers. Recent test-time approaches perturb y, z or both to recover these failures, but the impact of this choice on performance, test-time compute efficiency and scaling properties remains unclear. Through controlled experiments on TRM, we find that a failed trajectory carries its failure in its answer state. At equal compute, in depth and in width, resampling y recovers more failures than any perturbation of z we tested, and the performance gap widens as the test-time compute budget grows. Our approach, Gated Answer Resampling (GAR), pairs this resampling of the answer state with the model's own halting head and restarts only the puzzles that the head rejects. With at most 64 restarts per puzzle and no training or hyperparameter search, GAR takes TRM from 85.9% to 99.4% on Sudoku-Extreme and from 68.8% to 85.6% on Pencil Puzzle Bench validation. On the same checkpoints, GAR also outperforms Probabilistic TRM (PTRM), which perturbs z at each step, even when PTRM uses 42 to 197 times as much compute.
Read the full abstract ▾
Machine Learning
Learning $\omega$-Powered Conditional Distributions with Importance-Weighted Flow Matching
Maciej Falkiewicz, Frantzeska Lavda, Jason Ramapuram et al. (+1 more)
Classifier-Free Guidance (CFG) with guidance scale $\gamma$ is commonly motivated by the $\omega$-powered conditional distribution obtained by setting $\omega=\gamma$, but CFG does not, in general, sample from this distribution exactly. We study whether the powered target can instead be learned explicitly. We introduce Importance-Weighted Conditional Flow Matching (IW-CFM), which reweights conditional flow-matching examples using density ratios obtained from frozen conditional and unconditional flow models. With exact normalized weights, the resulting objective has the same gradient as flow matching on the powered target; in practice, we use self-normalized estimation and a regularized empirical approximation for high-dimensional data. On synthetic distributions, IW-CFM recovers analytical powered targets for which numerically matched CFG, $\gamma=\omega$, exhibits a visible mismatch. On ImageNet, an amortized lightweight corrector achieves better
alignment than fixed- and matched-guidance CFG with the corresponding weighted and filtered reference distributions. We additionally present an exploratory CLIP analysis of powered-density rankings on real ImageNet data. Aggregate shifts across selected
prompt-specific contrasts coexist with heterogeneous classwise responses, including nonmonotonic trajectories. These results provide a practical route for studying and approximating model-defined powered conditional distributions.
Read the full abstract ▾
All authors Maciej Falkiewicz, Frantzeska Lavda, Jason Ramapuram, Alexandros Kalousis
Machine Learning
Sampling from Neural Operator Priors to Solve Partial Differential Equations
Andrew Millard, Joshua Murphy and Zheng Zhao
Guided sampling with sparse observations and PDE residuals has recently been combined with neural operator priors to solve partial differential equations in function space, their natural setting. We pair such a prior with pseudo-bootstrap sequential Monte Carlo (pBS SMC), a guided sampling framework that accommodates proposals without tractable densities, and introduce a new proposal by adapting the DPM++
algorithm to the guidance setting. Across five
benchmark PDE systems this proposal attains the best error–time trade-off at every step count tested, and wrapping it in pBS gives the lowest error on most inverse-problem settings, with the largest gains when few sampling steps are used.
Read the full abstract ▾
Machine Learning · Cross-listed from cs.AI
RetroPlanner: Multi-Route Expansion and Multi-Objective Reasoning for LLM-Based Retrosynthesis Planning
Ye Rin Kim, Yongjun Jeong, Seongjun Yun et al. (+4 more)
Multi-step retrosynthesis planning is often considered solved once a route to purchasable starting materials is found, but such a route should also be practical in real-world chemistry. Recent LLM-based planners formulate this process as sequential decision-making over an AND-OR graph, yet typically expand a single molecule per turn and are optimized for solvability alone, leaving alternative routes uncompared across the multiple objectives that determine practicality before the search budget is committed. We introduce RetroPlanner, an LLM-based planner that jointly compares multiple routes to steer the search toward higher synthesizability, as measured by reaction plausibility, round-trip consistency, and starting-material price. RetroPlanner is trained to reason over chemical evidence: structural progress from the target molecule, bond changes and reaction classes, where candidate routes diverge from one another, and how they rank across multiple objectives. Experiments on multi-step retrosynthesis
benchmarks demonstrate that RetroPlanner recovers more alternative routes than prior LLM-based planners while improving synthetic route quality and maintaining a high success rate.
Read the full abstract ▾
All authors Ye Rin Kim, Yongjun Jeong, Seongjun Yun, Hanbum Ko, Soohyun Oh, Sungbin Lim, Sungwoong Kim
Machine Learning · Cross-listed from quant-ph
QBFF: Deep Quantum Bottleneck for Automatic Speaker Verification Anti-Spoofing
Anton Firc, Nouhaila Innan, Vojtěch Staněk et al. (+6 more)
A central goal of
quantum machine learning is to identify applications in which small
quantum circuits can improve task performance while remaining executable on real hardware. We investigate deepfake (synthetic)
speech detection, a largely unexplored application in this area, where reliable confidence scores are as important as discrimination performance because deployment decisions are made at fixed thresholds and overconfident errors can be costly. We introduce QBFF, which routes a compressed
speech representation through a small 8-
qubit variational
circuit (VQC) used as a drop-in bottleneck, with a matched classical bottleneck as the control. The
quantum circuit yields better-calibrated confidence in most matched comparisons, including out-of-distribution evaluation, though the downstream deployment-cost benefit is model-dependent. We then run the same
circuit on a real IBM
quantum processor. To our knowledge, this is the first anti-spoofing pipeline to run on a QPU; hardware execution demonstrates feasibility, with lower subset EER and $C_{llr}$ but higher mean actDCF than the matched classical reference. Together, these results show that hardware-executable
quantum bottlenecks can improve score reliability, with gains that vary by evaluation setting.
Read the full abstract ▾
All authors Anton Firc, Nouhaila Innan, Vojtěch Staněk, Kamil Malinka, Martin Perešini, Zbyněk Lička, Walid El Maouaki, Alberto Marchisio, Muhammad Shafique
Machine Learning
LoopQuant: Accurate and Efficient Post-Training Quantization for Looped Transformers
Zhixiong Zhao, Zukang Xu, Xing Hu et al. (+3 more)
Looped
Language Models (LoopLMs) improve parameter efficiency by recursively reusing shared
Transformer modules, yet their repeated computation over evolving recurrent states poses new challenges for low-bit deployment. Existing post-training quantization (PTQ) methods, largely designed for feed-forward
Transformers, fail to account for cross-loop activation dynamics, heterogeneous loop sensitivity, and recursive error propagation, leading to substantial performance degradation at low precision. To address these challenges, we propose LoopQuant, a loop-aware PTQ framework for accurate and efficient low-bit quantization of LoopLMs. LoopQuant is built on three core components: 1) Cross-Loop Distribution Canonicalization (CLDC) learns a shared quantization-friendly representation across recurrent states while preserving parameter sharing; 2) Interaction-Aware Loop-wise Precision Allocation (ILPA) allocates activation precision under a fixed bit budget by modeling task-level loop sensitivity and cross-loop interactions; and 3) Loop-Conditioned Task Calibration (LCTC) further aligns quantized inference with the low-bit recursive trajectory through lightweight task-space calibration. Extensive experiments across LoopLM architectures demonstrate that LoopQuant consistently outperforms existing low-bit PTQ methods. On Ouro-2.6B, LoopQuant under W4A4 surpasses all W4A8 baselines in performance, while reducing model
memory by 65.3% with only 3.4% additional storage overhead over naive INT4 and achieving a 1.7 times decoding speedup over BF16. These results demonstrate a strong balance among accuracy, compression, and inference efficiency, providing a practical and deployment-friendly solution for low-bit LoopLM inference. The code is available at [https://github.com/Kishon-zzx/LoopQuant].
Read the full abstract ▾
All authors Zhixiong Zhao, Zukang Xu, Xing Hu, Lifeng Liu, Guangyu Sun, Dawei Yang
Machine Learning · Cross-listed from cs.NE
naspaclust: A hybridisation of spatial fuzzy clustering with nature-inspired optimisation
Bahrul Ilmi Nasution, Rezzy Eko Caraka and Robert Kurniawan
We present an overview of R package called naspaclust, a tool for spatial fuzzy clustering improvement by hybridising the Fuzzy Geographically Weighted Clustering (FGWC) with nature-inspired optimisation
algorithms. There are seven optimisation
algorithms in general, namely Artificial Bee Colony, Flower Pollination
Algorithm, Gravitational Search
Algorithm, Harris-Hawk Optimisation, Intelligent Firefly
Algorithm, Particle Swarm Optimisation, and Teaching-Learning Based optimisation. The optimisation
algorithms available do not only use the basic
algorithms, but also the modified version of several parts such as randomisation terms and updating rules. Furthermore, we also provide additional options by providing more distance metrics options based on the rdist package. This study showed the implementation of the naspaclust package in various cases, as well as comparing the performance of the
algorithms in the scope of basic
algorithms. The naspaclust package allows to improve the performance of fuzzy clustering, mainly in spatial context.
Read the full abstract ▾
Machine Learning
A Production-Grade, High-Efficiency Agentic RL Framework for Frontier LLMs with Validated Recipes
LoonSage Team: Bowei Song, Caiwei Zhao, Chuwen Liu et al. (+44 more)
Reinforcement learning (RL) has emerged as a critical phase in the post-training pipeline of large
language models (LLMs). As the frontier of LLM capabilities shifts from static
reasoning to agentic tasks–characterized by external tool invocation, multi-turn interactions, and long-horizon decision-making–existing mainstream RL frameworks have grown increasingly unwieldy, raising the overhead of adoption, usage, and debugging. To address these challenges, we present LoongSage, an
agent-native, fully asynchronous RL framework with a lightweight core of roughly 14K lines of code. Built upon Megatron for distributed training and SGLang for high-throughput inference, LoongSage centralizes orchestration within a single controller process and encapsulates all GPU-resident components as Ray actors. It introduces AgentFlow, a unified execution paradigm that orchestrates both white-box and black-box
agents. For asynchronous execution, it integrates sliding-window strategies that bound trajectory staleness, and employs TransferMesh, a
topology-aware synchronization mechanism that routes weights after each step over the fastest transport available to each receiver. Beyond agentic RL, LoongSage incorporates a
memory-efficient Teacher Manager that decouples the scaling of teacher models from GPU
memory constraints, natively supporting Multi-Teacher On-Policy
Distillation. Extensive evaluations across four complete training runs, spanning complex reinforcement learning and multi-teacher
distillation, demonstrate that task rewards improve steadily while the train-inference gap is kept under continuous control, and the fully asynchronous pipeline removes synchronous idle bubbles, sustaining hardware utilization.
Read the full abstract ▾
All authors LoonSage Team: Bowei Song, Caiwei Zhao, Chuwen Liu, Dechuang Gu, Dong Fang, Feiyu Xie, Huaiyu Li, Hui Zhang, Jian Tian, Jian Wang, Jie Zhao, Liguang Li, Maoyun Wang, Meiyan Yang, Minghan Zhu, Pai Liu, Pandeng Yao, Renbao Tian, Ru Yang, Shuai Jia, Shuai Tan, Shuailong Li, Shuliang Li, Teng Jin, Tianze Yang, Wenbo Cui, Wenjing Bai, Wenkang Wu, Xiaowei Jiang, Xiaoyi Dong, Yanpeng Wang, Yanwen Wang, Yaohui Ma, Yawen Wang, Yihang Zhang, Yingjie Yan, Zhanbiao Lian, Zhenyu Lu, Zhida Hu, Zhihui Hao, Zhihui Hu, Zhiwen Xiao, Zhiyi Gao, Zhongwei Qi, Zhuangzhuang Wu, Ziqian Liu, Ziyue Zheng
Machine Learning · Cross-listed from cs.CL
RIFT: Token Influence Follows the Path of Least Resistance
Tingan Jin, Shuhang Dong and Haosong Li
Which context
tokens drive a
language model's answer? Graph-based tools such as
attention rollout and
attention flow answer this from a single forward pass, yet their faithfulness in decoder-only models is rarely tested against interventions. We view the layers of a decoder as a causal network whose conductances are
attention weights, and read a
token's influence on the answer from the resistance between them. We propose RIFT (Resistance-based Information Flow in
Transformers), which scores a
token by the series resistance of its path of least resistance to the answer, found exactly by a classic shortest-path dynamic program. On synthetic in-context
retrieval tasks and extractive question answering over Wikipedia paragraphs, RIFT predicts the effect of replacing a
token with a Spearman correlation of 0.52-0.68; predicting a single replacement, it reaches 77-96% of the agreement between two different random replacements. It needs no gradients and no extra forward passes, scoring every
token of a
prompt in 0.9-3.4 ms on one CPU thread, whereas the replacement experiment needs a forward pass per
token. On 576 held-out
prompts from four models of two families (Qwen3 and Llama 3.2), it outperforms
token distance,
attention rollout and
attention flow in every pre-specified comparison, by 0.23 to 0.88 in mean Spearman correlation, and it is the best or tied-best of all
attention-based scores we test. Aggregates that add up all routes (
attention flow, effective resistance and rollout) instead mostly encode
token position: as a simple proposition shows, early
tokens have many more parallel routes to the answer.
Read the full abstract ▾
Machine Learning
DWI Connectome-based Sex Classification in Young using Supervised Variational Autoencoder
Aditya Kothapalli, Aaryan Gera, Sathvik Reddy V et al. (+3 more)
During adolescence, significant changes in
brain development are influenced by hormonal changes that impact both the body and the
brain. This study presents sex classification in 787 young adults having age range of 15-25 years using
Diffusion-weighted (DWI) structural connectome, focusing on 82 Desikan-Killiany atlas ROIs. A supervised variational autoencoder (SVAE) is used to extract latent space features from DWI connectome data. Although several studies explored differences in
brain structure and function between sexes, the main contribution of this study lies in incorporating SVAE to learn a compact, regularized latent representation for the task of sex classification. Initial exploratory data analysis shows that these features can capture the differences in sex-specific latent space patterns. Subsequently, the learned latent space SVAE features are fed to different ML models for sex classification. Among the considered ML classifiers, the multi-layer perceptron yields the highest accuracy of 80% in classifying sex. This demonstrates the effectiveness of SVAE in learning compact, informative representations from DWI connectome for sex classification. The present work highlights the potential of using DWI
brain connectomics and deep learning to differentiate sex, paving the way for future research on diverse populations that may include transgender individuals, to better understand sex-related variations in
brain structure.
Read the full abstract ▾
All authors Aditya Kothapalli, Aaryan Gera, Sathvik Reddy V, Ninad Aithal, Debanjali Bhattacharya, Neelam Sinha
Machine Learning
Rescuing Points Trapped Inside Incorrect Decision Regions: A target for Evaluating and Improving Forward-Forward Learning
Alireza Rahmansetayesh, Amirhossein Yousefiramandi, Maxwell Spiridonov et al. (+3 more)
Forward-Forward learning replaces end-to-end backpropagation with local, layer-wise training objectives. Its variants are evaluated primarily by classification accuracy, often measured with linear probes trained on their representations. We show that this evaluation can over-credit the learning method: a linear probe on the representations of an untrained convolutional neural network already reaches accuracy well above chance. Moreover, a single accuracy value does not reveal which datapoints become correctly classified after training and which remain misclassified. To examine what learning contributes beyond the random, untrained baseline, we present an analysis methodology built on the Boundary Proximity Index (BPI), a multiclass margin normalized by a class-centroid reference. We apply our analysis to seven Forward-Forward variants and related layer-local methods and find that initially misclassified points near the probe's decision boundary generally have higher rescue rates than those farther inside incorrect decision regions. Rescue rates vary substantially across methods, with some correcting a substantial fraction of these deeply embedded points. Together, these analyses offer a way to evaluate representation learning beyond accuracy and identify the rescue of points far inside incorrect decision regions as a target for improving local learning methods.
Read the full abstract ▾
All authors Alireza Rahmansetayesh, Amirhossein Yousefiramandi, Maxwell Spiridonov, Sumit Raut, Kent Ziti, Pierre Baldi
Machine Learning · Cross-listed from cs.AI
ChronoScribe: Semantic-Numerical Specialization for Instruction-Driven Time Series Forecasting
Yuchen Jiao, Miao Zhang, Yuxuan Liu et al. (+1 more)
Recent advances in instruction-driven time series forecasting highlight a fundamental tension: systems must simultaneously master natural-
language instruction following and precise numerical prediction. Current approaches often force a compromise. Large
language models (LLMs) can interpret unstructured requests but may be inaccurate when asked to produce forecast values directly, whereas time series foundation models (TSFMs) provide numerical forecasts but typically require structured inputs specifying the target series, context window, and horizon. We present ChronoScribe, which applies semantic-numerical specialization to this workflow. A LoRA-adapted LLM proposes an execution path and context length; deterministic rules resolve the executable configuration. On the specialist path, a frozen TSFM produces
quantile trajectories for the task-specified horizon. Deterministic trajectory summaries condition the response, while the LLM neither generates nor revises predicted values. We evaluate a Qwen3.5-9B–Chronos-2 implementation across 23 evaluation dimensions and 30 public
datasets against eleven proprietary direct LLMs and three open TSFMs. ChronoScribe has the lowest error on sMAPE, MASE, WAPE, RMSE, and MAE among all evaluated systems, including fixed-context controls. Across these metrics, even the lowest direct-LLM error remains 2.0–2.7 times the corresponding ChronoScribe error. At the system level, ChronoScribe achieves a Task-Level Score (TLS) of 65.5, 10.6 points above the strongest direct-LLM baseline. The results support ChronoScribe's division of labor, in which the LLM handles interpretation, configuration, and communication while the TSFM handles numerical forecasting.
Read the full abstract ▾
All authors Yuchen Jiao, Miao Zhang, Yuxuan Liu, Chengxi Li
Machine Learning · Cross-listed from cs.AI
Efficient Multi-Agent Reasoning via Confidence-Guided Adaptive Debate
Seungdong Yoa, Ye Seul Sim, Suhee Yoon et al. (+5 more)
Multi-
agent debate has shown promise for improving the
reasoning of large
language models, yet recent theory suggests its benefits are highly regime-dependent. While interaction can amplify informative signals under corrective conditions, symmetric debate dynamics are neutral in expectation, often making majority voting preferable. We reconcile these views by arguing that debate is effective only when invoked at the right time and with appropriate structure. Based on this insight, we propose LASE: Leader-Adaptive Structured Engagement, a leader-centric multi-
agent debate framework that selectively engages interaction only in non-neutral regimes. LASE introduces an asymmetric leader-supporter architecture that enables directed information flow and selective signal amplification, while defaulting to simple aggregation otherwise. Experiments across diverse
reasoning benchmarks show that LASE achieves multi-
agent-level performance with near single-
agent token cost, substantially improving efficiency over static debate and voting baselines.
Read the full abstract ▾
All authors Seungdong Yoa, Ye Seul Sim, Suhee Yoon, Sanghyu Yoon, Dongmin Kim, Soonyoung Lee, Bumsoo Kim, Junhyun Lee
Machine Learning
Probabilistic Simulation of Gas-Liquid Interfaces with Coupled Flow Matching on Spherical Harmonics
Kiet Bennema ten Brinke, Rachna Ramesh, Douwe Orij et al. (+2 more)
Bubbly flows involve strongly coupled bubble motion, deformation, and hydrodynamic interactions, making high-fidelity simulation computationally expensive. We propose a neural surrogate that jointly predicts bubble trajectories and interface deformation in a compact, shared representation, replacing costly mesh-resolved simulation with fast generative inference. Because two-phase flow dynamics is nonlinear and chaotic, we treat forecasting as a conditional generative problem rather than deterministic regression, predicting entire future windows in a single pass. We train and evaluate the surrogate on BubbleSH, a Front-Tracking
dataset of rising deformable bubble swarms, assessing performance using trajectory, shape, and distributional metrics over kinematic, morphological, and interaction-based properties. The surrogate reproduces key flow statistics while running several orders of magnitude faster than the underlying DNS solver.
Read the full abstract ▾
All authors Kiet Bennema ten Brinke, Rachna Ramesh, Douwe Orij, Ivo Roghair, Vlado Menkovski
Machine Learning
BehaviorFormer: Discovering Behavioral Patterns via Clusterable Next-Token Prediction
Tobias Schneider, Danial Fahrner, Soren Antebi et al. (+4 more)
Discovering behavioral patterns in open-ended games is challenging due to the lack of clear objectives or ground-truth annotations. In this work, we extend a next-
token prediction
Transformer with the deep clustering
algorithm DCSS to learn meaningful representations with well-separated clusters. In a controlled Minecraft session with 26 players, the method discovers 23 distinct behavioral patterns that generalize across the studied players, further refining structures present in self-supervised representations into clearly separable clusters. We group the clusters into seven interpretable categories covering stationary, roaming, travel, mining, base work, logging, and farming behavior.
Read the full abstract ▾
All authors Tobias Schneider, Danial Fahrner, Soren Antebi, Daniel Uedelhoven, Lennard Bodden, Sandra Halscheidt, Rafet Sifa
Machine Learning
SLDBench v2: Active Scaling Law Discovery
Lingbei Meng, Rui Huang, Zhirong Shen et al. (+5 more)
Scaling laws predict large-model performance from small experiments, but finding a reliable law itself requires costly experiments. SLDBench tests whether
language-model
agents can discover scaling laws when all experimental results are given upfront. We introduce SLDBench v2 with two extensions. First, we expand the corpus from 8 to 127 scenarios spanning
language-model pretraining, downstream performance, and
vision-
language transfer, and select 30 challenging scenarios on which a reference power-law fit reaches $R^2 \le 0.8$; they represent at least $1.09 \times 10^{23}$ FLOPs of source-reported training compute. Second, we introduce active scaling law discovery: an
agent chooses which experiments to run, pays each one's recorded cost (e.g., training FLOPs), and revises its law as outcomes arrive, and is scored on the same hidden extrapolation targets as in the passive setting. Across 8 frontier
agent systems, median $R^2$ drops from 0.72-0.75 (passive) to 0.24-0.57 (active), and prediction error rises 1.5-4.7 times, depending on the system.
Agents favor cheap experiments, spending 8-44% of the full-pool cost on average; low-cost acquisition can yield strong predictions, but cheap purchases also leave experimental conditions needed for extrapolation unobserved. Experimental planning thus remains a key open challenge for
agents that assist model development in the prevailing AI-for-AI study.
Read the full abstract ▾
All authors Lingbei Meng, Rui Huang, Zhirong Shen, Jinxin Liu, Lingxiao Jing, Haorui Chen, Yaosong Du, Haowei Lin
Machine Learning
Fast Quantized Johnson$-$Lindenstrauss Transforms
Angelos Korakitis and Vasileios Nakos
Quantization has emerged as one of the primary techniques for reducing the
memory footprint of large
language models during inference. A prominent example is Quantized Johnson$-$Lindenstrauss (QJL), which compresses KV caches using 1-bit asymmetric quantization while approximately preserving the inner products required by the
attention mechanism. Recent theoretical and practical work aims at replacing the dense Gaussian projections used by the aforementioned transforms with more structured
embeddings $-$ such as compositions of randomized Hadamard transforms $-$ while retaining the same
embedding dimension. In this paper, we introduce two constructions based on a composition of randomized Hadamard transforms, albeit with a Gaussian rather than Rademacher diagonal in the second stage. The first adds Gaussian dithering to smooth the quantizer, while the second inserts a random permutation to regularize the covariance structure of the resulting Gaussian measurements. We prove
embedding-dimension and running-time guarantees analogous to those of Fast JL in the non-quantized setting. The first construction achieves $m=O(\varepsilon^{-2}\log^2(d/\delta))$, while the second achieves $m=O(\varepsilon^{-2}\log(d/\delta))$ under a restriction on $m$. Both constructions can be applied in $O(d\log d)$ time.
Read the full abstract ▾
Machine Learning · Cross-listed from stat.ML
Moment-Based Anomaly Detection in High-Dimensional Mixed Data
Davide Ferrari and Andrea Nicolodi
We propose an anomaly detection method for high-dimensional mixed-type data that maps heterogeneous features to a common scale via standardized moment-based transformations, yielding interpretable feature-level anomaly scores. These scores are combined through a dependence-aware aggregation step to construct the Mixed-data Influence (MDI) score, accounting for correlations across features and providing a unified measure of how strongly an observation departs from the reference data distribution. By incorporating higher-order moments, the MDI can detect anomalies that arise not only from location shifts, but also from changes in variability, skewness, and other distributional characteristics. The aggregation mechanism allows our method to capture both sparse anomalies concentrated in a small number of features and weak, coordinated deviations distributed across many features. We empirically investigate the distribution and thresholding behavior of the MDI score across different sample sizes, dimensions, dependence structures, and data types. Simulation experiments and two real-data applications, to multi-omics and ESG data, evaluate finite-sample calibration, detection performance, and feature-level interpretability.
Read the full abstract ▾