Crazy ML (@crazyMLguy) header
Crazy ML (@crazyMLguy) profile picture

Machine Learning & Backend ๐Ÿ˜Ž Founder of Humanity backed by Investors from Google, SF and Hong Kong.

Mountains
Joined June 2023
Continuous Depth Batching: Making Looped LLMs Faster at Inference A new paper introduces Continuous Depth Batching (CDB), a method for efficient depth-adaptive inference in looped language models. Key ideas: - Dynamically batches tokens between loop steps. - Allows easy tokens to exit early while harder tokens continue reasoning. - Manages recurrent KV-cache and asynchronous scheduling. - Achieves up to 99% of the estimated maximum speedup. Tested on Ouro 1.4B and Huginn 3.5B. Why it matters: Adaptive compute is useful only if inference engines can efficiently batch tokens with different computational depths. Paper: arxiv.org/abs/2608.09444 An interesting intersection of model architecture and inference systems.
2
11
1,057
Mistral Clipstral: One Embedding Model for Images, Videos and Text Mistral has introduced Multimodal Embed (Clipstral), a 1.24B-parameter open-weight embedding model. Key highlights: - Maps images, videos and multilingual text into a shared 1,024-dimensional embedding space. - Supports text-to-image and text-to-video retrieval. - Processes images at native resolution (224โ€“1036 px). - Supports video understanding through a spatio-temporal encoder. - Includes a 131K-entry multilingual tokenizer. Interesting applications: Visual search, video retrieval, dataset deduplication and multimodal RAG. Resources: Hugging Face: huggingface.co/mistralai/Misโ€ฆ GitHub: github.com/mistralai/mistralโ€ฆ Blog: mistral.ai/news/mistral-multโ€ฆ Paper: alphaxiv.org/
4
299
Can We Build LLMs With Knowledge Stored Outside Neural Weights? An interesting experiment: a developer built an LLM where Gemini 4 Neon generated code that initializes 97% of the model's stored bytes using corpus statistics. Key ideas: - Only 103M Transformer parameters are trained with gradient descent. - Corpus-statistics tables improve perplexity by ~8%. - An external edit layer allows adding facts without retraining. - It retained 99.9% accuracy across 10,000 streamed knowledge edits. The bigger idea: separating static knowledge from reasoning could make LLMs easier to update without repeatedly fine-tuning them. Interesting direction for model architecture and continual learning. Project: weights-as-code.pages.dev/ GitHub: github.com/Kim-Ai-gpu/wtableโ€ฆ Paper: preprints.org/manuscript/202โ€ฆ
3
7
1
49
1,957
๐—ž๐—ฉ ๐—ฅ๐—ฒ๐—ฝ๐—น๐—ฎ๐˜†: ๐—ฅ๐—ฒ๐—ฑ๐˜‚๐—ฐ๐—ถ๐—ป๐—ด ๐— ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† ๐—ข๐˜ƒ๐—ฒ๐—ฟ๐—ต๐—ฒ๐—ฎ๐—ฑ ๐—œ๐—ป ๐—Ÿ๐—ผ๐—ผ๐—ฝ๐—ฒ๐—ฑ ๐—Ÿ๐—Ÿ๐— ๐˜€ Looped Transformers reuse the same parameters across multiple reasoning iterations, but their KV cache still grows with each iteration. This paper explores ways to solve that problem. Key idea: Recurrent KV Replay Instead of creating a separate KV cache for every loop, selected iterations reuse KV states generated by earlier iterations. Key findings: Reduces KV cache groups from 6 to 2 with a stride-3 sharing policy. Trains the model using the same KV-sharing strategy used during inference. Achieves performance close to a full looped Transformer with separate KV caches. Also explores mLSTM, Gated DeltaNet and PARCAE-based architectures. The important takeaway: KV cache sharing works better when models are trained to use the shared cache from the beginning, rather than applying compression only at inference time. An interesting direction for making recurrent LLMs more memory-efficient. Paper: arxiv.org/abs/2611.19446
1
5
50
1,956
๐—Ÿ๐—ผ๐—ผ๐—ฝ๐—™๐—ผ๐—ฟ๐—บ๐—ฒ๐—ฟ: ๐—”๐—œ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น๐˜€ ๐—ง๐—ต๐—ฎ๐˜ ๐—”๐—ฑ๐—ฎ๐—ฝ๐˜ ๐—ง๐—ต๐—ฒ๐—ถ๐—ฟ ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป๐—ถ๐—ป๐—ด ๐——๐—ฒ๐—ฝ๐˜๐—ต ๐—ง๐—ผ ๐—”๐˜ƒ๐—ฎ๐—ถ๐—น๐—ฎ๐—ฏ๐—น๐—ฒ ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ฒ What if an LLM could adjust how many times it thinks internally based on the available compute budget? LoopFormer, accepted at ICLR 2026, introduces elastic-depth looped Transformers that can reason using different numbers of recurrent iterations without retraining. How it works: Conditions each loop on internal time and step size. Uses shortcut consistency to align shorter and longer reasoning paths. Allows users to control the compute budget at inference time. Scales reasoning quality as more computation becomes available. The key idea is to make recurrent models flexible rather than locking them into a fixed number of loops. Resources: Paper: arxiv.org/abs/2602.11451 GitHub: github.com/armenjeddi/loopfoโ€ฆ Models: huggingface.co/collections/aโ€ฆ Project: loopformer.github.io/
5
10
80
3,549
๐—›๐—ผ๐˜„ ๐— ๐˜‚๐—ฐ๐—ต ๐—œ๐˜€ ๐—ข๐—ป๐—ฒ ๐—Ÿ๐—ผ๐—ผ๐—ฝ ๐—ช๐—ผ๐—ฟ๐˜๐—ต? ๐—ก๐—ฒ๐˜„ ๐—ฆ๐—ฐ๐—ฎ๐—น๐—ถ๐—ป๐—ด ๐—Ÿ๐—ฎ๐˜„๐˜€ ๐—™๐—ผ๐—ฟ ๐—Ÿ๐—ผ๐—ผ๐—ฝ๐—ฒ๐—ฑ ๐—Ÿ๐—Ÿ๐— ๐˜€ Can repeatedly running the same transformer layers replace adding new layers? This paper introduces a recurrence-equivalence exponent (ฯ†) to measure how much useful capacity each additional recurrence provides. Key findings: Baseline recurrence: ฯ† = 0.46, meaning each loop recovers only partial capacity compared with unique layers. Truncated backpropagation lowers it to 0.38. Hyperconnections improve it to 0.65. For example, a 410M model with 4 recurrences performs comparably to a 580M non-looped model, but incurs the training compute cost of a 1B model. An interesting finding: More loops don't automatically mean more model capacity. How effectively those loops are trained matters. Paper: arxiv.org/abs/2604.21106 Code: github.com/kschwethelm/loopeโ€ฆ Project: kschwethelm.github.io/loopedโ€ฆ
1
5
1
62
3,164
๐——๐—œ๐—ฆ๐—–๐—ข: ๐— ๐—ฎ๐—ธ๐—ถ๐—ป๐—ด ๐——๐—ถ๐˜€๐˜๐—ฟ๐—ถ๐—ฏ๐˜‚๐˜๐—ฒ๐—ฑ ๐—ฆ๐—ฝ๐—ฒ๐—ฐ๐˜‚๐—น๐—ฎ๐˜๐—ถ๐˜ƒ๐—ฒ ๐——๐—ฒ๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐—™๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—•๐˜† ๐—˜๐—น๐—ถ๐—บ๐—ถ๐—ป๐—ฎ๐˜๐—ถ๐—ป๐—ด ๐—ฉ๐—ผ๐—ฐ๐—ฎ๐—ฏ๐˜‚๐—น๐—ฎ๐—ฟ๐˜†-๐—ฆ๐—ฐ๐—ฎ๐—น๐—ฒ ๐—–๐—ผ๐—บ๐—บ๐˜‚๐—ป๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป Distributed speculative decoding often suffers from a communication bottleneck: transferring full token probability distributions between edge devices and servers. DISCO, proposed by KAIST researchers, solves this with a simple idea: The device generates draft tokens using a small language model. The server maintains an identical copy of that draft model. Only token IDs and scalar probabilities are exchanged. The server handles rejection and resampling locally. It preserves the exact target-model sampling distribution while eliminating vocabulary-sized transfers. Impressive results: Reduces communication from 402.2 KB to just 24 bytes per round in one OPT configuration. Achieves up to 1.92ร— decoding speedup on an RTX 4090 + 2ร— A100 setup. Particularly effective under bandwidth constraints. An interesting approach to making edgeโ€“cloud LLM inference faster without sacrificing sampling accuracy. Paper: arxiv.org/abs/2610.35957 PDF: arxiv.org/pdf/2610.35957
1
3
14
613
๐—™๐—น๐—ฎ๐˜€๐—ต๐—ข๐—ณ๐—ณ๐—น๐—ผ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด: ๐—™๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—Ÿ๐—ผ๐—ป๐—ด-๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ ๐—œ๐—ป๐—ณ๐—ฒ๐—ฟ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ผ๐—ป ๐—›๐˜‚๐—ฎ๐˜„๐—ฒ๐—ถ ๐—”๐˜€๐—ฐ๐—ฒ๐—ป๐—ฑ ๐Ÿต๐Ÿญ๐Ÿฌ๐—– FlashOffloading tackles the KV cache memory bottleneck by moving the full cache to host DRAM while keeping frequently accessed tokens in accelerator memory. Key optimizations: Overlaps KV transfers with computation. Uses hot caching and reverse sparse indexing. Reduces cache management and data-transfer latency. Reported results on Ascend 910C: 1.38ร— higher prefill throughput. 1.91ร— higher decode throughput. Supports 512K and 1M-token contexts. Built specifically on vLLM-Ascend, using Huawei Ascend-specific kernels, not NVIDIA CUDA. Paper: arxiv.org/abs/2611.07542 Code: github.com/vllm-project/vllmโ€ฆ
3
8
38
1,707
๐—ฅ๐—ผ๐—–๐—ผ๐—ž๐—ฉ: ๐—ฆ๐—บ๐—ฎ๐—ฟ๐˜๐—ฒ๐—ฟ ๐—ž๐—ฉ ๐—–๐—ฎ๐—ฐ๐—ต๐—ฒ ๐—–๐—ผ๐—บ๐—ฝ๐—ฟ๐—ฒ๐˜€๐˜€๐—ถ๐—ผ๐—ป ๐—™๐—ผ๐—ฟ ๐—™๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—Ÿ๐—Ÿ๐—  ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป๐—ถ๐—ป๐—ด Long reasoning traces often contain repetitive thoughts, corrections, and unnecessary tokens, wasting KV cache bandwidth. RoCoKV tackles this with two techniques: Uncertainty-aware pruning: Keeps more context when the model is uncertain and prunes more aggressively when it is confident. Redundancy-aware selection: Identifies repetitive tokens and prioritizes more informative context. The researchers also built fused CUDA kernels and integrated RoCoKV into vLLM without modifying its core code. Reported results on NVIDIA A40: 1.27ร— faster inference and 38% higher throughput on AIME25. 1.43ร— faster inference and 45% higher throughput on long synthetic workloads. Both improvements are compared with standard Full-KV serving. An interesting direction for making long-reasoning inference faster without sacrificing reasoning accuracy. Paper: arxiv.org/abs/2611.25433
1
2
1
26
958
๐—Ÿ๐—ผ๐—ฐ๐—ฎ๐—น ๐—”๐—œ ๐—ข๐—ป ๐—Ÿ๐—ผ๐˜„-๐— ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† ๐—š๐—ฃ๐—จ๐˜€: ๐Ÿฎ-๐—•๐—ถ๐˜ ๐—œ๐—ป๐—ธ๐—น๐—ถ๐—ป๐—ด ๐Ÿฎ ๐— ๐—ถ๐—ป๐—ถ ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ๐—ฝ๐—ผ๐—ถ๐—ป๐˜๐˜€ ๐—”๐—ฟ๐—ฒ ๐—›๐—ฒ๐—ฟ๐—ฒ Running local AI on GPUs with less than 12 GB of VRAM is becoming increasingly practical. The omko-ai team has released new 2-bit quantized checkpoints for Inkling 2 Mini, optimized for llama.cpp. What's interesting: Designed for low-memory consumer GPUs. 2-bit GGUF checkpoints for efficient local inference. Benchmark results averaged across actual evaluations. This is their first major release, with more optimizations planned based on community feedback. Another step toward making powerful local AI accessible on everyday hardware. Model: huggingface.co/omko-ai/Inkliโ€ฆ
2
1
1
18
1,525
๐—Ÿ๐—ผ๐—ผ๐—ฝ๐—ฒ๐—ฑ ๐—ค๐˜„๐—ฒ๐—ป3.8-27๐—•: ๐— ๐—ผ๐—ฟ๐—ฒ ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป๐—ถ๐—ป๐—ด, ๐—ช๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด What if you could make an existing LLM reason more deeply without retraining it? Looped Qwen3.8-27B does exactly that by adding just 240 MB (0.23% more parameters) to a frozen model, enabling repeated computation through its middle layers. Reported results: LiveCodeBench v6: +6.3 points. AIME 2025: 90%. 50โ€“90% fewer thinking tokens. Near-identical generation speed. It also introduces LoopCD to improve accuracy without additional FLOPs or KV cache. An interesting approach to making existing models more capable and inference-efficient. Project: blog.tiltastech.com/projectsโ€ฆ Model: huggingface.co/sliderforthewโ€ฆ Code: github.com/jasontitus/loopedโ€ฆ
1
6
1
54
3,844
Interesting paper from ByteDance: USDB โ€“ Scaling Storage for Next-Generation Recommender Systems. Some impressive engineering: CascadeLSM for time-based history aggregation MVCC + partial dumps for training-inference consistency Disaggregated replicas sharing persistent storage Hybrid columnar format for faster historical reads Reported results: 85.8% lower write latency and 42.1% lower infrastructure cost. A great example of database systems evolving to support LLM-scale recommendation workloads. Paper: arxiv.org/abs/2611.02618
1
360
MoLT: Making Looped Transformers Faster Looped Transformers reuse layers to improve model quality, but repeated passes make inference expensive. Mixture-of-Loops Transformer (MoLT) introduces KV memory reuse to make this process more efficient. Key innovations: MoLT-R: Improves expressivity through cross-loop information sharing. MoLT-KV: Enables single-traversal decoding. U-MoLT: Separates memory building from prediction to reduce computation. Results: 1.7ร— token efficiency at 700M scale. +2.1 percentage points in task accuracy on the 3B MoE model. 1.4ร— token efficiency when adapting Qwen3.5. Matches standard Transformer latency while retaining looped computation. Paper: arxiv.org/abs/2611.34923 Code: github.com/hustvl/MoLT
5
27
3
195
7,304
๐—ก๐—ฉ๐—œ๐——๐—œ๐—” ๐—œ๐—บ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ฒ๐˜€ ๐—ฆ๐—ฝ๐—ฒ๐—ฐ๐˜‚๐—น๐—ฎ๐˜๐—ถ๐˜ƒ๐—ฒ ๐——๐—ฒ๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐˜„๐—ถ๐˜๐—ต ๐—›๐—ถ๐—ฑ๐—ฑ๐—ฒ๐—ป ๐—ฆ๐˜๐—ฎ๐˜๐—ฒ ๐— ๐—ถ๐˜…๐—ถ๐—ป๐—ด Speculative decoding can generate multiple tokens per step, but autoregressive drafters often struggle with declining acceptance rates as draft length increases. NVIDIA introduces two training-only techniques to address this: Hidden State Mixing (HSM): Mixes hidden states from different MTP steps to improve predictions further into the draft. Hidden State Gradient Detach (HSGD): Controls gradient flow to improve acceptance at early draft positions. Key results: Up to 52.2% improvement in mean acceptance length across four Nemotron models and DeepSeek-V4-Pro. HSM achieves competitive acceptance with EAGLE-3's TTT. 48% lower peak training memory than TTT in the four-step Qwen3-8B comparison. No additional inference-time cost. The interesting takeaway: HSGD works better for shorter drafts, while HSM is more effective for longer drafts. Paper: arxiv.org/abs/2611.34092 Megatron-LM implementation: github.com/NVIDIA/Megatron-Lโ€ฆ NVIDIA Model Optimizer implementation: github.com/NVIDIA/Model-Optiโ€ฆ
2
9
115
4,676