mlsanityData to 14 Oct 2026

Strings from the Library of Babel: Random Sampling as a Strong Baseline for Prompt Optimisation

arXiv 2311.09569 ↗First posted 16 Nov 2023cs.CL cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Recent prompt optimisation approaches use the generative nature of language models to produce prompts -- even rivaling the performance of human-curated prompts. In this paper, we demonstrate that randomly sampling tokens from the model vocabulary as ``separators'' can be as effective as language models for prompt-style text classification. Our experiments show that random separators are competitive baselines, having less than a 1% difference compared to previous self-optimisation methods and showing a 12% average relative improvement over strong human baselines across nine text classification tasks and eight language models. We further analyse this phenomenon in detail using three different random generation strategies, establishing that the language space is rich with potentially good separators, with a greater than 40% average chance that a randomly drawn separator performs better than human-curated separators. These observations challenge the common assumption that an effective prompt should be human readable or task relevant and establish a strong baseline for prompt optimisation research.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 16 Nov 2023.

Builds on

24 of 38 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  10. 2018Deep contextualized word representationscited by 2,290
  11. 2019Language Models as Knowledge Bases?cited by 1,936
  12. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
12 more
  1. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  2. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  3. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  4. 2019How Can We Know What Language Models Know?cited by 959
  5. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  6. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  7. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
  8. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 268
  9. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 193
  10. 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
  11. 2020How Context Affects Language Models' Factual Predictionscited by 181
  12. 2022Toward Human Readable Prompt Tuning: Kubrick's The Shining is a good movie, and a good prompt too?cited by 49

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 2; 2026: 2.

7 papers.