Deep Learning
ROMAN: A Multiscale Routing Operator for Convolutional Time Series Models
We introduce ROMAN (ROuting Multiscale representAtioN), a deterministic operator for time series that maps temporal scale and coarse temporal position into an explicit channel structure while reducing sequence length. ROMAN builds an anti-aliased multiscale pyramid, extracts fixed-length windows from each scale, and stacks them as pseudochannels. ROMAN provides a training-free mechanism to control the inductive bias of downstream models: it can reduce temporal invariance, make temporal pooling implicitly coarse-position-aware, and expose multiscale interactions through channel mixing, while often improving computational efficiency by shortening the processed time axis. We formally analyze the operator and evaluate it as preprocessing for four convolutional classifiers: MiniRocket, MultiRocket, a standard CNN-based classifier, and a fully convolutional network (FCN) classifier. Synthetic mechanism studies that isolate coarse position, long-range correlation, multiscale interaction, and full positional invariance show that ROMAN behaves as intended, and comparisons with coordinate augmentation and single-scale routing distinguish the benefits of positional routing from those of the multiscale cascade across the evaluated backbones. On long-sequence subsets of the UCR and UEA archives, ROMAN's effect on accuracy varies across datasets while its effect on efficiency is often favorable. At \(S=4\) on UCR, accuracy changes are positively correlated across the pooled backbones, consistent with the proposed role of task structure. We give practical guidance for choosing the operator's two hyperparameters and illustrate its use on very long sequences, where it is both more accurate and several times cheaper, and as a source of representation diversity for ensembles. The ROMAN operator library is available at \href{https://github.com/gon-uri/ROMAN}{github.com/gon-uri/ROMAN
LoopWeaver: Weaving Feedback Loops into Hierarchical Generation under Constraints
Zhu, Yifan, Chen, Guanting, Wei, Bing, Luo, Haoran
Large Language Models face a multi-objective optimization problem in constrained long-text generation, balancing global structure, local coherence, and constraint satisfaction. We propose LoopWeaver, a hierarchical workflow with two sequential offline preference-optimization stages. Constraint-aware planning produces structured plans, feasibility filtering removes invalid plans, and a shared deterministic reward constructs preference pairs for plan-level and generation-level DPO. At inference time, LoopWeaver remains feed-forward: it generates and revises a complete plan, filters the revised plan, and then generates segments conditioned on the current sub-plan and running narrative. We evaluate the method on four LongGenBench-style structured scenarios across multiple backbones. Results show improvements in both constraint accuracy and text quality across all four open-source backbones. Our software and data are publicly available at https://github.com/cgtaa-cmyk/LoopWeaver.
Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents
Chen, Zhi, Sun, Zhensu, Shi, Yuling, Peng, Chao, Gu, Xiaodong, Lo, David, Jiang, Lingxiao
Large Language Model (LLM) code agents increasingly resolve repository-level issues by iteratively editing code, invoking tools, and validating candidate patches. In these workflows, agents often write tests on the fly, but the value of this behavior remains unclear. This raises a central question: how does agent-written testing relate to task outcomes and resource use during repository-level issue resolution? To better understand the role of agent-written tests, we analyze 5,000 recorded agent runs produced by six strong LLMs on SWE-bench Verified using the lightweight mini-SWE-agent scaffold. Our results show that test writing is common for most models. GPT-5.2 is an exception: it rarely writes new test files while achieving a resolution rate close to the top-ranked model. Test-writing frequency varies widely across models. Within a given model, it differs less between resolved and unresolved tasks. When tests are written, their files contain substantially more statements that print runtime values than assertions that check conditions. We then compare baseline prompts with revised prompts that encourage or discourage writing new test files for four models. Agents start or stop writing test files as requested on 36.8%-93.2% of tasks. Resolved-task totals differ by 0-13 out of 500 per model, with no statistically significant difference, while API calls or token use differ substantially for three models. Similar resolution totals can therefore hide substantial differences in how agents test and how many resources they use.
InFi-Check: Interpretable and Fine-Grained Fact-Checking of LLMs
Bai, Yuzhuo, Si, Shuzheng, Luo, Kangyang, Wang, Qingyi, Li, Wenhao, Chen, Gang, Qi, Fanchao, Sun, Maosong
Large language models (LLMs) often hallucinate, yet most existing fact-checking methods treat factuality evaluation as a binary classification problem, offering limited interpretability and failing to capture fine-grained error types. In this paper, we introduce InFi-Check, a framework for interpretable and fine-grained fact-checking of LLM outputs. Specifically, we first propose a controlled data synthesis pipeline that generates high-quality data featuring explicit evidence, fine-grained error type labels, justifications, and corrections. Based on this, we further construct large-scale training data and a manually verified benchmark InFi-Check-FG for fine-grained fact-checking of LLM outputs. Building on these high-quality training data, we further propose InFi-Checker, which can jointly provide supporting evidence, classify fine-grained error types, and produce justifications along with corrections. Experiments show that InFi-Checker achieves state-of-the-art performance on InFi-Check-FG and strong generalization across various downstream tasks, significantly improving the utility and trustworthiness of factuality evaluation.
On objective mismatch in molecular retrieval from tandem mass spectrometry
De Waele, Gaetan, Wydmuch, Marek, Dembczyลski, Krzysztof, Kotลowski, Wojciech, Waegeman, Willem
Identifying molecular structures from LC-MS/MS spectra is a central problem in computational metabolomics, often approached by predicting molecular fingerprints and retrieving candidates via similarity search. Despite widespread use, the relationship between training objectives for fingerprint prediction and downstream retrieval performance remains poorly understood. In this work, we investigate the alignment between these objectives and show that they can be misaligned under uncertainty. Adopting a decision-theoretic perspective, we derive novel regret bounds that characterize when Bayes-optimal predictors for fingerprint similarity diverge from those for molecular retrieval. Our analysis reveals that optimizing standard similarity-based losses can degrade retrieval performance, and that the extent of this mismatch depends on the similarity structure of candidate sets. Empirically, we validate our theory on the MassSpecGym and Enveda-180 datasets, observing a Pareto frontier between fingerprint accuracy and retrieval metrics across commonly used loss functions. These findings highlight potential trade-offs in fingerprint-based molecular identification and provide principled guidance for the design of learning objectives in small molecule mass spectrometry.
MultiTurnRoute: A Platform for Building and Evaluating Multi-Turn LLM Routers
Xue, Jiaqi, Zheng, Mengxin, Huang, Heng, Lou, Qian
In a multi-turn conversation, the choice of language model at one turn can affect which model should answer the next. The selected model's reply shapes the context for the next query, and its cached prompt prefix can reduce the cost of using that model again. We introduce MultiTurnRoute, a platform for building and evaluating multi-turn LLM routers. A shared interface gives built-in and user-defined routers the current query, dialogue history, and an estimate of each model's reusable prefix length. Our routing algorithm, Chain-of-Route (CoR), uses a learned gate over recent and recurrent dialogue history to predict response quality and estimates cost from each model's reusable prefix. MultiTurnRoute Arena ranks routers on recorded conversations and compares session quality and cost in interactive runs where a simulated user responds to each reply. On a benchmark drawn from WildChat and LMSYS-Chat-1M with per-turn quality annotations for five LLMs, CoR reduces the normalized cost required to match the strongest model's quality by up to 20.3% relative to the strongest routing baseline, while matching or improving peak response quality.
SCOT: Soft Correspondence via Optimal Transport for Multi-Source Cross-City Transfer
Wang, Yuyao, Yang, Min, Chen, Meng, Huang, Weiming, Yin, Yilong, Gong, Yongshun
Cross-city transfer uses labeled data from well-instrumented cities to improve prediction in label-scarce ones. The task is difficult when cities have incompatible region partitions and no ground-truth correspondence. Existing methods either rely on heuristic anchors, which can create hubness, or align global distributions, which can over-mix heterogeneous regions. We propose SCOT (Soft Correspondence via Optimal Transport), an OT-based framework for learning explicit, masscontrolled soft correspondences between unequal region sets. SCOT combines an OT-weighted contrastive loss, a one-sided cycle regularizer, and a shared prototype hub for multi-source transfer. Across real-world cities and tasks, SCOT consistently outperforms strong baselines, reducing MAE and MAPE by 5-50%. Additional analyses show that the learned correspondences are selective, region-specific, and robust to heterogeneous settings. Code is available at https://github.com/
The impact of temporal resampling on the safety of clinical reinforcement learning: A simulated trial
Frost, Thomas, Vaidya, Hrisheekesh, Harris, Steve
Reinforcement learning (RL) is a type of artificial intelligence for making optimal choices. In healthcare, researchers generally use offline RL (ORL), where models are trained and evaluated from retrospective observational data. To accommodate naturally irregular clinical records, researchers often resample the data into uniform time intervals before training (known as binning). However, binning may create counterfactual trajectories that do not represent clinical practice. We first quantified these distortions in patients receiving continuous insulin infusions in the MIMIC-IV intensive care database. Binning reversed the apparent causal order for over 70% of paired glucose measurements and insulin adjustments within the same interval, and frequently masked significant dysglycaemic events and merged distinct treatment decisions together. We then conducted an in silico clinical trial using 30 virtual patients with type 1 diabetes from the FDA-approved UVA/Padova simulator. The simulator was modified to include stochastic intervals between decisions and used to generate a training dataset for offline RL. We trained three ORL algorithms on both the unprocessed dataset and equivalent datasets resampled at 10-minute, 2-hour, and 4-hour intervals. When deployed back into the simulated environment, temporal resampling was found to reduce model performance by up to 60% relative to unprocessed data, with 4-hour binning causing all agents to perform worse than the dataset's baseline. Retrospective evaluation on resampled data actively obscured this effect, predicting 1.5-3x better returns than agents achieved in practice. We recommend that future research in this area prioritises datasets with natural clinical timings between decisions, which may be a necessary step before these models can be safely deployed into patient care.
Blind Image Restoration via Merging the Manifold Hypothesis, Kernel Method and a Diffusion-like Flow
Bar, Leah, Yosef, Liron Mor, Zucker, Shai, Shoham, Neta, Seroussi, Inbar, Sochen, Nir
Blind Image Restoration (BIR) aims to restore degraded images without knowledge of either the type or severity of the degradation. This is a challenging ill-posed inverse problem for which an image prior is essential. We view the prior of an image class as a probability distribution supported on a low-dimensional manifold embedded in the high-dimensional image space. Existing generative approaches primarily model the probability distribution, while the geometric structure is implicit or disregarded. Conversely, geometric approaches do not account for the non-uniform probability distribution on the manifold. We propose a geometric-probabilistic framework for BIR that models these aspects. The probability distribution on the manifold is approximated using a kernel-based method, while a distance from the manifold function induces a geometry-based probability function on the ambient space. This formulation leads to the (Latent) Manifold-Probabilistic Projection Model ((L)MPPM), a restoration model defined in both image and latent spaces. (L)MPPM induces a flow guided by a score field that jointly incorporates geometric and probabilistic information. Evaluated on image restoration tasks and datasets, (L)MPPM consistently outperforms existing approaches, providing empirical evidence for the benefit of incorporating both geometric and probabilistic information into the image prior.
ImplicitBBQ: Benchmarking Implicit Bias in Large Language Models through Characteristic Based Cues
Vedula, Bhaskara Hanuma, Anghan, Darshan, Goyal, Ishita, Kumaraguru, Ponnurangam, Chakraborty, Abhijnan
Large Language Models increasingly suppress biased outputs when demographic identity is stated explicitly, yet may still exhibit implicit biases when identity is conveyed indirectly. Existing benchmarks use name based proxies to detect implicit biases, which carry weak associations with many social demographics and cannot extend to dimensions like age or socioeconomic status. We introduce ImplicitBBQ, a QA benchmark that evaluates implicit bias through characteristic based cues, demographically associated attributes that signal implicitly, across age, gender, region, religion, caste, and socioeconomic status. Evaluating 11 models, we find that implicit bias in ambiguous contexts is over six times higher than explicit bias in open weight models. Notably, this bias is distributed unevenly across demographics: caste emerges as the most severe while gender is the least affected. Safety prompting and chain-of-thought reasoning fail to substantially close this gap; even few-shot prompting, which reduces implicit bias by 79%, leaves caste bias at four times the level of any other dimension. These findings indicate that current alignment and prompting strategies address the surface of bias evaluation while leaving demographically associated stereotypic associations largely unresolved. We publicly release our code and dataset for model providers and researchers to benchmark potential mitigation techniques.