arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.08910cs.CVcs.AI
收藏

PromptGuard:一个用于面向弱势群体的原则性合成文本生成的编排提示框架,利用具有增强安全性、公平性和可控性的LLM

PromptGuard: An Orchestrated Prompting Framework for Principled Synthetic Text Generation for Vulnerable Populations using LLMs with Enhanced Safety, Fairness, and Controllability

Posts and Telecommunications Institute of Technology(邮电技术研究所);Hanoi Architectural University(河内建筑大学)

Tung Vu, Lam Nguyen, Quynh Dao

AI总结:

PromptGuard提出模块化提示框架,通过VulnGuard对比学习、伦理推理和角色提示,在生成源头预防对弱势群体的有害内容,实现25-30%危害减少。

摘要:

大型语言模型(LLM)在实际应用中的激增带来了前所未有的风险,即可能向弱势群体(包括LGBTQ+个体、单亲父母和边缘化社区)生成有害、有偏见或误导性的信息。虽然现有的安全方法依赖于事后过滤或通用对齐技术,但它们无法在生成源头主动预防有害输出。本文介绍了PromptGuard,一个新颖的模块化提示框架,其突破性贡献在于:VulnGuard Prompt,一种利用真实世界数据驱动的对比学习来预防有害信息生成的混合技术。VulnGuard整合了来自精选GitHub仓库的少样本示例、伦理思维链推理和自适应角色提示,以创建针对特定人群的保护屏障。我们的框架采用理论多目标优化,并通过熵界和帕累托最优性提供了形式化证明,表明可实现25-30%的分析性危害减少。PromptGuard编排了六个核心模块:输入分类、VulnGuard提示、伦理原则整合、外部工具交互、输出验证和用户系统交互,构建了一个用于实时危害预防的智能专家系统。我们提供了全面的数学形式化,包括收敛性证明、使用信息论的脆弱性分析,以及使用GitHub来源数据集的理论验证框架,为系统性实证研究奠定了数学基础。

英文摘要:

The proliferation of Large Language Models (LLMs) in real-world applications poses unprecedented risks of generating harmful, biased, or misleading information to vulnerable populations including LGBTQ+ individuals, single parents, and marginalized communities. While existing safety approaches rely on post-hoc filtering or generic alignment techniques, they fail to proactively prevent harmful outputs at the generation source. This paper introduces PromptGuard, a novel modular prompting framework with our breakthrough contribution: VulnGuard Prompt, a hybrid technique that prevents harmful information generation using real-world data-driven contrastive learning. VulnGuard integrates few-shot examples from curated GitHub repositories, ethical chain-of-thought reasoning, and adaptive role-prompting to create population-specific protective barriers. Our framework employs theoretical multi-objective optimization with formal proofs demonstrating 25-30% analytical harm reduction through entropy bounds and Pareto optimality. PromptGuard orchestrates six core modules: Input Classification, VulnGuard Prompting, Ethical Principles Integration, External Tool Interaction, Output Validation, and User-System Interaction, creating an intelligent expert system for real-time harm prevention. We provide comprehensive mathematical formalization including convergence proofs, vulnerability analysis using information theory, and theoretical validation framework using GitHub-sourced datasets, establishing mathematical foundations for systematic empirical research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