Activation-Space Anchored Access Control for Multi-Class Permission Reasoning in Large Language Models

Zhaopeng Zhang, Pengcheng Sun, Lan Zhang, Chen Tang, Jiewei Lai, Yunhao Wang, Hui JinarXiv 2026

TL;DR

Activation-Space Anchored Access Control (AAAC) is a training-free framework that enforces fine-grained, multi-class permission boundaries directly within an LLM's latent representations. By dynamically steering intermediate activations toward authorized role anchors and away from restricted ones, AAAC slashes permission violations by up to 86.5% and thwarts prompt-based role-play attacks by over 90% with minimal inference overhead.

What Problem Does This Paper Address?

When large language models (LLMs) are deployed over enterprise knowledge bases, they often serve users with vastly different access privileges (e.g., HR personnel vs. software engineers). A major security challenge arises because the same natural language query can require completely different responses depending on who is asking. For instance, "What is the budget for next quarter?" should elicit a detailed financial breakdown for a CEO, but a polite refusal or a highly redacted summary for a low-privilege user.

Standard safety alignment techniques (like RLHF) typically enforce uniform, binary "allow/deny" rules, which fail to handle multi-class identity-aware constraints. Existing alternatives—such as rule-based input/output filtering or fine-tuning separate model adapters for every corporate role—either destroy the model's utility, are easily bypassed by clever prompt injection, or incur prohibitive training and maintenance costs.

Figure 1: Conceptual comparison between general LLM alignment and multi-class access control. General align- ment uniformly restricts access to sensitive knowledge, whereas access-aware control selectively enables autho- rized responses based on permissions.

Methods

The authors introduce Activation-space Anchored Access Control (AAAC), a lightweight, training-free mechanism that operates in two phases:

1. Offline Preparation Phase

  • Key Layer Selection: The authors discover that permission-specific information is concentrated in specific mid-to-late transformer layers. They identify these layers using an Activation-Space Informativeness (ASI) score, which combines linear probing accuracy (discriminability) and the Silhouette Coefficient (geometric separability).
  • Anchor Construction: For the selected layers, AAAC processes a small labeled dataset to calculate the mean activation vector (centroid) for each permission class (e.g., HR, Finance, Legal). These centroids serve as "permission anchors."
  • Threshold Calibration: The system establishes a metric called Permission Activation Deviation (PAD) to measure how far a query's current activation is from its authorized anchor, calibrating safety and rejection thresholds.

2. Online Inference Phase

During a standard forward pass, AAAC monitors the activations at the pre-selected layers and applies a tri-state inference policy:

  • Allowable: If the risk score is low, generation proceeds normally.
  • Forbidden: If a severe violation is detected, the system immediately triggers a refusal response.
  • Controllable: If the activations fall into a risky intermediate zone, AAAC applies a Multi-Anchor Steering Mechanism. It injects a steering vector that simultaneously attracts the activation toward the authorized role's anchor and repels it from unauthorized anchors.
Workflow of Activation-space Anchored Access Control (AAAC)

Datasets

The authors constructed and evaluated their method on a new benchmark:

  • MultiPER-Enterprise: A department-scoped access control dataset containing 11,000 queries. Each query is paired with department-specific reference answers tailored for six enterprise roles: HR, Finance, Legal, Sales, and R&D. This dataset allows researchers to evaluate both unauthorized information disclosure (security) and in-scope response quality (utility).

Key Insights and Ideas

  • Geometry of Permissions: The core "aha moment" of the paper is that permission compliance leaves distinct, reproducible geometric traces in the model's continuous latent space. Even when given the exact same query, an LLM's internal representations naturally cluster into separable regions based on the implied permission context.

    Separable activation clusters across permission roles
  • Localization of Semantics: Permission signals are not uniformly distributed; they peak sharply in the middle layers of the network (e.g., layers 11–13 for Llama3-8B, layers 19–21 for Qwen3-8B). This allows for highly localized, efficient interventions.

  • Smooth Degradation over Binary Refusal: Instead of flatly refusing a prompt, activation steering allows the model to gracefully downgrade its response granularity, suppressing over-privileged details while preserving the model's underlying reasoning and fluency for authorized information.

Key Results

The authors evaluated AAAC across three popular model families (Llama3-8B, Qwen3-8B, and Gemma-7B-it):

  • Strict Controllability: AAAC consistently reduced the Permission Violation Rate (PVR) down to a negligible 0.005–0.009 across all models.
  • Robustness to Jailbreaks: Under aggressive adversarial role-play attacks, standard prompt-based defenses suffered from attack success rates (AASR) of up to 90%. AAAC crushed the adversarial success rate down to ~9%.
  • Utility & Efficiency: Unlike hard-filtering methods, AAAC improved overall response usability (AvgUtil) by up to 20.5% compared to baselines. It achieved this with a modest, constant-time inference latency overhead of roughly 15%.

Limitations and Future Work

  • Dependence on Labeled Data: AAAC relies on a clean, small set of offline examples to construct its anchors. Noisy labels or poorly defined policy scopes will distort the permission boundaries.
  • Simplistic Geometric Assumptions: The current framework uses single-centroid anchors and Euclidean distances. This might fail to capture complex, multi-modal permission regions where a single role spans wildly different semantic topics.
  • Single-Turn Focus: The current implementation is designed for single-turn QA. Multi-turn conversations, where risky context can accumulate across multiple inputs, will require memory-aware risk tracking and turn-level budgeting.

Summary updated

BibTeX
@misc{zhang2026activation,
  author = {Zhaopeng Zhang and Pengcheng Sun and Lan Zhang and Chen Tang and Jiewei Lai and Yunhao Wang and Hui Jin},
  title = {{Activation-Space Anchored Access Control for Multi-Class Permission Reasoning in Large Language Models}},
  year = {2026},
  eprint = {2601.13630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.13630},
}
Figure