Bridging Natural Language and Interactive What-If Interfaces via LLM-Generated Declarative Specification
Sneha Gathani, Sirui Zeng, Diya Patel, Ryan Rossi, Dan Marshall, Cagatay Demiralp, Steven Drucker, Zhicheng Liu

TL;DR
This paper introduces a workflow that converts natural language questions into interactive visual interfaces for what-if analysis using LLMs and a new specification language, improving accuracy and reliability.
Contribution
It proposes a novel two-stage process with a specification language to translate natural language into interactive interfaces, addressing limitations of existing tools.
Findings
Half of specifications generated correctly without intervention
Applying targeted repairs increases success rate to over 80%
Intermediate specifications help prevent misleading interfaces
Abstract
What-if analysis (WIA) is an iterative, multi-step process where users explore and compare hypothetical scenarios by adjusting parameters, applying constraints, and scoping data through interactive interfaces. Current tools fall short of supporting effective interactive WIA: spreadsheet and BI tools require time-consuming and laborious setup, while LLM-based chatbot interfaces are semantically fragile, frequently misinterpret intent, and produce inconsistent results as conversations progress. To address these limitations, we present a two-stage workflow that translates natural language (NL) WIA questions into interactive visual interfaces via an intermediate representation, powered by the Praxa Specification Language (PSL): first, LLMs generate PSL specifications from NL questions capturing analytical intent and logic, enabling validation and repair of erroneous specifications; and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
