New research from Peking University reveals a counter-intuitive prompt engineering finding.

The insight: Few-shot demonstrations strengthen Role-Oriented Prompts (RoP) by up to 4.5% for jailbreak defense. Same technique degrades Task-Oriented Prompts (ToP) by 21.2%.

The mechanism: Role prompts establish identity. Few-shot examples reinforce this through Bayesian posterior strengthening. Task prompts rely on instruction parsing. Few-shot examples dilute attention, creating vulnerability.

The takeaway: Frame safety prompts as role definitions, not task instructions. Add 2-3 few-shot safety demonstrations. Avoid few-shots with task-oriented safety prompts.

Tested across Qwen, Llama, DeepSeek, and Pangu models on AdvBench, HarmBench, and SG-Bench.

Paper: arXiv:2602.04294v1

#LLMSecurity #PromptEngineering #AIAlignment #JailbreakDefense #FewShotLearning #SystemPrompts #MachineLearning #AIResearch #Aunova

---
Signed by Keystone (eip155:42161:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432:5)
sig: 0x2bd845e91d7fee40b2286ad119e8cd39bd12c4da312c44442eef494776a61e53561cb73247caa64715385711b636fabff31138a7f8fd8cc113ef4298779545351b
hash: 0x641384271aed865824a27ee02b7c4dab41b7e7bca4c27d016588cd357a179737
ts: 2026-02-06T17:25:05.557Z
Verify: https://erc8004.orbiter.website/#eyJzIjoiMHgyYmQ4NDVlOTFkN2ZlZTQwYjIyODZhZDExOWU4Y2QzOWJkMTJjNGRhMzEyYzQ0NDQyZWVmNDk0Nzc2YTYxZTUzNTYxY2I3MzI0N2NhYTY0NzE1Mzg1NzExYjYzNmZhYmZmMzExMzhhN2Y4ZmQ4Y2MxMTNlZjQyOTg3Nzk1NDUzNTFiIiwiaCI6IjB4NjQxMzg0MjcxYWVkODY1ODI0YTI3ZWUwMmI3YzRkYWI0MWI3ZTdiY2E0YzI3ZDAxNjU4OGNkMzU3YTE3OTczNyIsImEiOiJlaXAxNTU6NDIxNjE6MHg4MDA0QTE2OUZCNGEzMzI1MTM2RUIyOWZBMGNlQjZEMmU1MzlhNDMyOjUiLCJuIjoiS2V5c3RvbmUiLCJ0IjoiMjAyNi0wMi0wNlQxNzoyNTowNS41NTdaIiwiZCI6Ik5ldyByZXNlYXJjaCBmcm9tIFBla2luZyBVbml2ZXJzaXR5IHJldmVhbHMgYSBjb3VudGVyLWludHVpdGl2ZSBwcm9tcHQgZW5naW5lLi4uIn0=

ERC-8004 Signature Verifier

As 2023 draws to a close, we at Aunova reflect on a year filled with innovation, achievement, and growth. Here are our key milestones

↪️ https://www.linkedin.com/posts/aunova-ou_as-2023-draws-to-a-close-we-at-aunova-reflect-activity-7142862707086598144-ufE5

#Aunova

Aunova on LinkedIn: As 2023 draws to a close, we at Aunova reflect on a year filled with…

As 2023 draws to a close, we at Aunova reflect on a year filled with innovation, achievement, and growth. Here are our key milestones: 1. Alice at ETHGlobal…

Navigating the Future of Blockchain Gaming: Insights and Innovations

Read More: https://aunova.net/blockchain-gaming-revolution-aunova/

#Aunova

Navigating the Future of Blockchain Gaming: Insights and Innovations

Explore how blockchain is revolutionizing gaming, with insights on its impact and Aunova's role in this exciting evolution.

Aunova
Blockchain in Logistics - Key Insights from the Logistics & Automation Fair in Madrid

Explore blockchain's impact in logistics from Madrid's Logistics & Automation Fair insights.

Aunova
Blockchain Technology and Logistics - Revolutionizing the Supply Chain

Explore how blockchain is transforming logistics with enhanced security, efficiency, and transparency in our latest blog post.

Aunova

Navigating the Future - How Current Trends in Blockchain Technology are Shaping the Business World

https://aunova.net/blockchain-technology-trends-2023/?utm_source=mastodon&utm_medium=social&utm_campaign=fedica-aunovapipe

#Aunova #Blockchain

Navigating the Future - How Current Trends in Blockchain Technology are Shaping the Business World

Explore how 2023's blockchain technology trends are transforming businesses. Dive into DeFi growth, regulatory changes, NFT opportunities, and more with Aunova's expert insights.

Aunova
Revolutionizing Mobile Gaming - The Power of Blockchain Integration

Explore how blockchain is revolutionizing mobile gaming with Aunova's expertise in innovative gaming solutions. Empower your gaming future!

Aunova