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

评估用户提示分布转移及其对LLM性能的影响

Measuring Distribution Shift in User Prompts and Its Effects on LLM Performance

Department of Computer Science(计算机科学系)

Parker Seegmiller, Sarah Masud Preum

AI总结:

研究用户提示分布转移对部署LLM性能的影响,通过大规模评估发现提示行为的适度变化会导致LLM性能显著下降,强调了数据驱动监控的重要性。

摘要:

LLMs在动态真实世界环境中部署时,用户提示分布会随时间显著变化。这种自然提示分布转移对LLM可靠性构成重大挑战,尤其对专门领域模型影响更大。本文提出LENS框架,通过数据驱动方法量化自然提示分布转移并评估其对部署LLM性能的影响。通过192个真实世界部署后提示转移设置的评估,训练81个模型并测试57.6k个提示,发现即使提示行为有适度变化,部署LLM的性能也会大幅下降(平均损失73%)。性能下降在不同潜在群体和地理区域用户交互时尤为明显,并与时间推移的自然提示分布转移相关。研究系统地刻画了LLM遵循指令能力随时间及用户群体的变化,强调了数据驱动监控对确保LLM在多样化和演变用户群体中性能稳定的必要性。

英文摘要:

LLMs are increasingly deployed in dynamic, real-world settings, where the distribution of user prompts can shift substantially over time as new tasks, prompts, and users are introduced to a deployed model. Such natural prompt distribution shift poses a major challenge to LLM reliability, particularly for specialized models designed for narrow domains or user populations. Despite attention to out-of-distribution robustness, there is very limited exploration of measuring natural prompt distribution shift in prior work, and its impact on deployed LLMs remains poorly understood. We introduce the LLM Evaluation under Natural prompt Shift (LENS) framework: a data-centric approach for quantifying natural prompt distribution shift and evaluating its effect on the performance of deployed LLMs. We perform a large-scale evaluation using 192 real-world post-deployment prompt shift settings over time, user group, and geographic axes, training a total of 81 models on 4.68M training prompts, and evaluating on 57.6k prompts. We find that even moderate shifts in user prompt behavior correspond with large performance drops (73% average loss) in deployed LLMs. This performance degradation is particularly prevalent when users from different latent groups and geographic regions interact with models and is correlated with natural prompt distribution shift over time. We systematically characterize how LLM instruction following ability degrades over time and between user groups. Our findings highlight the critical need for data-driven monitoring to ensure LLM performance remains stable across diverse and evolving user populations.

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

↑