arXiv — NLP / Computation & Language · · 3 min read

From Prompt Risk to Response Risk: Paired Analysis of Safety Behavior of Large Language Models

Mirrored from arXiv — NLP / Computation & Language for archival readability. Support the source by reading on the original site.

Computer Science > Computation and Language

arXiv:2604.26052 (cs)
[Submitted on 28 Apr 2026 (v1), last revised 13 Jul 2026 (this version, v4)]

Title:From Prompt Risk to Response Risk: Paired Analysis of Safety Behavior of Large Language Models

View a PDF of the paper titled From Prompt Risk to Response Risk: Paired Analysis of Safety Behavior of Large Language Models, by Mengya Hu and Qiong Wei and Sandeep Atluri
View PDF HTML (experimental)
Abstract:Safety evaluations of large language models (LLMs) typically report binary outcomes, i.e. attack success rate (ASR), refusal rate, or harmful versus safe classification, which hide how risk changes between prompt and response. We present a paired analysis over human labeled prompt and response records across four harm categories (Sexual, Self harm, Hate and Violence) and ordinal severity levels (Safe, Low, Medium, High). 61% of responses reduce harm relative to the prompt, 36% preserve severity, and 3% escalate. The escalation splits into two mechanisms: benign prompts triggering unrequested harmful detail, and answers that stay on task at higher severity than the prompt. Category decomposition shows that Sexual content exhibits the highest harm persistence in this sample, driven by compliance at the same severity rather than drift from benign inputs. Joint relevance analysis exposes a helpfulness versus harmlessness tradeoff: compliance escalations remain highly relevant, whereas safe responses include generic refusals with low relevance. A public supporting evaluation over 600 prompts and six models reproduces the framework's measurements and two directional signals, while few-shot LLM graders exhibit a prompt/response detection asymmetry that data calibration does not close. Grader prompts, public-evaluation artifacts, and analysis code are shared at this https URL.
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2604.26052 [cs.CL]
  (or arXiv:2604.26052v4 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2604.26052
arXiv-issued DOI via DataCite

Submission history

From: Mengya Hu [view email]
[v1] Tue, 28 Apr 2026 18:42:58 UTC (1,057 KB)
[v2] Mon, 4 May 2026 21:28:25 UTC (1,057 KB)
[v3] Wed, 20 May 2026 05:39:32 UTC (496 KB)
[v4] Mon, 13 Jul 2026 20:16:57 UTC (503 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled From Prompt Risk to Response Risk: Paired Analysis of Safety Behavior of Large Language Models, by Mengya Hu and Qiong Wei and Sandeep Atluri
  • View PDF
  • HTML (experimental)
  • TeX Source

Current browse context:

cs.CL
< prev   |   next >
Change to browse by:
cs

References & Citations

Loading...

BibTeX formatted citation

loading...
Data provided by:

Bookmark

BibSonomy Reddit
Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos

Demos

Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers

Recommenders and Search Tools

Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from arXiv — NLP / Computation & Language