SelfControl: Compressing suffix gradients into a prefix controller to achieve self-control of LLM behaviorSelf-Control of LLM Behaviors by Compressing Suffix Gradient into Prefix Controller
AI summary
SelfControl is an inference-time LLM behavior control method that requires no human annotation, guiding autoregressive generation by computing the gradient of the model's self-evaluation of a natural language suffix. Its compressed version, SelfControl_Prefix, encapsulates the gradient-learned representation as a prefix controller, adds no extra inference latency, and can control multiple behaviors simultaneously. Experiments show that the method improves detoxification over SOTA by 8.3%, improves truthfulness by 3.1%, improves sentiment-tone control by 4%~10%, and improves privacy protection by 48.2%, and can completely eliminate privacy leakage.