Explore the research collection
6 entries · Follow this search
- Paper
MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression
Google + UCF technical report (Zhao/Tan/Peng/Wang/Go; arXiv 2609.29913v1) introduces MILO for many-shot in-context learning KV-cache memory. Observations: pre-RoPE keys are more low-rank than values; more shots add redundancy; rank needs vary across example blocks. MILO partitions the many-shot KV into multi-example blocks, applies separate K/V SVD, and greedily allocates a global rank budget by spectral-entropy marginal gains. At inference BM25 retrieves selected compressed blocks, fused Triton kernels reconstruct them (CUDA streams + graphs), then sparse attention runs. On Qwen2.5-3B/7B (Banking77, Clinic150, TREC, NLU, MathQA, SVAMP; 512-shot; 50% rank budget) on an NVIDIA L4: up to ~50% KV memory reduction and up to 1.8× throughput vs prior low-rank baselines; avg accuracy 0.647/0.725 vs Full 0.677/0.753 and ahead of Palu/ASVD. Orthogonal stack with INT8/KIVI. No public code found at catalog time.
- Paper
WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference
arXiv 2512.22737. Proposes WeDLM: Topological Reordering places observed tokens in the physical prefix while preserving RoPE logical positions so masked recovery works under a strict causal mask; Dual-Stream Masking reduces train–inference gap; Streaming Parallel Decoding commits confident left-to-right prefixes with a dynamic sliding window. Instantiated on Qwen2.5-7B and Qwen3-8B (100B continued pretrain + SFT). Reports ~3× speedups on reasoning vs vLLM-served AR and up to ~10× in low-entropy regimes while matching/improving quality. Code/models: github.com/Tencent/WeDLM; HF tencent/WeDLM collection; project wedlm.github.io.
- Paper
The State-Prediction Separation Hypothesis
SPS inserts a dummy prediction token after every input so the input stream owns the persistent KV cache and the prediction stream emits the next token (plus a w=64 ephemeral prediction window). Pretraining 53M-1.678B on FineWeb-Edu: at 1.6B, matches a standard Transformer validation loss with 2.6x fewer tokens (pre-decay) and gains ~2-3 pp average zero-shot accuracy, with persistent KV ~1.01x Standard and decode throughput within 6-10%. 2x Memory and Delayed State ablations show extra compute/memory is not enough; gradient analysis routes future-loss onto the input stream. Code https://github.com/lil-lab/sps.
- Paper
Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit
Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.
- Paper
ReToken: One Token to Improve Vision–Language Models for Visual Retrieval
Diagnoses query–key attention as a weak visual retriever in VLMs and scores frames in value space instead. ReToken is one learnable token plus a final-layer projection, trained with class-balanced BCE on MIRAGE multi-image QA while the VLM is frozen by default. On Visual Haystacks it lifts Qwen3VL-8B by 13.4 points and InternVL3.5-8B by 12.4 points at C=50 (>20% relative); trained only on images it transfers zero-shot to hour-scale video (+8.0 on LVBench with Qwen3VL-8B). Training and long-video inference fit on one H100. Code https://github.com/avaxiao/ReToken.
- Paper
Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.