Lune

CHI2020Top-tier venue

Tempura: Query Analysis with Structural Templates

Tongshuang Wu, Kanit Wongsuphasawat, Donghao Ren, Kayur Patel, Chris DuBois

Abstract

Analyzing queries from search engines and intelligent assistants is difficult. A key challenge is organizing queries into interpretable, context-preserving, representative, and flexible groups. We present structural templates, abstract queries that replace tokens with their linguistic feature forms, as a query grouping method. The templates allow analysts to create query groups with structural similarity at different granularities. We introduce Tempura, an interactive tool that lets analysts explore a query dataset with structural templates. Tempura summarizes a query dataset by selecting a representative subset of templates to show the query distribution. The tool also helps analysts navigate the template space by suggesting related templates likely to yield further explorations. Our user study shows that Tempura helps analysts examine the distribution of a query dataset, find labeling errors, and discover model error patterns and outliers.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AbstractExplorer: Leveraging Structure-Mapping Theory to Enhance Comparative Close Reading at Scale cites Supporting Sensemaking of Large Language Model Outputs at Scale
  • Exploring Empty Spaces: Human-in-the-Loop Data Augmentation cites Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Models
  • Exploring Empty Spaces: Human-in-the-Loop Data Augmentation cites Supporting Sensemaking of Large Language Model Outputs at Scale
  • Data-Prompt Co-Evolution: Growing Test Sets to Refine LLM Behavior cites Exploring Empty Spaces: Human-in-the-Loop Data Augmentation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Supporting Sensemaking of Large Language Model Outputs at ScaleKaty Ilonka Gero, Chelse Swoopes, Ziwei Gu, Jonathan K. Kummerfeld et al.CHI 2024 · 52 citations
  2. Exploring Empty Spaces: Human-in-the-Loop Data AugmentationCatherine Yeh, Donghao Ren, Yannick Assogba, Dominik Moritz et al.CHI 2025 · 13 citations
  3. AbstractExplorer: Leveraging Structure-Mapping Theory to Enhance Comparative Close Reading at ScaleZiwei Gu, Joyce Zhou, Ning-Er (Nina) Lei, Jonathan K. Kummerfeld et al.UIST 2025 · 3 citations
  4. Data-Prompt Co-Evolution: Growing Test Sets to Refine LLM BehaviorMinjae Lee, Minsuk KahngCHI 2026 · 1 citation
  5. Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving ModelsTongshuang Wu, Marco Túlio Ribeiro, Jeffrey Heer, Daniel S. WeldACL 2021

Related papers

  1. Querying Templatized Document Collections with Large Language ModelsYiming Lin, Madelon Hulsebos, Ruiying Ma, Shreya Shankar et al.ICDE 2025 · 4 citations
  2. Contextualizing biological perturbation experiments through languageMenghua Wu, Russell Littman, Jacob Levine, Lin Qiu et al.ICLR 2025
  3. Sneak Pique: Exploring Autocompletion as a Data Discovery Scaffold for Supporting Visual AnalysisVidya Setlur, Enamul Hoque, Dae Hyun Kim, Angel X. ChangUIST 2020 · 23 citations
  4. ShapeSearch: A Flexible and Efficient System for Shape-based Exploration of TrendlinesTarique Siddiqui, Paul Luh, Zesheng Wang, Karrie Karahalios et al.SIGMOD 2020 · 35 citations
  5. Exploring Exploratory QueryingMarcelo Arenas, Enrico Franconi, Janik Hammerer, Olaf Hartig et al.VLDB 2025
Dusk over the sea between two cliffs drawn in fine vertical lines