Describing Differences between Text Distributions with Natural Language
How do two distributions of texts differ? Humans are slow at answering this, since discovering patterns might require tediously reading through hundreds of samples. We propose to automatically summarize the differences by "learning a natural language hypothesis": given two distributions $D_{0}$ and $D_{1}$, we search for a description that is more often true for $D_{1}$, e.g., "is military-related." To tackle this problem, we fine-tune GPT-3 to propose descriptions with the prompt: "[samples of $D_{0}$] + [samples of $D_{1}$] + the difference between them is_____." We then re-rank the descriptions by checking how often they hold on a larger set of samples with a learned verifier. On a benchmark of 54 real-world binary classification tasks, while GPT-3 Curie (13B) only generates a description similar to human annotation 7% of the time, the performance reaches 61% with fine-tuning and re-ranking, and our best system using GPT-3 Davinci (175B) reaches 76%. We apply our system to describe distribution shifts, debug dataset shortcuts, summarize unknown tasks, and label text clusters, and present analyses based on automatically generated descriptions.
Code (1)
Tasks
Binary ClassificationRe-RankingMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
PoseFix: Correcting 3D Human Poses with Natural Language
Automatically producing instructions to modify one's posture could open the door to endless applications, such as personalized coaching and in-home physical therapy. Tackling the reverse problem (i.e., refining a 3D pose…
Text GenerationDescribing Differences in Image Sets with Natural Language
How do two sets of images differ? Discerning set-level differences is crucial for understanding model behaviors and analyzing datasets, yet manually sifting through thousands of images is impractical. To aid in this disc…
Language ModellingNoise-induced Mixing and Multimodality in Reaction Networks
We analyze a class of chemical reaction networks under mass-action kinetics and involving multiple time-scales, whose deterministic and stochastic models display qualitative differences. The networks are inspired by gene…
Evolution of Two Membrane Protein Sequences and Functions
TRPC(3,6) are two ~ 930 amino acid membrane proteins that form calcium permeant cation channels. Here we examine the differences between mammals and oviparous species. Our method is based on the concept of evolution towa…
Vocal Bursts Valence PredictionNeural Naturalist: Generating Fine-Grained Image Comparisons
We introduce the new Birds-to-Words dataset of 41k sentences describing fine-grained differences between photographs of birds. The language collected is highly detailed, while remaining understandable to the everyday obs…