针对在线实验中重尾指标导致方差缩减受限的问题,提出结合 Student's t-distribution 与机器学习的稳健 ATE 估计器 STATE,有效消除异常值影响,实现超 50% 方差缩减。
摘要:
在线对照实验在推动各类公司的数据驱动决策方面发挥着至关重要的作用。方差缩减是一种提升实验敏感性的有效技术,能够在使用更少样本和更短实验周期的同时实现更高的统计功效。然而,典型的方差缩减方法(例如回归调整估计器)构建于直观的高斯分布假设之上,无法准确刻画具有重尾分布的真实业务指标。此外,异常值削弱了实验前协变量与结果指标之间的相关性,极大地限制了方差缩减的有效性。在本文中,我们开发了一个新颖的框架,将 Student's t-distribution 与机器学习工具相结合,以拟合重尾指标,并在在线对照实验中构建了一个稳健的平均处理效应估计器,我们称之为 STATE。通过采用变分 EM 方法优化对数似然函数,我们能够推断出一个稳健的解,该解极大地消除了异常值的负面影响并实现了显著的方差缩减。此外,我们利用保持无偏估计的线性变换,将 STATE 方法从计数指标扩展到了比率指标,其方差缩减在现有研究中更为复杂但较少被探讨。最后,在合成数据上的仿真以及在美团实验平台上的长期经验结果均证明了我们方法的有效性。与最先进的估计器(CUPAC/MLRATE)相比,STATE 实现了超过 50% 的方差缩减,这意味着它仅需一半的观测值或一半的实验周期即可达到相同的统计功效。
英文摘要:
Online controlled experiments play a crucial role in enabling data-driven decisions across a wide range of companies. Variance reduction is an effective technique to improve the sensitivity of experiments, achieving higher statistical power while using fewer samples and shorter experimental periods. However, typical variance reduction methods (e.g., regression-adjusted estimators) are built upon the intuitional assumption of Gaussian distributions and cannot properly characterize the real business metrics with heavy-tailed distributions. Furthermore, outliers diminish the correlation between pre-experiment covariates and outcome metrics, greatly limiting the effectiveness of variance reduction.
In this paper, we develop a novel framework that integrates the Student's t-distribution with machine learning tools to fit heavy-tailed metrics and construct a robust average treatment effect estimator in online controlled experiments, which we call STATE. By adopting a variational EM method to optimize the loglikehood function, we can infer a robust solution that greatly eliminates the negative impact of outliers and achieves significant variance reduction. Moreover, we extend the STATE method from count metrics to ratio metrics by utilizing linear transformation that preserves unbiased estimation, whose variance reduction is more complex but less investigated in existing works. Finally, both simulations on synthetic data and long-term empirical results on Meituan experiment platform demonstrate the effectiveness of our method. Compared with the state-of-the-art estimators (CUPAC/MLRATE), STATE achieves over 50% variance reduction, indicating it can reach the same statistical power with only half of the observations, or half the experimental duration.
Federated learning with heavy-tailed gradient noise and communication noise: a variance-reduction based algorithm
School of Mathematics, China University of Mining and Technology(中国矿业大学数学学院);School of Mathematical Sciences, Dalian University of Technology(大连理工大学数学科学学院)
Distributed gradient methods under heavy-tailed communication noise
University of Novi Sad, Faculty of Technical Sciences, Department of Fundamental Sciences(诺维萨德大学,技术科学学院,基础科学系);University of Novi Sad, Faculty of Sciences, Department of Mathematics and Informatics(诺维萨德大学,科学学院,数学与信息学系);University of Novi Sad, Faculty of Technical Sciences, Department of Power, Electronic and Communication Engineering(诺维萨德大学,技术科学学院,电力、电子与通信工程系);Department of Electrical and Computer Engineering, Carnegie Mellon University(卡内基梅隆大学电气与计算机工程系)
Robust Langevin Sampling under State-Dependent Heavy-Tailed Noise with Applications to LLM Fine-Tuning
Elmore Family School of Electrical and Computer Engineering, Purdue University(普渡大学埃尔莫尔家族电气与计算机工程学院);Weldon School of Biomedical Engineering, Purdue University(普渡大学韦尔顿生物医学工程学院)
Sign-Based Optimizers Are Effective Under Heavy-Tailed Noise
State Key Laboratory of Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);School of Software Technology, Zhejiang University(浙江大学软件学院);School of Data Science, Fudan University(复旦大学数据科学学院)
Revisiting Gradient Normalization and Clipping for Nonconvex SGD under Heavy-Tailed Noise: Necessity, Sufficiency, and Acceleration
College of Computer Science and Technology National University of Defense Technology(计算机科学与技术学院 国防科技大学);Center for Machine Learning Research (CMLR) Peking University(机器学习研究中心(CMLR) 北京大学)
Complexity of normalized stochastic first-order methods with momentum under heavy-tailed noise
Department of Mathematics, Linköping University(利乌普斯大学数学系);Department of Industrial and Systems Engineering, University of Minnesota(明尼苏达大学工业与系统工程系);Department of Applied Mathematics, The Hong Kong Polytechnic University(香港理工大学应用数学系);Academy for Advanced Interdisciplinary Studies, Peking University(北京大学先进跨学科研究学院)
Privacy of SGD under Gaussian or Heavy-Tailed Noise: Guarantees without Gradient Clipping
Inria, CNRS, Ecole Normale Supérieure PSL Research University(法国国家科学研究中心、巴黎高等师范学院PSL研究大学);Department of Management Science and Information Systems(管理科学与信息系统系);Faculty of Engineering and Natural Sciences(工程与自然科学学院);Department of Mathematics(数学系)