We define a model for random (abstract) cell complexes (CCs), similiar to the well-known Erdős-Rényi model for graphs and its extensions for simplicial complexes. To build a random cell complex, we first draw from an Erdős-Rényi graph, and consecutively augment the graph with cells for each dimension with a specified probability. As the number of possible cells increases combinatorially -- e.g., 2-cells can be represented as cycles, or permutations -- we derive an approximate sampling algorithm for this model limited to two-dimensional abstract cell complexes. As a basis for this algorithm, we first introduce a spanning-tree-based method that samples simple cycles and allows the efficient approximation of various properties, most notably the probability of occurence of a given cycle. This approximation is of independent interest as it enables the approximation of a wide variety of cycle-related graph statistics using importance sampling. We use this to approximate the number of cycles of a given length on a graph, allowing us to calculate the sampling probability to arrive at a desired expected number of sampled 2-cells. The probability approximation also trivially leads to a sampling algorithm for $2$-cells with a desired sampling probability. We provide some initial analysis into the properties of random CCs drawn from this model. We further showcase practical applications for our random CCs as null models, and in the context of (random) liftings of graphs to cell complexes. The cycle sampling, cycle count estimation, and combined cell sampling algorithms are available in the package `py-raccoon` on the Python Packaging Index.
翻译:我们定义了一种随机(抽象)胞腔复形(CCs)的模型,类似于著名的Erdős-Rényi图模型及其对单纯复形的扩展。为了构建随机胞腔复形,我们首先从Erdős-Rényi图中抽取,然后以指定概率依次为每个维度添加胞腔。由于可能胞腔的数量以组合方式增长——例如,2-胞腔可表示为环或排列——我们针对该模型推导出一种限于二维抽象胞腔复形的近似采样算法。作为该算法的基础,我们首先引入一种基于生成树的方法,用于采样简单环,并能高效近似多种性质,尤其是给定环的出现概率。该近似本身具有独立意义,因为它使得能够利用重要性采样来近似各种与环相关的图统计量。我们借此近似图中给定长度的环数量,从而计算采样概率以达到期望的采样2-胞腔数量。该概率近似也直接导出了具有期望采样概率的$2$-胞腔采样算法。我们对从该模型抽取的随机胞腔复形的性质进行了初步分析。我们进一步展示了随机胞腔复形作为零模型的实用应用,以及在图的(随机)提升至胞腔复形背景下的应用。环采样、环计数估计及组合胞腔采样算法可在Python Packaging Index上的`py-raccoon`包中获取。