StepWrite: Adaptive Planning for Speech-Driven Text Generation

Hamza El Alaoui, Atieh Taheri, Yi-Hao Peng, Jeffrey P. Bigham

TL;DR

StepWrite is an LLM-powered voice interface designed for hands-free, eyes-free composition of complex, long-form text. By transforming the writing process into an adaptive, structured Q&A dialogue, it offloads context tracking and structural planning from the user to the model. In user studies, StepWrite significantly reduced cognitive load and post-draft revision effort compared to standard dictation tools and open-ended conversational AI.

What Problem Does This Paper Address?

While dictating a quick text message on the go is easy, composing a structured email or a detailed response using voice commands remains incredibly frustrating.

Traditional speech-to-text (STT) systems operate linearly—they transcribe words but fail to help with structural planning, formatting, or editing, often resulting in unpunctuated, run-on sentences. Conversely, modern conversational voice assistants (like ChatGPT's Advanced Voice Mode) are highly flexible but lack structured scaffolding. This forces users to mentally track the document's state and plan the narrative entirely in their heads. In multitasking or eyes-free scenarios—such as walking or cooking—this creates a high cognitive load, frequently causing users to lose track of their intent or give up entirely.

Methods

StepWrite introduces a modular, voice-first pipeline driven by Large Language Models (LLMs) that breaks down the composition process into a structured, step-by-step interview.

StepWrite interaction model showing speech-driven writing on the go and while cooking.

The architecture consists of several key components:

  • Audio Processing & VAD: Integrates Silero Voice Activity Detection (VAD) and custom noise-filtering to accurately segment speech and accommodate natural user pauses without prematurely cutting off input.
  • Fuzzy Command Recognition: A client-side engine matches voice commands (e.g., "skip question", "modify answer", "finish writing") using token-level fuzzy matching, allowing hands-free navigation.
  • Adaptive Q&A Engine: Powered by an LLM (4.1-mini), this module dynamically generates follow-up questions based on the evolving conversation history to extract essential details. It outputs a followup_needed boolean flag to signal when sufficient context has been gathered to generate text.
  • Tone Classification: A module (gpt-4.1) evaluates the Q&A history to classify the user's intended voice across 14 distinct categories (e.g., empathetic, assertive, diplomatic).
  • Fact-Checking Loop: Once text generation is complete, a meticulous fact-checker (4o-mini) cross-references the draft against the raw Q&A history to catch omissions or contradictions, running an iterative adjustment loop to ensure semantic integrity before final output.
Core components and model implementations of the StepWrite pipeline.

Datasets

To evaluate the tone classification module, the authors developed a comprehensive 350-message tone benchmark. They sampled 200 messages from an existing university email corpus and manually authored an additional 150 messages to ensure balanced coverage across all 14 defined tone categories.

For system validation, the authors conducted a within-subjects empirical study with 25 participants who completed email composition and reply tasks under both stationary (e.g., folding origami, cooking) and mobile (walking) conditions.

Key Insights and Ideas

  • Front-Loading Effort Minimizes Revision: StepWrite intentionally shifts user effort to the drafting phase via structured Q&A. While this increases initial composition time, it yields highly accurate first drafts, slashing post-generation manual editing by 77% compared to dictation and 40% compared to open-ended conversational AI.
  • Adaptive Planning is Highly Efficient: The system achieved an Essential Question Fraction (EQF) of 0.779, meaning nearly 78% of the AI-generated questions directly contributed information that survived into the final text. This demonstrates that dynamic, context-aware prompting rarely digresses into irrelevant details.
  • Scaffolding Preserves User Agency: Despite being heavily guided by an AI interviewer, users reported a higher sense of ownership and agency over StepWrite’s final output compared to open-ended conversational assistants, where users felt the AI often over-rewrote and superseded their original voice.

Key Results

  • Drastically Reduced Revision Effort: StepWrite drafts required the fewest word-level edits overall ($M_{write} = 1.52$, $M_{reply} = 0.84$) compared to ChatGPT AVM ($M_{write} = 2.68$, $M_{reply} = 1.56$) and standard Dictation ($M_{write} = 7.60$, $M_{reply} = 9.32$).
  • Lowest Cognitive Workload: StepWrite registered the lowest overall raw NASA-TLX workload score (16.8 out of 100), significantly outperforming standard dictation (49.2), which users rated as highly burdensome and frustrating.
  • Superior Initial Text Quality: Standard dictation yielded an extremely low initial readability score (Flesch Reading Ease of 5.66) due to massive run-on sentences (averaging 62.83 words). StepWrite produced cleanly segmented sentences from the outset (averaging 12.79 words) with stable, moderate readability (46.13).
  • High Tone Accuracy: The zero-shot tone classifier achieved an overall accuracy of 91.7% on the evaluation benchmark.

Limitations and Future Work

  • Demographics and Generalizability: The user study primarily featured tech-comfortable, university-educated, English-speaking adults. Future work must evaluate how the system performs with non-native speakers, older adults, or individuals with lower digital literacy.
  • Document Scale: The current implementation is optimized for short-form emails and replies. Scaling to longer documents like essays or reports will require hierarchical outlining and section-level navigation.
  • Real-World Environmental Noise: The multitasking contexts were simulated in a controlled lab setting. Field studies in genuinely noisy, unpredictable environments (e.g., public transit, busy kitchens) are necessary to fully test the robustness of the audio pipeline and speech recognition.

Summary updated

BibTeX
@inproceedings{alaoui2025stepwrite,
  author = {Hamza El Alaoui and Atieh Taheri and Yi-Hao Peng and Jeffrey P. Bigham},
  title = {{StepWrite: Adaptive Planning for Speech-Driven Text Generation}},
  booktitle = {UIST},
  year = {2025},
  doi = {10.1145/3746059.3747610},
}
Figure