跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2507.13494 (cs)
[提交于 2025年7月17日]

标题:Random Variate Generation with Formal Guarantees

作者:Feras A. Saad, Wonyeol Lee
查看论文《Random Variate Generation with Formal Guarantees》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:This article introduces a new approach to principled and practical random variate generation with formal guarantees. The key idea is to first specify the desired probability distribution in terms of a finite-precision numerical program that defines its cumulative distribution function (CDF), and then generate exact random variates according to this CDF. We present a universal and fully automated method to synthesize exact random variate generators given any numerical CDF implemented in any binary number format, such as floating-point, fixed-point, and posits. The method is guaranteed to operate with the same precision used to specify the CDF, does not overflow, avoids expensive arbitrary-precision arithmetic, and exposes a consistent API. The method rests on a novel space-time optimal implementation for the class of generators that attain the information-theoretically optimal Knuth and Yao entropy rate, consuming the least possible number of input random bits per output variate. We develop a random variate generation library using our method in C and evaluate it on a diverse set of ``continuous'' and ``discrete'' distributions, showing competitive runtime with the state-of-the-art GNU Scientific Library while delivering higher accuracy, entropy efficiency, and automation.
主题: 程序设计语言 (cs.PL); 计算 (stat.CO)
引用方式: arXiv:2507.13494 [cs.PL]
  (或者 arXiv:2507.13494v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.13494
期刊参考: Proc. ACM Program. Lang. 9, PLDI, Article 152 (June 2025)
相关 DOI: https://doi.org/10.1145/3729251

提交历史

来自:Feras Saad
[v1] 2025年7月17日 星期四 19:05:07 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-07
切换浏览方式为:
cs
stat.CO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站