Skip to main content
QUICK REVIEW

[Paper Review] Designing LLM Chains by Adapting Techniques from Crowdsourcing Workflows

Madeleine Grunde-McLaughlin, Michelle S. Lam|arXiv (Cornell University)|Dec 18, 2023
Mobile Crowdsensing and CrowdsourcingComputer Science5 citations
TL;DR

This paper proposes a design space for LLM chains by adapting proven techniques from crowdsourcing workflows, enabling structured, error-resilient task decomposition. By mapping objectives like 'verifiable creativity' to strategies and tactics—such as parallel generation and user revision—it demonstrates how crowdsourcing patterns can enhance LLM chain reliability and usability across three case studies: text summarization, taxonomy creation, and story generation.

ABSTRACT

LLM chains enable complex tasks by decomposing work into a sequence of subtasks. Similarly, the more established techniques of crowdsourcing workflows decompose complex tasks into smaller tasks for human crowdworkers. Chains address LLM errors analogously to the way crowdsourcing workflows address human error. To characterize opportunities for LLM chaining, we survey 107 papers across the crowdsourcing and chaining literature to construct a design space for chain development. The design space covers a designer's objectives and the tactics used to build workflows. We then surface strategies that mediate how workflows use tactics to achieve objectives. To explore how techniques from crowdsourcing may apply to chaining, we adapt crowdsourcing workflows to implement LLM chains across three case studies: creating a taxonomy, shortening text, and writing a short story. From the design space and our case studies, we identify takeaways for effective chain design and raise implications for future research and development.

Motivation & Objective

  • To address the challenge of designing effective LLM chains for complex tasks, which are prone to hallucinations and error propagation.
  • To identify transferable design patterns from decades of crowdsourcing research to guide LLM chain development.
  • To establish a systematic, objectives-driven framework for LLM chain design that supports quality control and user interaction.
  • To evaluate the applicability of crowdsourcing techniques in the context of LLMs through real-world case studies.
  • To highlight both the transferability of certain workflow patterns and the need for tailored adaptations due to LLM-specific limitations such as hallucination and sensitivity to prompts.

Proposed method

  • Constructed a design space by surveying 107 papers from crowdsourcing and LLM chaining literature, organizing it into objectives, strategies, and tactics.
  • Mapped crowdsourcing workflow patterns—such as redundancy, aggregation, and verification—to LLM chain design, identifying transferable strategies like parallel generation and user revision.
  • Applied the design space to three case studies: text shortening, taxonomy creation, and story generation, implementing LLM chains using adapted workflows.
  • Used direct manipulation interfaces in the text shortening case study, enabling users to control output length via a slider through parallel generation and user transformation of outputs.
  • Emphasized low-cost, high-speed iteration in LLM chains compared to human crowdsourcing, leveraging LLMs' speed for rapid prototyping and refinement.
  • Proposed that while high-level design categories (objectives, strategies) transfer from crowdsourcing, low-level tactics (e.g., verification methods) require adaptation to LLMs’ unique failure modes.

Experimental results

Research questions

  • RQ1Which design patterns from crowdsourcing workflows can be meaningfully adapted to LLM chain development?
  • RQ2How can objectives such as 'verifiable creativity' be operationalized in LLM chains using strategies and tactics from crowdsourcing?
  • RQ3What are the key differences in implementing crowdsourcing techniques when applied to LLMs versus human workers?
  • RQ4To what extent do LLM chains benefit from redundancy, aggregation, and user revision strategies used in crowdsourcing?
  • RQ5How can direct manipulation interfaces be used to improve user control and task outcomes in LLM chains?

Key findings

  • The design space successfully maps high-level objectives like 'verifiable creativity' to concrete strategies such as user revision and parallel generation, enabling structured LLM chain development.
  • Techniques like parallel generation and user transformation of outputs enable direct manipulation interfaces, as demonstrated in the text shortening case study with a length-controlling slider.
  • While high-level design categories (objectives, strategies) transfer from crowdsourcing to LLM chains, low-level tactics require adaptation due to LLM-specific issues like hallucination and prompt sensitivity.
  • LLM chains benefit from faster iteration cycles than human crowdsourcing due to the low cost and high speed of LLM inference, enabling rapid prototyping of chain designs.
  • User revision and verification strategies are particularly effective for improving output quality and ensuring faithfulness in creative tasks such as text shortening and story generation.
  • The study identifies a need for systematic discovery of effective tactic designs and tools to support the LLM chain design process, especially for creative and complex tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.