LLMScan: Causal Scanning for Detecting LLM MisbehaviorLLMScan: Causal Scan for LLM Misbehavior Detection
AI summary
LLMScan is a causality-analysis-based method for detecting LLM misbehavior, identifying misbehavior by analyzing the causal contributions of input tokens and Transformer layers. Experiments across multiple tasks and models show that the causal distributions of normal behavior and misbehavior differ markedly, which can be used to build a lightweight detector.