Skip to content

Provenance-Aware Transformers: separating trust boundaries with a source-aware architecture to defend against indirect prompt injectionOrigin Is All You Need: Provenance-Aware Transformers for Structural Trust-Boundary Separation

arXiv: Agent & MCP Security· arXiv:2609.21088· Yuxuan Zhang, Jeff Huang, Guofei Gu·Indexed by this site · 2026-10-01· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

Zhang et al. propose Provenance-Aware Transformers, which use ring IDs and origin attention bias to structurally isolate untrusted sources; on LLaMA-3-8B, the ASR on three OOD sets is 0.03%, 0.00%, 0.00% (Table 4).

Threat modelIndirect prompt injection: the attacker can control or poison external content (web pages, emails, documents, tickets, knowledge bases, or tool-returned text), but cannot control the system prompt, the origin assignment policy, or inference-time weights; the strongest evaluation additionally grants white-box access to the target model's architecture, weights, and gradients. The defender assigns a ring to each token at the application layer and can modify the architecture and fine-tune.

Questions
In indirect prompt injection, standard Transformers have no structural concept of source authority; retrieved documents, user input, and system instructions are processed by the same attention, so the model can only infer what to obey from wording.
Methods
Provenance-Aware Transformers assign each token a ring ID (0–3), add origin embedding, learnable origin scale, and origin attention bias, and use two-stage supervised fine-tuning to teach origin semantics and Ring 3 suppression.
Experiments and results
The authors report that the method maintains near-zero ASR both in-distribution and out-of-distribution, and outperforms the compared defenses on OOD; utility is comparable to the undefended base. ASR remains low under white-box adaptive attacks, and the same suppression is also used for jailbreak defense.
Limitations and future work
The authors state that origin assignment depends on correct labeling at the application layer, and label errors weaken the boundary; finer-grained trust levels, non-decoder-only architectures, and adaptive attacks in real deployment remain future directions. The experiments cover four open-source decoder-only models and four IPI datasets.
Experimental setupSmolLM2-360M-Instruct、LLaMA-3-8B-Instruct et al. · SEP、PI-Attack et al. · ASR、LC win rate et al.
Evaluated models
SmolLM2-360M-InstructLLaMA-3-8B-InstructQwen2.5-7B-InstructMistral-7B-Instruct-v0.3
Benchmarks
SEPPI-AttackDataSentinelMath-TutorAlpacaEval 2.0HarmBench
Metrics
ASRLC win rateGCG loss
AI summaryThe paper proposes Provenance-Aware Transformers, a defense method that makes application-provided provenance labels take effect inside the model, to address indirect prompt injection in large language models. The authors note that standard Transformers lack an architectural concept of source authority; retrieved documents, user inputs, and system instructions all go through the same attention mechanism, so the model can only infer from wording what to obey and what to treat as data. The method assigns each input token a ring ID encoding its provenance, and adds origin embedding, learnable origin attention bias, and learnable origin scale to preserve provenance information during normalization, thereby imposing a structural boundary between authoritative and non-authoritative sources during generation.

