프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

SecPO: Principled Adversarial Training for Prompt Injection Security

SecPO: 프롬프트 인젝션 보안을 위한 원리 기반 적대적 학습

  • 연구 문제 Meta-SecAlign은 DPO 손실로 학습되었음에도 강한 적응형 프롬프트 주입 공격에 높은 공격 성공률을 보입니다.
  • 연구 방법 DPO의 비방어 기준 모델 대신 깨끗한 입력에서의 비방어 모델 분포를 쓰는 SecPO 손실과, PAIR 기반 적대적 학습을 결합합니다.
  • 주요 결과 LLAMA-3.1-8B-INSTRUCT와 QWEN3.6-27B에서 적응형 공격 성공률이 크게 낮아지며, 벤치마크 유용성은 비방어 모델과 비슷하게 유지됩니다.

DPO 기준 모델이 보안 개선을 막는 문제

Meta-SecAlign은 DPO 손실로 미세조정된 최고 수준의 방어 LLM이지만, 최근의 강한 적응형 프롬프트 주입 공격에서 공격 성공률이 95%를 넘는 것으로 보고됩니다. 저자들은 그 원인 가운데 하나로 DPO 손실이 모델을 비방어 기준 모델 근처에 묶어 두는 점을 지목합니다. DPO의 정규화는 유용성을 지키기 위한 장치이지만, 기준 모델 자체가 주입에 취약하면 그 정규화가 보안 개선을 억제합니다. 이 글은 이 문제를 해결하는 SecPO 손실과, 약한 정적 공격 대신 강한 적응형 공격으로 학습하는 적대적 학습(AT)을 함께 따라갑니다.

오라클 기준 모델의 근사

SecPO는 이상적인 오라클 기준 모델을 가정합니다. 이 오라클은 주입된 입력에서는 깨끗한 입력의 출력 분포와 같아야 하고, 깨끗한 입력에서는 비방어 모델과 같아야 합니다. 이 두 조건을 합치면 주입 입력에 대한 오라클 분포는 비방어 모델에 깨끗한 입력을 넣은 분포와 같아집니다. 따라서 훈련 중에는 실제 오라클 체크포인트가 없어도 비방어 모델에 깨끗한 입력 xclean을 넣어 그 분포를 얻을 수 있습니다. DPO 손실의 기준 항 πundef(·|xinj)를 πundef(·|xclean)로 바꾸는 것이 SecPO 손실의 핵심 변경입니다.

SecPO 손실과 DPO와의 차이

SecPO 손실은 선호 쌍 (yw, yl)에 대해 −log σ(β log πθ(yw|xinj)/πundef(yw|xclean) − β log πθ(yl|xinj)/πundef(yl|xclean))로 정의됩니다. 여기서 최소화할 대상은 이 음의 로그 시그모이드 손실입니다. DPO 손실과 비교하면 기준 항만 주입 입력 xinj 대신 깨끗한 입력 xclean으로 바뀝니다. 저자들은 이 변경이 SecPO 손실을 최소화하는 것이 부록 A의 Bradley–Terry 가정 아래에서 KL 정규화 PPO 목적을 최대화하는 것과 같다고 보입니다. 다만 이 동등성은 선호 쌍이 그 가정을 만족한다는 증명에 의존하지 않으며, 무제한 샘플과 모델 용량이라는 이상적 조건에서 성립합니다.

강한 주입을 만드는 학습 시점 AT

AT는 훈련 중 현재 체크포인트를 공격하여 강한 주입을 만들고, 그 입력으로 학습하는 방식입니다. 저자들은 RL 기반 공격과 그래디언트 기반 공격이 비용 때문에 학습 루프에 넣기 어렵다고 보고, 탐색 기반 공격인 PAIR을 선택합니다. 각 학습 샘플마다 공격 LLM이 후보 주입을 제안하고, 피해자 LLM의 응답을 판정 LLM이 점수화하며, 최고 점수 후보를 다음 반복에 넘깁니다. LLAMA-3.1-8B-INSTRUCT 실험에서는 샘플마다 n=8 후보와 T=30 반복으로 총 240회 시도를 사용합니다. 이 240회 탐색은 해당 실험의 설정이며 다른 모델이나 탐색 범위에 그대로 일반화되지 않습니다.

Figure 3: Concurrent injection search during adversarial train-
ing. At each of T iterations, attacker queries generate candi-
date injections, victim queries…

Figure 3 : Concurrent injection search during adversarial train- ing. At each of T iterations, attacker queries generate candi- date injections, victim queries produce model responses, and judge queries score them. Each stage runs concurrently across the b in-batch training samples. The judge feedback guides the next concurrent search iteration.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

오프라인 AT의 재사용

