NeuronFuzz: Using Safety Neurons to Guide Fuzzing for LLM Safety EvaluationNeuronFuzz: Safety Neuron Guided Fuzzing for LLM Safety Evaluation
NeuronFuzz is a white-box fuzzing framework that uses the activation of the model's internal safety neurons as continuous execution feedback to evaluate LLM safety. Its SafetyOracle converts safety neuron activations into a continuous safety alert score, which can be obtained at the prefill stage, thereby moving response generation out of the fuzzing loop and mitigating the sparse feedback problem on strongly aligned models. The framework uses template-invariant harmful and benign inputs and stability-aware selection to filter a compact set of safety neurons; since the alert score is differentiable, it uses gradients to locate safety-sensitive template positions, then uses a masked language model to generate fluent and context-compatible mutations while preserving the original harmful payload.