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

Hardware e Chips

855documentos

57últimos 7 dias

arXiv AI Papers

KEEP: Dynamic Expert Sparsification for Mixture-of-Experts Models

Expert pruning, the process of removing a subset of routed experts from a Mixture-of-Experts (MoE) model, is a popular way to reduce the size of MoE models. However, currently, state-of-the-art methods fail to push beyond the 50% sparsity mark without significant accuracy degradation. Specifically, past this mark, models usually become task-specific or collapse in accuracy. In this paper, we show that this accuracy degradation is linked to their pruning objective being static, that is, independent of the specific user prompt. We find that expert importance is concentrated within individual prompts but varies across prompts, domains, and between prefill and decoding. Motivated by this observation, we propose KEEP, which dynamically selects experts for each request. KEEP runs prefill on the full model and uses its routing information with a lightweight, offline-calibrated linear predictor to select the experts retained for decoding. Furthermore, we co-design a serving engine that places the kept set across GPU, host memory and disk, so that decoding never reads from disk. We show that KEEP can successfully push beyond the 50% sparsity barrier while remaining accurate and being deployable: across three MoEs from 35B to 749B parameters, KEEP retains 99% of dense accuracy at 50% sparsity and 90-97% at 75%, outperforming static pruning methods. Across devices and models, KEEP enables decoding fully on GPU or GPU+host where this was previously not possible, and increases decoding throughput by up to 3compared to specialized MoE serving engines such as FreeToken, as well as the widely adopted llama.cpp. Code is available at https://github.com/IST-DASLab/keep-engine

en
arXiv AI Papers

Clay v1.5: An Open Sensor-Agnostic Earth Observation Foundation Model

Earth observation imagery serves environmental, climate, and humanitarian work at global scale, but turning it into actionable insights often takes specialist pipelines and large amounts of compute. Foundation models aim to provide one reusable backbone generalizing across tasks. Clay v1.5 is an open (Apache-2.0), 311M-parameter ViT-L/8 masked autoencoder for Earth observation. It is conditioned on band wavelengths and ground sample distance (GSD), so one frozen checkpoint embeds optical and SAR band combinations across resolutions. It was pretrained on 72.1M 256x256 pixel chips from seven public collections (LINZ, NAIP, Sentinel-1/2, Landsat 8/9 L1 and L2, and MODIS). The Clay project released it in November 2024 without a technical report until this one. We document the released model and its two-stage training. We evaluate the model on 43 benchmarks (0.1-300 m GSD, 2-21 bands). We take classification scores from an independent leaderboard, run Clay v1.5's segmentation through the same harness, and run the tasks the leaderboard does not cover ourselves. General RGB backbones lead on RGB scenes. Multi-temporal Sentinel models lead on seasonal crop, land-cover, and tree-genus tasks, where Clay is weakest. Clay's median score on the leaderboard's 15 classification datasets is 98% of the best model, and its median over all 43 benchmarks is 94%. With a frozen linear probe, it leads two 0.1-1 m segmentation tasks, where models with multi-scale decoders score higher. We close with four lessons from two years of use, on decoders, readout and cross-sensor alignment, dimensionality reduction, and probe choice.

en
arXiv AI Papers

ClockRace: Temporal Graph Prediction from Addressed Time-Referenced Records

Temporal graph benchmarks reward models that keep the right evidence about who interacted with whom, and when. We present ClockRace, a family of temporal graph predictors whose state is a set of sparse records addressed by the entities, pairs and relations that later queries name. Each record holds a few numerical history values and a time reference. An interaction updates only the records it addresses, and a query brings the records of its source and its candidates to the query time. Candidate-specific causes read these records, a small learned map turns each read into a hazard, and the prediction is the race among the candidates: the probability that a candidate's clock fires first, which is a softmax over log-hazards. On link, heterogeneous and knowledge-graph tasks, training draws each race's competitors from the training data by the rule the benchmark uses to sample its negatives. On 14 datasets of TGB and TGB 2.0, covering node affinity, link prediction, and heterogeneous and knowledge-graph forecasting, the mean test score over five seeds exceeds the best posted test score on each of these leaderboards, as read on 24 November 2026, and every seed exceeds it. Margins range from +0.002 MRR on tkgl-polecat to +0.46 MRR on thgl-myket. The models use no per-node embeddings, train 2,039 to 81,178 parameters, and run on one CPU thread per seed, or one GPU for the 1.2-million-entity tkgl-wikidata.

