atlas

Research map / Large language models / Reasoning and chain of thought

SIRIUS : Contexual Sparisty with Correction for Efficient LLMs

NeurIPS 2024 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Sirius corrects contextually sparse LLMs on reasoning tasks by letting the full model periodically verify and rewrite the sparse model's tokens, recovering accuracy while keeping most of the speedup.

Problem

Contextual sparsity (CS) methods for LLM inference are training-free and efficient but severely degrade performance on reasoning, math, coding, and knowledge-based generation tasks.

Approach

Sparse and full models share weights and KV cache; the full model periodically verifies a chunk of sparse-generated tokens in parallel, rewrites the shared KV cache, rolls back rejected tokens and interleaves its own token, with a tree of top-k alternatives to lengthen the accepted advance length.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add Sirius correction to CSparseLlama-3-8B-Instruct · GSM8Kaccuracy: 0.3844 -> 0.7051Helped
Add Sirius correction to FSparseLlama-3-8B-Instruct · GSM8Kaccuracy: 0.5868 -> 0.7278Helped
Add Sirius correction to CSparseLlama-3-8B-Instruct · CSQAaccuracy: 0.6470 -> 0.7076Helped
Add Sirius correction to FSparseLlama-3-8B-Instruct · CSQAaccuracy: 0.6158 -> 0.7043Helped
Add Sirius correction to CSparseLlama-3-8B-Instruct · HumanEvalPass@1: 0.207 -> 0.524Helped
Add Sirius correction to FSparseLlama-3-8B-Instruct · HumanEvalPass@1: 0.457 -> 0.616Helped
Add Sirius correctionLlama-3-8B-Instruct CSparse on GSM8K-COT · GSM8K-COT on A100latency: 9.6 ms -> 11.4 msHurt
Add tree building to Sirius (ablation)Llama-3-8B-Instruct on GSM8K-COT · GSM8K-COTlatency: 11.8 -> 11.1Helped
Add tree building to Sirius (ablation)Llama-3-8B-Instruct on GSM8K-COT · GSM8K-COTaccuracy: 0.7127 -> 0.7089Hurt
Add interleaving (ablation)CSparse Llama-3-8B-Instruct · GSM8K 20%accuracy: 0.3674/0.3674 -> 0.3826/0.3826Helped
Add KV cache rewriting (ablation)CSparse Llama-3-8B-Instruct with interleaving · GSM8K 20%accuracy: 0.3826/0.3826 -> 0.4886/0.4886Helped
Add rollback (ablation)CSparse Llama-3-8B-Instruct with interleaving · GSM8K 20%accuracy: 0.3826/0.3826 -> 0.6591/0.6591Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4 GSM8K AQuA-RAT-COT CSQA StrategyQA Date Sports HumanEval MBPP+

Benchmarks: GSM8K AQuA-RAT-COT CSQA StrategyQA Date Sports HumanEval MBPP+ MMLU-FLAN-COT CNN/DailyMail CoQA TruthfulQA

Metrics: accuracy pass@1 average advance length effective density wall-clock latency ratio

Baselines: Griffin (coarse-grained contextual sparsity) CATS (fine-grained contextual sparsity) Speculative Decoding

Builds on: Griffin CATS Speculative Decoding Deja Vu

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy