{"title":"鲁棒指令对齐的自适应正交角色感知变压器","authors":"Yeo-Chan Yoon, Sookyun Kim, Gyeongmin Kim","doi":"10.4218/etrij.2025-0449","DOIUrl":null,"url":null,"abstract":"<p>Large language models are vulnerable to prompt injection because transformer attention treats tokens too uniformly across system and user roles. We propose the <i>adaptive orthogonal role-aware transformer</i> (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 <i>BIPIA-text</i> 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.</p>","PeriodicalId":11901,"journal":{"name":"ETRI Journal","volume":"48 5","pages":"924-935"},"PeriodicalIF":2.0000,"publicationDate":"2026-10-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.4218/etrij.2025-0449","citationCount":"0","resultStr":"{\"title\":\"Adaptive orthogonal role-aware transformer for robust instruction alignment\",\"authors\":\"Yeo-Chan Yoon, Sookyun Kim, Gyeongmin Kim\",\"doi\":\"10.4218/etrij.2025-0449\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Large language models are vulnerable to prompt injection because transformer attention treats tokens too uniformly across system and user roles. We propose the <i>adaptive orthogonal role-aware transformer</i> (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 <i>BIPIA-text</i> 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.</p>\",\"PeriodicalId\":11901,\"journal\":{\"name\":\"ETRI Journal\",\"volume\":\"48 5\",\"pages\":\"924-935\"},\"PeriodicalIF\":2.0000,\"publicationDate\":\"2026-10-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://onlinelibrary.wiley.com/doi/epdf/10.4218/etrij.2025-0449\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ETRI Journal\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.4218/etrij.2025-0449\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2026/6/24 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"Q3\",\"JCRName\":\"ENGINEERING, ELECTRICAL & ELECTRONIC\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ETRI Journal","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.4218/etrij.2025-0449","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/24 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
Adaptive orthogonal role-aware transformer for robust instruction alignment
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 is an international, peer-reviewed multidisciplinary journal published bimonthly in English. The main focus of the journal is to provide an open forum to exchange innovative ideas and technology in the fields of information, telecommunications, and electronics.
Key topics of interest include high-performance computing, big data analytics, cloud computing, multimedia technology, communication networks and services, wireless communications and mobile computing, material and component technology, as well as security.
With an international editorial committee and experts from around the world as reviewers, ETRI Journal publishes high-quality research papers on the latest and best developments from the global community.