Explore the research collection
4 entries · Follow this search
- Paper
Q-Sparse: All Large Language Models can be Fully Sparsely-Activated
Q-Sparse applies top-K (absolute-value) masks on activations of all linear layers, STE so non-selected grads are not zeroed, optional 8-bit quantized top-K, squared-ReLU/ReLU²GLU in FFNs, and Block Q-Sparse (N:M, e.g. 16:32) for batched GPU kernels. Inference-optimal sparsity ~45.58% full-precision (1.84× params at matched activated N_a) and ~61.25% for 1.58-bit. From-scratch 40% sparsity matches dense loss at the same size/tokens (RedPajama 50B). Continue-train Mistral-7B: 3.8B activated avg 63.7 vs dense 64.6 (ARC/HS/MMLU/WG/TQA); 2.9B 61.7, beating ReLUfication 60.8 and dReLU 61.0. Works with BitNet b1.58. No official code on abs.
- Paper
From Local to Global: A Graph RAG Approach to Query-Focused Summarization
GraphRAG: LLM extracts entities/relations/claims into a knowledge graph, Leiden-partitions it hierarchically, and pregenerates community summaries; query-time map-reduce over those summaries answers global QFS that vector RAG misses. Podcast (~1M tok) and news (~1.7M tok) graphs: 8,564/15,754 nodes. vs vector RAG, comprehensiveness win rates ~72–83% and diversity ~62–82% (GPT-4 judge, 125 questions×5). Root-level summaries use ~2–3% of source tokens. Code https://github.com/microsoft/graphrag.
- Paper
BitNet a4.8: 4-bit Activations for 1-bit LLMs
Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.
- Model
BitNet b1.58 2B4T
Packed ternary BitNet weights (~2B) trained from scratch on 4T tokens (SmolLM-Corpus, dclm-baseline-1.0, open-web-math) then SFT+DPO. Architecture: BitLinear, RoPE, ReLU² FFN, subln, no biases; LLaMA 3 tokenizer (128,256); ctx 4096. Card: non-emb memory 0.4GB, CPU decode 29ms, energy 0.028J vs 1–2B dense open models; average 54.19 vs Qwen2.5-1.5B 55.23 (GSM8K 58.38). Efficiency needs microsoft/BitNet (bitnet.cpp), not stock transformers. Siblings: bf16 master weights and GGUF.