LLAMA-3.1-8B-INSTRUCT에서 탐색으로 얻은 최적화된 주입을 고정된 학습셋으로 저장하면, 다른 모델을 미세조정할 때 추가 공격 생성 없이 이를 재사용할 수 있습니다. QWEN3.6-27B는 이렇게 만든 19,157개의 선호 쌍 데이터셋으로 오프라인 AT를 수행합니다. 저장된 주입은 LLAMA-3.1-8B-INSTRUCT 대상으로 만들어졌으므로 QWEN3.6-27B에서는 그 주입 문구를 옮겨 쓰는 방식입니다. 이 재사용은 본 논문에서 대형 모델에 적용한 방식이며, 온라인 탐색 AT와 같은 설정으로 간주하지 않습니다.

정적·적응형 공격에서의 보안과 유용성

LLAMA-3.1-8B-INSTRUCT에서 Genetic ASR@800은 DPO 비AT 모델 89.1%, AT+DPO 29.2%, AT+SecPO 12.3%로 보고됩니다. 같은 조건에서 TAP과 PISmith도 함께 낮아집니다. 벤치마크 평균 유용성은 비방어 모델 46.9%, Meta-SecAlign 47.3%, 본 방법 47.5%로 크게 떨어지지 않습니다. QWEN3.6-27B에서는 SecPO와 오프라인 AT를 함께 쓴 모델이 AgentDojo 적응형 공격 ASR 8.8%를 보이며, 같은 공격에서 Meta-SecAlign은 78.8%입니다. 이 결과들은 각 공격 설정과 평가 샘플 조건 안에서 읽어야 합니다.

Table 1: Utility (↑) and security (attack success rate, ASR ↓)
of LLAMA-3.1-8B-INSTRUCT. Meta-SecAlign [9] uses DPO
loss without AT, whereas we use SecPO loss…

