CurvaLID: Geometry-Guided Adversarial Prompt Detection Based on Curvature and Local Intrinsic DimensionalityGeometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimension
AI summary
The researchers propose CurvaLID, which detects adversarial prompts via curvature and local intrinsic dimensionality (LID). The method extends the curvature of the Whewell equation to n-dimensional word embedding space and combines it with LID to characterize geometric features in the adversarial subspace. The authors claim it can achieve near-perfect classification and outperforms existing detectors across multiple LLMs and attack families, and is independent of model type.