不碰用户原始数据,用代理表示实现大模型应用的隐私保护漂移检测与数据恢复
Privacy-Preserving Data Drift Detection and Recovery for Large-Scale LLM Applications via Proxy Representations

- 用非敏感的多维代理表示替代原始用户数据进行分析
- 实现生产流量与评估集间90%以上的对齐度,合成数据几乎无法被识别
- 适合需要持续监控模型性能且严守用户隐私的工业级大模型系统
大规模部署的大语言模型应用面临核心挑战:隐私限制使得无法直接查看用户交互数据,难以构建代表性评估集或追踪线上流量演变。我们提出ProxyDrift框架,(i)识别并量化生产流量与离线评估集间的漂移,(ii)据此构建并更新评估集,全程无需访问原始用户数据。方法基于非个人身份信息(non-PII)的代理表示——由大模型对用户交互分类生成的结构化多维描述符。引入(1)经过概率校准、具备冗余感知能力的(RA)对齐分数,通过互信息聚合各维度漂移;(2)考虑维度间依赖关系的条件采样器生成合成代理;(3)往返一致性分析,揭示生成器与分类器矛盾,指导代理分类体系优化;(4)反馈链接分析,将各维度及取值的代理分布与用户满意度关联,暴露可操作的失败与成功模式。服务数亿用户场景下,该框架实现了持续漂移监测与定向合成数据生成,同时保障用户隐私。实验验证了强往返一致性,合成查询在判别器层面几乎无法与真人查询区分,且端到端对齐度达RA~0.9。
原文摘要 · Abstract (English)
LLM applications deployed at scale face a fundamental challenge: privacy constraints prevent direct inspection of user interactions, making it difficult to obtain any representative evaluation dataset or to track the ongoing evolution of production traffic. We present ProxyDrift, a framework that (i) identifies and measures drift between production traffic and offline evaluation sets, and (ii) constructs and refreshes those evaluation sets accordingly; all without access to raw user data. Our approach operates entirely on non-PII proxy representations: structured, multi-dimensional descriptors derived from LLM-based classification of user interactions. We introduce (1) a chance-calibrated, redundancy-aware (RA) alignment score that aggregates per-dimension drift measurements via mutual information; (2) a conditional sampler that generates synthetic proxies respecting inter-dimensional dependencies; (3) a roundtrip consistency analysis that exposes generator/classifier disagreements and guides proxy taxonomy refinement; and (4) a feedback-linkage analysis that ties per-dimension and per-value proxy distributions to user satisfaction, surfacing actionable failure and success modes. Serving hundreds of millions of users, ProxyDrift enables continuous drift monitoring and targeted synthetic data generation without exposing sensitive user data. Experiments confirm strong roundtrip consistency, discriminator-level indistinguishability of synthetic queries from human queries, and tight end-to-end alignment (RA~0.9) with production.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。