Anúncio

SRExpert

Pare de alternar entre 6 ferramentas de Kubernetes.

Monitoramento, alertas, segurança, deploys Helm e operações com IA numa só plataforma.

Testar 30 dias grátis

Tópico

LLMs

3.934documentos

254últimos 7 dias

arXiv AI Papers

LensLapse: In-Browser Logit Lens for Interactive Exploration of Language Model Training Dynamics

The logit lens is a standard mechanistic interpretability tool for inspecting a Transformer's predictions across layers. However, existing logit lens tools typically focus on individual checkpoints rather than interactive exploration of a model's training history. In this study, we introduce LensLapse, an open-source web application for interactive exploration of a model's training history through token-level interpretability. Users can scrub a slider across public checkpoints from five model families and three multilingual checkpoint suites and observe how per-layer, per-position logit lens predictions evolve from frequency bias to factual knowledge. For browser-compatible models, arbitrary user prompts are probed live in the browser via local inference over per-checkpoint model pairs. No server, no API key, no hosting cost, and prompts never leave the user's device. Moreover, LensLapse supports local models. A single pip install enables users to launch the application and explore their own models and training checkpoints without any additional web setup. LensLapse is MIT-licensed and permanently hosted at iamtatsuki05.github.io/lenslapse.

en
arXiv AI Papers

Interpreting Driving World Models with Spatial Block-Sparse Features

Driving world models (DWMs) unify scene prediction and action generation, but their internal representations remain opaque. Dictionary-based mechanistic interpretability (MI), including Sparse Autoencoders (SAEs), can disentangle language-model activations into interpretable concepts. However, visual driving scenes lack standardised object and relational descriptions that can be linked consistently to dictionary units. We introduce Ego-centric Attributed Road Scene Graph (EARS-Graph), a traceable scene graph representation that grounds dictionary units in spatial entities and quantifies relational fidelity. Extracting spatially coherent concepts remains challenging: Block-Sparse Featurisers (BSFs) group correlated directions into multi-dimensional blocks, but reconstruct tokens independently without coupling object representations across neighbouring tokens. We therefore propose Spatial Block-Sparse Featurisers (spatialBSF), which pairs spatial decoding across neighbouring tokens with residual refinement, updating block selection and coefficients from reconstruction error. We evaluate spatialBSF on NAVSIM across three frozen DWMs: DriveWAM, SimWAM, and DriveLaW. We also contribute multi-layer activation datasets and trained SAE and BSF checkpoints, paired with EARS-Graph semantic references and evaluation code, to support future research on mechanistic interpretability of DWMs. Our eleven-task EARS benchmark evaluates dictionary-unit localisation and the accessibility of relations and object states. spatialBSF achieves the highest mean activation reconstruction fidelity, while EARS rankings vary by dataset and readout. Finally, interventions on spatialBSF blocks shortlisted using EARS-Graph prevent simulated at-fault collisions in two selected SimWAM fitting scenes.

en
arXiv AI Papers

Jev-GR: Autoregressive Semantic ID Prediction with a Decision LLM for Generative Recommendation

Large language models (LLMs) have spurred interest in generative recommenders that use item descriptions alongside interaction histories to predict what a user will choose next. Generative recommenders retrieve items by predicting semantic identifiers (SIDs) one symbol at a time. Users who reach the same SID prefix face the same catalog-valid continuations, yet their histories can favor different subtrees. An observed item's path supplies a ranking signal only at prefixes with competing continuations. We propose Jev-GR, which encodes a user's historical SIDs, their corresponding item descriptions, and the current prefix with a Qwen backbone and an OpenJev-initialized adapter. A depth-specific projection scores the valid next symbols from one shared prefix state. Supervised fine-tuning averages each target's loss over its branching positions, and beam search ranks unseen items by the cumulative log probabilities of their paths. On the Amazon Industrial and Scientific and Tools and Home Improvement (5-core) datasets, Jev-GR achieves Recall@20 of 0.0893 and 0.0453, respectively, compared with 0.0721 and 0.0349 for the strongest baseline on each dataset. Ablation study shows that Recall and NDCG fall on both datasets when the adapter is frozen or the loss is normalized by the full SID length.

en
arXiv AI Papers

When the Winner's Curse Protects: Exact Update Audits After LLM Model Selection