en
arXiv AI Papers

Beyond Persona Prompting: Latent-Conditioned Language Models as Psychometrically Valid Synthetic Respondents

Large language models have been proposed as "silicon samples" -- synthetic respondents that stand in for human participants in survey and psychometric research. Existing approaches mostly prompt a model with a persona description and read back answers, which we show reproduces human factor structure only weakly. Instead, we keep an instruction-tuned model frozen and train a soft prefix and low-rank adapters that inject a continuous five-dimensional Big Five latent score estimated from human data. We read each Likert response directly from the model's next-token digit logits, and we build a synthetic population by sampling latents from the empirical covariance of human factor scores. The resulting silicon population attains fair factor congruence with the human five-factor structure on held-out items (Tucker congruence 0.85), transfers to a different inventory with different items and item format (IPIP BFI-2 0.80 Tucker congruence, just below the conventional .85 threshold), and preserves the sign pattern of the inter-factor correlations (r 0.95). Most importantly, the population reproduces emergent, non-injected nomological links: administered four never-seen, non-personality instruments (grit, self-esteem, leadership emergence, procrastination), it recovers the literature-documented dominant Big Five correlate with the correct sign in every domain and, under multivariate regression, isolates the theoretically dominant trait in every checkpoint for grit and leadership while reproducing the weaker multi-trait patterns reported for self-esteem and procrastination -- even though those domain-trait relationships appear nowhere in the injected covariance. All results are obtained with two open-source models, Qwen2.5-1.5B-Instruct and Llama-3-8B-Instruct, running locally on a single consumer-grade GPU with relatively few trainable parameters.

en
arXiv AI Papers

SpecZip: Efficient Speculative Drafter Training on Compressed Hidden-State Caches

Recent speculative-decoding drafters such as EAGLE-3 and DFlash learn from the hidden states of the target model. Offline training computes and caches these hidden states once, and therefore needs 2-3x less GPU time than online training, which recomputes the hidden states at every step. For a standard training corpus, however, the BF16 cache takes 34-55 TB and does not fit on the local disk of an 8-GPU node. The cache can be compressed with methods developed for KV caches, but quantizers that spread bits equally across dimensions substantially shorten the acceptance length of the drafter. We trace this loss to two properties of the cache. First, as in a KV cache, 99% of the variance of target hidden states lies in 32% of the principal components, and compression must therefore allocate bits by variance. Second, unlike a KV cache, the cache is training data: the drafter learns without the low-variance components but receives the full hidden states at serving, causing a train-serve mismatch. Based on these observations, we propose SpecZip, a system for training drafters on a compressed cache. SpecZip compresses the cache with PCA and reverse water-filling (PCA-RWF), which allocates bits by variance without per-token scales and thus keeps more components at the same size, and can additionally project the removed components out of the first layer of the drafter. Because SpecZip decodes only the kept components on the GPU and overlaps the decoding with training, decompression adds almost no time to a training step. A 16x cache of 2.2-3.4 TB fits on a single node, and DFlash drafters trained on this cache retain 99-101% of the BF16 acceptance length across four targets, including a 122B Mixture-of-Experts (MoE) model. SpecZip thus enables offline training from a single local disk, with 1.95-3.25x higher training throughput than online training.

en
arXiv AI Papers

Noise-Enabled Event-Domain Computing for Memristive Neural Hardware

