DIAL: A Bounded-Monotone Adapter with Closed-Form Residual $L_\infty$ Bounds for Scalar-Controlled Refusal Modulation
Nguyen Vu Nguyen
Abstract
We introduce DIAL (Directional Intervention, Asymptotically Limited), a parameter-efficient adapter that adds a scalar-controlled residual to a base language model's hidden state. The residual is the elementwise product of a learned per-coordinate sigmoid gate $\sigma(g)$, a saturating function $\tanh(c/T)$ of the control value $c$, and a direction computed from the hidden state and bounded in $[-1, 1]$ per coordinate. Because the last two factors never exceed 1 in magnitude, the residual $L_\infty$ norm is bounded by the largest gate value $\sigma(g_{\max})$, $g_{\max} = \max_i g_i$, for every input and every $c$, and the bound is read from the weights alone. The bound concerns the hidden-state residual and does not extend to token probabilities or refusal behavior. Across 5 base models (3.8B to 70B parameters, 4 architecture families, one checkpoint per model), the ratio of the realized residual norm at $|c| = 10^4$ to the bound is $1.000$ on all five models, an empirical tightness result separate from the validity of the bound. On Llama-3.1-8B under a GPT-4o judge ($n = 100$ prompts per benchmark), the controllability range, the change in refusal rate from $c = -5$ to $c = +5$, exceeds that of a feature-wise linear modulation (FiLM) baseline trained with the same objective: HarmBench $+0.52$ vs $+0.44$ and AdvBench $+0.63$ vs $+0.46$ (means over three paired seeds), with a pooled advantage of $+0.11$ (95% CI $\pm 0.06$) over seven paired seeds, and neither a tanh-controlled FiLM nor a FiLM with its residual clipped to 0.5 closes the gap. Benign over-refusal on XSTest rises with $c$ at comparable rates for both methods ($+0.33$ vs $+0.26$), and DIAL does not dominate the safety-helpfulness trade-off. At $c = 0$ the residual is exactly zero and the adapted model reproduces the base model. Outside the training range DIAL's residual stays at the bound while FiLM's grows linearly, reaching $534\times$ DIAL's at $|c| = 10^4$ on a fixed Gaussian probe input. The trained gate bound is about 0.5, and clamping it lower narrows the controllability range. Code, adapter checkpoints, model generations for all benchmarks, the GPT-4o judge cache, and a human-labeled validation set ($n = 50$, agreement with the judge $\kappa = 0.895$) are released.
Successful Page Load