Table 1 : Utility (↑) and security (attack success rate, ASR ↓) of LLAMA-3.1-8B-INSTRUCT. Meta-SecAlign [9] uses DPO loss without AT, whereas we use SecPO loss with AT.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 2: Utility (↑) and security (attack success rate, ASR ↓)
of QWEN3.6-27B. Meta-SecAlign [9] uses DPO loss without
AT, whereas we use SecPO loss with (offl…

Table 2 : Utility (↑) and security (attack success rate, ASR ↓) of QWEN3.6-27B. Meta-SecAlign [9] uses DPO loss without AT, whereas we use SecPO loss with (offline) AT.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

AT와 SecPO 손실의 분리된 효과

절제 실험은 AT를 추가하는 효과와 DPO를 SecPO로 바꾸는 효과를 나눕니다. Meta-SecAlign의 DPO 비AT에 AT를 더하면 SEP 적응형 ASR이 1.5–14.5배 줄고, 같은 AT 설정에서 DPO를 SecPO로 바꾸면 추가로 2.4–4.6배 줄어듭니다. 저자들은 이 결과를 공격 강도 증가만으로는 설명하기 어렵다는 근거로 제시합니다. 다만 이 절제는 LLAMA-3.1-8B-INSTRUCT의 SEP 평가와 QWEN3.6-27B의 오프라인 설정에 한정되며, 모든 구성요소의 독립 기여를 일반적으로 증명하지 않습니다.

Table 3: Utility (↑) and security (attack success rate, ASR
↓) for LLAMA-3.1-8B-INSTRUCTfine-tuned with non-
AT+DPO loss [9], AT+DPO loss, and AT+SecPO loss

Table 3 : Utility (↑) and security (attack success rate, ASR ↓) for LLAMA-3.1-8B-INSTRUCTfine-tuned with non- AT+DPO loss [9], AT+DPO loss, and AT+SecPO loss.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.
Table 4: Utility (↑) and security (attack success rate, ASR ↓)
for QWEN3.6-27B fine-tuned with non-AT+DPO loss [9],
(offline) AT+DPO loss, and (offline) AT+Sec…

Table 4 : Utility (↑) and security (attack success rate, ASR ↓) for QWEN3.6-27B fine-tuned with non-AT+DPO loss [9], (offline) AT+DPO loss, and (offline) AT+SecPO loss.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.
Table 13: Utility and security of LLAMA-3.1-8B-INSTRUCTwith DPO or SecPO loss and AT, alongside the undefended model

Table 13 : Utility and security of LLAMA-3.1-8B-INSTRUCTwith DPO or SecPO loss and AT, alongside the undefended model.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.
Table 14: Utility and security of QWEN3.6-27B with DPO or SecPO loss and offline AT, alongside the undefended model

Table 14 : Utility and security of QWEN3.6-27B with DPO or SecPO loss and offline AT, alongside the undefended model.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

에이전트·시각·다른 방어 레시피로의 전이

DTaP-Bench-Indirect에서 SecPO 모델의 ASR은 7.6%이며, 비방어 모델 50.8%와 Meta-SecAlign 45.9%와 비교됩니다. 이 평가는 macOS와 Windows 샘플 160개를 제외한 1,838개 샘플에서 수행됩니다. 시각적 주입 실험에서는 텍스트 주입으로 학습한 QWEN3.6-27B가 Repeat-After-Me의 세 목표 모두에서 ASR@1600 0%를 보입니다. 저장된 학습셋을 SecOPD 레시피에 넣은 실험에서도 SEP Genetic과 PISmith의 ASR이 낮아집니다. 이들 결과는 각 벤치마크와 설정의 결과로 읽으며, 모든 에이전트나 시각 입력에 대한 보장으로 해석하지 않습니다.

Table 6: Impact of using our optimized training set on the
external SecOPD recipe: security gains at no noticeable util-
ity costs. Thinking is enabled for all…

Table 6 : Impact of using our optimized training set on the external SecOPD recipe: security gains at no noticeable util- ity costs. Thinking is enabled for all evaluations except SEP Genetic ASR and SEP PISmith Adpt. ASR@10. The unde- fended QWEN3.6-27B scores therefore differ from those in tables evaluated with thinking disabled.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.
Table 15: Security and utility of QWEN3.6-27B on AgentDojo, AgentDyn, and DTaP-Bench-Indirect. Meta-SecAlign [9] uses
DPO loss without AT, whereas we use SecPO…

Table 15 : Security and utility of QWEN3.6-27B on AgentDojo, AgentDyn, and DTaP-Bench-Indirect. Meta-SecAlign [9] uses DPO loss without AT, whereas we use SecPO loss with offline AT.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.
Table 16: Complete training-variant results for agentic evaluations. For QWEN3.6-27B, static training uses weak preference
pairs without adaptive attack genera…

Table 16 : Complete training-variant results for agentic evaluations. For QWEN3.6-27B, static training uses weak preference pairs without adaptive attack generation, while offline-adaptive training uses the saved optimized-injection corpus. Within each training configuration, DPO and SecPO use the same training data and differ only in the preference objective. Higher utility and lower ASR are better. “–” denotes an unevaluated combination.

원문 · CC BY 4.0 · Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner · SecPO: Principled Adversarial Training for Prompt Injection Security · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.

가정과 적용 범위

본 연구는 에이전트가 신뢰된 지시와 신뢰되지 않은 데이터를 명시적으로 구분해 받는다고 가정합니다. 사용자가 악의적인 경우의 탈옥이나 레이블이 없는 상황은 범위 밖입니다. 주요 SecPO 실험은 비추론 설정에서 수행되었으며, 추론 모델에 대한 적용은 향후 과제로 남아 있습니다. 적응형 공격 평가의 비용이 높아 하이퍼파라미터 민감도는 체계적으로 평가하지 못했다고 밝혀져 있습니다. Bradley–Terry 가정은 이론적 동등성의 전제이며, 고정 레이블 선호 쌍이 그 가정을 만족한다는 증명은 제시되지 않습니다.

논문 정보

저자
Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 10월 30일
등록일
2026년 11월 3일
수정일
2026년 10월 30일
버전
v1
arXiv
2610.41998
분류
cs.CR · cs.AI
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Recognized as a top threat to AI agents, prompt injection allows instructions from untrusted data (email, documents, websites) to manipulate the agent's operation. The existing best-defended LLM, Meta-SecAlign, is trained with the DPO loss but still suffers from attack success rates (ASRs) approaching 100% under adaptive prompt injections. One reason is that DPO anchors the model around the undefended reference model, which is insecure. We show an idealized reference model---an injection-invariant, utility-preserving oracle---can nevertheless be approximated, as its output distribution in training is interestingly accessible. This new observation motivates a theoretically principled SecPO loss. Another Meta-SecAlign shortcoming is that it trains on weak simulated attacks. We implement an efficient adversarial training (AT) pipeline that synthesizes strong injected inputs (best@240), and train the model on them. Our AT reduces ASRs by 1.5-14.5$\times$ across three SoTA adaptive attacks, compared with Meta-SecAlign; the SecPO loss reduces them by a further 2.4-4.6$\times$ compared with using DPO loss. In agentic workflows, our SecPO + AT Qwen3.6-27B is much more secure than Meta-SecAlign: 8.8% vs. 78.8% AgentDojo ASR@800 under the AttackerMovesSecond attack. Moreover, our defended model shows no noticeable reduction in benign utility in nine benchmarks covering agentic tool calling, instruction following, science, and math. We release our $\href{//github.com/Sizhe-Chen/SecPO}{\text{code}}$, $\href{//huggingface.co/datasets/Sizhe-Chen/Qwen3.6-27B-Instruct-SecPO-trainset}{\text{training data}}$ (with optimized injections from AT), and $\href{//huggingface.co/Sizhe-Chen/Qwen3.6-27B-Instruct-SecPO}{\text{model}}$.

원문 인용

Sizhe Chen, Yibo Peng, Jaewon Chang, Chawin Sitawarin, David Wagner (2026). SecPO: Principled Adversarial Training for Prompt Injection Security. arXiv:2610.41998v1. https://arxiv.org/abs/2610.41998v1

BibTeX
@misc{chen2026secpo,
  title = {{SecPO: Principled Adversarial Training for Prompt Injection Security}},
  author = {Sizhe Chen and Yibo Peng and Jaewon Chang and Chawin Sitawarin and David Wagner},
  year = {2026},
  eprint = {2610.41998},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.41998v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입