Visualizing Linguistic Diversity of Text Datasets Synthesized by Large Language Models

Emily Reif, Minsuk Kahng, Savvas Petridis
5/19/2023
cs.CLcs.AI

No official code found. Best implementation: PAIR-code/interpretability (234 stars, Apache-2.0, last commit 2026-04-18).

Abstract

Large language models (LLMs) can be used to generate smaller, more refined datasets via few-shot prompting for benchmarking, fine-tuning or other use cases. However, understanding and evaluating these datasets is difficult, and the failure modes of LLM-generated data are still not well understood. Specifically, the data can be repetitive in surprising ways, not only semantically but also syntactically and lexically. We present LinguisticLens, a novel inter-active visualization tool for making sense of and analyzing syntactic diversity of LLM-generated datasets. LinguisticLens clusters text along syntactic, lexical, and semantic axes. It supports hierarchical visualization of a text dataset, allowing users to quickly scan for an overview and inspect individual examples. The live demo is available at shorturl.at/zHOUV.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

PAIR.withgoogle.com and friend's work on interpretability methods

23441CSS, HTML6 months agoApache-2.0

Similar Papers

Cite this paper

@article{reif2023visualizing,
  title  = {Visualizing Linguistic Diversity of Text Datasets Synthesized by Large Language Models},
  author = {Emily Reif and Minsuk Kahng and Savvas Petridis},
  year   = {2023},
  eprint = {2305.11364},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.11364v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.11364.svg)](https://codeofpaper.com/paper/2305.11364)

Discussion