arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.21311cs.NI
收藏

用于安全大型语言模型服务的隐蔽提示传输

Covert Prompt Transmission for Secure Large Language Model Services

Ruichen Zhang, Yinqiu Liu, Shunpu Tang, Jiacheng Wang, Dusit Niyato, Geng Sun, Yonghui Li, Sumei Sun

AI总结:

本文研究无线网络中安全LLM服务的隐蔽提示传输,提出PCAE框架进行提示压缩与加密,并开发GPPO方法优化发射功率,显著降低延迟并保障通信隐蔽性与保真度。

摘要:

本文研究了无线网络中安全高效的大型语言模型(LLM)服务的隐蔽提示传输。我们构建了一个在保真度和可检测性约束下的延迟最小化问题,通过联合优化发射功率和提示压缩比来确保机密与隐蔽的通信。为解决此问题,我们首先提出了一种提示压缩与加密(PCAE)框架,执行信息量引导的压缩,随后进行基于轻量级置换的加密。具体而言,PCAE采用本地部署的小型语言模型(SLM)来估计token级别的信息量分数,选择性地保留语义关键的token,同时丢弃冗余token。这显著降低了计算开销和传输持续时间。为进一步增强隐蔽无线传输,我们随后开发了一种基于分组的近端策略优化(GPPO)方法,该方法为每个状态采样多个候选动作,在每个分组内选择最优动作,并引入Kullback-Leibler(KL)散度惩罚以提高策略稳定性和探索能力。仿真结果表明,PCAE实现了与基线方法相当的LLM响应保真度,同时将预处理延迟降低了五个数量级以上,从而实现了实时边缘部署。我们进一步在包括DeepSeek-32B、Qwen-32B及其较小变体在内的多种LLM骨干网络上验证了PCAE的有效性。此外,与现有的强化学习策略相比,GPPO将隐蔽传输延迟降低了高达38.6%,进一步分析表明增加发射功率可提供额外的延迟收益。

英文摘要:

This paper investigates covert prompt transmission for secure and efficient large language model (LLM) services over wireless networks. We formulate a latency minimization problem under fidelity and detectability constraints to ensure confidential and covert communication by jointly optimizing the transmit power and prompt compression ratio. To solve this problem, we first propose a prompt compression and encryption (PCAE) framework, performing surprisal-guided compression followed by lightweight permutation-based encryption. Specifically, PCAE employs a locally deployed small language model (SLM) to estimate token-level surprisal scores, selectively retaining semantically critical tokens while discarding redundant ones. This significantly reduces computational overhead and transmission duration. To further enhance covert wireless transmission, we then develop a group-based proximal policy optimization (GPPO) method that samples multiple candidate actions for each state, selecting the optimal one within each group and incorporating a Kullback-Leibler (KL) divergence penalty to improve policy stability and exploration. Simulation results show that PCAE achieves comparable LLM response fidelity to baseline methods while reducing preprocessing latency by over five orders of magnitude, enabling real-time edge deployment. We further validate PCAE effectiveness across diverse LLM backbones, including DeepSeek-32B, Qwen-32B, and their smaller variants. Moreover, GPPO reduces covert transmission latency by up to 38.6\% compared to existing reinforcement learning strategies, with further analysis showing that increased transmit power provides additional latency benefits.

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

↑