Skip to main content
Search

# Inference acceleration

12 related articles

Subscribe to updates
  1. arXiv

    Computer-use agents stop swallowing every screenshot: VTR co-trains a router to keep 2.5–5.8× fewer visual tokens at full-resolution performance

    Computer-use agents encode each screenshot into thousands of visual tokens, and those tokens pile up into long contexts on long-horizon tasks and in real-time games. VTR trains a vision-language model jointly with a lightweight spatio-temporal router that inspects the same image region in the current and previous screenshots and decides whether that token enters the language model, using an adaptive loss to keep as few tokens as possible without losing action prediction. After only 2,000 training steps, VTR matches the full-resolution model on OSWorld, CUA-World and video-game action prediction while using 2.5–5.8× fewer visual tokens, cutting inference cost by up to 3.3× and speeding prefill by up to 2.9×.

  2. arXiv

    Speculative decoding pays off more than predicted on sparse MoE models: fine-grained models peak near batch size 1

    Prior cost models estimated speculative decoding from the expert-weight bytes activated during verification, predicting a concave speedup curve with limited gains at low batch size for sparse MoE targets. Across 10 sparse MoE models from 30B to 1T parameters and 8 to 512 experts, fine-grained models instead often peak near batch size 1. Two effects explain it: routing overlap across adjacent draft positions cuts the unique experts loaded during verification by 21% to 34% relative to an independence baseline, and GPU execution dynamics, namely bandwidth-utilization gaps between MoE and attention kernels plus L2 reuse, decouple runtime from expert bytes.

  3. arXiv

    A 30B model won't fit on one consumer GPU: run some layers on the CPU and hide the weight transfers behind that work

    When model weights do not fit in a single consumer GPU, on-demand weight transfer takes about 98% of decode time. A layer-wise schedule runs some layers on the CPU while asynchronously moving the next layer's weights to the GPU, hiding the transfer behind CPU computation; on an RTX 5090 desktop, OPT-30B inference runs 3.5 times faster than HuggingFace Accelerate and 6.3 times faster than DeepSpeed Zero-Inference.

  4. arXiv

    Power sampling no longer takes one step per call: prefetching the accept/reject subtree cuts PowerMH time by a median 1.71×

    PowerMH must decide each accept/reject before it can generate the next proposal; PreSTO prefetches several future proposals in one batched call, giving a median 1.71× speedup over PowerMH across seven datasets and five base LLMs while leaving its transition kernel unchanged.

  5. arXiv

    Visual token pruning drops single-score ranking: graph propagation plus degree correction keeps 98.7% accuracy at 30% tokens on LLaVA-NeXT

    Visual token selection in multimodal LLMs now propagates scores over a visual graph and corrects for neighborhood degree: across four backbones, ten benchmarks and seven pruning ratios, LLaVA-NeXT retains 98.7% accuracy while keeping 30% of visual tokens, with a net prefill speedup.

  6. arXiv

    Speech decoding stops waiting token by token: a draft module reuses the target model's own features for 1.9x lossless speedup on Whisper

    Speech recognition decoding no longer has to wait token by token: a lightweight draft module that reuses the target model's acoustic and decoder features delivers up to 1.9x and 2.4x lossless speedups on Whisper and Conformer.

  7. arXiv

    V-CoLA compresses vision tokens using linear-attention intrinsic signals, retaining 88% performance at 12.5% tokens with up to 6.15x prefill speedup

    The authors propose V-CoLA, a training-free vision token compression framework for hybrid vision-language models with linear attention, deriving a uniqueness-aware importance criterion from the retention preferences of the bounded recurrent state, combined with adaptive chunk-wise merging and early exiting of deep-layer vision tokens; on Qwen3.5-9B and related models it reaches 99.5% of original performance at 50% vision tokens and over 88.0% at 12.5%, with 1.86 to 6.15 prefill speedup.

  8. arXiv

    MASA recasts sparse-attention selection as matrix approximation, lifting long-context accuracy across three sparse frameworks at no extra budget

    The authors argue that existing sparse-attention selectors keep large or high-mass entries of the attention matrix even though Transformers use that matrix through multiplication with value vectors, and propose MASA, which replaces attention-mass ranking with a closed-form score measuring each sparse unit's reduction in matrix-product approximation error; plugged into MInference, SeerAttention, and FlexPrefill without changing their sparse kernels, candidate units, or budgets, it yields consistent accuracy gains on RULER, InfiniteBench, and LongBench with negligible latency overhead.

  9. arXiv

    EDR: training parallel speculative drafters by directly minimizing expected decoding rounds lifts mean accepted length for DSpark and DFly across nine benchmarks

    This work formulates speculative decoding with parallel and semi-autoregressive drafters as a Markov reward process and derives Expected Decoding Rounds (EDR), an objective that weights local rejection costs by state occupancies and exactly equals the expected number of decoding rounds, together with an exact temporal-difference gradient and an offline evaluator; finetuning DSpark and DFly with EDR consistently improves mean accepted length and outperforms existing objectives across nine math, code, and chat benchmarks.

  10. arXiv

    AgSpec combines session and workspace corpora with adaptive draft length to lift coding-agent generation throughput to 4.37x over autoregressive decoding

    AgSpec is a retrieval-based speculative decoding framework for coding-agent pipelines that organizes reusable text into session, workspace, and global corpora by source, indexes workspace files in the agent's emission format, and controls draft length with offline-profiled per-agent caps plus an online scale adapted from verification feedback; on the two repository-level multi-agent benchmarks SWE-bench Verified and TeamBench it outperforms five retrieval-based drafters and EAGLE-3 in most evaluated settings, raising generation throughput over autoregressive decoding up to 4.37x at batch size 1 and 4.76x at batch size 16, and it remains effective on benchmarks without a repository or a multi-agent pipeline.