Memristive crossbars perform vector-matrix multiplication efficiently in analog form, but the circuits surrounding the array offset much of this advantage. Here we use device noise to generate neuronal responses directly as stochastic binary events. Noisy comparison of array readout branches produces probabilistic firing events whose firing probability defines a smooth nonlinear response, and noisy competition among channels produces mutually exclusive selection events whose frequencies follow a Softmax-like distribution. Because the response curves are set by noise statistics and thresholds, no explicit activation-function evaluation is required. Finite-observation gradient gates and two-sample selection estimators connect both event types to backpropagation. On CIFAR-10 with PreActResNet-18, a network trained and inferred entirely with these events reaches 92.67% accuracy under 50-vote inference, within 0.20 percentage points of the 92.87% high-precision reference. With a numerical memristor model, device-aware training remains effective under bounded, discrete, nonlinear conductance updates, and limited endurances. Competitive selection events support base training and supervised fine-tuning of a 12-layer Transformer. These results establish device noise as a resource for neural computation and learning, removing reliance on multibit conversion and explicit activation-function evaluation at the array interface.

en
arXiv AI Papers

MoEXViz: Interactive Visualizations of Sparse Mixture-of-Experts

Sparse Mixture-of-Experts architectures have become a prominent strategy for scaling large language models without proportionally increasing inference cost. By routing each token through a sparse, input-dependent subset of expert subnetworks, these models increase total parameter capacity while limiting active computation. However, their fragmented routing pathways make them difficult to inspect, audit, and debug. We present MoEXViz, an open-source, browser-based visualization platform for analyzing sparse MoE models at the per-token and per-layer levels. MoEXViz separates model execution from visualization through a three-stage pipeline: offline PyTorch extraction, compact JSON serialization, and low-latency browser playback. This design removes the need for live GPU access during interactive analysis while preserving traceability to real model forward passes. MoEXViz supports multiple visualization views, including expert UMAP projections, per-layer expert activation grids, average activation trends, per-domain expert rankings, prompt-level inspection, and animated routing diagrams. The system dynamically derives layouts from model metadata rather than relying on hard-coded expert counts or routing widths. We demonstrate MoEXViz on three architecturally distinct open-weight MoE models: OLMoE-1B-7B, JetMoE-8B, and DeepSeek-MoE-16B. Code is available at https://github.com/Resource-Efficient-AI-Lab/MoEXViz and a live demo is available at https://resource-efficient-ai-lab.github.io/MoEXViz/

en
arXiv AI Papers

Libtt: A Compiler and Runtime for Tenstorrent Processors

Libtt brings the PyTorch and JAX ecosystem to Tenstorrent hardware. It implements PJRT, the interface through which XLA-based frameworks drive Google's TPUs, so JAX runs on it directly, PyTorch runs through TorchTPU, and software written for TPUs carries over with no changes except replacing custom kernels. Built on Tenstorrent's open-source compiler and runtime, libtt ships the entire stack, from the compiler to the multi-chip runtime, as a single shared library. It contains extensive fixes to the upstream Tenstorrent software to make existing PyTorch and JAX code work out of the box, and extensive new compiler optimizations to make it fast. It passes most of the JAX and TorchTPU test suites and runs SGLang, TorchTitan, and Miles, covering serving, fine-tuning, and reinforcement learning.

en
arXiv AI Papers

FlashProve-Next: Verifiable Inference for Production LLM APIs

