Skeleton-of-Thought
Let us accelerate the end-to-end generation of LLMs by 2x without any change to the model, system, or hardware! [ArXiv] [BibTex] [Code] This work aims at decreasing the end-to-end generation latency of large language models (LLMs). One of the major causes of the high generation latency is the sequential decoding approach adopted by almost all state-of-the-art LLMs. In this work, motivated by the thinking and writing process of humans, we propose Skeleton-of-Thought (SoT), which first guides LLMs to generate the skeleton of the answer, and then conducts parallel API calls or batched decoding to complete the contents of each skeleton point in parallel. Not only does SoT provide considerable speed-ups across 12 LLMs, but it can also potentially improve the answer quality on several question categories. SoT is an initial attempt at data-centric optimization for inference efficiency, and further underscores the potential of pushing LLMs to think more like a human for answe
Skeleton-of-Thought Search this site Embedded Files Skip to main content Skip to navigation Skeleton-of-Thought Xuefei Ning * , Zinan Lin * , Zixuan Zhou * , Zifu Wang , Huazhong Yang , Yu Wang Let us accelerate the end-to-end generation of LLMs by 2x without any change to the model, system, or hardware! [ ArXiv ] [ BibTex ] [ Code ] [ Open Review ] [ Poster ] Abstract This work aims at decreasing the end-to-end generation latency of large language models (LLMs). One of the major causes of the high generation latency is the sequential decoding approach adopted by almost all state-of-the-art LL
related reading
- Optimizing inference · Hugging Facehuggingface.co
- As Rocks May Think | Eric Jangevjang.com
- Looking back at speculative decodingresearch.google
- LLM Inference Performance Engineering: Best Practices | Databricks Blogdatabricks.com
- How speculative decoding makes LLMs go brrr – Leonie Monigattileoniemonigatti.com
- What We’ve Learned From A Year of Building with LLMs – Applied LLMsapplied-llms.org
- Patterns for Building LLM-based Systems & Productseugeneyan.com
- Productizing Large Language Modelsblog.replit.com
- GenAI Handbookgenai-handbook.github.io
- How to make LLMs go fastvgel.me
- [2402.12374] Sequoia: Scalable, Robust, and Hardware-aware Speculative Decodingarxiv.org
- Speculative Decoding - philkravphilkrav.com