SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.15337 · ICLR · 2024

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

Xuefei Ning, Zixuan Zhou, Huazhong Yang, Yu Wang, Zifu Wang, Zinan Lin

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
imagination-research/sot canonical 0 of 3
FunctionStatusWhere it lives
OutlineScheduler Not yet run imagination-research/sot/sot/schedulers/outline_scheduler.py
code served (permissive licence) · get_code("38d170ad2615dbe1")
Scheduler Not yet run imagination-research/sot/sot/schedulers/outline_scheduler.py
code served (permissive licence) · get_code("4b11415e0b05cbc2")
_print_to_streams Not yet run imagination-research/sot/sot/schedulers/outline_scheduler.py
code served (permissive licence) · get_code("630357dce5fe6032")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 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 showcases the potential of eliciting highquality answers by explicitly planning the answer structure in language.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.15337")
get_code_for_paper("2307.15337")
have("2307.15337")

Connect an agent — have() is free.