Clients of closed-weight LLM APIs cannot verify whether a provider ran the advertised model, precision, hidden prompt, and reasoning budget. Existing approaches either trust hardware or third parties, or re-prove every layer of an integer surrogate at high cost while diverging from native floating-point serving. FlashProve-Next produces verifiable, zero-knowledge-masked proofs for individual LLM API responses without modifying native serving (bf16/fp8/mxfp4, random sampling, FlashAttention, CUDA graphs, batching, prefix caching) and without disclosing weights, hidden prompts, hidden reasoning, or activations (dense profiles fix coarse geometry; cross-architecture hiding is deferred). A non-depleting Reed-Solomon weight commitment model_id opens inside proofs via hidden column openings, while local per-operator rounding contracts remove integer surrogates and the refusal-bit leak. Cost-weighted spot-checking supports non-interactive public verification (NI-315, 2^{-40}, Q 2^{64}) and external-seed C_pre mode (ExtSeed-153, 2^{-20}, Q_{samp} 2^{30}). Twenty-eight Lean 4 modules (696 declarations, zero sorry, standard axioms only) mechanize round-by-round soundness, bucketed sampling, {F}_{p^3} constrained-mask binding, causal masking, six IR gadgets, and executable FPN2 verifiers. Five-model Blackwell calibration gives zero false rejections across 1.85M GEMM/MoE blocks and 1.96M non-GEMM rows. Our zero-Phase-2 folded backend (folded ZK simulator open) proves Qwen3-0.6B ExtSeed-153 (1.47B cells, 8 MiB) in 450.2 s GPU (10.76 s CPU) at unique-decoding Q=128, passes a 14/14 cheating matrix, and scales to 36-layer Qwen3-4B (dev 4+2) and live vLLM Qwen3-30B-A3B-FP8 Relation 6 (1.49 s prove, 23.4 ms Rust verify, public weight tiles). Rust fpn-verify checks 8 MiB FPN2 Relation 2 proofs in 10.1 ms on CPU.

en
arXiv AI Papers

A Bias in Disguise: Tiny Gradient Edits Stop a Small Language Model's Thinking Loops and Complement a Frontier Model's Weight Edit

Qwen3.5-0.8B rarely finishes reasoning in thinking mode: at a 4,096-token budget only 1 or 2 of 500 MATH-500 answers close their think block (two seeds), and accuracy is 15.4%. A recent demonstration had GPT-6 Astra edit 131,072 of the model's weights without gradients and reported MATH-500 rising from 7.9% to 48.1% at a 32,768-token budget. We provide the missing gradient baseline, then combine the two edits. Fine-tuning only the 140 to 139,750 weights with the largest gradient, on the model's own correct answers to MATH training problems, raises thinking-mode MATH-500 at 4k tokens to 39.0-45.5% after 2-9 minutes of training on one GPU; 50 training examples suffice, and 1,398 random positions give only 16.3%. The gradient concentrates the edit on the most nearly constant channel of each of the first three layers. Because the model has no bias terms, an edit confined to those channels acts as a constant vector added to the residual stream: adding three fixed vectors to the unedited model matches the accuracy of such an edit. Under the Astra protocol (32k tokens, presence penalty 1.5), the Astra edit scores 52.1% (finished and correct) in our reproduction and our full-strength edits reach 45.6-45.7%, but ours win at every budget up to 16k tokens (39.5% against 6.7% at 4k). The two edits are complementary. The Astra edit plus our 139,750-weight edit at half strength scores 62.2% at 32k, 10 points above the Astra edit alone (p = 3e-9), with half as many tokens; our half-strength edit alone scores 46.7%.

en
arXiv AI Papers

Shifter Quantization: Compact Representations for Native Integer Computation

Groupwise quantization is used in LLM quantization to improve accuracy at low bit widths, but grouping weights keeps standard integer MMA from spanning the full dot product for efficient GPU inference. We develop a new quantization method, Shifter Quantization (SQ), that reconstructs native-width integer operands by appending and shifting shared bits. To further extend the efficiency, we develop a special variant of SQ, Shifter Integer (SHI), to use INT4 kernels. We show that SQ and SHI formats perform better than standard groupwise quantization in quality, as measured by projection error and KL divergence, and in inference speed, as measured during decoding and prefill. For low precision like 2-bit quantization, SQ2 and SHI2 achieve 2.71-3.77x the 4,096-token prefill throughput of llama.cpp on a Q2_K checkpoint and reduce WikiText-2 KL by 6.6-7.8%. For mid precision like 4-bit quantization, SQ4 achieves 1.43-2.47x the prefill throughput of NInfer's groupwise-integer baselines across the tested models and prompt lengths, with 24-40% lower KL than the NInfer baselines. For high precision like 8-bit quantization, SQ8 achieves 27.4% higher batch-one prefill throughput and 72.7% lower KL than vLLM's online FP8.

