LLM Prompt Datasets: In-Depth Analysis and Insights
*Authors: Yuanming Zhang*, *Yan Lin*, Arijit Khan†, Huaiyu Wan — Beijing Jiaotong University, Aalborg University, Bowling Green State University — October 10, 2025
Abstract
Prompts are natural language instructions that define specific tasks for large language models (LLMs) and serve as the primary interface for human–machine interaction. With the wide deployment of LLMs, prompt datasets are emerging from platforms such as GitHub and social media. These datasets span a broad range of applications and content types, enabling broader LLM usage and improved prompt engineering.
Data Collection
The authors compiled a comprehensive collection of 1.22 TB of data containing 673M+ prompt instances from 129 heterogeneous sources:
- Dataset platforms
- Academic publications
- Public repositories
- Social media
- Downstream task
- Language
- Engineering technique
- Attributes
- Modality
- Prompts exhibit distinctive compositional patterns compared with other text corpora.
- Domain-specific variations exist in prompt construction across applications.
- Unique linguistic characteristics distinguish prompts from literary and web content.
- Prompts tend to be more instructive and task-oriented than general text.
- First comprehensive compilation of prompt datasets
- Foundation for systematic prompt engineering research
- Enables more effective prompt selection and optimization
- Facilitates broader LLM deployment across applications
Taxonomy
A hierarchical taxonomy of LLM prompt datasets is proposed, organized along five facets:
Analysis Methodology
Multi-level linguistic analysis was performed on seven representative datasets across three dimensions:
| Level | Techniques | |---|---| | Lexical | Token distributions, vocabulary analysis | | Syntactic | Dependency parsing, POS tagging, TF-IDF | | Semantic | Topic modeling, semantic similarity |
Key Findings
Prompt Optimization Method
A novel prompt optimization approach leveraging syntactic embeddings:
1. Extract POS and dependency features 2. Identify centroid representations 3. Guide the LLM to rewrite prompts
This improves the meaningfulness and quality of model outputs.
Impact and Applications
Resources
The dataset and code are available for research use:
https://anonymous.4open.science/r/LLM-Prompt-Datasets-7416
Over 1.22 TB of curated prompt data for research purposes.