Back to AI Research

AI Research

Deep Noir: Autonomous Steering Discovery via Archit... | AI Research

Key Takeaways

  • Deep Noir: Autonomous Steering Discovery via Architectural Chronometry in Transformer Models Activation steering is a technique used to change how Large Lang...
  • Activation steering modifies LLM behavior at inference time, but identifying where and how strongly to steer remains manual.
  • We introduce Deep Noir, a framework that uses Logit Lens convergence and causal head-level attribution to autonomously discover optimal steering parameters.
  • On SST-2 sentiment, it achieves a 13.1 percentage-point improvement with zero code changes.
  • Mechanistic grounding enables automated discovery of intervention points that generalize across tasks and architectures.
Paper AbstractExpand

Activation steering modifies LLM behavior at inference time, but identifying where and how strongly to steer remains manual. We introduce Deep Noir, a framework that uses Logit Lens convergence and causal head-level attribution to autonomously discover optimal steering parameters. Across three scales (1B x 3, 2-3B x 2, and 7-9B x 4), our engine achieves 16.7 percentage-point improvement on spam at 1B (standard deviation 4.7; 39 runs), with gains increasing to 21 to 42 percentage points at 7-9B across four architectures. On SST-2 sentiment, it achieves a 13.1 percentage-point improvement with zero code changes. Mechanistic grounding enables automated discovery of intervention points that generalize across tasks and architectures. On sentiment, RepE without head masking fails to improve over baseline, while Deep Noir improves all models (p less than 0.01). We further show that steering creates a predictable prompt-injection attack surface whose vulnerability increases monotonically with steering magnitude. This finding is relevant to agent systems deploying steered classifiers.

Deep Noir: Autonomous Steering Discovery via Architectural Chronometry in Transformer Models
Activation steering is a technique used to change how Large Language Models (LLMs) behave by injecting specific direction vectors into their internal processing stream. Traditionally, this process is manual and trial-and-error, requiring researchers to guess which layers and settings will produce the desired behavior. Deep Noir is a new framework that automates this entire process. By using diagnostic tools to "listen" to how a model resolves information, the framework autonomously identifies the optimal settings to steer a model’s output, improving performance on tasks like spam detection and sentiment analysis without requiring manual code changes. The same large language models question is explored in From Parameters to Answers, which adds a research perspective.

How Deep Noir Works

The framework uses a process called "Architectural Chronometry" to track how a model moves from uncertainty to a final decision. It operates in five phases: 1. Layer Ranking: It identifies which layers are most influential by tracking token probabilities and measuring how specific "antagonist" heads within the model push against the desired outcome. 2. Head Isolation: It uses gradient-based attribution to pinpoint the exact heads responsible for a task, creating a mask that focuses the intervention only on those specific areas. 3. Direction Computation: It calculates a contrastive direction vector based on the difference between target and counter-target representations. 4. Magnitude Calibration: It uses a golden-section search to find the precise strength (magnitude) of the intervention that maximizes accuracy. 5. Recursive Refinement: The system iteratively checks for remaining errors and adds complementary steering hooks to further improve performance.

Performance and Generalization

Deep Noir demonstrates significant improvements across various model scales, from 1B to 9B parameters. On spam detection, it achieved a 16.7 percentage-point improvement at the 1B scale, with gains climbing as high as 42 percentage points for larger models. On sentiment analysis, the framework improved accuracy by 13.1 percentage points with zero code changes. A key finding is that Deep Noir succeeds where other methods fail because it adapts to the unique "correction topology" of each model architecture, whereas previous methods often relied on fixed, one-size-fits-all heuristics that do not account for how different models process information. The same large language models question is explored in Kernel-Managed Shared Memory for System-Wide Personalization, which adds a research perspective.

Security and Risks

The research highlights a critical security concern: steering interventions create a predictable "attack surface" for prompt injection. The study found that as the magnitude of the steering increases, the model’s vulnerability to prompt injection attacks scales monotonically. This means that while steering can make a model more accurate at a specific task, it may simultaneously make it easier for an attacker to override the model's instructions. Because of this, the authors suggest that practitioners must carefully balance the accuracy gains of steering against the potential increase in security risks when deploying these models in autonomous agent systems. The same ai evaluation question is explored in AlgoEvo, which adds a research perspective. as detailed in the full paper on Arxiv

Comments (0)

No comments yet

Be the first to share your thoughts!