LGAICLNCMLOct 4, 2022

Explaining Patterns in Data with Language Models via Interpretable Autoprompting

Berkeley
arXiv:2210.01848v212 citationsh-index: 60
AI Analysis

This work addresses the challenge of making LLM-based pattern explanation interpretable and effective for generalization, with potential applications in scientific discovery, though it is incremental as it builds on existing autoprompting methods.

The paper tackles the problem of finding and explaining patterns in data using large language models, introducing interpretable autoprompting (iPrompt) to generate natural-language explanations, with results showing it accurately finds groundtruth dataset descriptions and matches or improves upon human-written prompts for GPT-3 in sentiment classification.

Large language models (LLMs) have displayed an impressive ability to harness natural language to perform complex tasks. In this work, we explore whether we can leverage this learned ability to find and explain patterns in data. Specifically, given a pre-trained LLM and data examples, we introduce interpretable autoprompting (iPrompt), an algorithm that generates a natural-language string explaining the data. iPrompt iteratively alternates between generating explanations with an LLM and reranking them based on their performance when used as a prompt. Experiments on a wide range of datasets, from synthetic mathematics to natural-language understanding, show that iPrompt can yield meaningful insights by accurately finding groundtruth dataset descriptions. Moreover, the prompts produced by iPrompt are simultaneously human-interpretable and highly effective for generalization: on real-world sentiment classification datasets, iPrompt produces prompts that match or even improve upon human-written prompts for GPT-3. Finally, experiments with an fMRI dataset show the potential for iPrompt to aid in scientific discovery. All code for using the methods and data here is made available on Github.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes