learning representation
MotionX: Motion Deblurring through Exposure Decomposition
Liang, Yu, Lin, Yueqian, Zhang, Lixun, Zhu, Lichen, Li, Hai Helen, Chen, Yiran
A motion-blurred photograph records average appearance over an exposure, whereas deblurring asks what the scene looked like at its center. We present MotionX, which estimates both quantities from a single RGB image. At each pixel, it predicts a mean color and a positive piecewise function whose learned segment widths describe when appearance changes. Normalizing the function by its analytic integral gives it the predicted mean before clipping. Sharp subframes supervise values at individual times, and their averages supervise intervals of the same function. One backbone evaluation supplies all parameters for a single center-image readout. Among the five generative-prior methods compared, MotionX achieves the lowest DISTS on GoPro, HIDE, and RealBlur-R. On one NVIDIA RTX A6000, mean latency is 0.810 s on GoPro and 0.436 s on RealBlur-R, the lowest among six timed implementations. We also introduce BlurScope for controlled evaluation. There, reading the exposure center improves PSNR by 2.046 dB over the model's jointly trained RGB reference.
Scaling Proactive Compute: When Agents Anticipate the Task
Talaei, Shayan, Chiaranaipanich, Gino, Zeinali, Amirreza, Youssefi, Amir, Mirhoseini, Azalia, Saberi, Amin
Agents often have access to the context of their environment, like a code repository or a company's filesystem, even before the task arrives. Yet they spend much of their time waiting for the task to arrive and for each tool call to return. Agents can use this time to anticipate the task and prepare for it, spending what we call proactive compute. We scale proactive compute at the token level using budget forcing and measure how performance, computational cost, and test-time efficiency change with it, evaluating four model families over nine benchmarks spanning software engineering, legal work, algorithmic reasoning, and mathematics. Before the task arrives (offline case), a 128k-token study lets a solver at T=64 reach accuracy that otherwise takes a 15x larger test budget on SWE-QA-Pro and 7x on StudyBench. Proactive studying reduces the test-time work the solver needs: on SWE-QA-Pro, a 16k-token study more than halves test-time reasoning and cuts tool calls tenfold at matched performance. When the context outgrows one context window, as in Harvey LAB's 112M-token legal filesystem, we design structured and multi-agent studying methods whose test-time efficiency keeps improving as proactive compute grows. After the task arrives (online case), agents that keep working while their commands run reach the median human score 1.6-2.0x sooner on eight MLE-Bench tasks. Overall, these results establish proactive compute as another axis of scaling large language model performance, complementary to test-time compute.
Polaris-Mist: Enterprise Semantic Redaction via Unmasked Bidirectional LLMs and Punctuation-Isolated CRFs
Liu, Jinyuan, Zhao, Zhicheng, Han, Xinyi, Ma, Ziwen
Deploying large language models (LLMs) in enterprise workflows requires redacting sensitive spans before documents cross organizational boundaries. Existing de-identification pipelines face a sharp trade-off: rule-hybrid systems (Presidio) and compact token taggers (Piiranha-v1, GLiNER) miss context-dependent trade secrets and trigger false positives on benign technical identifiers (e.g., public git commit SHAs and container digests), whereas autoregressive LLMs incur multi-second latency and schema fragility. We present Polaris-Mist, a non-autoregressive model-only semantic redaction architecture without inference-time regexes or blacklists. Polaris-Mist converts pure self-attention causal LLMs -- or native long-context encoders -- into bidirectional contextualizers by unmasking causal attention and pruning the vocabulary head, paired with punctuation-isolated pre-tokenization and a constrained 49-tag BIOES linear-chain CRF trained under length-normalized negative log-likelihood. Isolating punctuation boundaries eliminates subword straddling on English/Chinese contracts, raising Suite D exact match from 80.0% to 95.0% in v6 ablations. On 150-document test subsets of Nemotron-PII, Gretel PII, and multilingual piimb plus 180 frozen enterprise documents (Suites A-E), Polaris-Mist v7 attains 0.9251 Common-PII Span F1 on Nemotron-PII, 0.9066 on Gretel, 0.9077 on piimb, and 0.9987 untyped $\mathrm{IoU} \ge 0.50$ F1 (99.56% character recall; 0.9771 strict typed F1) on Suite E. Controlled experiments across Qwen3-8B, GLM-4-9B-0414, EuroBERT-2.1B, and Phi-4-14.7B under held-out validation selection achieve 0/29 negative false alarms; the 2.1B-9B models require 4.51-17.58 GiB BF16 VRAM at 5-134 ms amortized BS=8 GPU forward+Viterbi latency per document (vs. 27.61 GiB and 30-238 ms at 14.7B).
TerminalWorld Multimodal: Agentic Terminal Use Is Visual
Chu, Zhaoyang, Zhao, Tianyi, Li, Shuaiting, O'Hearn, Peter, Harman, Mark, Barr, Earl T., Sarro, Federica, Ye, He
Terminals play a central role in computer use, yet they have been largely overlooked by existing multimodal research. One might assume that terminal interaction is simply a textual sequence-to-sequence problem, naturally suited to a language model issuing shell commands and reading character streams. Yet we argue that the terminal is inherently a visually rich environment: modern Terminal User Interface (TUI) applications render complex two-dimensional displays and animations, supporting tasks across 3D modeling (e.g., CAD design, mesh segmentation), scientific research (e.g., protein structure analysis, gene sequence alignment), and real-time control (e.g., strategy gaming, cluster monitoring). In this work, we introduce TerminalWorld Multimodal, a benchmark of 365 tasks across 60 TUI applications in 12 categories, in which an agent must accomplish a terminal goal by observing the rendered screen and acting through keystrokes and mouse input. Comprehensive experiments across 12 frontier multimodal models on the hard subset of 200 tasks show that current agents still struggle: the strongest proprietary model, GPT-6 Astra, solves only 45.5% overall, and open-weight models reach at most 12.0%. Although most models already handle routine software and system tasks well (up to 70.0%), even the best model solves fewer than half of the scientific tasks (47.8%), and its success rate drops further when tasks span multiple applications (31.8%) or require real-time control (23.3%). Project page: https://terminalworld.ai/multimodal. Code and benchmark data are available at https://github.com/terminalworld/TerminalWorld-Multimodal.
Do LLMs Know What They Have Seen?
When a language model says a claim sounds familiar, has it learned the fact? This matters whenever a system lets that judgment decide whether to trust an answer or look it up. At four stages of training, we asked OLMo 2 13B how familiar factual claims seemed. Its ratings poorly predicted whether a search of its pretraining text would find a passage stating the claim. A passage can mention two names without saying how they are related. We therefore continued pretraining two other models on fictional facts, varying how often we stated each fact while holding name mentions and co-occurrences fixed. Asked for just the answer, such as an author's name, Olmo 3.1 32B improved from 10% correct after zero statements to 86% after sixteen. Qwen3.8-27B improved from 18% to 72%. The models often repeated the name when asked about a different relation, such as who translated the book. Yet claims stated 256 times received similar familiarity ratings as claims we never stated. Shown four options first, both performed near chance. Asked to match their unaided answer to an option, they usually chose correctly. For these facts, a familiarity check would overlook answers the model could already give.
Can we skip validation? A cross-family, cost-aware study of generalization measures for model selection
Generalization measures -quantities computed from a trained model and its training data alone- promise to let us choose among models without held-out validation. But can we really skip validation? So far, large studies of such measures have only concerned deep networks, and examined whether a measure correlates with the generalization gap rather than what we care about in practice: selecting a good model. We compare over 100 statistical and deep-learning measures across 16 model families, 89 datasets and over 102,000 models, scoring each by the model it would select and its compute cost, against cross-validation (CV), cheap resampling and multi-fidelity search. No training-data-only measure matches CV in general: one rivals CV only in 5 identifiable situations` and a single 20% hold-out recovers most of CV's quality at a fifth of its cost. Complexity measures usually rank candidates backwards; we show that this is decided by whether generalization gaps or training errors vary more across the candidates, a detectable condition that holds past the interpolation threshold, where norm, flatness and stability measures can rival CV and extra parameters switch from hurting to helping generalization. Learned combinations of measures help mainly across model families, measures that refit the candidates improve them only at several times the cost of CV, and adding measures to CV does not improve it. Measures earn their place when candidates are already trained, as when choosing among pretrained models. We summarise the results in a decision guide for practitioners and release a benchmark for evaluating newly proposed measures.
Learned Handed Frames for Chirality-Aware Equivariant Molecular Diffusion
Zhang, Chengyi, Zhang, Xuanxi, Wang, Weizhou
Equivariant diffusion models are widely used to generate three-dimensional molecular structures because they respect the rotational symmetry of molecular geometry. Two properties of chiral molecules remain difficult for them: the relative configuration of stereocenters, which sparse message passing struggles to keep consistent across a structure, and the enantiomeric ratio, which reflection-equivariant generation with reflection-invariant inputs forces to be racemic. We introduce learned handed frames (LHF), which condition an equivariant denoiser on a learned right-handed orthonormal frame represented by three ordered auxiliary nodes connected to every atom. The frame lets reflection-equivariant backbones respond to handedness and adds two-hop paths between atoms, while the backbone, its edge rule, and its diffusion objective stay unchanged. A linear-time encoder learns the frame from clean conformations jointly with the denoiser. Generation fixes the frame to the identity without evaluating the encoder, which preserves the data distribution of every rotation-invariant observable. On Chignolin with 30\% of conformations reflected into the D-enantiomer, LHF improves homochirality and geometric validity over edge-matched controls for all five backbones tested. For EGNN, the homochiral fraction rises from 45.6\% to 85.2\% and validity from 12.0\% to 70.3\%. All LHF models give L fractions of 67.3--70.6\% among homochiral samples against a 70\% target, whereas the reflection-equivariant baselines are nearly racemic.
AdaOPD: Multi-Turn Adaptive On-Policy Distillation of LLM Agents with Prefix Replay
Zhou, Xiaolin, Liu, Jinbo, Luo, Zheng, Hu, Xiyang
On-policy distillation (OPD) trains a student on its own samples with dense supervision from a teacher, but for multi-turn agents every update must interact with the environment. Prefix replay avoids this cost. It replays histories recorded by the teacher, lets the student generate output for the current turn only, and queries the teacher at each token position. Each replayed state, however, joins two segments from different sources: the replayed history may be one the student would rarely reach, and the teacher may assign low probability to the tokens the student has already generated in that turn. We propose AdaOPD, an adaptive on-policy distillation method for multi-turn agents trained with prefix replay. Its adaptivity has two components: adaptive history sampling decides which replayed histories the student trains on, and adaptive token weighting scales supervision at each position in the student's output for the current turn. Both components follow from a KL projection over states that pair a replayed history with the tokens already generated in the current turn, whose solution factorizes into a history weight, a tempered student-to-teacher likelihood ratio on recorded teacher outputs, and a token-prefix weight, a tempered teacher-to-student ratio on the student's preceding tokens. The history weight decides which records are replayed and the token-prefix weight scales per-token KL supervision. We evaluate AdaOPD on mathematical reasoning with a Python interpreter, distilling Qwen3-30B-A3B-Instruct into Qwen3-8B. AdaOPD achieves a state-of-the-art macro-average accuracy across six benchmarks. Including the amortized cost of replay-pool scoring, AdaOPD reduces rollout time per update by an estimated 75% compared with fully online OPD.
When to End, Which to Invoke Next: Transition-Aware Tokenized Procedural Memory for LLMs
Cui, Ruochen, Xu, Qianqian, Bao, Shilong, Han, Boyu, Yang, Zhiyong, Huang, Qingming
One-Token Procedural Memory TokMem has recently emerged as a parameter-efficient paradigm for storing and reusing task-solving procedures in large language models (LLMs), where each procedure is encoded as a compact memory token. This paper investigates a more challenging scenario in which a LLM must reliably orchestrate a sequence of consecutive procedure recalls within a single generation. We identify a fundamental limitation of TokMem-style procedure chaining: while memory tokens provide explicit entry points to individual procedures, the transitions between procedures remain implicit. This overlooked handoff mechanism causes next-procedure selection to become increasingly fragile as procedural chains grow longer. To address this issue, we propose Transition-Aware Procedural Memory (TapMem), a lightweight framework that explicitly models inter-procedure handoffs. The key insight behind TapMem is to formulate each procedure transition as a boundary-conditioned selection problem. Since the next procedure should be selected only after the current procedure-guided span ends, TapMem first introduces Explicit Termination Signal, to make this completion boundary observable. Building on the resulting boundary representation, TapMem further incorporates a Transition-Conditioned Routing Adapter to generate a context-dependent correction over candidate memory-token logits. By intervening only at transition positions and only over memory-token logits, TapMem preserves the original full-vocabulary autoregressive generation process while improving the sparse procedural decisions required for reliable multi-step orchestration. Extensive experiments across diverse procedure-recall settings demonstrate that TapMem achieves promising performance.
QDMAC: Query-Distribution Mask-Aligned Context for TabPFN
Arepalli, Sesank Vardhan, Irrinki, Ujval, Surapani, Rakesh Kumar, Morampudi, Arun, Padi, Praveena
Tabular foundation models accept missing values, but their labeled context may remain fully observed when deployment batches have unavailable feature panels. We introduce the Query-Distribution Mask-Aligned Context (QDMAC), a training-free tabular prior-data-fitted network (TabPFN) transformation that aligns context masks with an unlabeled query batch. QDMAC uses query masks but never query values or labels, assigns masks within label strata to avoid label shortcuts, and requires one TabPFN call. Under heterogeneous panel dropout, QDMAC reduced log loss relative to native TabPFN on seven of eight datasets in a frozen confirmatory study (median gain 0.0491 nats; two-sided exact Wilcoxon p = 0.0234). A separately frozen independent-dataset replication study reproduced the result on 15 datasets from OpenML Curated Classification 2018 (OpenML-CC18): 12 of 15 gains were positive (median 0.0308 nats; p = 0.0103). A supporting claim that QDMAC recovered more than half of the improvement from a multi-call mask-matched comparator was not supported. Exploratorily, QDMAC outperformed median/mode, nearest-neighbour, and chained-equations imputation, and random context masking captured only part of its gain. A post-hoc analysis showed that panel construction depends on the arbitrary integer coding of multi-level nominal features, and the replication test loses significance on the subset of datasets free of them. Matching context missingness to the query-mask distribution can improve TabPFN probabilistic predictions under the tested regime without model training or query content access. The evidence does not establish universal robustness, superiority to tuned conventional learners, or benefits when query masks are unavailable.