Computational safety of generative AI: A hypothesis testing perspectiveComputational Safety for Generative AI: A Hypothesis Testing Perspective
Translation in progress — untranslated text is omitted.
The 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.
- 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.
- 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.
- 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.
- 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.