Modern large language model (LLM) production relies on continual checkpointing and model selection across fine-tuning runs, prompts, and adaptation recipes. Because decoding and verification are costly, selection typically rests on a single pass over a finite validation panel. Under the classical winner's curse, picking the top scorer without adjustment incurs upward bias from favorable random error realizations. Standard practice therefore discards these cached scores when auditing a follow-up update, forfeiting up to half the paired sample under a fixed evaluation budget. We invert this bias into a provable safeguard for upgrade certification: because parent optimism enters the child-minus-parent gain negatively, panel reuse suppresses false upgrades while supplying up to twice as many pairs. Building on this asymmetry, HybridCertified pairs an exact one-sided McNemar gate that guarantees conditional finite-sample false-upgrade control under arbitrary within-item candidate correlation with deterministic completion certificates for zero-distortion early stopping. Across 224 LLM cohorts spanning Qwen3-8B and Mistral-7B, HybridCertified reliably blocks forgetting and overfitting regressions while preserving beneficial updates, eliminates normal-test Type-I inflation, improves accuracy over a calibrated fresh audit on power-limited updates, and saves up to twice as many virtual queries, skipping over 70% of the budget on degrading updates.

en
arXiv AI Papers

Tracing LLM Bias across Training: an Empirical Study on Bias Emergence, Training Configurations, and Mechanisms

Large language models (LLMs) have been widely reported to exhibit social biases. While substantial work has studied how to evaluate or mitigate bias after training, how different biased behaviors arise, evolve, and are mechanistically shaped during LLM training remains underexplored. In this work, we present a systematic empirical study on LLM biases across pre-training, mid-training, and post-training, examining bias emergence, the effects of training configurations, and underlying mechanisms. Our experiments cover over 780 model checkpoints, including 10 random training seeds and 25 pre-training data recipes, across multiple model families and bias types. We also apply cross-model activation patching to explore how post-training reshapes the mechanistic representations of LLM biases established during pre-training. The extensive results and analysis show that LLM biases emerge very early during pre-training, while the overall bias remains stable through mid-training and post-training, with only some bias types shifting slightly. Post-training largely preserves the causal contribution patterns associated with LLM bias and slightly changes stereotypical preferences varying across bias types and models. These findings suggest that effective debiasing requires interventions during pre-training, rather than relying on post-training alignment. We hope our findings can inspire more effective training-time debiasing methods for LLMs.

en
arXiv AI Papers

Four Logged Interactions for Control of New Shapes: A Frozen Vision-Language Model Meets Latent World Models

We study how a frozen vision-language model uses a small record of physical experience to control objects beyond those in the record. PREP turns four logged action sequences into forecasting exchanges with outcome feedback, freezes the transcript, and reuses it for direct goal-image control. On 350 PushObj episodes, adding this record to Claude Opus 5.5 raises success from 12.9% to 65.4%, with unchanged weights and control queries. On three shapes excluded from task-specific data, success reaches 62.7%, versus 14.7-28.7% for DINO-WM, LeWM, and JEPA-WM trained on 20,000 trajectories. The strongest world model remains competitive on training shapes: 63.0% versus PREP's 67.5%. Thus useful control already emerges from logged transitions, with the full practice record performing best. A seven-photograph instantiation on a Franka arm achieves 10/20 successes versus 7/20 without the record and 11/20 for V-JEPA 2-AC; identical-input replay localizes the benefit to lateral action commands.

en
arXiv AI Papers

Abstractions for Scaling Reinforcement Learning in JAX

Reinforcement learning (RL) is no longer confined to games and simulated control but has become central to the post-training of large language and vision-language-action models. We present boonta, a distributed RL library in JAX that unifies these settings under one set of abstractions, which keep the techniques for scaling out of algorithms and environments. Its training loops, networks and data sources provide multi-GPU training, asynchronous collection, reduced precision and custom kernels, so the same algorithm implementation runs from CartPole to the post-training of a language model. PPO on Craftax-Classic scales across the GPUs of a node, the recurrent behavior cloning implementation pretrains GPT-2, and recurrent GRPO post-trains Qwen3 to play a number-guessing game through tool calls, all without changing the algorithms. With the same settings, boonta matches the throughput of Stoix on most benchmarks, and its scaling techniques make it faster with large batches. The code is released under the Apache 2.0 license at https://github.com/noahfarr/boonta.

en
arXiv AI Papers

Do MLLMs Have Human-Like Spatial Commonsense?

