Tempura: Query Analysis with Structural Templates

Tongshuang Wu, Kanit Wongsuphasawat, Donghao Ren, Kayur Patel and 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.

Venue
CHI 2020
Volume
Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3313831.3376451
PDF
https://dl.acm.org/doi/pdf/10.1145/3313831.3376451
Anthology ID
2020.chi.323

Cite

@inproceedings{wu-etal-2020-tempura,
    title = {{Tempura: Query Analysis with Structural Templates}},
    author = {Tongshuang Wu and Kanit Wongsuphasawat and Donghao Ren and Kayur Patel and Chris DuBois},
    booktitle = {Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450367080},
    year = {2020},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3313831.3376451},
    url = {https://doi.org/10.1145/3313831.3376451},
    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.}
}