Adaptive orthogonal role‐aware transformer for robust instruction alignment

Summary Large language models are vulnerable to prompt injection because transformer attention treats tokens too uniformly across system and user roles. We propose the adaptive orthogonal role‐aware transformer (AORT), a lightweight retrofit that improves role‐sensitive decoding. AORT preserves the base token embeddings and adds at each transformer layer a learned orthonormal re‐encoding and a role‐gated additive attention bias to maintain separation between instruction and user representations during context mixing. We evaluate AORT on direct and indirect prompt‐injection benchmarks, including the BIPIA‐text benchmark. AORT achieves the lowest attack success rate (ASR) in most settings and successfully resists all eight evaluated attacks on LLaMA 3.1–8B. AORT reduces the ASR from 13.6% to 2.1% on LLaMA 3.1–8B evaluated with the BIPIA‐text benchmark. These findings indicate that explicit role‐priority structure in the forward pass can substantially improve prompt‐injection robustness with minimal architectural overhead.

Authors

Institutions

Publication Details

Journal
ETRI Journal
Published
2026-06-24
DOI
https://doi.org/10.4218/etrij.2025-0449
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive orthogonal role‐aware transformer for robust instruction alignment

Gyeongmin Kim, SooKyun Kim, Yeo Chan Yoon
ETRI Journal
Topic Modeling
article

Adaptive orthogonal role‐aware transformer for robust instruction alignment

Gyeongmin Kim, SooKyun Kim, Yeo Chan Yoon
article en

Abstract

Summary Large language models are vulnerable to prompt injection because transformer attention treats tokens too uniformly across system and user roles. We propose the adaptive orthogonal role‐aware transformer (AORT), a lightweight retrofit that improves role‐sensitive decoding. AORT preserves the base token embeddings and adds at each transformer layer a learned orthonormal re‐encoding and a role‐gated additive attention bias to maintain separation between instruction and user representations during context mixing. We evaluate AORT on direct and indirect prompt‐injection benchmarks, including the BIPIA‐text benchmark. AORT achieves the lowest attack success rate (ASR) in most settings and successfully resists all eight evaluated attacks on LLaMA 3.1–8B. AORT reduces the ASR from 13.6% to 2.1% on LLaMA 3.1–8B evaluated with the BIPIA‐text benchmark. These findings indicate that explicit role‐priority structure in the forward pass can substantially improve prompt‐injection robustness with minimal architectural overhead.

ETRI Journal
Jeju National University (KR)
Jeju National University
Openalex Percentile: Top 5%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.