Spatial commonsense is an innate human ability that enables people to understand scene layouts and infer unseen content. Despite rapid advances in multimodal large language models (MLLMs), whether they possess human-like spatial commonsense remains an open question. To this end, we introduce SCRO-Bench (Spatial Commonsense Reasoning using Occlusion), a benchmark that uses occlusion to evaluate whether MLLMs possess spatial commonsense and the ability to leverage it in reasoning. The benchmark introduces occlusion into images of object clusters drawn from counting datasets, requiring models to apply spatial commonsense cues (e.g., cluster boundaries and layout completeness) to determine whether a specified occluded region covers at least one instance of the queried category. SCRO-Bench comprises 1,672 natural images, covering 120 object categories, along with two controlled synthetic test sets. We evaluate eight MLLMs and establish a human baseline, finding that the evaluated models perform substantially worse than humans and exhibit higher false positive rates than false negative rates overall. Further diagnostic and commonsense guidance experiments suggest that models possess some spatial commonsense but have yet to attain human-like competence, while explicit commonsense guidance can improve their performance. SCRO-Bench provides a foundation for evaluating and improving the capabilities of MLLMs that utilize spatial commonsense in reasoning. Project page: https://wuxianjingong123.github.io/scro-bench/

en
arXiv AI Papers

InsightPro: Condensed Domain Knowledge as a First Step toward Autonomous Research

Research ideation is a pivotal first step toward autonomous scientific discovery. Human researchers often identify important problems in accumulated literature knowledge and connect insights within or across fields to propose new explanations or mechanisms for solving problems. Inspired by this process, we combine reusable external knowledge organization with reasoning in an agent's limited working context. We introduce InsightPro, a literature database that synthesizes AI research into compact insights and problems linked to supporting papers, enabling agents to access a field's accumulated research knowledge before ideation. We use this resource to guide agents in selecting problems, connecting insights, developing mechanisms, and checking contributions against prior work. Across 38 research domains and five generation models, single-agent and multi-agent prompting workflows based on this database lead adapted research ideation baselines in contribution, importance, novelty, and literature novelty under two independent LLM judges, and are in the first tier in soundness and proposal quality. These results support a human-inspired approach to automated research ideation: organizing accumulated knowledge into an inspectable external structure and using it to guide problem selection and mechanism design.

en
arXiv AI Papers

LACE: LLM-Anchored Compact Experts for Irregular Time-Series Forecasting

Measurements in a multivariate time series often arrive on different schedules. A forecaster must decide how much to learn from each channel's history and when observations of another channel can help. We propose LACE (LLM-Anchored Compact Experts), which shares a small set of temporal forecasting bases across channels. A frozen large language model (LLM) encodes training-history summaries and available channel metadata into low-rank coordinates. The forecaster uses these coordinates to adapt expert coefficients and to exchange standardized forecast changes across channels. Both operations are gated by the observed history. The LLM runs during offline compilation. The resulting forecaster has 1,992--6,867 trainable parameters. Compared with thirteen baselines, LACE has the lowest mean squared error (MSE) on all four benchmarks and the lowest mean absolute error (MAE) on three, averaged over five seeds. It ranks second on USHCN MAE. Relative to APN, mean MSE falls by 4.01% on HumanActivity, 2.64% on USHCN, 2.87% on PhysioNet, and 5.33% on MIMIC-III.

en
arXiv AI Papers

Compare Before You Pack: Single-Pass Joint Evidence Selection for Long-Term Conversational Memory

Long-term conversational agents answer queries over hundreds of sessions where few turns support the answer. Verbatim retrieval scores turns individually for topical relevance, missing state updates, multi-turn links, and cross-query calibration, forcing systems to feed noisy, outdated turns inside a fixed top-k window. Most memory systems therefore rely on offline LLM memory construction to resolve conflicts, link sessions, and compact context, burning tens of millions of tokens and irreversibly losing dates or phrasing. To recover these benefits directly over lossless verbatim retrieval, we propose Vernier, a single-pass evidence selector trained over frozen retrieval. Given a query and retrieved candidates, Vernier compares all turns bidirectionally in one forward pass, retains compact evidence sets, and prunes redundant or outdated turns within a budget under one fixed threshold. Evaluated zero-shot across five readers and four benchmarks up to 1.5M tokens, Vernier beats offline builders by +7.7 pp on LongMemEval-S with zero LLM builds. It also outperforms full-budget reranking by +2.5-2.8 pp on LongMemEval-S/M using 50%-57% fewer tokens, matching end-to-end latency on LongMemEval-S.

en
arXiv AI Papers

Local-First RSI: Deterministic-Verifier Self-Improvement Loops for LLM Agents on Apple Silicon

