Computational Safety for Generative AI: A Signal Processing Perspective
Pin-Yu Chen
TL;DR
This paper reframes AI safety for GenAI through a signal-processing lens, defining computational safety as hypothesis testing with judge functions to certify safe inputs and outputs. It formalizes two concrete use cases—jailbreak prompt detection (model input) and AI-generated content detection (model output)—and demonstrates how sensitivity analysis, loss-landscape analysis, subspace modeling, and adversarial learning yield effective detectors and mitigations. Key contributions include a unified framework that recasts safety challenges as detection tasks, concrete methods like Gradient Cuff and Token Highlighter for jailbreak defense, and training-free detectors like AEROBLADE and RIGID for AI-generated image detection, plus RADAR for robust AI-generated text detection. The work argues for the essential role of signal processing in practical AI safety, highlights open challenges, and envisions pursuing AI safety as a collaborative public-good effort toward Artificial Good Intelligence with substantial real-world impact.
Abstract
AI safety is a rapidly growing area of research that seeks to prevent the harm and misuse of frontier AI technology, particularly with respect to generative AI (GenAI) tools that are capable of creating realistic and high-quality content through text prompts. Examples of such tools include large language models (LLMs) and text-to-image (T2I) diffusion models. As the performance of various leading GenAI models approaches saturation due to similar training data sources and neural network architecture designs, the development of reliable safety guardrails has become a key differentiator for responsibility and sustainability. This paper presents a formalization of the concept of computational safety, which is a mathematical framework that enables the quantitative assessment, formulation, and study of safety challenges in GenAI through the lens of signal processing theory and methods. In particular, we explore two exemplary categories of computational safety challenges in GenAI that can be formulated as hypothesis testing problems. For the safety of model input, we show how sensitivity analysis and loss landscape analysis can be used to detect malicious prompts with jailbreak attempts. For the safety of model output, we elucidate how statistical signal processing and adversarial learning can be used to detect AI-generated content. Finally, we discuss key open research challenges, opportunities, and the essential role of signal processing in computational AI safety.
