Skip to content

Computational safety of generative AI: A hypothesis testing perspectiveComputational Safety for Generative AI: A Hypothesis Testing Perspective

arXiv· arXiv:2502.12445· Pin-Yu ChenIBM ResearchIndexed by this site · 27 days ago· Originally publishedAlignment

Translation in progress — untranslated text is omitted.

Quick read

Other

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe paper proposes a formal mathematical framework of "computational safety" to quantitatively evaluate the safety challenges of generative AI (such as large language models and text-to-image diffusion models) using signal processing theory. The framework formulates two types of safety challenges as hypothesis testing problems: on the input side, sensitivity analysis and loss landscape analysis are used to detect malicious prompts containing jailbreak attempts; on the output side, statistical signal processing is used to detect AI-generated content.

Questions
GenAI's input and output safety (jailbreak prompts, AI-generated content) lacks a unified formal framework; the authors believe it can be quantitatively evaluated with the help of signal processing theory.
Methods
The authors propose the computational safety framework, which uniformly writes safety problems as binary hypothesis testing, verifies the hypothesis with a decision function J, and handles them with signal processing techniques such as sensitivity analysis, subspace projection, loss landscape, and adversarial learning.
Experiments and results
Two case studies: on Vicuna-7B-V1.5, the loss landscape of jailbreak prompts differs from that of benign prompts; RIGID achieves AUROC 0.867 on ImageNet, higher than AEROBLADE's 0.593; under paraphrasing attacks, only RADAR's AUROC remains at 0.857.
Limitations and future work
The authors point out that validation and improvement of the decision function J are beyond the scope of this paper; the experiments cover only the first three of the six types of problems listed in Table 1, and most results are cited from previously published work.
Read originalarxiv.org