Self-improvement loops for LLM agents--propose an edit, evaluate, keep if better--have only been shown with cloud frontier models as optimizer and LLM-judge, human, or RL-executor graders. We present LDV-RSI, the first self-improvement loop operating entirely on consumer Apple Silicon: a local open-weight proposer (8B) mutates a compaction prompt, a local open-weight model (4B) executes it, and the keep/rollback gate is a frozen deterministic verifier--a pure function of output versus fixture, gated by a paired sign-flip permutation test. The loop's only cross-round state is a verdict-gated evolution memory of SIM-shaped records. Across 9 loop runs (3 seeds x 3 information arms) on an M5 Max, every run whose gate accepted >= 2 candidates improved 2.5-3.1x over the baseline prompt (0.650 -> 1.6-2.0 on a 2.0 oracle ceiling, zero cloud calls), at ~21 minutes per kept improvement, the gate itself costing zero model tokens. Three negative results are as load-bearing as the positive ones: (1) pooled two-sample gates are systematically conservative on heterogeneous task sets and stall the loop--pairing fixes it; (2) a weak proposer starves without verbatim failure evidence, and evolution-memory summaries alone cannot be shown to add value on top of evidence (all arm means fall inside the ~0.3-0.4 re-score noise floor); (3) across three gated trials with 11 planted grader-hack decoys, a local 32B LLM judge kept 8/11 decoys and never selected the genuine improvement, while the deterministic gate kept 0/11 decoys and the genuine candidate in every run--at local scale, selection signals must not share a loss surface with the thing they grade. We release the loop kernel as a pure-stdlib library and give a budget accounting for RSI under unified-memory constraints.

en
arXiv AI Papers

LiveCue: Your VLM Is Secretly a Proactive Streaming Assistant

Streaming video assistants must follow ongoing user tasks and decide whether, when, and what to report as events unfold. These requirements differ from the query-driven generation paradigm of conventional vision-language models (VLMs), and recent approaches increasingly develop this capability through specialized streaming training. We revisit this trend and ask how far general-purpose VLMs can go without any additional training. We first provide a comprehensive analysis of the paradigm difference and of how these models behave when moving from query-driven responses to continuous proactive interaction. Our analysis shows that existing VLMs can already produce strong task-relevant answers, while struggling to translate this ability into reliable continuous interaction: their reports are not consistently shaped by user intent, task progress, and prior deliveries. Guided by this analysis, we introduce LiveCue, a training-free harness built from a few simple designs that organize the existing capabilities of frozen VLMs. LiveCue selects reusable interaction specifications according to user intent and commits each delivered response to task-appropriate state while pacing subsequent inference, guiding when to wait, respond, or provide an update. Without any training, LiveCue leads all compared streaming-trained models and agent frameworks on six proactive interaction benchmarks, and it improves consistently across three VLMs as the backbone becomes more capable. These findings show that general-purpose VLMs already hold much of what proactive interaction requires and lack mainly its organization; once organized, they form a strong and often overlooked basis against whicch the gains of specialized streaming training can be measured.

en
arXiv AI Papers

RoboGrade: Measuring Robotic Execution Quality Beyond Binary Success

Evaluating robotic manipulation solely through binary task success overlooks substantial differences in execution quality. Executions with identical outcomes may differ in intermediate progress, harmful events, retry attempts, and recoverability. These distinctions are particularly important as vision language models (VLMs) and learned reward models are increasingly used to evaluate robotic behavior and guide policy improvement. However, existing datasets employ heterogeneous outcome definitions, and it remains unclear whether current evaluation methods adequately capture execution quality beyond task completion. We introduce RoboGrade, a unified framework and benchmark for multidimensional evaluation of robot execution, comprising approximately 2,300 manipulation episodes from 23 sources spanning 15 robotic embodiments and 729 task groups. We establish a task-grounded annotation protocol covering task completion, progress, harmful events and their severity, retries, and recoverability. Building on these dimensions, we propose the Robotic Execution Quality Score (REQS), a standardized 0--5 measure of overall execution quality. We validate REQS against independent human pairwise preferences, achieving 80\% agreement, close to human-to-human consistency as well as validate the downstream utility of REQS for training data selection, especially on small scales. Using this framework, we systematically benchmark open-weight and proprietary VLMs on their ability to assess execution quality from visual evidence. Our results reveal that, despite strong performance in task success recognition, current VLMs struggle to reliably assess broader execution quality dimensions. These findings highlight the gap between recognizing task outcomes and evaluating the quality of robotic behavior. We publicly release the benchmark, annotations, scoring and evaluation framework.

en
arXiv AI Papers

Adversarial Procedural Modeling: Learning Programs for Building Interiors

