Why it matters

SmoothLLM adds robustness at cost. Understanding shapes defense.

Advertisement

The architecture

Perturb input N times (char swap/insert).

Run LLM on each.

Majority vote response.

SmoothLLM flowInputcandidateN perturbationsrun LLM eachMajority voteconsensus safeCost N-fold LLM calls; adaptive attacks can defeat but bar raised
SmoothLLM.
Advertisement

How it works end to end

Robey et al. 2023.

Character perturbation.

Safe fraction detection.

Combine with jailbreak detection.