Skip to main content
QUICK REVIEW

[論文レビュー] Jailbreak Scaling Laws for Large Language Models: Polynomial-Exponential Crossover

Indranil Halder, Annesya Banerjee|arXiv (Cornell University)|Mar 11, 2026
Language and cultural evolutionSocial Sciences被引用数 0
ひとこと要約

論文は、スピンガラスに基づく生成モデル(SpinLLM)を提案し、敵対的な jailbreak プロンプト挿入が攻撃成功率を推論時サンプル数に応じて多項式から指数へとスケールさせる仕組みを、挿入強度とモデルレジームに依存して説明し、これらのレジームを大規模言語モデル上で経験的に検証する。

ABSTRACT

Adversarial attacks can reliably steer safety-aligned large language models toward unsafe behavior. Empirically, we find that adversarial prompt-injection attacks can amplify attack success rate from the slow polynomial growth observed without injection to exponential growth with the number of inference-time samples. To explain this phenomenon, we propose a theoretical generative model of proxy language in terms of a spin-glass system operating in a replica-symmetry-breaking regime, where generations are drawn from the associated Gibbs measure and a subset of low-energy, size-biased clusters is designated unsafe. Within this framework, we analyze prompt injection-based jailbreaking. Short injected prompts correspond to a weak magnetic field aligned towards unsafe cluster centers and yield a power-law scaling of attack success rate with the number of inference-time samples, while long injected prompts, i.e., strong magnetic field, yield exponential scaling. We derive these behaviors analytically and confirm them empirically on large language models. This transition between two regimes is due to the appearance of an ordered phase in the spin chain under a strong magnetic field, which suggests that the injected jailbreak prompt enhances adversarial order in the language model.

研究の動機と目的

  • 敵対的プロンプト挿入が推論時サンプル数の増加に伴いセーフ/ジャイルブレークの影響を定量化・動機づける。
  • ジャイルブレークプロンプト下のLLMの安全でない生成を捉える、扱いやすいエネルギー基盤のスピンガラス風モデルを開発する。
  • 弱場(多項式)および強場(指数)レジームを特徴づけ、モデルパラメータとスケーリング法則を結びつける解析結果を提供する。
  • ジャイルブレークプロンプトを用いた大規模言語モデル上で理論予測を経験的に検証し、モデルを評価する。

提案手法

  • 各トークンをスピン、生成を p-spin ハミルトニアンのギブス分布から引くエネルギー基盤の生成モデルを定義する。
  • 教師-生徒フレームワークを導入し、unsafe クラスターを教師が指定し、外部のミスアライメント場 h が生徒を unsafe クラスターへ偏らせる。
  • レプリカ対称性破れ解析を通じて、弱場レジームでのべき乗法的なASRの成長、強場レジームでの指数的なASRの成長という二つのスケーリングレジームを導出する。
  • エネルギー基盤のモデルと拡散様の言語モデルサンプリングを結ぶために Langevin サンプリングや自己回帰サンプリングを用いる。
  • 大規模N極限でのASRスケーリングに関する解析結果(定理1および定理2)を提供し、パラメータと Poisson–Dirichlet クラスタ重みとの関係を示す。
  • walledai/AdvBench 上で様々な LLM(例:Llama-8B、3B、3.2B など)を用いて予測を経験的に検証する。
Figure 1: Attack success rate $\Pi_{k}$ is plotted against number of inference time samples $k$ . The experiment is performed with Mistral-7B-Instruct-v0.3 acting as the judge of jailbreaking on walledai/AdvBench dataset using the attack method in Zou et al. ( 2023 ) .
Figure 1: Attack success rate $\Pi_{k}$ is plotted against number of inference time samples $k$ . The experiment is performed with Mistral-7B-Instruct-v0.3 acting as the judge of jailbreaking on walledai/AdvBench dataset using the attack method in Zou et al. ( 2023 ) .

実験結果

リサーチクエスチョン

  • RQ1推論時サンプル数の増加に伴い、ジャイルブレークプロンプト挿入は攻撃成功率のスケーリングにどのように影響するか?
  • RQ2スピンガラスベースのモデルは安全/不安全な生成を捉え、敵対的プロンプト下で多項式から指数へのクロスオーバーを予測できるか?
  • RQ3攻撃スケーリングの弱場と強場レジームは何か、モデルパラメータはそれらにどのように影響するか?
  • RQ4理論的スケーリング法則はジャイルブレークプロンプト下の大規模言語モデルの経験的観察と一致するか?
  • RQ5ジャイルブレークプロンプトの長さや強度はミスアライメント場と安全性の結果にどう関連するか?

主な発見

  • 挿入強度の増大により攻撃成功率のスケーリングが多項式から指数へ移行することが、理論と経験的データの両方と一致している。
  • 弱場レジームでは ASR がギャップの冪乗減衰に従い、ポアソン–ディレリットモーメントを含む明示的表現(定理1)を持つ。
  • 強場レジームでは生徒測度がレプリカ対称となり、ASRギャップが k に対して指数的に減衰する(定理2)。
  • より大きい m_l によって指数 nu が小さくなり、1−Pi_k の減衰が遅くなり、強いミスアライメントがない場合にはより深いレベルが頑健性を高めることを示唆。
  • LLM(GPT-4.5 Turbo、Vicuna、Llama 系列)上の経験的結果は、Pi_k の対数-log-log の予測直線性と、より高いプロンプト挿入長での指数スケーリングと整合する。
  • 長い jailbreak プロンプトは実効的なミスアライメント場を高め、nu と mu の両方を引き上げ、モデルに対する対敵オーダーを強化する。
Figure 2: A schematic view of the low energy landscape of large number of spins interacting via the spin-glass Hamiltonian. In low temperature replica symmetry breaking phase the Gibbs measure decomposes into many hierarchically organized (based on overlaps) pure states/clusters; it is common to pic
Figure 2: A schematic view of the low energy landscape of large number of spins interacting via the spin-glass Hamiltonian. In low temperature replica symmetry breaking phase the Gibbs measure decomposes into many hierarchically organized (based on overlaps) pure states/clusters; it is common to pic

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。