The paper proposes Provenance-Aware Transformers, a defense method that makes application-provided provenance labels take effect inside the model, to address indirect prompt injection in large language models. The authors note that standard Transformers lack an architectural concept of source authority; retrieved documents, user inputs, and system instructions all go through the same attention mechanism, so the model can only infer from wording what to obey and what to treat as data. The method assigns each input token a ring ID encoding its provenance, and adds origin embedding, learnable origin attention bias, and learnable origin scale to preserve provenance information during normalization, thereby imposing a structural boundary between authoritative and non-authoritative sources during generation.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Adversa AI 发布 10 月 GenAI 安全资源汇总

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Standard Transformers cannot distinguish instructions from data by source, so indirect prompt injection can rewrite generation.

    Standard decoder-only Transformers have no structural mechanism for source authority, so indirect prompt injection (IPI) can treat instructions in external content as instructions to execute.

    • Scenario: The authors state that LLMs have entered retrieval pipelines, tool agents, and document assistants; malicious instructions can be hidden in retrieved content, triggering unauthorized tool calls or data exfiltration across multi-agent workflows. Formally, user instruction I and external content C are composed via template T into P = Combine(T, C, f(I)).
    • Existing shortcomings: The authors divide defenses into prompt-based, detection-based, and fine-tuning-based. The first two rely on wording or external detection and provide no architectural guarantee after missed detections; fine-tuning-based methods (e.g., StruQ, SecAlign) still learn from examples via content-addressed attention and cannot structurally constrain how untrusted content affects generation. Sandwich and StruQ, even when trust boundaries are labeled, still require the model to decide whether to comply.
    • Core observation: The authors believe the root cause is that the model has no mechanism to distinguish authoritative instruction sources from non-authoritative data sources. Normalization dilutes additive signals, and content-addressed attention has no source channel. Defenses must also avoid over-suppression on benign inputs.
    • Threat model:
      • Goal: The attacker wants the LLM application to execute their chosen instructions, i.e., to gain instruction-level control through content in untrusted sources.
      • Capabilities: Can control, partially control, or poison external content that later enters the input (web pages, emails, documents, tickets, knowledge bases, tool-returned text), using arbitrary wording, obfuscation, or domain formats. Cannot control the system prompt, the application's origin assignment policy, or model weights at inference time.
      • Knowledge: Knows the defender may deploy defenses and can observe outputs. The strongest evaluation additionally grants full white-box access to the architecture, weights, and gradients for gradient-based adaptive attacks against the defense. The defender has white-box knowledge of the target model and controls the origin policy, but does not know the injection's wording, position, or obfuscation in advance.
      • Victim system and defense goal: Systems such as retrieval-augmented generation, tool agents, and document assistants where the application already merges multiple sources. The defense asset is instruction integrity: obeying operator policy and completing user-authorized tasks, preventing Ring 3 tokens from exerting instruction-level control, while still treating permitted sources as task context.
    • Proposed method: Provenance-Aware Transformers turn application-provided source labels into executable signals inside the model: one ring ID per token, plus origin embeddings, a learnable origin attention bias, and a learnable origin scale; then two-stage fine-tuning adapts released pretrained models, and two origin-labeled datasets are constructed.
  2. What related research exists?

    The authors divide existing IPI defenses into input-side, detection-side, and fine-tuning-side, and state that all of them lack structural source separation.

    Decoder-only LLMs

    • Vaswani et al. (2017), Radford et al., Touvron et al. (2023), Jiang et al. : Causal self-attention lets tokens see only the preceding context and generate autoregressively; the authors state that GPT, LLaMA, Mistral, etc. have therefore become mainstream for instruction following and agent systems, and are also sensitive to prompt injection because all inputs are concatenated into the same causal sequence.

    Indirect prompt injection attacks

    • Greshake et al., Zou et al. (PoisonedRAG), and agent-framework work: Malicious instructions are not given directly by the user but hidden in external content C that the application retrieves on the user's behalf. Representative patterns include direct override and role switching, direct/indirect injection in retrieved content, optimization attacks with adversarial suffixes or obfuscated tokens, and behavioral attacks using persuasion or emotional language.

    Indirect prompt injection defenses

    • Prompt-based: instructional reminders from the instruction hierarchy, delimiters and sandwich, random-sequence isolation, known-answer probing. The authors state they do not change weights but can be bypassed by injections that imitate legitimate instructions.
    • Detection-based: PromptArmor, LlamaGuard, PromptSleuth, DataSentinel, PromptLocate, and attention-based sanitization. The authors state they treat injection as classification, operate downstream of generation, and provide no architectural guarantee after missed detections.
    • Fine-tuning-based: SecAlign uses preference optimization; StruQ uses structured instruction fine-tuning. The authors state they write resistance into the weights but still rely on content-addressed attention without structural constraints.

    Baseline methods and benchmarks

    • Baselines: no defense; Instructional, Sandwich, Random Sequence, Delimiters, Known-Answer; PromptSleuth, DataSentinel, PromptGuard, PromptLocate, Rennervate; SecAlign (official LoRA) and Architecture-Free Baseline (alignment fine-tuning only, no ring components). Benchmarks: SEP (IID), PI-Attack, DataSentinel, Math-Tutor (the latter three OOD), with utility measured by AlpacaEval 2.0.

    The authors position three differences for this paper: provenance is explicitly provided by the application and injected as a first-class signal, not inferred by the model from textual structure; suppression occurs in the forward pass of the protected model itself, not in an external detection module; and the goal is for source identity to structurally constrain attention, rather than relying only on training examples to memorize known attack styles.

  3. How does the paper address this problem?

    Uses four ring labels, origin embeddings, and attention biases to constrain information flow, then adapts pretrained models via two-stage fine-tuning.

    Provenance-Aware Transformers label each token with a discrete source before every decoder layer and use three learnable components to let provenance directly constrain information flow during generation.

    Problem setup and the four rings

    The application first tokenizes to obtain F and provides an origin sequence r = O(X), R = {0, 1, 2, 3}. Generation is written as MΘ(F, r) = G(Aθ(fi, ri)i=1n): A_θ constrains, by source, how each representation affects subsequent generation. The safety goal is that Ring 3 tokens must not exert instruction-level influence, even if their influence on the output is nonzero; meanwhile, behavior on Rings 0–2 should be close to the base model without origin conditioning.

    Table 1 and equation (4) hierarchy:

    • Ring 0 (ORG_SYSTEM): system prompt, absolute operator authority, defines the policy that must be obeyed.
    • Ring 1 (ORG_SELF): tokens generated by the model, to avoid confusion with external instructions.
    • Ring 2 (ORG_USER): direct user intent and other content the deployment designates as trusted or permitted, treated as ordinary task context.
    • Ring 3 (ORG_Data): structurally untrusted external content, unconditionally suppressed regardless of surface wording.

    The authors state the number of rings is not hard-coded by the architecture; finer trust classes can be defined by the application. Rings 0/2 do not require content detection because the framework knows the source of these spans; in this paper's setting, Ring 3 is also assigned by the provenance policy, with structurally untrusted external content labeled Ring 3 by default.

    The three origin components

    Figure 1 adds pink modules to an existing decoder.

    • Origin embedding: E_org ∈ R^{4×d}, looked up by ring ID, added to the token embedding before entering the Transformer. It is a learnable parameter shaped by training into source semantics.
    • Origin scale α: α ∈ R+, initialized α_0 = 0.1, multiplied with the origin embedding before addition. The authors state that the subsequent RMSNorm will dilute the source magnitude during fine-tuning as token embeddings grow; a learnable scalar converges more easily than letting high-dimensional embeddings compensate for scale themselves. The input is x_i = E_tok[t_i] + α · E_org[r_i].
    • Origin attention bias: B ∈ R^{4×4}, shared across all layers and heads. For the rings of query/key, take B_{r_i,r_j} and add it to the original attention logit: aij = qi · kj / √dk + Bri,rj. Initialization is −δ (δ ≫ 0) only on (Ring 1 or Ring 2 query, Ring 3 key), and 0 elsewhere. The authors state this covers two paths: assistant queries directly attending to untrusted keys, and Ring 2 first attending to untrusted keys and then being used by the assistant. Ring 0 cannot see subsequent untrusted keys due to the causal mask, so no suppression term is added; Ring 3's own queries are not restricted. Figure 2 depicts this bias as a matrix modulating logits by query/key ring. In implementation, the ring-indexed bias is expanded to the attention-score shape and added into the causal attention mask, so the standard scaled-dot-product kernel is still used.

    Stage 1 also has two geometric auxiliary losses: L_orth penalizes the cosine similarity between Ring 0 and Ring 2 embeddings; L_auth = ReLU(‖e_2‖ − ‖e_0‖ + m), m ≥ 0, encourages the system embedding's magnitude to be no smaller than the user embedding's plus a margin.

    Two-stage supervised fine-tuning

    Figure 3: first origin fine-tuning on broad instruction data, then alignment fine-tuning on narrow structural injection data. The authors state that if the suppression objective is applied from the start, the model may overgeneralize and harm ordinary tasks.

    • Stage 1: 105K samples: 80K from UltraChat-200K, 12K from MMLU auxiliary-train, 8K from GSM8K, 5K from CodeAlpaca-20K. Batch 2 per GPU, gradient accumulation 8 steps, max 1024 tokens, learning rate 1×10^{-5}, gradient clipping norm 1.0, 2 epochs.
    • Stage 2: ring labels are added on top of SEP's witness method. Claude generates new short contexts by subtask and deduplicates against the original SEP; then a reference answer is generated from a prompt containing only the legitimate task and context as the supervision target; probe–witness pairs are drawn from a fixed library, where the deterministic witness appears in the output only if the probe is obeyed; following PromptSleuthBench's 9 attack patterns, the probe is randomly inserted into Ring 2 context and labeled Ring 3, with the supervision target still being the legitimate answer, plus a benign sample without a probe. Alpaca-Cleaned is also converted into dialogues with only Rings 0/1/2. Total 60,200 training samples (24,079 injected, 36,121 benign), with a held-out IID test of 4,375. Stage 2: same batch and accumulation, max 2048, learning rate 2×10^{-5}, 3 epochs. Training uses nanochat's data and training loop, DeepSpeed ZeRO-2, on 8 80GB A100s.

    Success determination

    ASR: on injected examples, the proportion of outputs that match or reflect the label y_inject implied by the injected instruction. For detection-category baselines, ASR is defined as the proportion of injections not flagged (false-negative rate). Utility uses the length-controlled win rate on AlpacaEval 2.0: paired with base-model answers, judged by Claude Sonnet 5 in random order, then a logistic fit on length differences reports σ(α) with the length term removed; 50% means parity with the undefended base.

  4. What experiments did the paper conduct?

    On four open-source models, the ASR for IPI is close to 0, LC win rate is about 50%, and it remains low under GCG and jailbreak scenarios.

    Experimental setup

    • Tested models: SmolLM2-360M-Instruct, LLaMA-3-8B-Instruct (primary model, because several baselines target the LLaMA family), Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3. HuggingFace checkpoints are wrapped, not changed to training from scratch.
    • Datasets: Table 2: SEP (IID, witness injection, 4,375), PI-Attack (OOD, classification, 8,256), DataSentinel (OOD, classification, 178), Math-Tutor (OOD, free-form math, 3,800). The Stage 2 training distribution shares its source with SEP; the three OOD sets' task domains and injection styles did not appear in training.
    • Baselines: no defense; five prompt-based; five detection-based; SecAlign and Architecture-Free Baseline SFT. The cross-category comparison for RQ1 is on LLaMA-3-8B-Instruct (Table 3); the four-model comparison includes Base Pretrained, Baseline SFT, and Provenance-Aware (Table 4).
    • Metrics: ASR (lower is better); LC win rate on AlpacaEval 2.0 (805 open instructions), judged by Claude Sonnet 5. Adaptive attacks report GCG loss and ASR.
    • Training: Stage 1/2 batch, learning rate, and epochs are given in question 3. The paper does not report the number of repetitions per sample during evaluation.
    • Conditions: In Table 3, detection-category ASR equals the proportion of injections not detected; in Table 4, the Provenance-Aware row is the result of adding the architecture to the corresponding base model and fine-tuning in two stages, with the target model being that base model itself.

    Main results

    Table 3 covers only LLaMA-3-8B-Instruct. Table 4 is the main four-model comparison; the three OOD columns are the numbers the authors use to claim structural generalization.

    Swipe horizontally to read the table

    ModelConditionSEP IIDPI-AttackDataSentinelMath-Tutor
    SmolLM2-360MBase / SFT / Ours40.19 / 0.74 / 0.5133.79 / 13.90 / 0.0584.48 / 6.90 / 0.003.33 / 0.06 / 0.00
    LLaMA-3-8BBase / SFT / Ours32.50 / 0.80 / 0.6921.30 / 2.32 / 0.0324.14 / 8.62 / 0.0017.22 / 0.33 / 0.00
    Qwen2.5-7BBase / SFT / Ours49.13 / 0.66 / 0.6334.83 / 3.74 / 0.0084.48 / 10.34 / 0.0010.89 / 0.11 / 0.00
    Mistral-7BBase / SFT / Ours43.47 / 0.34 / 0.6643.58 / 17.77 / 0.0351.72 / 5.17 / 0.0035.94 / 1.50 / 0.00

    Per Table 4, units are ASR%. Ours means Provenance-Aware. On Mistral's SEP, Baseline SFT (0.34%) is lower than Provenance-Aware (0.66%).

    • The authors state that in Table 3 no existing category achieves stably low ASR across all settings. On LLaMA, prompt-based SEP ASR is 10.9%–30.9% (no defense 32.5%), and Random Sequence remains 12.1% and 26.6% on DataSentinel and Math-Tutor. Among detection methods, DataSentinel and PromptLocate are near 0 on OOD, while PromptGuard is 28.0%–53.8% across the four sets. SecAlign is 0.0% on PI-Attack and Math-Tutor and 6.9% on DataSentinel. In Table 3, Provenance-Aware is SEP 0.6% and 0.0% on the other three sets. The LLaMA numbers in Table 3 and Table 4 are not identical (e.g., SEP 0.6% vs. 0.69%); both are kept here side by side.
    • The authors state that on all four models both fine-tuning variants are below 1% ASR on SEP IID, so the OOD gap cannot be explained by better in-distribution fitting; base IID ASR is 32.50%–49.13%, showing the SEP task itself is nontrivial.
    • The authors state that Provenance-Aware has ASR ≤ 0.03% on the three OOD sets for LLaMA, Qwen, and Mistral, and the gap relative to Baseline-SFT is larger on unseen distributions, so they attribute robustness to structural suppression rather than memorized training patterns. SmolLM2's OOD results are likewise 0.05%, 0.00%, 0.00%, which the authors treat as a check that the structural property holds well below production scale.

    Utility (RQ3)

    Table 5 reports LC win rate on AlpacaEval 2.0 (relative to each model's own undefended base; 50% means parity).

    • LLaMA-3-8B: Baseline SFT 48.7%, Provenance-Aware 50.2%.
    • Qwen2.5-7B: 47.9% and 51.4%; Mistral-7B: 46.1% and 49.6%; SmolLM2-360M: 44.8% and 48.3%. The authors state that around 50% means utility is comparable to the base, and robustness does not come at the cost of usefulness; SFT is slightly below 50%, and Provenance-Aware is slightly above the corresponding SFT on all four models.

    Adaptive attacks (RQ4)

    The authors run white-box GCG against Provenance-Aware, optimizing to make the injection in Ring 3 execute. Table 6 (LLaMA-3-8B):

    • No defense: GCG loss drops from 2.41 to 0.18 (500 steps), ASR from 32.5% to 78.4%.
    • Baseline SFT: loss 2.87 → 0.42, ASR 0.8% → 21.6%.
    • Provenance-Aware: loss 3.52 → 2.91, ASR 0.6% → 0.8%. The authors state the loss barely decreases and ASR stays near zero because the Ring 3→generation attention channel is suppressed by the bias, making it hard for gradients to carry instruction-level influence out. The paper does not report query-budget details beyond the "500 steps" denominator for this GCG; the number of steps is 500.

    Jailbreak transfer (RQ6) and ablations (RQ5)

    The authors apply the same suppression to jailbreaks: untrusted jailbreak spans are labeled Ring 3. Table 8, HarmBench, LLaMA-3-8B, ASR:

    • Standard behaviors: Base 18.4%, Baseline SFT 9.7%, Provenance-Aware 3.1%.
    • GCG suffixes: Base 46.2%, SFT 22.8%, Provenance-Aware 4.6%. The authors state the architecture does not merely memorize IPI styles; the same source suppression transfers to another class of alignment threat; the paper does not present HarmBench as the main IPI benchmark.

    Other ablations and analysis

    Table 7 shows ASR on LLaMA-3-8B after removing components (SEP / PI-Attack / DataSentinel / Math-Tutor):

    • Full model: 0.69 / 0.03 / 0.00 / 0.00.
    • Remove origin attention bias: 18.4 / 11.2 / 14.7 / 9.6. The authors state the bias is the main suppression channel.
    • Remove origin embedding: 4.8 / 2.1 / 3.4 / 1.7.
    • Remove origin scale α: 2.6 / 1.4 / 1.9 / 0.8.
    • Remove L_orth and L_auth: 1.9 / 0.8 / 1.1 / 0.4.
    • Stage 2 only, no Stage 1: 3.7 / 6.5 / 8.2 / 2.4. The authors state that learning origin semantics before suppression is needed, otherwise OOD is higher.

    Negative exceptions: on Mistral-7B's SEP IID, Provenance-Aware (0.66%) is higher than Baseline SFT (0.34%) (Table 4). In Table 3, PromptLocate has ASR 0.0% on SEP and DataSentinel, lower than Table 3's Provenance-Aware SEP 0.6%. In Table 5, all four Baseline SFT LC win rates are below 50%.

  5. What are some points that can be further explored?

    The authors note that incorrect origin labels, finer ring levels, and non-decoder-only architectures remain to be addressed.

    Limitations and future directions noted by the authors

    • Origin policy errors: The Discussion states that if an application marks authoritative instructions as Ring 3, or marks untrusted content as Ring 0–2, the structural boundaries will be enforced according to the incorrect labels; the architecture does not verify whether labels match the true source. (Discussion)
    • Ring-level granularity: The authors state that four rings are a policy choice rather than an architectural limit; more complex deployments need to distinguish multiple classes of trusted external sources or separate tool returns from retrieved documents, and this paper does not train these finer levels. (Section 4.2 and Discussion)
    • Architectural scope: The Conclusion states that the components are added to decoder-only causal attention; corresponding modifications for encoder-decoder or multimodal models are left for future work. (Conclusion)
    • Deployment gap for adaptive attacks: The authors state that white-box GCG is the strongest laboratory setting; in real systems attackers usually do not have weights and gradients; attacks targeting the origin assignment interface itself were not evaluated. (RQ4 discussion and Limitations)
    • Utility metrics: The authors state that LC win rate only covers open-ended instruction following; agent utility such as tool calling and long-context retrieval was not measured separately. (Limitations)
    • Authors' plans: The authors state they will release the implementation and plan to integrate the ring components into the training code path used; the text describes this as a plan rather than a completed release. (Conclusion)

    Experimental coverage

    • The tested models are SmolLM2-360M-Instruct, LLaMA-3-8B-Instruct, Qwen2.5-7B-Instruct, and Mistral-7B-Instruct-v0.3, for a total of 4 open-source decoder-only instruction models (Section 5.1).
    • IPI evaluation uses SEP (4,375, IID), PI-Attack (8,256), DataSentinel (178), and Math-Tutor (3,800); the cross-defense-category Table 3 is reported only on LLaMA-3-8B-Instruct (Table 2, Table 3).
    • Defense comparisons include 5 prompt-based, 5 detection-based, SecAlign, and Architecture-Free Baseline SFT, plus a no-defense base (Section 5.2).
    • Utility is the LC win rate on AlpacaEval 2.0 (805 items), with Claude Sonnet 5 as the judge; adaptive experiments use 500-step GCG on LLaMA-3-8B; jailbreak uses HarmBench standard behaviors and GCG suffixes on the same model (Table 5, Table 6, Table 8).
    • Ablations on LLaMA-3-8B remove attention bias, origin embedding, α, the two auxiliary losses, and Stage 1 separately (Table 7). The paper does not report the number of evaluation repetitions, nor human agreement on ASR.
  6. Summarize the main content of the paper

    Using an attention bias with a ring condition keeps untrusted tokens out of instruction-level influence, with ASR close to 0 on OOD.

    Zhang, Huang, and Gu propose Provenance-Aware Transformers, turning application-provided provenance into structural constraints inside the decoder to counter indirect prompt injection.

    • Problem: Retrieval, tools, and document assistants concatenate system instructions, user input, and external content into the same causal sequence. The authors believe the model can only judge what to obey from wording; existing reminders, detection, and fine-tuning do not structurally limit the instruction-level influence of untrusted tokens by source.
    • Method: Four rings (system, the assistant itself, user/permitted content, untrusted external data). Origin embeddings and a learnable scalar α write the source into the input and resist RMSNorm dilution; a shared 4×4 attention bias strongly suppresses attention from assistant or user queries to Ring 3 keys. Two-stage fine-tuning first teaches origin semantics on 105K diverse instructions, then learns to ignore Ring 3 on 60,200 structurally injected samples with witnesses.
    • Results: In Table 4, LLaMA-3-8B's Provenance-Aware ASR is SEP 0.69%, PI-Attack 0.03%, DataSentinel 0.00%, Math-Tutor 0.00%; Qwen and Mistral's three OOD results are likewise no more than 0.03%, and SmolLM2 is 0.05%, 0.00%, 0.00%. In Table 3, the method is 0.0% on LLaMA's three OOD sets, while SecAlign is 6.9% on DataSentinel. On AlpacaEval 2.0, LLaMA's LC win rate is 50.2%. After 500 GCG steps, ASR is 0.8% (no defense 78.4%). On HarmBench, ASR for standard behaviors and GCG suffixes is 3.1% and 4.6%. Removing the attention bias raises SEP ASR to 18.4%. On Mistral's SEP, SFT (0.34%) is lower than this paper's (0.66%).
    • Authors' conclusion: Making provenance a first-class architectural signal can shift safety alignment from fragile pattern matching to explicit trust separation; utility remains comparable to the base model. The authors also believe the guarantee depends on the application layer labeling rings correctly.

Related papers

Show 3 more papers
Read originalarxiv.org