The Research Report
PEEM: The First Evaluation Framework That Scores Your Prompt AND Your Response Together
Most eval tools treat prompt quality and response quality as separate problems. You either benchmark the prompt (does it produce the right answer?) or you benchmark the response (is the output coherent and clear?). But you never score them as a pair. That blind spot matters because a bad prompt can sabotage a good model, and a bad response can hide behind a well-written prompt.
A team from Dongguk University in South Korea fixed this. They built PEEM — Prompt Engineering Evaluation Metrics — and published it on arXiv in March 2026 (arXiv:2603.10477v1, also in IEEE Access). PEEM evaluates prompts and responses together on a shared rubric. It outputs both numerical scores and plain-English rationales. And it improves downstream accuracy by up to 11.7 percentage points when you feed those rationales back into a prompt rewriting loop.
The Problem: You Cannot Debug What You Do Not Measure
Standard benchmarks reduce everything to a single number. Did the model get the right answer? Yes or no. That binary signal tells you nothing about why a prompt failed or what part of the response broke. It also ignores the prompt entirely. Most benchmarks use one fixed prompt per task and pretend prompt phrasing does not matter. That contradicts years of evidence that LLMs are highly sensitive to wording, structure, and framing.
Existing LLM-as-a-judge approaches like G-EVAL and ChatGPT-as-a-judge evaluate responses across multiple axes (coherence, clarity, relevance), but they still look at the response in isolation. They do not examine the prompt that produced it. They also output only scalar scores with little interpretable feedback. You get a number, not an explanation.
PEEM closes this gap by treating the prompt-response pair as a single unit of analysis.
How PEEM Works
PEEM defines a structured rubric with nine evaluation axes.
Prompt criteria (3 axes):
- Clarity and structure
- Linguistic quality
- Fairness
Response criteria (6 axes):
- Accuracy
- Coherence
- Relevance
- Objectivity
- Clarity
- Conciseness
An LLM-based evaluator applies this rubric to every prompt-response pair and outputs two things: a scalar score on a 1-5 Likert scale, and a natural-language rationale that explains why the score was assigned. This dual-mode design lets you diagnose problems at a glance.
For example, if a prompt scores low on clarity/structure, you know the instructions were ambiguous before you even look at the response. If the response scores low on objectivity, you catch biased phrasing that accuracy metrics would miss entirely.
The Numbers Hold Up
The authors tested PEEM across seven benchmarks and five task models: Gemma-2-9B-IT, LLaMA-3.1-8B-IT, Qwen-2.5-7B-IT, GPT-4o-mini, and Gemini-2.5-Flash.
PEEM's accuracy axis strongly aligns with conventional accuracy metrics. Aggregate Spearman correlation is about 0.97. Pearson r is about 0.94. Both are significant at p < 0.001. Model rankings stay intact. PEEM does not distort the competitive landscape. It adds resolution where existing metrics are blind.
Cross-evaluator consistency is solid too. The authors tested four different evaluator models. Pairwise rank correlations range from 0.68 to 0.85. That means PEEM is evaluator-agnostic. You are not locked into GPT-4o-mini as your judge. The protocol works across models.
Robustness Under Pressure
A good evaluation framework must distinguish between meaningful changes and cosmetic tweaks. PEEM passes this test.
Under meaning-preserving paraphrases, PEEM stays stable with a robustness rate of about 76.7-80.6%. If you rephrase a prompt without changing its meaning, the scores stay roughly the same.
Under semantic adversarial manipulations, scores degrade clearly and systematically. If an attacker injects subtle semantic distortions, PEEM catches them. This is important because it means PEEM measures substantive quality, not surface-level word choice.
Prompt-quality trends also track downstream accuracy under iterative rewrites. As you improve a prompt, PEEM scores rise in step with actual task performance.
The Feedback Loop: From Evaluation to Optimization
Here is where PEEM gets practical. The authors built a zero-shot prompt rewriting loop that uses only PEEM scores and rationales as feedback. No gradient access. No training data. No human annotation.
The loop improves downstream accuracy by up to 11.7 percentage points. It outperforms supervised and reinforcement learning-based prompt optimization baselines. This is significant because it proves that structured, interpretable evaluation can directly drive optimization without expensive infrastructure.
The rationales are not decorative. They are actionable. When PEEM tells you a prompt lacks structural clarity, you know exactly what to fix. When it flags a response for poor coherence, you can trace that back to the prompt's instruction phrasing. The framework links cause to effect.
Why This Matters for Production Teams
Most production prompt engineering workflows look like this: write a prompt, run it against a test set, check accuracy, tweak wording, repeat. The loop is slow and opaque. You learn that version 17 beats version 16, but you do not know why.
PEEM introduces a diagnostic layer. It tells you which of the nine axes failed and why. That turns guesswork into targeted fixes. It also evaluates the prompt itself, not just the response, so you can catch instruction problems before they pollute your outputs.
The evaluator-agnostic design matters for teams that want to avoid vendor lock-in. You can run PEEM with GPT-4o-mini, Gemini, Qwen, or LLaMA as the evaluator. The protocol stays the same.
The IEEE Access publication (DOI: 10.1109/ACCESS.2026.3679809) gives PEEM additional credibility beyond the preprint. The authors also released the code, though the repository is not yet widely cited.
Limitations and Open Questions
PEEM uses a 1-5 Likert scale, which is granular enough for relative ranking but may feel coarse for fine-grained optimization. Some teams may want continuous scores instead of integer bins.
The fairness axis is welcome but lightly defined in the paper. Production teams will need to operationalize what fairness means for their specific use cases.
The cross-evaluator consistency (ρ=0.68-0.85) is good but not perfect. There is still evaluator variance. Teams should validate PEEM against their own ground-truth data before trusting it for high-stakes decisions.
Bottom Line
PEEM is the first evaluation framework that treats prompts and responses as a joint unit. It scores both. It explains both. And it feeds those explanations back into a prompt optimization loop that outperforms supervised and RL baselines.
For production prompt engineering teams, this closes a real gap. You no longer need to guess whether a bad response came from a bad prompt or a bad model. PEEM tells you which axis failed and why. That turns prompt engineering from a dark art into a measurable, diagnosable discipline.
The paper is 24 pages with clear methodology and extensive benchmarks. Read it if you run prompt eval pipelines. The ideas are immediately applicable.
Suggested title: PEEM: The First Framework That Evaluates Your Prompt and Response as a Team
Word count: ~1,180
Citations:
- arXiv:2603.10477v1 — PEEM: Prompt Engineering Evaluation Metrics for Interpretable Joint Evaluation of Prompts and Responses (Hong et al., Dongguk University, March 2026)
- IEEE Access, DOI: 10.1109/ACCESS.2026.3679809
- G-EVAL (Liu et al.) — existing LLM-as-judge approach referenced for comparison
- GPTScore (Fu et al.) — referenced as prior LLM-based evaluation method
Fact-check notes:
- Verify that the PEEM code repository is publicly available and functional (not confirmed in the paper abstract)
- The 11.7pp improvement claim applies to the zero-shot rewriting loop specifically, not to all PEEM use cases
- The evaluator-agnostic claim (ρ=0.68-0.85 cross-evaluator) should be validated on your own tasks before production deployment
- The IEEE Access DOI links to a related resource; verify the full publication details match the arXiv version