en
arXiv AI Papers

LoomKV: Lossless KV Cache Compression from GPU Memory to SSD for LLM Serving

Large language model (LLM) serving engines offload the key/value (KV) cache from GPU memory to host DRAM and SSD so multi-turn and agent requests can reuse prompt prefixes. Capacity then limits service at two levels: external tiers govern prefix reuse before eviction, while the GPU KV pool bounds concurrent long requests, and lossy compression alters KV values and outputs. LoomKV brings lossless KV compression to both external tiers (tier mode) and the GPU pool (pool mode) on an unmodified engine. Using a calibrated per-head two-level 3-bit code over BF16 high bytes (sign and upper seven exponent bits), LoomKV stores BF16 KV at 0.71 of its raw size across nine models and FP8 KV at 0.85-0.87. In tier mode, TileStream writes exact-length records with length readback off the load path, leaving tier storage, eviction, and prefetch unchanged, and decompresses fetched records straight into scattered GPU pages. In pool mode, FragPack packs variable-length records into smaller shared-budget GPU pages read in place by a fused decode-attention kernel faster than FlashAttention-3 on BF16. Built with LMCache and vLLM, LoomKV makes compressed tiers act as 1.4x larger raw tiers on AgentX: across LMCache's LRU cliff, tier mode delivers 2.7-3.6x raw's goodput and 1.9-3.1x lower mean time-to-first-token (TTFT), shifts the cliff identically under other simulated replacement policies, and cuts repeated-prompt TTFT up to 1.7x via SSD-to-DRAM promotion. When tiers hold the working set, pool mode fits 1.31-1.34x as many GPU tokens, admitting 12 long requests with roughly raw's queue and goodput at 8. On an AI IDE trace where both tiers and the GPU pool are constrained, tier and pool modes raise goodput by 1.24x and 1.59x. Where raw capacity suffices, compression costs at most 2.2% throughput; tier mode is bit-exact with raw tiers, and pool mode matches FlashAttention-3's numerical accuracy.

en
arXiv AI Papers

Lazy Agents Answer Against Their Own Beliefs: Reinforcement Learning with Verifiable Beliefs Teaches Them to Act on What They Believe

AI agents working on long tasks often commit to an answer before they have enough evidence, a behavior called laziness. In our evaluations, they frequently commit even while their stated belief still names several possible answers. An outcome reward at the end of the episode scores only the final answer, so it cannot teach the agent when to commit, because a lucky guess receives the same reward as an answer backed by evidence. During training, however, the simulator can compute the exact posterior over the answer at every step and tell whether the evidence is already enough. We propose Reinforcement Learning with Verifiable Beliefs (RLVB), which rewards the agent for taking further steps while this posterior still allows several answers and for committing once the evidence is sufficient. The reward needs no judge, critic or reward model, and it never reads the belief line the agent writes before each action. We also introduce Pro Worlds, a benchmark of visual puzzles where the agent views a large world through a small window. We evaluate three vision-language models on three benchmarks, two of which are never seen in training. RLVB improves the base model in all nine settings, by 17.1% on average. Under the outcome reward, GRPO and PPO fall below the base model on average. RLVB also outperforms PPO with a process reward from an LLM judge by 9.3% on average while using 1.6 times fewer GPU-hours. The trained agent answers with sufficient evidence in 51%, 12% and 74% of the episodes on the three benchmarks, against 8%, 0.4% and 36% for the base model. Its accuracy gain therefore comes from answering more often at high levels of evidence. The belief line shows how the agent reaches this evidence: it acts on its own belief. It commits at only 0.1 to 2.2% of the turns at which the evidence is insufficient and its line still names several answers, against 3 to 68% for the base model.

en
Hardware e Chips — overfeed.news