arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.00531cs.LGstat.ML
收藏

分解器-k-均值:一种利用k-means++进行重组的进化算法

Recombinator-k-means: An evolutionary algorithm that exploits k-means++ for recombination

Bocconi University(博科尼大学)

Carlo Baldassi

摘要:

我们引入了一个进化算法称为重组- $k$ -手段优化高度非凸kmeans问题。它的定义特征是,它的交叉步骤涉及当前代的所有成员,随机地将它们与$k$ -means++ seeding算法的重新利用的变体重新组合。重组还使用了一个重新加权机制,实现了一个逐步尖锐的随机选择政策,并确保人口最终合并成一个单一的解决方案。我们比较这个计划与国家的最先进的替代品,一个更标准的遗传算法与确定性的成对最近邻交叉和精英选择政策,其中我们也提供了一个增强和有效的实现。对大型和具有挑战性的数据集(合成和真实)的广泛测试表明,对于固定的群体大小,重组器- $k$ -平均值在优化目标方面通常更优越,代价是更昂贵的交叉步骤。当调整人口规模的两种算法,以配合其运行时间,我们发现,在短时间内(增强)的成对最近邻方法总是优越的,而在较长的时间重组- $k$ -手段将匹配它,并在最困难的例子,接管。我们的结论是,重新加权的整个人口重组是更昂贵的,但一般更好地逃避局部极小值。此外,它在算法上更简单且更通用(例如,它甚至可以应用于$k$ -中值或$k$ -中点)。我们的实现在\href{https://github.com/carlobaldassi/RecombinatorKMeans.jl}{https://github.com/carlobaldassi/RecombinatorKMeans.jl}上公开提供。

英文摘要:

We introduce an evolutionary algorithm called recombinator-$k$-means for optimizing the highly non-convex kmeans problem. Its defining feature is that its crossover step involves all the members of the current generation, stochastically recombining them with a repurposed variant of the $k$-means++ seeding algorithm. The recombination also uses a reweighting mechanism that realizes a progressively sharper stochastic selection policy and ensures that the population eventually coalesces into a single solution. We compare this scheme with state-of-the-art alternative, a more standard genetic algorithm with deterministic pairwise-nearest-neighbor crossover and an elitist selection policy, of which we also provide an augmented and efficient implementation. Extensive tests on large and challenging datasets (both synthetic and real-word) show that for fixed population sizes recombinator-$k$-means is generally superior in terms of the optimization objective, at the cost of a more expensive crossover step. When adjusting the population sizes of the two algorithms to match their running times, we find that for short times the (augmented) pairwise-nearest-neighbor method is always superior, while at longer times recombinator-$k$-means will match it and, on the most difficult examples, take over. We conclude that the reweighted whole-population recombination is more costly, but generally better at escaping local minima. Moreover, it is algorithmically simpler and more general (it could be applied even to $k$-medians or $k$-medoids, for example). Our implementations are publicly available at \href{https://github.com/carlobaldassi/RecombinatorKMeans.jl}{https://github.com/carlobaldassi/RecombinatorKMeans.jl}.

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

↑