BERTese: Learning to Speak to BERT
Not on the map. Why?
Abstract (arXiv)
Large pre-trained language models have been shown to encode large amounts of world and commonsense knowledge in their parameters, leading to substantial interest in methods for extracting that knowledge. In past work, knowledge was extracted by taking manually-authored queries and gathering paraphrases for them using a separate pipeline. In this work, we propose a method for automatically rewriting queries into "BERTese", a paraphrase query that is directly optimized towards better knowledge extraction. To encourage meaningful rewrites, we add auxiliary loss functions that encourage the query to correspond to actual language tokens. We empirically show our approach outperforms competing baselines, obviating the need for complex pipelines. Moreover, BERTese provides some insight into the type of language that helps language models perform knowledge extraction.
Key facts. Cited by 82 papers in the map (data through 14 Oct 2026). Builds on 16 of its 21 references that are in the map. First posted on arXiv 9 Mar 2021.
Builds on
16 of 21 references.
References · 16
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2019How Can We Know What Language Models Know?cited by 959
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 528
- 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 249
- 2020How Context Affects Language Models' Factual Predictionscited by 181
4 more
- 2020Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queriescited by 107
- 2019Inducing Relational Knowledge from BERTcited by 75
- 2017Ask the Right Questions: Active Question Reformulation with Reinforcement Learningcited by 44
- 2017Task-Oriented Query Reformulation with Reinforcement Learningcited by 39
Built on by
Citing papers per year: 2021: 12; 2022: 16; 2023: 35; 2024: 16; 2025: 3.
82 papers.
Sort:
By area:
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2022Optimizing Prompts for Text-to-Image Generationcited by 207
- 2023Data-centric Artificial Intelligence: A Surveycited by 203
- 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2023Multimodality Helps Unimodality: Cross-Modal Few-Shot Learning with Multimodal Modelscited by 91
- 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
- 2023Graph Prompt Learning: A Comprehensive Survey and Beyondcited by 61
38 more
- 2023A Practical Survey on Zero-shot Prompt Design for In-context Learningcited by 49
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 45
- 2023Prompting Large Language Models With the Socratic Methodcited by 43
- 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
- 2023Learning to Rewrite Prompts for Personalized Text Generationcited by 40
- 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Modelscited by 39
- 2021Good Examples Make A Faster Learner: Simple Demonstration-based Learning for Low-resource NERcited by 38
- 2023Choice Over Control: How Users Write with Large Language Models using Diegetic and Non-Diegetic Promptingcited by 36
- 2023Language Models as Black-Box Optimizers for Vision-Language Modelscited by 36
- 2022Prompting as Probing: Using Language Models for Knowledge Base Constructioncited by 32
- 2023Give Me the Facts! A Survey on Factual Knowledge Probing in Pre-trained Language Modelscited by 32
- 2023Revisiting Few-Shot Object Detection with Vision-Language Modelscited by 32
- 2021Relational World Knowledge Representation in Contextual Language Models: A Reviewcited by 31
- 2022Can Prompt Probe Pretrained Language Models? Understanding the Invisible Risks from a Causal Viewcited by 31
- 2023The Life Cycle of Knowledge in Big Language Models: A Surveycited by 23
- 2023Towards Ontology Construction with Language Modelscited by 23
- 2021P-Adapters: Robustly Extracting Factual Information from Language Models with Diverse Promptscited by 22
- 2023Dynamic Benchmarking of Masked Language Models on Temporal Concept Drift with Multiple Viewscited by 21
- 2022MetaPrompting: Learning to Learn Better Promptscited by 19
- 2023BatchPrompt: Accomplish more with lesscited by 16
- 2021Distilling Relation Embeddings from Pre-trained Language Modelscited by 15
- 2023PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizercited by 15
- 2024SocraSynth: Multi-LLM Reasoning with Conditional Statisticscited by 13
- 2024All-in-one Weather-degraded Image Restoration via Adaptive Degradation-aware Self-prompting Modelcited by 13
- 2024Prompt Refinement with Image Pivot for Text-to-Image Generationcited by 11
- 2023On the Evolution of Knowledge Graphs: A Survey and Perspectivecited by 10
- 2022Learning a Better Initialization for Soft Prompts via Meta-Learningcited by 9
- 2023A Survey on Prompting Techniques in LLMscited by 9
- 2023LLM4Causal: Democratized Causal Tools for Everyone via Large Language Modelcited by 9
- 2024How to Make LLMs Forget: On Reversing In-Context Knowledge Editscited by 9
- 2021An Empirical Study on Few-shot Knowledge Probing for Pretrained Language Modelscited by 8
- 2023Can discrete information extraction prompts generalize across language models?cited by 8
- 2023Plum: Prompt Learning using Metaheuristiccited by 8
- 2021Unified Multimodal Pre-training and Prompt-based Tuning for Vision-Language Understanding and Generationcited by 7
- 2022Pre-trained Token-replaced Detection Model as Few-shot Learnercited by 7
- 2022Vector-Quantized Input-Contextualized Soft Prompts for Natural Language Understandingcited by 7
- 2022Probing via Promptingcited by 7
- 2023Dialogue for Prompting: a Policy-Gradient-Based Discrete Prompt Generation for Few-shot Learningcited by 7
50 most cited of 82 All 82 (JSON)
- 2025Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective23 Aug 2025
- 2025Causally Steered Diffusion for Automated Video Counterfactual Generation17 Jun 2025
- 2025Distribution Prompting: Understanding the Expressivity of Language Models Through the Next-Token Distributions They Can Produce18 May 2025
- 2024Differentiable Prompt Learning for Vision Language Models31 Dec 2024
- 2024All-in-one Weather-degraded Image Restoration via Adaptive Degradation-aware Self-prompting Model12 Nov 2024
- 2024Enhancing Fact Retrieval in PLMs through Truthfulness17 Oct 2024
- 2024How to Make LLMs Forget: On Reversing In-Context Knowledge Edits16 Oct 2024
- 2024Self-Instructed Derived Prompt Generation Meets In-Context Learning: Unlocking New Potential of Black-Box LLMs3 Sep 2024
- 2024Context-aware Visual Storytelling with Visual Prefix Tuning and Contrastive Learning12 Aug 2024
- 2024CoAPT: Context Attribute words for Prompt Tuning18 Jul 2024
- 2024Enhancing the Capability and Robustness of Large Language Models through Reinforcement Learning-Driven Query Refinement1 Jul 2024
- 2024Prompt Refinement with Image Pivot for Text-to-Image Generation28 Jun 2024
38 more
- 2024Mining Open Semantics from CLIP: A Relation Transition Perspective for Few-Shot Learning17 Jun 2024
- 2024Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Models15 Jun 2024
- 2024A User-Friendly Framework for Generating Model-Preferred Prompts in Text-to-Image Synthesis20 Feb 2024
- 2024FIPO: Free-form Instruction-oriented Prompt Optimization with Preference Dataset and Modular Fine-tuning Schema19 Feb 2024
- 2024PAP-REC: Personalized Automatic Prompt for Recommendation Language Model1 Feb 2024
- 2024SocraSynth: Multi-LLM Reasoning with Conditional Statistics19 Jan 2024
- 2024PRewrite: Prompt Rewriting with Reinforcement Learning16 Jan 2024
- 2023LLM4Causal: Democratized Causal Tools for Everyone via Large Language Model28 Dec 2023
- 2023Revisiting Few-Shot Object Detection with Vision-Language Models22 Dec 2023
- 2023A Survey on Prompting Techniques in LLMs28 Nov 2023
- 2023Graph Prompt Learning: A Comprehensive Survey and Beyond28 Nov 2023
- 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Models27 Nov 2023
- 2023Plum: Prompt Learning using Metaheuristic14 Nov 2023
- 2023Simple and Effective Input Reformulations for Translation12 Nov 2023
- 2023Give Me the Facts! A Survey on Factual Knowledge Probing in Pre-trained Language Models25 Oct 2023
- 2023A Communication Theory Perspective on Prompting Engineering Methods for Large Language Models24 Oct 2023
- 2023Do Language Models Learn about Legal Entity Types during Pretraining?19 Oct 2023
- 2023On the Evolution of Knowledge Graphs: A Survey and Perspective7 Oct 2023
- 2023Prompting-based Temporal Domain Generalization3 Oct 2023
- 2023Learning to Rewrite Prompts for Personalized Text Generation29 Sep 2023
- 2023A Practical Survey on Zero-shot Prompt Design for In-context Learning22 Sep 2023
- 2023Towards Ontology Construction with Language Models18 Sep 2023
- 2023Language Models as Black-Box Optimizers for Vision-Language Models12 Sep 2023
- 2023BatchPrompt: Accomplish more with less1 Sep 2023
- 2023LLM2KB: Constructing Knowledge Bases using instruction tuned context aware Large Language Models25 Aug 2023
- 2023Dialogue for Prompting: a Policy-Gradient-Based Discrete Prompt Generation for Few-shot Learning14 Aug 2023
- 2023PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizer3 May 2023
- 2023Learning to Plan with Natural Language20 Apr 2023
- 2023MixPro: Simple yet Effective Data Augmentation for Prompt-based Learning19 Apr 2023
- 2023Unsupervised Improvement of Factual Knowledge in Language Models4 Apr 2023
- 2023Task-Oriented Multi-Modal Mutual Leaning for Vision-Language Models30 Mar 2023
- 2023PromptORE -- A Novel Approach Towards Fully Unsupervised Relation Extraction24 Mar 2023
- 2023Data-centric Artificial Intelligence: A Survey17 Mar 2023
- 2023The Life Cycle of Knowledge in Big Language Models: A Survey14 Mar 2023
- 2023Choice Over Control: How Users Write with Large Language Models using Diegetic and Non-Diegetic Prompting6 Mar 2023
- 2023The Contribution of Knowledge in Visiolinguistic Learning: A Survey on Tasks and Challenges4 Mar 2023
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Data24 Feb 2023
- 2023Dynamic Benchmarking of Masked Language Models on Temporal Concept Drift with Multiple Views23 Feb 2023
50 newest of 82 All 82 (JSON)
- 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Modelscited by 39
- 2023Language Models as Black-Box Optimizers for Vision-Language Modelscited by 36
- 2023Revisiting Few-Shot Object Detection with Vision-Language Modelscited by 32
- 2021Unified Multimodal Pre-training and Prompt-based Tuning for Vision-Language Understanding and Generationcited by 7
- 2023Task-Oriented Multi-Modal Mutual Leaning for Vision-Language Modelscited by 3
- 2024Differentiable Prompt Learning for Vision Language Modelscited by 1
- 2024Mining Open Semantics from CLIP: A Relation Transition Perspective for Few-Shot Learningcited by 0
- 2024Differentiable Prompt Learning for Vision Language Models31 Dec 2024
- 2024Mining Open Semantics from CLIP: A Relation Transition Perspective for Few-Shot Learning17 Jun 2024
- 2023Revisiting Few-Shot Object Detection with Vision-Language Models22 Dec 2023
- 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Models27 Nov 2023
- 2023Language Models as Black-Box Optimizers for Vision-Language Models12 Sep 2023
- 2023Task-Oriented Multi-Modal Mutual Leaning for Vision-Language Models30 Mar 2023
- 2021Unified Multimodal Pre-training and Prompt-based Tuning for Vision-Language Understanding and Generation10 Dec 2021
- 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2024SocraSynth: Multi-LLM Reasoning with Conditional Statisticscited by 13
- 2025Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspectivecited by 1
- 2025Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective23 Aug 2025
- 2024SocraSynth: Multi-LLM Reasoning with Conditional Statistics19 Jan 2024
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Data24 Feb 2023
- 2023Active Prompting with Chain-of-Thought for Large Language Models23 Feb 2023
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 45
- 2024PRewrite: Prompt Rewriting with Reinforcement Learning16 Jan 2024
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2022Optimizing Prompts for Text-to-Image Generationcited by 207
- 2023Data-centric Artificial Intelligence: A Surveycited by 203
- 2023Multimodality Helps Unimodality: Cross-Modal Few-Shot Learning with Multimodal Modelscited by 91
- 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
- 2023Graph Prompt Learning: A Comprehensive Survey and Beyondcited by 61
- 2023A Practical Survey on Zero-shot Prompt Design for In-context Learningcited by 49
- 2023Prompting Large Language Models With the Socratic Methodcited by 43
12 most cited of 64 All 64 (JSON)
- 2025Distribution Prompting: Understanding the Expressivity of Language Models Through the Next-Token Distributions They Can Produce18 May 2025
- 2024Enhancing Fact Retrieval in PLMs through Truthfulness17 Oct 2024
- 2024How to Make LLMs Forget: On Reversing In-Context Knowledge Edits16 Oct 2024
- 2024Context-aware Visual Storytelling with Visual Prefix Tuning and Contrastive Learning12 Aug 2024
- 2024CoAPT: Context Attribute words for Prompt Tuning18 Jul 2024
- 2024Prompt Refinement with Image Pivot for Text-to-Image Generation28 Jun 2024
- 2024Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Models15 Jun 2024
- 2024A User-Friendly Framework for Generating Model-Preferred Prompts in Text-to-Image Synthesis20 Feb 2024
- 2024FIPO: Free-form Instruction-oriented Prompt Optimization with Preference Dataset and Modular Fine-tuning Schema19 Feb 2024
- 2024PAP-REC: Personalized Automatic Prompt for Recommendation Language Model1 Feb 2024
- 2023A Survey on Prompting Techniques in LLMs28 Nov 2023
- 2023Graph Prompt Learning: A Comprehensive Survey and Beyond28 Nov 2023
12 newest of 64 All 64 (JSON)