Redistributor:变换经验数据分布
Redistributor: Transforming Empirical Data Distributions
AI总结:
本文提出 Redistributor 算法及软件包,通过估计并施加分布变换使样本服从目标分布,在色彩校正和风格迁移中优于现有方法,并可用于机器学习预处理。
摘要:
我们提出了一种算法及软件包 Redistributor,它能使一组标量样本服从期望的分布。当给定某个随机变量 $S$ 的独立同分布样本以及某个期望目标 $T$ 的连续累积分布函数时,该算法可证明地生成变换 $R$ 的一致估计量,使得 $R(S)=T$ 在分布意义上成立。由于 $S$ 或 $T$ 的分布可能是未知的,我们还包含了从样本中高效估计这些分布的算法。这使得在图像处理中出现了多种有趣的应用场景,其中 Redistributor 作为一种极其简单易用的工具,能够产生视觉上令人满意的结果。在色彩校正方面,它优于其他基于模型的方法,并在实现逼真的风格迁移方面表现出色,在内容保持上超越了深度学习方法。该软件包使用 Python 实现,并经过优化以高效处理大规模数据集,使其也适合作为机器学习中的预处理步骤。源代码可在 https://github.com/paloha/redistributor 获取。
英文摘要:
We present an algorithm and package, Redistributor, which forces a collection of scalar samples to follow a desired distribution. When given independent and identically distributed samples of some random variable $S$ and the continuous cumulative distribution function of some desired target $T$, it provably produces a consistent estimator of the transformation $R$ which satisfies $R(S)=T$ in distribution. As the distribution of $S$ or $T$ may be unknown, we also include algorithms for efficiently estimating these distributions from samples. This allows for various interesting use cases in image processing, where Redistributor serves as a remarkably simple and easy-to-use tool that is capable of producing visually appealing results. For color correction it outperforms other model-based methods and excels in achieving photorealistic style transfer, surpassing deep learning methods in content preservation. The package is implemented in Python and is optimized to efficiently handle large datasets, making it also suitable as a preprocessing step in machine learning. The source code is available at https://github.com/paloha/redistributor.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。