PromptPrism: A Linguistically-Inspired Taxonomy for Prompts

Sullam Jeoung, Yueyan Chen, Yi Zhang, Shuai Wang, Haibo Ding +1 more
5/19/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Prompts are the interface for eliciting the capabilities of large language models (LLMs). Understanding their structure and components is critical for analyzing LLM behavior and optimizing performance.

Show full abstract

However, the field lacks a comprehensive framework for systematic prompt analysis and understanding. We introduce PromptPrism, a linguistically-inspired taxonomy that enables prompt analysis across three hierarchical levels: functional structure, semantic component, and syntactic pattern. By applying linguistic concepts to prompt analysis, PromptPrism bridges traditional language understanding and modern LLM research, offering insights that purely empirical approaches might miss. We show the practical utility of PromptPrism by applying it to three applications: (1) a taxonomy-guided prompt refinement approach that automatically improves prompt quality and enhances model performance across a range of tasks; (2) a multi-dimensional dataset profiling method that extracts and aggregates structural, semantic, and syntactic characteristics from prompt datasets, enabling comprehensive analysis of prompt distributions and patterns; (3) a controlled experimental framework for prompt sensitivity analysis by quantifying the impact of semantic reordering and delimiter modifications on LLM performance. Our experimental results validate the effectiveness of our taxonomy across these applications, demonstrating that PromptPrism provides a foundation for refining, profiling, and analyzing prompts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jeoung2025promptprism,
  title  = {PromptPrism: A Linguistically-Inspired Taxonomy for Prompts},
  author = {Sullam Jeoung and Yueyan Chen and Yi Zhang and Shuai Wang and Haibo Ding and Lin Lee Cheong},
  year   = {2025},
  eprint = {2505.12592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12592v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12592.svg)](https://codeofpaper.com/paper/2505.12592)

Discussion