Deep Learning
Interpreting Neural Combinatorial Optimization via Evolving Programmatic Bottlenecks
Duan, Haocheng, Guo, Yuxin, Bi, Jieyi, Xie, Anqi, Li, Sirui, Ma, Yining, Wu, Cathy
While Neural Combinatorial Optimization (NCO) achieves strong performance, its interpretability remains an open question. In this paper, we introduce Evolving Programmatic Bottlenecks (EPB), the first post-hoc, surrogate-based interpretability method for NCO, which explains a black-box policy by distilling it into an interpretable behavior surrogate. A natural surrogate is a Concept Bottleneck Model (CBM), yet standard concepts are input attributes, whereas NCO is better explained by decision rules that are hard to predefine. EPB thus uses LLMs to evolve a bank of programmatic decision rules as concepts, each producing an action distribution, where a learned state-dependent router then mixes them to form the surrogate action. We optimize EPB through an iterative framework: Block I fixes the bank size and introduces the hybrid textual-numerical gradient descent to jointly optimize the textual programs and the numerical router; Block II adapts the bank size via failure-targeted expansion and redundancy pruning. Extensive experiments demonstrate that the EPB surrogate closely matches the teacher's behavior and solution quality. We then analyze the distilled rules, reveal several NCO decision patterns, and verify the rules' faithfulness to the surrogate's decisions. Moreover, the surrogate allows targeted program edits that improve its generalization beyond the teacher. Our work advances interpretable NCO and establishes EPB as a promising direction for interpreting complex learned decision-making policies.
Tevatron-Elastic: A Unified Abstraction for Training Elastic Retrievers and Rerankers
Wang, Yu, Zhuang, Shengyao, Ma, Xueguang, Wu, Zongyu, Lin, Jimmy, Srikumar, Vivek, Xu, Zhichao
A single model scale challenges the flexibility of a production retrieval system: some settings need it faster, others need a smaller index, and the right trade-off changes with the workload. In the context of information retrieval (IR), a transformer-based model can be made smaller in three ways --- using fewer layers, passing fewer tokens through the upper layers, or producing a shorter embedding --- and each way saves a different resource. These options have been studied in isolation, each as its own method with its own code and training setup, which makes them hard to combine or adapt to a new model. In this work, we present Tevatron-Elastic to bring all three under one unified abstraction: a single object names any size the model can run at, and a short schedule lists the sizes to train. Training then produces one checkpoint that serves all of those sizes, and at deployment the user has the liberty to pick any of them. The same abstraction covers both retrievers and rerankers and both encoder and decoder models, as it works through interfaces that Hugging Face transformers already expose; adding a new backbone can be a configuration change rather than a model rewrite. Prior methods --- Matryoshka embeddings, early exit, 2D Matryoshka (Starbucks), and layerwise token compression (LTC) --- become special cases of our unified abstraction. With Tevatron-Elastic, we also propose a new elastic algorithm Matryoshka~LTC (MLTC) to jointly train several token-compression ratios in one retriever checkpoint. To validate our framework, we train 20 checkpoints across three backbones and two tasks: the quality curves are smooth, full-point quality remains close to that of models trained for a single size, and a controlled study confirms the wall-clock speedups. We release the framework and all checkpoints to support elastic retrieval research.
LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models
Cipollone, Daniele, Titov, Sergey, Izadi, Maliheh, Bogomolov, Egor, van Deursen, Arie
Large software projects often depend on older versions of libraries, even as APIs continue to evolve across releases. This creates a challenge for LLMs: they must maintain knowledge of multiple API versions, not merely the latest or most common one. However, current LLMs are trained on temporally mixed corpora and lack explicit mechanisms for such version-specific reasoning, leading to anachronistic errors - calling APIs as they exist in a different library version. To systematically evaluate this phenomenon, we introduce LibEvoBench, a multi-task benchmark spanning multiple versions of widely used Python libraries, along with a new metric, the Software Evolution Understanding Score (SEUS), to measure models' consistency when working with evolving APIs. Our results show that state-of-the-art models are largely version-oblivious: performance degrades for evolving APIs, while for stable APIs it remains the same across versions. Moreover, simply specifying the target version provides no benefit, while relevant documentation significantly boosts models' accuracy. These findings highlight a systematic limitation of current training paradigms and motivate new approaches for temporally grounded knowledge in code generation.
RCT-AD: Reliability-Aware Context and Temporal BEV Reasoning for End-to-End Autonomous Driving
Dey, Argho, Yin, Yunfei, Ray, Swachha, Islam, Md Minhazul, Yuan, Zheng, Xiong, Sijing, Liu, Hongyu, Huang, Zhiqiu
Reliable temporal representation learning is important for end-to-end autonomous driving, particularly when visual observations are degraded by occlusion, motion blur, illumination variation, and sensor noise. Existing Bird's-Eye-View (BEV) approaches provide a unified representation for perception and planning; however, temporal features are commonly aggregated across frames without explicitly accounting for the reliability of individual observations. Consequently, low-quality or inconsistent features may propagate through temporal representations and degrade downstream perception, prediction, and planning. To address this problem, we propose RCT-AD, a Reliability-Aware Context and Temporal BEV Reasoning framework for end-to-end autonomous driving that explicitly models feature reliability and temporal consistency within a shared BEV representation. RCT-AD introduces a Reliable Context Awareness (RCA) module that estimates frame-level reliability using spatial, semantic, temporal, and visual-quality cues, and selectively preserves trustworthy information through a reliability-guided temporal memory mechanism. When the current observation is unreliable, historical high-reliability features are aligned and integrated to construct a more stable temporal BEV representation. A Temporal Trajectory Planner models long-term temporal dependencies and multi-agent interactions, while semantic segmentation and motion-guided detection provide complementary supervision for refining the shared BEV representation. Experiments on the nuScenes benchmark demonstrate consistent improvements across perception, motion prediction, and trajectory planning. RCT-AD achieves 61.5 NDS, 52.9 mAP, and 52.3 mIoU while maintaining competitive computational efficiency. These results demonstrate the effectiveness of reliability-aware temporal BEV reasoning for unified perception, prediction, and planning.
SpreadsheetBench 2: Evaluating Agents on End-to-End Business Spreadsheet Workflows
Zhu, Jian, Zhang, Yuzheng, Ma, Zeyao, Zhang, Bohan, Schoepf, Armin, Woloch, Daniel, Wang, Peter Yiliu, Yang, Guangyu Robert, Jacob, Samuel, Nagisetty, Siddharth, Chundru, Abhiram, Lin, Jean, Mateega, Spencer, Zhang, Jing
Spreadsheets are widely used for business analysis, financial modeling, reporting, and decision-making. However, most existing spreadsheet benchmarks evaluate isolated operations such as single-formula generation or local cell edits, and therefore fail to capture end-to-end workflows in realistic business settings. We introduce \textsc{SpreadsheetBench 2}, a workflow-level benchmark for spreadsheet agents that covers three task categories: generation, debugging, and visualization. The benchmark is constructed from authentic business data, including financial reports and corporate filings, and is annotated and validated by domain experts. The benchmark contains 321 tasks; each instance averages 11.8 worksheets and requires 593.5 cell modifications, reflecting large multi-sheet workbooks with cross-sheet dependencies. We evaluate eight frontier large language models under a unified multi-turn agent scaffold, and additionally include several LLM-based spreadsheet products as complementary baselines. Results show that current systems remain far from reliable on real-world workflows: the best model achieves 34.89\% overall task accuracy, and debugging accuracy is as low as 12.00\%. Trajectory analysis and a failure taxonomy further indicate that insufficient spreadsheet inspection and incorrect target-cell selection are the dominant bottlenecks. Together, these findings position \textsc{SpreadsheetBench 2} as a challenging testbed for advancing reliable spreadsheet automation. Project page: https://spreadsheetbench.github.io/
Demystifying Numerical Instability in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEAL
Zhu, Zhenting, Thai, Lucas, Yu, Shan, Liu, Yicheng, Qiao, Yifan, Wang, Chenxi, Xu, Harry, Shu, Junyi
As Large Language Models (LLMs) deploy into mission-critical domains (e.g., finance, medicine, and law), output reproducibility has become a strict system requirement. While practitioners use greedy decoding to eliminate algorithmic stochasticity, empirical deployments with 16-bit precisions still exhibit catastrophic output divergence across heterogeneous GPUs. Through SASS-level profiling, we reveal that this inconsistency is fundamentally driven by truncation errors introduced during downcasting at kernel boundaries. However, achieving reproducibility via a global FP32 pipeline incurs prohibitive system penalties: bypassing 16-bit hardware accelerators hurts compute efficiency, while upcasting the KV cache doubles memory overhead. To bridge this gap, we propose Hybrid Error ALleviation (HEAL), a targeted intervention that approximates FP32 precision while resolving hardware constraints through two targeted mechanisms. First, recognizing that floating-point formats underutilize their bit-width for Q, K, V tensors, HEAL applies INT16 quantization that preserves numerical stability without expanding the KV cache footprint. Second, HEAL synthesizes high-precision matrix multiplications via an algebraic error compensation strategy, executing entirely on high-throughput 16-bit Tensor Cores. To evaluate our approach practically, we introduce MCR-Bench, a benchmark targeting reproducibility in mission-critical tasks. HEAL achieves the same level of reproducibility on downstream tasks as the FP32 baseline while reducing the performance overhead by up to 6.0$\times$.
Sentence-Level Attribution for Black-Box Large Language Model Outputs via Energy-Based Surrogates
Rezaee, Maryam, Safaei, Pooriya, Asgarinezhad, Maryam, Seyyedsalehi, Fatemeh
The widespread adoption of proprietary Large Language Models (LLMs) via closed APIs poses an interpretability challenge. While white-box and gray-box (logit-dependent) attribution methods require internal model access, post-hoc attribution under a strictly black-box, text-only generative regime remains largely unexplored. To address this, we propose a model-agnostic, post-hoc attribution interpreter operating at the sentence level. We first train a transformer-based Energy-Based Model (EBM) as a surrogate to score the consistency between prompt and response sentences based on observed LLM generations. To prevent energy collapse and avoid a focus on superficial artifacts, we design contrastive negative samplers that evaluate partial counterfactual dependencies across prompt and response segments. This learned energy landscape then guides the training of a lightweight interpreter network. After model-specific training, the interpreter operates as a standalone tool; it estimates the influence of prompt sentences on a user-specified output sentence without requiring runtime API queries to the target LLM. Comprehensive experiments demonstrate that our EBM surrogate captures nuanced generative dependencies beyond surface-level heuristics, while the interpreter achieves competitive attribution quality with parameter-efficient, $\mathcal{O}(1)$ inference.
A Reproducibility Study of Partial Residual Ablations in Pre-LN Transformers
Residual connections are a fundamental component of transformer architectures, yet the roles of the attention and feed-forward residual pathways remain poorly understood when considered independently. This paper presents a reproducibility study of partial residual ablations in Pre-LN GPT-style transformers trained at two scales (10M and 124M parameters). I compare four architectural configurations by selectively removing the attention residual connection, the feed-forward residual connection, or both. At 10M scale, a controlled 8-seed deterministic sweep shows a clear asymmetry: removing the attention residual (FFNOnly) reaches the No-Residual collapse regime (3.350 +/- 0.002), whereas removing the feed-forward residual (AttnOnly) remains well separated from it (1.580 +/- 0.003). A subsequent controlled 124M sweep establishes that the direction of this asymmetry persists under matched seeds: across five seeds each, AttnOnly reaches 6.037 +/- 0.355 versus 7.569 +/- 0.001 for FFNOnly, with no overlap between the observed ranges. AttnOnly nevertheless remains substantially degraded relative to FullResidual (4.577 +/- 0.012) and exhibits markedly greater seed sensitivity at 124M. During the investigation, I identified and corrected an experimental measurement confound in runtime gain scaling and retained an intermediate reproduction failure rather than excluding it. I propose cross-position routing through self-attention as a falsifiable hypothesis for the observed asymmetry; no clean causal test of this mechanism has yet been completed. To support reproducibility, I release the source code, experiment configurations, training logs, and experimental results, including intermediate non-reproducing runs.
EvoST: Adapting Traffic Forecasters to Evolving Sensor Graphs
Yin, Du, Lin, Xiachong, Tan, Yue, Yang, Ruiyi, Deng, Jinliang, He, Estrid, Xue, Hao, Salim, Flora D.
Web-based navigation and traffic information services depend on accurate forecasts as sensor networks evolve. On checkpoints reused years later, updating only shared weights or adding a low-rank node prompt leaves substantial degradation, whereas, in the evaluated architectures, refreshing node identities recovers most of it while the shared spatio-temporal weights are reused. We propose EvoST, a framework that maintains traffic forecasters by refreshing node identities while keeping shared weights fixed. EvoST updates existing identities using recently released labels and initializes new sensors with identities borrowed from behaviorally similar established sensors. Once enough delayed labels arrive, it jointly refits all identities, and a per-sensor recursive least-squares calibrator corrects forecasts as labels become available. Across twelve PeMS region-year settings, identity refresh reduces the relative one-hour MAE gap between five-year-old STAEFormer checkpoints and target-year models from 17.7% to 2.5%, with all forecasters calibrated, and its MAE is 0.7% above that of full-parameter fine-tuning on the same data. In Graph WaveNet, identity refresh recovers 88% of the five-year MAE gap to calibrated target-year models. Similar recovery holds for STAEFormer checkpoints up to fifteen years old, while refreshing STID recovers 67% of its five-year gap. On an annual benchmark covering nine EvoXXLTraffic districts and Transport for NSW, EvoST has the lowest average MAE, RMSE, and MAPE among the reported non-foundation methods on all ten networks, and calibration accounts for most of its Avg-MAE reduction from the matched frozen checkpoints. Code and the extended version: https://github.com/lixus7/EvoST
NeuroActiSep: Detecting Factual Hallucinations from Feed-Forward Neurons in a Single Pass
Odolou, Ali Derogar, Nazari, Reza, Salehi, Mostafa
Hallucination in large language models reduces their reliability and slows adoption. Various white-box studies have used internal representations to detect patterns of truthfulness and factuality. A less-studied approach is to identify feed-forward neurons correlated with hallucination. In this empirical study, we propose a method to rank feed-forward neurons at the final prompt token and use it to investigate the feasibility of utilizing them for hallucination detection in the first forward pass. Using a neuron selection dataset built from CounterFact for identifying neurons correlated with hallucination, we transfer the selected neuron identities to train hallucination classifiers on other factual question-answering datasets. Our work provides empirical evidence that probes trained using the features from sparse sets of selected neurons perform on par with probes trained on internal representations. We also analyze the distribution of selected neurons and the effects of layer depth and neuron budget on detection performance. Our results show that randomly drawn neuron sets are also competitive at larger budgets, suggesting that signals correlated with hallucination are distributed across many neurons, while selection can help in extremely sparse sets.