Deep Learning
Hacking or Just Failing? A More Capable LLM Monitor Better Separates Reward Hacking from Honest Failure
An agent's visible score can exceed its real progress because it gamed the score or because it simply made mistakes, so a useful reward-hacking monitor must tell the two apart. We built a sandboxed task in which an agent can game a completion score, labelled every episode by replaying it and repairing the final state counterfactually, and ran five pre-registered studies. On 60 episodes from a Llama 3.1 8B agent, small local monitors (Llama 3B and 8B) did not separate exploit attempts from honest failures with the same score gap: prompt changes traded missed exploits for false alarms, and the pre-registered primary monitor reached AUC 0.64. On identical inputs, Gemini 3.1 Flash-Lite, which completed 9/10 clean tasks against 2/10 for the 8B model, met our pre-registered criterion (AUC 0.80, 95% interval [0.66, 0.93]; 1/35 honest failures flagged); with only 14 exploit episodes, this estimate is uncertain. On an exploit that no prompt names, Gemini usually described the action correctly yet never flagged it, in 5 and then 25 new episodes, even when manipulation was defined by its effect on the score. Given the full trace, the 8B monitor flagged all 25 replication episodes and none of 25 honest look-alikes, but its explanations described actions that had not occurred; given additional structured evidence, it also flagged 15 of the 25 look-alikes. A two-rule deterministic check caught every known exploit. We release the environment, labels, pre-registrations and per-judgement logs.
Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond
Mikulski, Maciej J., Uhl, Tadeusz
We systematically investigate finite-difference (FD) derivative computation in Physics-Informed Neural Networks (PINNs) as an alternative to automatic differentiation (AD). On three benchmark PDEs we show that, with a properly calibrated step size, FD matches AD in accuracy on every problem while running faster across the full tested batch-size range and using substantially less GPU memory, and that a stochastic variant we propose outperforms AD on a stationary problem. We further show that for neural architectures with inter-sample dependencies (e.g. BatchNorm, self-attention) the standard PyTorch autograd idiom is silently incorrect; the correct per-sample alternative is computationally infeasible at PINN-relevant batch sizes, while FD provides a forward-only approximation that is empirically an order of magnitude closer to the true per-sample derivative.
Skill++: Towards Lifelong Agents via Routing-Aware Skill Refinement
Zhang, Hanrong, Liang, Minghao, Wu, Jiawei, Chen, Yankai, Fan, Shicheng, Liu, Zhiwei, Ma, Enze, Yuan, Junwei, Wang, Tianyi, Min, Dehai, Zheng, Kening, Liu, Xue, Yu, Philip S.
Large language model (LLM) agents extend their capabilities with skills, each with a name, a description, and a body. Under progressive disclosure, an LLM router selects skills by name and description alone and loads only the selected bodies. Skill libraries grow continually as users and agents add new skills. Because the router relies on this metadata, a similar new skill can displace an earlier one, breaking previously correct routing even though the earlier skill and the router are unchanged. This routing interference is aggravated for public skills, whose descriptions may not match their bodies. We formulate the problem as lifelong skill routing, a class-incremental continual learning problem. A solution must keep earlier skills selectable without suppressing new ones. Existing approaches fall short, since continually retraining the router risks catastrophic forgetting and rewriting methods either ignore similar skills or require per-skill feedback. We therefore propose Skill++, which rewrites only the name and description of each incoming skill, without router training or labeled data. The new description states what the body supports, how the skill differs from its closest predecessor, and what related work it excludes. As a library grows to 731 skills over ten sessions, Skill++ selects all required skills for 76.3% of queries, versus 36.4% under the original metadata. Across three benchmarks and five LLM routers, it outperforms all compared approaches, and its gains carry over to the Codex CLI agent harness.
SPARK: Self-Correcting Embodied Memory via Physical Re-Observation
Kurdydyk, Dmytro, Palnitkar, Aadi, Scherer, Sebastian, Kim, Seungchan
Retrieval-augmented generation (RAG) systems have seen growing adoption in embodied settings as language-queryable memories of the environment. However, existing approaches often assume a reliable single-episode knowledge base (KB) or accumulate observations across episodes without correcting prior errors. Such errors can persist through incorrect semantic labels, inaccurate object positions, and inconsistent spatial relationships. To address this, we present SPARK, a corrective multi-episode framework for embodied RAG. After the first episode, a semantic critic flags regions of the KB, a targeted planner generates revisits, and a selective merge adds, removes, or replaces KB information based on the new observations. We evaluate SPARK on four outdoor AirSim maps under two degraded viewpoint conditions, using perception-built KBs, a visibility-constrained oracle used only for evaluation, and a fixed set of 158 embodied question answering (EQA) questions scored before and after correction. A single corrective episode improves downstream EQA on every map under both conditions while storing 13-41% fewer objects than append-only updating, with gains up to 2.7x on one map-condition pair. Extending correction through Episode 4 brings every map above the EQA performance of its undegraded reference. Ablations show that the critic's three signals each contribute to performance, that targeted revisits achieve a larger mean gain than untargeted ones under the same budget, and that selective merging achieves gains comparable to append-only updating with a smaller KB. Overall, SPARK demonstrates the value of correcting embodied memory through targeted re-observation, particularly as embodied systems scale and the risk of accumulated errors increases.
Quantiles, Not Points: Streaming Quantile Matching for Ordinal-Aware LLM-as-a-Judge Calibration
Subasic, Ilija, Rabinovich, Andrew, Chen, Zhao
LLM-as-a-judge scores are often distributionally shifted from human ratings on any given evaluation task, and post-hoc calibration (mapping LLM to human scores in a small labeled anchor set) has become a popular method to correct for this shift. In this paper we derive the calibration from two positions: that LLMaJ scores are ordinal ratings drawn from a distribution rather than isolated points. We present streaming quantile matching (SQM), a version of a classical method not previously bench marked for LLMaJ calibration, which is built on the two positions by computing the optimal-transport map between the LLM and human score distributions. We develop an evaluation framework and within it we show that unlike point-wise calibrations, SQM respects the ordinality of the human anchor set and achieves the best distributional fidelity and the top overall rank across models and data. We also show that in general, post-hoc calibration narrows the raw error gap between smaller and larger judge models, which opens the possibility of more efficient LLM judges.
From Weeks to Hours: Fast and Principled SFT Data Generation for Reasoning LLMs
Jin, Hongyi Henry, Yang, Wenhan, Ghaffari, Meysam, Morato, Carlos, Mirzasoleiman, Baharan
Reasoning-oriented post-training enables large language models (LLMs) to solve complex tasks via multi-step inference. Supervised fine-tuning (SFT) on high-quality reasoning traces is a particularly efficient approach, but its effectiveness depends critically on careful data curation. Existing pipelines rely on a costly generate-then-filter paradigm: large pools of long reasoning traces are produced by multiple teacher models and subsequently filtered for difficulty and diversity using additional LLMs, often requiring weeks of computation. In this work, we propose SFTProbe, a fundamentally different approach that bypasses this pipeline by directly predicting the quality of reasoning data. We show that a brief LoRA-based adaptation, combined with evaluating loss on only 5% of each reasoning trace, suffices to estimate both difficulty and diversity. SFTProbe is grounded in a geometric view of post-training, where pretrained LLMs lie in a low-rank, anisotropic loss basin. By probing this basin via low-rank perturbations, we construct compact loss signatures whose clustering captures diversity, while loss at curvature inflection points provides a robust proxy for difficulty. We also provide a simple criterion for teacher selection. Empirically, our approach reduces data curation time from weeks to hours while maintaining or improving performance. Remarkably, on mathematical reasoning, 5k generated examples match the highly filtered 89k-example in OpenThoughts-Math dataset, and 7.5k generated examples outperforms it by 2.5% in accuracy. We further introduce a high-quality physics reasoning dataset, and use it to train a model that outperforms an IPhO 2025 silver-medal-winning model. The code and the dataset are released at https://bigml-cs-ucla.github.io/SFTProbe-page/.
Agent Stack for ML Training Lifecycle: Generation, Validation, and Optimization
Ray, Jaideep, Tang, Daniel, Lin, Zejun, Tang, Haoyue, Zhang, Lijuan, Huang, Tao, Li, Tommy, Jain, Aditya, Goyal, Ankit, Jain, Harsh, Zhi, Zhuo, Han, Youmin, Jha, Santosh, Liang, Shuying, Ai, Yujie, Hung, Jonathan, Lyu, Ethan, Liu, Abi, Singh, Siddharth, Wen, Feng, Ravindran, Mahesh, Ray, Souvik, Zhou, Yitong, Singh, Animesh
Production model development requires repeated architecture design, platform integration, debugging, training, and evaluation. We present an agent stack deployed at LinkedIn with two independently usable agent loops: AutoTorch for model generation and migration, and AutoResearch for model optimization. AutoTorch generates PyTorch models and training pipelines for TensorFlow migration, XGBoost replacement, and new-model development. Executable validation hooks check platform API compliance, trainability, and conversion fidelity on sampled data, guiding iterative repair before engineer review and full-scale distributed training. AutoResearch explores architecture and training-configuration changes through expert-steered or autonomous experimentation. An external orchestrator manages parallel trials, experiment history, candidate selection, and wall-clock budgets across agent sessions. A shared runtime preserves execution state independently of agent reasoning and allocates GPUs separately from agent execution. Across ranking, content understanding, and recommendation workloads, AutoTorch completed generation and full-scale training in 92 of 115 workflow runs (80%). Of these, 77 (83.7%) produced models meeting post-training quality requirements. In a separate cohort, AutoResearch improved the primary task metric on held-out data for 28 of 100 production pipelines. Engineering teams estimate that the stack reduced elapsed end-to-end migration time from approximately eight weeks to two weeks, a 4x speedup.
Unlearning by Extrapolating a Shrink-and-Heal Lookahead
Luong, Hoang-Chau, Chen, Lingwei
Abstractbenchmarks (Maini et al., 2024; Shi et al., 2025), and has been advocated as the defining criterion for Unlearning aims to make a large language model behave like one retrained without its unlearning (Yoon et al., 2026b). Prevailing likelihood-suppression Most existing unlearning methods are built on objectives, however, lack an explicit forgettinggradient ascent over the forget set (Jang et al., 2023; Yao et al., 2024), often combined with retain-settarget: they continually reward lower forgetset likelihood, making forgetting sensitive toregularization to preserve model utility (Liu et al., the optimization budget. Subsequent work bounds or reshapes the itation by estimating the direction toward theascent objective to prevent model collapse, such oracle without training it. Evaluated against eleven baselines under a uni-underexplored limitation remains in likelihood-fied OpenUnlearning protocol, SHIFT achievessuppression approaches: they lack an explicit target the highest aggregate score across all TOFUfor forgetting. By rewarding lower forget-set likelisettings and the closest oracle alignment, 3.7 hood, these objectives do not generally admit the orcloser on average than the next-best method; onacle as a stationary point, allowing optimization to MUSE, it preserves the most retain knowledge. ConseUnder larger optimization budgets, baselinesquently, the extent of forgetting becomes sensitive overshoot the oracle, while SHIFT remains nearto the learning rate and number of training steps. As illustrated in Figure 1(a), varying the optimization budget can shift the same method from insuf1 Introductionficient forgetting to over-forgetting, where forgetset examples become less familiar than never-seen Large language models (LLMs) acquire substantial knowledge through fine-tuning, but may also memdata, potentially exposing their former membership (Hayes et al., 2025). This sensitivity is not orize sensitive or unwanted training data (Carlinimerely an optimization issue: the objective itself et al., 2021). When such data must be removed, provides no criterion for stopping at the oracle.
Steering Readerly Dynamics: Trajectory-Guided Story Generation with Large Language Models
Li, Danrui, Zhao, Yiwei, Kapadia, Mubbasir, Li, Lingxiao
Large language models (LLMs) are increasingly used to generate stories, but these stories struggle to reproduce engaging readerly dynamics, the evolving reader responses that shape narrative experience. To address this challenge, we propose a framework that learns readerly dynamics from high-quality human-written stories and uses them to guide story generation. Instead of directly modeling high-dimensional story content, we train a small LLM to predict future reader responses as low-dimensional trajectories. We then leverage the strong instruction-following capability of a larger, off-the-shelf writer LLM to generate story segments that follow these predicted trajectories within a given story setting. Our framework improves trajectory-based fidelity to human-written stories by 12%-35% while largely preserving story coherence.
TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCs
Ni, Wentao, Cai, Hong, Lee, Mingu, Yu, Chihao, Yu, Zhongming, Zhang, Hejia, Zhang, Kangqi, Porikli, Fatih, Liu, Zhijian, Zhao, Jishen
Smartphone applications increasingly require large language models to process long contexts, whereas high prefill latency and memory demands constrain local inference. Block-sparse attention reduces computation and memory traffic, but its irregular selections conflict with mobile NPUs' preference for large, regular tiles. Efficient execution must exploit cross-query reuse while avoiding redundant computation and preserving selections needed for accuracy. In this paper, we present TileWeave, which partitions sparse attention by this cross-query reuse: highly shared key blocks run in coarse NPU tiles, while low-reuse blocks run on the GPU only for the query blocks that selected them. In addition, we design an NPU-native pooled-key selector that keeps selection inexpensive, and a runtime that publishes GPU partials in the order the NPU consumes them and merges them in its existing output store. On RULER, HeteroSparse matches XAttention's accuracy with Qwen3-1.7B and improves it with Llama-3.2-3B-Instruct; its mean LongBench scores match XAttention as well. On Snapdragon SM8750 and SM8850 phones, it achieves 1.35--3.23$\times$ faster full-model prefill than XAttention over 1k--16k tokens and up to 1.58$\times$ faster than dense attention.