Explaining Patterns in Data with Language Models via Interpretable Autoprompting
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 43 of its 72 references that are in the map. First posted on arXiv 4 Oct 2022.
Builds on
43 of 72 references.
References · 43
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
31 more
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2021GPT Understands, Toocited by 715
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 468
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
- 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 246
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2019Neural Text Summarization: A Critical Evaluationcited by 189
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2016Generating Visual Explanationscited by 156
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
- 2021Adapting Language Models for Zero-shot Learning by Meta-tuning on Dataset and Prompt Collectionscited by 128
- 2017Detecting Statistical Interactions from Neural Network Weightscited by 80
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Modelscited by 70
- 2019Incorporating Priors with Feature Attribution on Text Classificationcited by 68
- 2018Hierarchical interpretations for neural network predictionscited by 66
- 2019Explainable AI for Trees: From Local Explanations to Global Understandingcited by 64
- 2017Distill-and-Compare: Auditing Black-Box Models Using Transparent Model Distillationcited by 62
- 2017Table-to-text Generation by Structure-aware Seq2seq Learningcited by 54
- 2022Describing Differences between Text Distributions with Natural Languagecited by 54
- 2021Adaptive wavelet distillation from neural networks through interpretationscited by 32
- 2022SciNLI: A Corpus for Natural Language Inference on Scientific Textcited by 27
- 2020Learning from the Best: Rationalizing Prediction by Adversarial Information Calibrationcited by 25
- 2022Hierarchical Shrinkage: improving the accuracy and interpretability of tree-based methodscited by 18
Built on by
Not cited yet.