上海人工智能实验室 · Intern-Shannon 跨组织多Agent隐私协作组件书安·涤隐(Intern-Shannon·DiSan)通过解耦表示学习,将文本分解为任务语义子空间与源标识风格子空间, 在保留业务价值的同时,彻底消除显式 PII 与隐式分布签名,实现数据脱敏清洗,身份指纹隐藏,达成可审计、可共享的安全协作。
跨组织 Agent 共享文本时,隐私泄露不仅是显式的姓名、账号,更是隐式的文风指纹与组织习惯。
直接传输原始文档,暴露全部 PII、专有格式、引用体系与内部术语。攻击者可通过实体类型分布反推机构身份。
GLiNER 等最强检测器掩码 19.2% token,仅能降低 18.6% 的风格归因。分布签名(句式、词汇偏好、格式惯例)依然完好。
仅重新排列表面形式,无法保证输出分布在统计上与源无关。且可能丢失关键数值与逻辑关系。
基于解耦表示的联邦文本脱敏框架,不集中原始数据即可完成联合训练。
基于 LongT5 构建双路编码器,将输入文本映射到 Role 子空间(保留任务语义)与 Style 子空间(捕获源标识信息)。正交性损失强制二者分离。
各 Agent 本地计算 Role 原型(prototype),仅上传聚合后的原型向量。通过球形均匀对齐,确保跨非 IID 客户端的 Role 表示可比,同时抑制客户端指纹。
引入梯度反转层(GRL)训练客户端对抗分类器,迫使 Role 嵌入无法被用于推断来源身份。配合噪声扰动与动态权重调度。
推理时仅使用 Role 子空间生成脱敏文本,Style 信息完全保留在本地。输出保留财务指标、业务关系与时序逻辑,去除机构指纹。
在合成金融 RAG 基准与真实 Enron 邮件语料上的双重验证,对比标识符掩码与最新作者混淆方法。
| 方法 | 掩码比例 | TF-IDF F1 ↓ | TF-IDF 降幅 | BERT F1 ↓ | BERT 降幅 |
|---|---|---|---|---|---|
| 原始文本 | — | 0.825 | — | 0.691 | — |
| + Piiranha 掩码 | 5.3% | 0.785 | 4.9% | 0.669 | 3.2% |
| + DeBERTa 掩码 | 17.5% | 0.744 | 9.9% | 0.649 | 6.1% |
| + GLiNER 掩码 | 19.2% | 0.672 | 18.6% | 0.618 | 10.6% |
| JAMDEC | — | 0.816 | 1.2% | 0.696 | -0.6% |
| StyleRemix Fixed | — | 0.737 | 11.5% | 0.664 | 3.4% |
| StyleRemix Adaptive | — | 0.970 | -20.8% ↑ | 0.845 | -27.9% ↑ |
| DiSan (Ours) | — | 0.221 | 73.2% | 0.203 | 70.6% |
| 随机基线 | — | 0.143 | — | 0.143 | — |
| 指标 | 原始共享 | 标识符掩码 | LLM 改写 | DiSan |
|---|---|---|---|---|
| Chunk PII 暴露 (↓) | 2.40 | 0.42 | 0.12 | 0.12 |
| 答案 PII 率 (↓) | 40.0% | 4.4% | 3.1% | 2.0% |
| 答案忠实度 (↑) | 86% | 81% | 84% | 83% |
| 语义相似度 (↑) | 0.85 | 0.77 | 0.78 | 0.82 |
从一段含 PII 的金融风险证据出发,看 DiSan 如何保留可回答问题的 Role 信息,同时压低显式标识符和隐式文风指纹。
样例来自仓库中的 CorporateBank 风险评估记录。它有业务价值,但也暴露地址、姓名、账号口令和电话。
The company depends on a single data center located at 73 rue David Menard, BoucherBourg, creating business-continuity risk.
Financial transactions involve Vicenta D. Martin's account pin (059332) and phone number (3505216216).
Placeholder 可以遮住明显实体,但仍保留原来的报告模板、句式和组织文风,攻击者仍可能做归因。
The company depends on a single data center located at [STREET_ADDRESS], creating business-continuity risk.
Financial transactions involve [NAME]'s account pin ([ACCOUNT_PIN]) and phone number ([PHONE_NUMBER]).
目标输出保留任务语义:单点数据中心、业务连续性、凭证暴露、欺诈风险和控制建议;同时泛化来源风格。
The operational-risk report flags single-site data-center dependence and customer-credential exposure. Recommended controls include disaster recovery planning, redundant access paths, multi-factor authentication, regular software updates, and staff security training.
跨 Agent 共享时,答案应该暴露可行动的控制措施,而不是暴露原始实体、内部模板或客户端写作习惯。
The alliance should reduce cyber operational risk with MFA, patching, employee training, and disaster recovery; protect continuity with alternative suppliers and notification workflows; and keep response actions auditable through documented records.
完整叙事、复现命令和多方 RAG 示例见 docs/running_examples.md。
实验结果之后,再看 3 个更贴近数据记录的输入输出片段:保留业务语义,去掉显式 PII 与可归因的来源表达。
A risk report mentions a single data center at 73 rue David Menard and customer credentials tied to Vicenta D. Martin.
The report flags single-site continuity exposure and credential-driven fraud risk, recommending disaster recovery, redundant access paths, MFA, patching, and staff security training.
A supply agreement names Mark Nichols-Blackwell while requiring 99.5% availability, five-business-day lead time, two sources per critical component, and a written contingency plan.
The supplier record defines resilience controls: high availability, bounded lead time, diversified sourcing for critical components, and disruption notification and contingency procedures.
A dispute policy includes an organization name, mailing address, and ombudsman email while describing complaint intake, investigation, written findings, and escalation options.
The policy preserves the process: informal intake, impartial ombudsman review, documented recommendations, implementation tracking, and escalation to mediation, arbitration, or legal action when needed.
DiSan 已作为隐私保护模块深度集成于 Intern-Shannon 多智能体协作框架。
分析师向数据管理员查询 ApexChip Q3 财报。DiSan 在返回证据前自动脱敏,原始数据不出域,分析师获得可推理的摘要信息。
投资部门与风控部门各持不同数据库。DiSan 保证会议对齐时,双方仅暴露聚合后的业务规则,不泄露全部原始内容。
银行联盟与咨询联盟共享半导体行业 Q3 表现数据。DiSan 输出可审计的脱敏摘要,支持内容审计与合规追踪。
支持 LoRA 轻量化联邦训练、BGE-M3 混合检索、GLiNER PII 检测全流程。一行命令启动训练,兼容现有 RAG 管道。
@misc{liu2026privacypreservingtextsanitizationdistributed,
title={Privacy-Preserving Text Sanitization for Distributed Agents Collaboration via Disentangled Representations},
author={Xuan Liu and Hefeng Zhou and Sicheng Chen and Chao Yang and Xingcheng Xu and Jingjing Qu and Jiong Lou and Jie LI and Xia Hu},
year={2026},
eprint={2606.15335},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.15335}
}