arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24068cs.DScs.DMmath.PR
收藏

通过轮廓高效均匀采样满射函数

Efficient sampling of the unlabeled structure of uniform random mappings and surjections

Laboratoire d’Informatique Gaspard-Monge, Université Gustave Eiffel(加斯帕尔-蒙日计算机科学实验室,格斯塔夫·埃菲尔大学)

Arnaud Carayol, Pablo Rotondo

AI总结:

本文提出通过采样满射函数的轮廓(profile)来高效生成随机满射,覆盖所有参数范围,算法在期望输出大小上达到对数因子最优。

摘要:

在本文中,我们为所有 $n \geq k$ 的从 $[n]$ 到 $[k]$ 的随机满射开发了高效的采样算法。我们不对 $n$ 和 $k$ 做任何假设。特别地,我们不做出常见的假设即比率 $\frac{n}{k}$ 是常数。我们的所有保证在 $n$ 和 $k$ 上是一致的。 我们的第一个见解是,采样随机满射的所有复杂性都通过采样一个更小的结构来捕获,我们称之为满射的\emph{轮廓}。更精确地说,轮廓将每个出现的原像大小 $s$ 与大小为 $s$ 的原像数量相关联。使用标准技术,我们表明采样满射的问题简化为以诱导分布采样轮廓。这在一定程度上由轮廓总是次线性的事实解释,在最坏情况下最多有 $\sqrt{2n}$ 个条目。 我们提供了一套完整的算法,以诱导分布直接采样随机满射的\emph{轮廓},覆盖整个参数空间。这些算法被证明在输出的期望大小上达到对数因子最优。我们的算法基于精确大小的玻尔兹曼采样器,这是标准的基于拒绝的采样器。我们将参数空间划分为三个主要区域。在每个区域中,我们优化拒绝率和每次采样轮次的成本。 轮廓捕获了随机满射的一些相关统计量,可能具有独立的意义。在相关背景下,Devroye 等人最近研究了随机映射的轮廓。作为附带结果,我们回答了 Devroye 和 Los '25 的一个开放问题,为 $k > n/\log n$ 时的随机映射轮廓也提供了最优算法。 本文的结果不仅具有理论意义,而且导致了实践中可实现的采样器。

英文摘要:

This article deals with the sampling and statistics of uniform random mappings and surjections from $[n]=\{1,\ldots,n\}$ to $[k]=\{1,\ldots,k\}$. More precisely, we focus on statistics that are invariant under relabeling of the domain and codomain. The structure of a mapping or surjection up to relabeling is captured by a compact representation called its profile. The profile records, for each occurring preimage size, the number of preimages of that size. We provide a complete set of algorithms that directly sample the profiles of uniform random mappings and surjections, covering the full parameter space. Their expected running times match the expected length of their outputs up to logarithmic factors. It is important to note that we make no assumption about the relationship between $n$ and $k$; in particular, we do not assume that $n/k$ is constant. All our guarantees are uniform in $n$ and $k$. Achieving this uniformity substantially complicates the analysis. Our algorithms are based on exact-size Boltzmann samplers, which we accelerate by optimizing the cost of each sampling round and increasing the acceptance probability. As spin-off results, we answer, up to a logarithmic factor, an open question of Devroye and Los~25 on sampling profiles of random mappings when $n>k\log k$, and obtain a sampler for uniform random surjections with expected running time $O(n\log k)$, valid across the full parameter space.

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

↑