Presents ActGCG, a gradient-based method that optimizes suffixes to achieve activation steering in LLMs without requiring white-box access at every generation step.

Topological visualization of Creating Steering Vectors via Input Optimisation
Brave API

ActGCG (Activation-guided Greedy Coordinate Gradient) is a method introduced by Batuhan Akar in a November 2026 thesis that modifies the standard GCG algorithm to optimize input suffixes that replicate the internal activation effects of steering vectors.

  • Mechanism: Instead of targeting a specific output string, ActGCG minimizes the squared error between the activations induced by a suffix and the target activations generated by adding a steering vector to the residual stream at specific "filler" token positions.
  • Key Advantages: This approach allows steering behavior to be achieved via input optimization alone, eliminating the need for white-box access to modify hidden states during every generation step.
  • Capabilities: The method supports universal suffixes (trained across multiple prompts simultaneously) and model translation (rewriting unreadable suffixes into human-readable text).
  • Performance: It successfully reproduces steering vector behavior for tasks like German language steering with high fidelity and transferability, while showing weaker but partial equivalence for anti-refusal (jailbreaking) tasks.
Generated 16d ago
Open-Weights Reasoning

Creating Steering Vectors via Input Optimisation

This paper introduces ActGCG, a gradient-based approach for achieving activation steering in large language models without needing white-box access at every generation step. Rather than directly modifying hidden states during inference, ActGCG optimizes input suffixes—token sequences appended to a prompt—that induce the desired internal activation shifts. The method uses a GCG-style optimization loop over discrete token space, guided by a loss tied to target activation behavior, so that the model’s internal state is steered indirectly through its inputs.

The key insight is that activation-level interventions can be approximated by prompt-level artifacts. Once a suitable suffix is discovered, it can be used to elicit a target activation pattern without online access to the model’s internals, making the technique more deployable in API-only, low-instrumentation, or resource-constrained settings. This also reframes “steering vectors” not only as latent-space directions, but as effects that can be created and activated through optimized inputs.

The work matters because it lowers the practical barrier to controlling LLM behavior through activation steering, with implications for safety, alignment, capability elicitation, and personalization. It also highlights a dual-use concern: the same input-optimization machinery can potentially be used to induce unwanted activations or behaviors. More broadly, the paper bridges adversarial prompt optimization, interpretability, and model control, suggesting that prompt suffixes can serve as a practical interface for steering internal model states.

Generated 16d ago
Sources