We propose Adversarial Procedural Modeling (APM): a framework in which a Generator Agent uses a language-model backend to write and revise a reusable probabilistic program rather than construct each 3D scene through individual placement instructions. The generator runtime executes the probabilistic program via an interpreter and can generate a wide variety of scenes through random sampling. A separate Discriminator Agent writes code that checks generated batches of 3D scenes against constraints and reference statistics, and provenance records trace each failure back to the source line that produced it. The language-model cost is paid once, during development. We demonstrate a realization of this principle for generating building interiors. Generation proceeds from a task specification through an architectural program (a semantic graph), architectural layout, furniture placement, and asset placement. Our results show large improvements in layout quality and generation speed. Compared to Infinigen Indoors, 70% of users prefer our results in a blind pairwise comparison, while our generation speed is 450x faster.

en
arXiv AI Papers

State-Dependent Hybrid Computing for Robust and Efficient LLaMA 3.2-1B Inference Under Noisy Compute Models

Large language models (LLMs) rely on compute-intensive matrix operations, making efficient inference increasingly difficult as sequence length and model size grow. Analog computation can improve efficiency, but may also degrade model accuracy. This paper proposes a dynamic hybrid computing architecture that adaptively selects between a noisy analog and digital execution at runtime based on noise level, context length, token entropy, and activation statistics. Rather than using a fixed layer-wise execution strategy, the proposed method performs state-dependent routing that better balances output quality and compute cost. By using a Gaussian noise model to simulate compute-in-memory (CIM) hardware noise on WikiText-2 with LLaMA 3.2-1B, we observe that the proposed method reduces a normalized compute-cost proxy by 45\% relative to FP16 while limiting perplexity degradation to approximately 8.2\%. These results indicate that runtime-aware precision routing is a promising strategy for improving efficiency under noisy analog computation, although validation on hardware-calibrated analog CIM remains a future work.

en
arXiv AI Papers

Rotation Is Not Enough: Precedence Cycles and the Design of Order Averaging for LLM Readers and Judges

Language models that answer multiple-choice questions or judge candidate responses change their outputs when the options are reordered. The standard remedy averages predictions over cyclic rotations of the list, and the standard audit measures disagreement across those same rotations. We show that both are blind to one family of order effects. Precedence cycles, which depend on the circular orientation in which items appear, survive every rotation: rotation moves each item through every slot but never reverses that orientation. We give an exact spectral account of order averaging on the symmetric group. Every subgroup-coset design leaves a computable blind spot, its expected Brier excess equals the order energy inside that blind spot, and an audit on the same orders sees exactly the complement. Reversal-closed, adjacency-balanced terrace designs such as Williams squares remove every precedence cycle at the cost of rotation for even K. In an internally sealed, two-stage preregistered study on seven open backbones, six-pass Williams averaging on six-option MMLU-Pro cuts order-induced Brier excess by 61.2% and 40.0% relative to rotation on two 2026 frontier models (absolute reductions 0.0050 and 0.0083) and by 56.5% and 51.0% relative to random reversal pairs. It lowers both Brier excess and anchor-to-anchor answer flips (by 4.3-7.8 percentage points) relative to rotation on all seven backbones, keeps its frontier fidelity gains at eight and ten options, and lowers exact order energy on all five RewardBench 2 judges.

en
arXiv AI Papers

Asymmetric Activations Keep Sinking Preactivations: A Mechanism of Plasticity Loss in MLPs and CNNs, with the kunekune Activation

Three phenomena known in continual learning (the negative shift of preactivations, the decline of activation derivatives, and the linearization of units) are connected by a single mechanism. Each time a task is learned, the readout aligns with the current task, and at the next switch this alignment produces a gradient that lowers the mean of the preactivation. This gradient is carried by the paths of the input mean, the bias, and the upstream that moves with learning; with asymmetric activations the mean shifts deep into negative values, and growth of the preactivation scale increases the depth. Units that have shifted negative lose their activation derivative, and adaptation to new tasks slows. The first stage is shown by derivation and observation; stages 2-4 are tested by interventions in MLPs and CNNs without normalization layers. On random-label sequences, blocking the paths preserved adaptation; capping the scale kept the ELU MLP from collapsing; and swapping only the activation derivative, with activations and predictions kept identical, changed adaptation in both directions. In the MLP with real labels, the network with the paths blocked scored lower than the unmodified network (post hoc). On the Continual ImageNet, at the learning rate at which the unmodified network loses plasticity, the path-blocking intervention and kunekune, an activation whose curvature scale is matched to the standard deviation of the preactivation, removed the loss, and the derivative swap moved adaptation in both directions. On Permuted MNIST, at the same learning rate, they reduced the loss by about 70-80% but did not remove it. The seven existing methods compared by Kumar et al. were placed alongside. In a Transformer and a small language model that share the output layer or embeddings across all tasks, the interventions that worked acted on those shared parts (the boundary of the mechanism's scope).

en
LLMs — overfeed.news