Sparse attention typically inherits positional encodings designed for dense attention, despite changing each query's context. Although sparse attention bounds the number of attended keys, these encodings retain large original-sequence distances poorly covered or unseen during training. We argue that positional distances should instead be co-designed with sparse attention, letting long-range interactions share positional representations with short-range ones. To realize this co-design, we make position reindexing native to sparse-attention training: each query's selected tokens receive consecutive positions in their original order during both training and inference, limiting relative distances to the attention budget rather than the full sequence length. Unlike inference-time reindexing in StreamingLLM, native training lets the model adapt to these query-dependent positions rather than merely tolerate them. Applying this rule to rotary position encoding (RoPE) yields ReIndexing RoPE (RiRoPE). A challenge is that query-dependent rotations hinder reuse of rotated keys, erasing the efficiency gains of sparse attention; we address it with structure-aware rotation reuse and fused kernels that preserve tensor-core matrix multiplication without materializing per-pair rotated keys. With matched OLMo-3-7B continued pretraining, RiRoPE outperforms a sparse-attention baseline using RoPE with YaRN at 64K by 6.14 RULER points ($74.10 \to 80.24$) and 4.40 HELMET points ($42.97 \to 47.37$). At 512K---eight times the training length---it retains about 90\% of its 64K RULER score without further training or positional retuning. Native training also outperforms inference-only switching by 21.24 RULER points at 256K. Our work motivates co-designing positional encodings with sparse attention, reframing sparsity not merely as a computational constraint but as an opportunity for better long-context modeling.
https://arxiv.org/abs/2611.37952
Training visual game agents that map multimodal observations directly to native keyboard-and-mouse actions is challenging: offline imitation suffers from costly data collection, diluted action supervision, and poor generalization to unseen states, whereas online reinforcement learning struggles with sparse terminal rewards over long horizons. We propose Apprentice, a three-stage framework that trains a unified visual game agent across diverse games, leveraging lightweight programmatic experts that read internal game states during training as both offline demonstrators and online step-level judges. First, programmatic experts synthesize verified gameplay trajectories at high success rates, which are annotated offline with step-level rationales and goals. Second, Action-Focused Supervised Fine-Tuning cold-starts the agent while counteracting supervision dilution from verbose rationales and repetitive waiting steps without extra inference latency. Third, Expert-Guided On-Policy Learning updates the agent over truncated rollouts via criticality-adaptive on-policy imitation and expert-rewarded policy optimization, providing dense step-level supervision to generalize to unseen states. Across 45 tasks from nine games, our trained agent outperforms the strongest VLM baseline by 39.7% in success rate, 38.6% in progress rate, and 40.0% in task coverage.
https://arxiv.org/abs/2611.37849
Intensive-care records only provide partial observations of a patient: measurements are sparse, irregular and noisy, and their choice and timing follow clinical practices that vary across clinicians and hospitals. Moreover, clinical risk and diagnosis predictions are most useful early on in a stay, and labels for these tasks are scarce and costly to acquire, as many require expert review. Self-supervised pretraining can learn the structure of large unlabelled cohorts and yield reusable representations, but its dominant objectives, masked reconstruction and forecasting, operate in input space: they supervise the representation only through errors on individual measured values, which incentivizes retaining low-level detail instead of semantics. We introduce GLIMPSE (Global Latent Inference and Masked Prediction for Sparse EHR), a sparse masked autoencoder that encodes only observed measurements and adds a latent prediction objective whose target lies largely outside its context: it predicts the representation of a whole stay from a glimpse of it. On two adult and one paediatric cohort, GLIMPSE learns better representations than state-of-the-art self-supervised encoders for mortality, length-of-stay and diagnosis prediction, and its advantage over these encoders grows when labels are scarce and holds when observations are limited.
https://arxiv.org/abs/2611.37749
A training-time attention change is usually judged for zero-shot context extension against a dense baseline beyond the training length at the default temperature, $\tau = 1$. The outcome depends on how miscalibrated the baseline is there: the share of perplexity it recovers when its logits are sharpened by one scalar. Under the standard recipe (fp32 master weights), an 8k-trained baseline is 8-15% miscalibrated at 30k in three seed-paired 365M twins; in one, this makes the block-sparse-trained twin look 7% better, which calibration removes. In pure-bf16 training without master weights the miscalibration is several times larger. An AdamW step ($\beta_2 = 0.95$) on a normalisation gain initialised at 1.0 is below half the bf16 spacing at peak learning rates under $1.7\times10^{-3}$, so the gain never moves (22 checkpoints). The baseline is 37-58% miscalibrated, and block-sparse pretraining, attention dropout and ALiBi look 6-35% better. Calibrating one temperature per model and length removes all three advantages, leaves ALiBi 5% behind RoPE and keeps part of the gain of a positive control, NTK-aware scaling. Unfreezing the gains reverses the block-sparse advantage at 365M and removes 71-89% of it at 1.2B. We recommend reporting extension results at calibrated temperatures and checking that normalisation gains moved.
https://arxiv.org/abs/2611.31113
Vessel segmentation across diverse anatomies and imaging modalities remains challenging due to complex vascular morphologies, large-scale variations, and low contrast. Although foundation models such as the Segment Anything Model (SAM) have shown promising generalization, their conventional sparse prompting at the initial decoding stage provides limited guidance for recovering fine vascular structures. Moreover, the original decoder struggles to preserve tiny vessels and fine-grained details. In this work, we go beyond conventional sparse prompting by proposing reference-guided progressive prototype-prompted SAM (RPP-SAM) for 2D vessel segmentation. It incorporates vascular prompt embeddings into every upsampling stage through a dedicated attention mechanism, enabling progressive refinement of multi-scale vascular features during decoding. However, vascular prototypes typically require ground-truth masks, which are unavailable during inference. To address this, we propose reference-guided vascular prototype learning, which estimates query-specific prototypes from top-$k$ vascular reference graphs retrieved from a database, eliminating the need for query mask annotations at inference. Together, these components enable fully automatic segmentation while preserving fine-grained vascular characteristics. Extensive experiments on 20 public datasets across multiple anatomies and imaging modalities demonstrate that RPP-SAM consistently outperforms existing general medical and vessel-specific segmentation foundation models, improving the overall Dice and IoU by 2.78 and 4.45 percentage points on average, respectively. Code and model weights will be publicly released.
https://arxiv.org/abs/2611.37682
Predicting how unseen perturbations alter gene expression is essential for prioritizing biological experiments. Through a systematic analysis of single-cell perturbation prediction, we show that post-perturbation expression changes combine each target gene's typical response across perturbations with the perturbation-specific effect on that gene. Capturing only the first component via a training-only gene prior (assigning each target gene its majority training label) already attains a differential-expression (DE) Macro-F1 of 0.8814, surpassing every language-model and expression-based predictor we evaluate. LLM mechanistic reasoning stays near chance within each gene. Prompt ablations show that retrieval LLMs instead rely on outcomes of related training perturbations rather than biological text, yet retrieving a few sparse binary labels ignores dense continuous responses across training pairs and often overrides reliable priors. Meanwhile, our error decomposition shows that direct predictive and generative models misestimate gene means or contrast amplitudes, while learned similarity-based transfer still falls well below the gene prior on DE. We introduce RELAY, a lightweight non-LLM method that anchors on training gene means, transfers dense signed and magnitude contrasts over a biological knowledge kernel, and maps them to calibrated DE and direction-of-change (DIR) decisions. Across the four PerturbQA cell lines, RELAY outperforms every baseline, reaching DE and DIR Macro-F1 of 0.8941 and 0.8722 and improving within-gene balanced accuracy by 4.65 and 4.41 percentage points over the strongest baseline. RELAY also outperforms competing predictors on an unseen cell line and best discriminates unseen chemical compounds while nearly matching the gene prior globally. Code: this https URL.
https://arxiv.org/abs/2611.37414
To date, there is limited theoretical justification to show that there exists any reliable way to reason over market information to forecast asset prices. In this work, we propose a new paradigm by forecasting prices by modeling investor behavior in response to market information. RoleCast represents the market as investor archetypes, trains an LLM agent to simulate each archetype's portfolio actions from real-life 13F disclosures, and aggregates these actions into simulated market demand that can yield price forecasts through a closed-form equation. Imitating real investors poses two challenges: investor mandates are private, leaving no direct supervision for specifying agent roles, and the reasoning behind disclosed actions is unobservable, leaving only a sparse reward per decision. RoleCast tackles these in two stages: it searches generated candidate role personas for the one whose optimized agent best reproduces the archetype's disclosed decisions, then uses this agent as a teacher that grades every token of a student's own reasoning traces, providing dense feedback on its thinking process. Experiments on U.S. equities show that RoleCast outperforms state-of-the-art reasoning LLMs that forecast prices directly.
https://arxiv.org/abs/2611.37390
Mixture-of-Transformers (MoT) robot policies typically maintain dense expert connectivity across network depth, yet it remains unclear how much of this connectivity is actually necessary for downstream adaptation. We conduct a systematic empirical study of expert connectivity redundancy by sparsifying pretrained MoT policies during fine-tuning across multiple architectures and robot manipulation benchmarks. We find that substantial portions of dense expert connectivity can be removed while largely preserving downstream performance, and that different sparse masks with matched budgets achieve similar results, suggesting that no particular subset of expert connections is uniquely indispensable. Motivated by this flexibility, we introduce a structured pruning pattern that concentrates cross-expert connectivity in the early layers of the network. Using early-half fusion as a representative configuration, this design maintains comparable task success while enabling practical deployment simplifications, including truncation of unused conditioning layers and reduction of historical KV-cache storage in autoregressive policies. Deployment measurements further show reductions in loaded parameters, GPU memory, and per-chunk latency. Together, our results suggest that dense expert connectivity in pretrained MoT robot policies is substantially redundant, and that structured pruning provides a simple path toward more efficient deployment without training a new model from scratch.
https://arxiv.org/abs/2611.37247
Aerosol forecasting requires integrating sparse ground observations and modeling meteorologically driven concentration evolution and spatial structure. However, analysis-initialized forecasts make limited explicit use of historical observations, while pointwise regression tends to smooth local variations and provides limited constraints on fine spatial structures. In this work, we propose AeroJEPA, a two-stage joint-embedding predictive framework for regional surface PM$_{2.5}$ forecasting. Specifically, Stage I fuses historical observations, model backgrounds, and meteorological information to predict an initial future state, meteorological conditions, and multi-scale structures. Morphology-guided encoding and joint-embedding predictive supervision support learning future spatial representations, supplementing concentration regression with structural constraints. Stage II uses predicted meteorology to guide state refinement and incorporates coarse- and fine-scale structures into state updates and decoding to generate the concentration field at a single future time step. Experiments show that AeroJEPA reduces gridded and independent-station RMSE by 17.23\% and 7.90\%, respectively, relative to PFGNet, while improving spatial consistency with analysis fields. In a 48 h recursive forecasting case study, AeroJEPA generally achieves lower RMSE and MAE than the numerical forecasts across the forecast period, indicating promising short- to medium-range forecasting performance.
https://arxiv.org/abs/2611.30891
Automatic Identification System (AIS) streams often contain long consecutive missing gaps that break trajectory continuity and complicate vessel trajectory prediction. Existing missing-aware models leave these gaps unfilled, using techniques such as padding or attention masking, but their performance deteriorates as observations become sparse. In contrast, imputation-aware models fill missing gaps and incorporate imputation indicators, alleviating data scarcity but risking error propagation when imputed observations attend to one another across extended gaps. To address these challenges, this study proposes the Dynamic Imputation-Discounting Attention Mask Network (DIDAM-Net) for AIS trajectory prediction. DIDAM-Net learns a soft attention mask from missing-value patterns and contextual information to adaptively down-weight unreliable imputed observations, allowing them to provide auxiliary information without dominating prediction. By preserving trajectory continuity while limiting the influence of imputation errors, DIDAM-Net improves prediction accuracy under consecutive missing gaps. Experiments on real-world AIS data demonstrate that DIDAM-Net consistently reduces prediction errors and maintains robust performance under severe data sparsity and across different imputation schemes.
https://arxiv.org/abs/2611.37036
Mixture-of-Experts (MoE) has emerged as a promising paradigm for scaling diffusion models, yet activating a fixed number of experts for all tokens leaves computational redundancy. Existing expert skipping methods mainly target LLMs and overlook the iterative denoising nature of diffusion models, leading to degraded generation quality when directly applied to diffusion MoE models. We analyze the underlying error mechanisms and identify three insights: (i) approximation error depends on expert similarity; (ii) local errors exhibit timestep-layer heterogeneity and cross-prompt consistency; (iii) the impacts of local errors on global error vary across timesteps. Based on these insights, we propose ESEA (Error-Aware Sparse Expert Allocation), a training-free method for diffusion MoE inference. ESEA first adjusts routing weights based on expert similarity to reduce approximation error, then weights calibrated 3D local errors tensor to reflect their timestep-dependent impacts on global error. Finally, dynamic programming minimizes the weighted local error, jointly allocating experts across timesteps and layers under a fixed total expert budget. The routing weight adjustment strategy and expert allocation are determined offline, introducing negligible overhead during inference. Extensive experiments on HunyuanImage-3.0-Instruct, its distilled variant, and LingBot-Video demonstrate that ESEA achieves the best performance among the compared methods under the same expert budget.
https://arxiv.org/abs/2611.36930
Multimodal large language models (MLLMs) often hallucinate visual content absent from input images. Preference optimization is a common post-training approach to mitigate hallucinations, but existing preference signals often rely on LLM judges that can favor linguistic style over visual grounding. We thus introduce Modality-Aware Sparse Autoencoders (MA-SAE), an SAE architecture that separates vision-specific, text-specific, and cross-modal features to provide a visual grounding signal for preference labeling. By isolating modality-specific patterns, such as hedging and stylistic scaffolding, MA-SAE learns interpretable cross-modal features from which we derive a grounding score measuring how well a response is supported by the image. Using its grounding score for preference labeling, MA-SAE substantially reduces hallucinations under Direct Preference Optimization (DPO), consistently outperforming LLM-as-Judge and other preference-labeling methods across three MLLM backbones and three benchmarks. The grounding signal further transfers to mDPO and on-policy preference tuning, where MA-SAE achieves strong overall performance. Further analysis shows that MA-SAE learns more coherent and better-aligned cross-modal features than existing SAE baselines, achieving the best performance across five feature-quality metrics. These results show that interpretable cross-modal features can provide a direct signal of visual grounding, offering an alternative to LLM-as-Judge supervision.
https://arxiv.org/abs/2611.36866
Visual understanding is inherently hierarchical, as high-level semantic concepts are composed of fine-grained, spatially localized components. Yet existing interpretability methods typically focus on a single feature scale, either local or global, leaving a critical gap in understanding the compositional structure between them. Recovering this structure without supervision is particularly challenging, as the correspondence between local and global concepts is latent, varies across samples, and may emerge only through inconsistent or partial patterns. To address this challenge, we introduce Local--Global Sparse Autoencoders (LG-SAE), a multiscale interpretability framework for vision models. The core innovation of LG-SAE is a learned bridge that explicitly captures the compositional relationships between local and global visual concepts. By jointly operating on patch-level and image-level embeddings, LG-SAE learns a sparse, interpretable graph that reveals how high-level semantic concepts are constructed from a small set of spatially grounded components. Building on this representation, we present a unified framework for discovering local-global concept relationships, explaining model predictions through multiscale Concept Bottleneck Models, and steering models via localized concept edits. Extensive evaluations show that our framework: (i) captures meaningful cross-scale concept relations; (ii) enables high-quality spatial grounding without compromising downstream accuracy; (iii) provides human-interpretable model explanations, as validated by a user study; and (iv) facilitates intuitive and effective model steering. Project code: this https URL
https://arxiv.org/abs/2611.36612
An agent that learns a model of its environment from scratch has to choose which data to collect. When the reward is sparse, the reward is no help with that choice until the agent has found the goal. Active inference adds a reason to explore: the expected free energy (EFE) of a plan combines a preference over observations with the information that the plan is expected to give about the agent's model, in one functional. So far, EFE-based planners have explored only in models whose structure the agent is given, and most active inference agents with learned neural models train policy networks or drop the information terms. We plan with an EFE-based planning functional as it stands, by gradient descent through a learned world model with neural features and a Bayesian last layer, which keeps the information gain in closed form. The agent has no value function or learned policy, and the task enters only as a preference prior on observations, whose scale takes the place of an exploration weight; one scale serves all problems. We evaluate the same agent, with one configuration and starting from scratch, on four sparse control problems: pendulum swing-up, mountain car, acrobot and cart-pole swing-up. In its tenth episode, it keeps the pendulum upright in 75% of the steps, the tip of the acrobot above the goal height in 21% and the cart-pole upright in 89%, more than PETS, PETS with an exploration bonus tuned for each problem, MBPO and SAC. Without the epistemic terms, the same agent does not reach the goal in its tenth episode on the pendulum, the mountain car and the acrobot, although a random policy does.
https://arxiv.org/abs/2611.36588
Image-quality improvements after sparse-view computed tomography (CT) reconstruction do not necessarily preserve clinically relevant pulmonary nodule this http URL assessed LesionGuard-CT, which combines projection consistency with lesion-aware reconstruction constraints. Results include a 60-view sparse-angle comparison, measurements across 30-120 views, and component ablations. LIDC-IDRI and its LUNA16 subset define the nodule context; LoDoPaB-CT is considered separately as a projection this http URL 60 views, LesionGuard-CT achieved 36.4 dB PSNR, 0.951 SSIM, 1.04 mm diameter MAE, and 0.790 nodule Dice. The strongest listed comparator, FLIC, achieved 36.0 dB, 0.948, 1.23 mm, and 0.750, respectively. Diameter MAE improved over the best comparator at 30, 60, 90, and 120 views. Removing the lesion term increased diameter MAE to 1.25 mm and missed-lesion count from 8 to 14. Interpretation: The results support the value of measuring lesion fidelity alongside image reconstruction quality under the studied simulation protocol. They do not establish a reduction in delivered radiation dose or clinical deployment readiness.
https://arxiv.org/abs/2611.36508
Estimating how many actions are needed for an agent to move between distant states is difficult. The Minimum Action Distance (MAD) formalizes this quantity, but approximations learned from experience can be locally accurate yet unreliable over long horizons. We introduce hierarchical distance decomposition, a post-hoc method that improves long-range estimates by composing local predictions through a sparse graph of landmark states. It can be applied to any existing learned distance model without retraining. We present theoretical results that bound errors in the resulting distance estimates and establish order preservation for sufficiently separated state pairs. Empirically, the method improves both long-range distance estimation accuracy and downstream planning performance.
https://arxiv.org/abs/2611.36430
Reinforcement learning is increasingly used to post-train vision-language models for image-to-code generation, such as generating SVG code from a reference image, by optimizing rewards computed from the final rendered output. However, relying on a single terminal reward provides sparse feedback that is poorly aligned with the contribution of individual tokens. A generated program may contain operations that accurately reproduce some parts of the target image alongside others that introduce errors, yet all tokens are trained from the same final outcome. We observe that many intermediate code prefixes are not only executable, but already produce meaningful partial renders that reflect progress toward the target. This property provides a natural source of denser supervision during generation. Based on this observation, we introduce IR4RL, an RL framework with a token-level render-progress reward that turns changes between intermediate renders into localized feedback for the generated sequence. We evaluate our approach on Image-to-SVG and Image-to-TikZ generation. Across both tasks, our method improves over supervised fine-tuning and standard GRPO, yielding new state-of-the-art open-source models. This shows that intermediate rendering provides a simple and effective source of process supervision for RL post-training of image-to-code models.
https://arxiv.org/abs/2609.34587
Closed-loop validation of autonomous driving requires surround-camera video streams that preserve 3D geometric coherence across overlapping views, remain visually stable over multi-minute rollouts, respond faithfully to counterfactual maneuvers, and run at real-time sensor rates. We present BoschDreams-7V, a controllable seven-camera world model that decouples physical state evolution from neural sensor synthesis. An explicit 3D simulator advances traffic dynamics and projects HDMap vectors and oriented 3D bounding boxes into each calibrated camera. This lets a 28-block causal Diffusion Transformer focus on photorealistic rendering over a sparse 7-edge (14-directed-edge) physical rig adjacency graph. A four-stage curriculum progresses from a bidirectional surround teacher and a block-causal student through few-step self-forcing distillation to Antiphon Forcing. This final stage combines a Layout-Aware Kernel Score (LAK) with role-decoupled writer and denoiser low-rank adapters and decoder vector-Jacobian memory backpropagation to resolve inter-role gradient conflict. Paired with exact in-place rotary position rebasing and compiled FP8 kernels, BoschDreams-7V delivers two operating points on a 600-scene surround benchmark. In the real-time 480p 1-step tier, it streams seven cameras synchronously at 10.85 FPS per camera (exceeding the 10 Hz camera clock) with 80.19 seven-view FVD, 7.02 m ego-trajectory ADE, and 119.53 late-window FVD (-68.0% vs. Stage III). In the high-fidelity 720p 4-step tier, it achieves 84.35 seven-view FVD (99.67 late-window FVD), 4.90 m ADE, and 380.50 cross-view LoFTR matches. As a stochastic flow-bridge fixer, it improves degraded 3D Gaussian Splatting renders by a mean of +1.26 dB PSNR (up to +2.12 dB) while reducing FID by 29.6% (up to 38.0%), FVD by 34.7% (up to 45.7%), and BEV feature distance (FBD) by 17.5% (up to 25.6%).
https://arxiv.org/abs/2611.36334
Multilingual vision-language models exhibit cross-lingual disparities in hallucination, even when the image and question semantics remain unchanged. We hypothesize that small language-dependent deviations in hidden states accumulate during autoregressive decoding, progressively weakening visual grounding. Motivated by this butterfly effect, we propose Multilingual Visually Protected Language-Residual Steering (MVP-Steer), a training-free method that applies lightweight hidden-state corrections throughout generation. We decompose hidden representations into language centroids, cross-lingually shared semantics, visually sensitive components, and language-dependent residuals. During decoding, we selectively attenuate non-shared residuals while protecting language identity, shared semantics, and visual information. Across three VLMs, ten languages, and three benchmarks, MVP-Steer reduces hallucination by up to 13.8% while preserving generation quality, achieving a better trade-off than existing training-free methods. Further analysis shows that frequent small corrections achieve a more favorable balance between hallucination reduction and visual coverage than sparse interventions under matched perturbation energy, supporting the proposed butterfly-effect mechanism.
https://arxiv.org/abs/2611.35792
Vector databases and near-duplicate detectors compress high-dimensional vectors for rapid query comparison. One-bit sketches retain only the signs of random projections, estimating inner products either by correlating a sign code against a full-precision query (the asymmetric estimator) or by comparing two sign codes directly (SimHash). Existing guarantees rely on dense Gaussian projections, whose cost dominates encoding in high dimensions. The fast Johnson-Lindenstrauss transform (FJLT) offers a fast alternative: after a randomized Hadamard transform spreads coordinate energy, a sparse Gaussian matrix with roughly $r$ nonzeros per row replaces the dense projection. Signing an FJLT output is the natural fast one-bit sketch, yet has lacked theoretical guarantees. We prove nonasymptotic bounds for both the classical FJLT and a balanced variant with exactly $r$ nonzeros per row, equalizing workloads, simplifying vectorization, and reducing variance in captured energy. Conditioned on its support, a sparse Gaussian row remains an exact Gaussian projection, viewing data through a randomly distorted metric. Taking signs turns this distortion into a systematic bias that adding rows cannot average away. We bound this bias by an explicit constant times $w/r$, where the cap $w$ measures peak coordinate energy after preconditioning. Thus, $O(\varepsilon^{-2}\log(N/\delta))$ rows with $O(\varepsilon^{-1}\log(nN/\delta))$ nonzeros per row estimate $N$ cosine similarities in $\mathbb{R}^n$ to accuracy $\varepsilon$ with probability $1-\delta$: one-bit quantization increases row density rather than sketch length. Matching lower bounds show the $\varepsilon^{-1}$ sparsity factor is unavoidable for the asymmetric estimator at small $\varepsilon$, while at full precision we recover the optimal sparsity of the linear FJLT with explicit constants.
https://arxiv.org/abs/2611.35730