atlas

Research map / Large language models / Language, safety and interpretability

Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generation

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 11 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.

Proposes Skeleton-of-Thought, a prompting method that has an LLM first write an answer skeleton and then expands each point in parallel (API calls or batched decoding) to cut generation latency, with a router variant that falls back to normal decoding for unsuitable questions.

Problem

LLM inference latency is high because almost all state-of-the-art LLMs decode answers sequentially token by token.

Approach

Prompt the LLM itself to plan a short answer skeleton, then expand every skeleton point in parallel and concatenate the results, reducing end-to-end latency without changing model, system, or hardware; a router (GPT-4 prompting or a trained RoBERTa) triggers SoT only for suitable questions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Generate an answer skeleton, then expand its points in parallel instead of decoding sequentiallyLLMs evaluated with Skeleton-of-Thought · Vicuna-80speedup: up to 2.39×Helped
Generate an answer skeleton, then expand its points in parallelClaude · Question in the latency examplelatency: 22 seconds -> 12 secondsHelped
Generate an answer skeleton, then expand its points in parallelVicuna-33B V1.3 · Question in the latency examplelatency: 43 seconds -> 16 secondsHelped
Use Skeleton-of-Thought rather than normal sequential generationLLMs evaluated on Vicuna-80 · Vicuna-80, general answer qualityanswer qualityMixed
Use Skeleton-of-Thought rather than normal sequential generationLLMs evaluated with LLMZoo · Assistant-style questionsdiversityHelped
Use Skeleton-of-Thought rather than normal sequential generationLLMs evaluated with LLMZoo · Assistant-style questionsrelevanceHelped
Use Skeleton-of-Thought rather than normal sequential generationLLMs evaluated with LLMZoo · Assistant-style questionsimmersionHurt
Use Skeleton-of-Thought rather than normal sequential generationLLMs evaluated with LLMZoo · Assistant-style questionscoherenceHurt
Use Skeleton-of-Thought on questions suited to independent point-wise expansionLLMs evaluated on Vicuna-80 · Knowledge, generic, common-sense, roleplay, and counterfactualspeedup: 1.89× to 2.33×Helped
Use Skeleton-of-Thought on questions requiring step-by-step reasoningLLMs evaluated on Vicuna-80 · Math, coding, writing, and Fermi questionsanswer qualityHurt
Add a router that selects SoT for suitable questions and falls back to normal generation otherwiseSkeleton-of-Thought with router · Vicuna-80answer qualityHelped
Add a router that selects SoT for suitable questions and falls back to normal generation otherwiseSkeleton-of-Thought with router · Vicuna-80speedupHurt

Surprising findings

Limitations

Experimental setup

Datasets: Vicuna-80 WizardLM LIMA

Benchmarks: Vicuna-80 WizardLM

Metrics: speed-up net win rate FastChat general quality score LLMZoo detailed metrics

Baselines: normal sequential decoding GPT-4 prompting router human router

Builds on: chain-of-thought speculative decoding FastChat evaluation LLMZoo evaluation

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