Search arXivSearch

arXiv subjects

Connor Stevens

Publications and source records attributed to Connor Stevens.

3 recordsLinked to original sources

Defense Against the Dark Prompts: Mitigating Best-of-N Jailbreaking with Prompt Evaluation

Recent work showed Best-of-N (BoN) jailbreaking using repeated use of random augmentations (such as capitalization, punctuation, etc) is effective against all major large language models (LLMs). We have found that $100\%$ of the BoN paper's successful jailbreaks (confidence interval $[99.65\%, 100.00\%]$) and $99.8\%$ of successful jailbreaks in our replication (confidence interval $[99.28\%, 99.98\%]$) were blocked with our Defense Against The Dark Prompts (DATDP) method. The DATDP algorithm works by repeatedly utilizing an evaluation LLM to evaluate a prompt for dangerous or manipulative behaviors--unlike some other approaches, DATDP also explicitly looks for jailbreaking attempts--until a robust safety rating is generated. This success persisted even when utilizing smaller LLMs to power the evaluation (Claude and LLaMa-3-8B-instruct proved almost equally capable). These results show that, though language models are sensitive to seemingly innocuous changes to inputs, they seem also capable of successfully evaluating the dangers of these inputs. Versions of DATDP can therefore be added cheaply to generative AI systems to produce an immediate significant increase in safety.

cs.CR

Fourier transform and expanding maps on Cantor sets

We study the Fourier transforms $\widehat{\mu}(\xi)$ of non-atomic Gibbs measures $\mu$ for uniformly expanding maps $T$ of bounded distortions on $[0,1]$ or Cantor sets with strong separation. When $T$ is totally non-linear, then $\widehat{\mu}(\xi) \to 0$ at a polynomial rate as $|\xi| \to \infty$.

math.DS

Fourier decay in nonlinear dynamics

We study when Fourier transforms of Gibbs measures of sufficiently nonlinear expanding Markov maps decay at infinity at a polynomial rate. Assuming finite Lyapunov exponent, we reduce this to a nonlinearity assumption, which we verify for the Gauss map using Diophantine analysis. Our approach uses large deviations and additive combinatorics, which combines the earlier works on the Gibbs measures for Gauss map (Jordan-Sahlsten, 2013) and Fractal Uncertainty Principle (Bourgain-Dyatlov, 2017).

math.DS