arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.19772cs.LGcs.AI
收藏

K-均值、瓦尔德和DBSCAN重复性研究

A K-Means, Ward and DBSCAN repeatability study

Université Clermont Auvergne(克莱蒙奥弗涅大学);Clermont Auvergne INP(克莱蒙奥弗涅国立理工学院);ENSM St Etienne(圣艾蒂安国立高等矿业学院);CNRS(法国国家科学研究中心);LIMOS(LIMOS实验室)

Anthony Bertrand, Engelbert Mephu Nguifo, Violaine Antoine, David Hill

AI总结:

本研究探讨了K-均值、瓦尔德和DBSCAN算法在不同线程数下的重复性问题,揭示了K-均值在多线程环境下的不一致性,并呼吁进一步研究和改进。

摘要:

可重复性在机器学习中至关重要,因为它确保了模型或实验能够得出相同的科学结论。对于特定算法,位级相同的结果重复性也是科学严谨性的重要保障,因为它允许调试。我们分解了几种非常流行的聚类算法:K-均值、DBSCAN和瓦尔德,识别出在每个阶段实现重复性的必要条件。我们使用Python库scikit-learn的实现示例来检查每种方法的可重复性方面。我们的结果揭示了当OpenMP线程数超过两个时,K-均值会出现不一致的结果。本研究旨在提高用户和开发者的意识,鼓励进一步的研究和潜在的修复。

英文摘要:

Reproducibility is essential in machine learning because it ensures that a model or experiment yields the same scientific conclusion. For specific algorithms repeatability with bitwise identical results is also a key for scientific integrity because it allows debugging. We decomposed several very popular clustering algorithms: K-Means, DBSCAN and Ward into their fundamental steps, and we identify the conditions required to achieve repeatability at each stage. We use an implementation example with the Python library scikit-learn to examine the repeatable aspects of each method. Our results reveal inconsistent results with K-Means when the number of OpenMP threads exceeds two. This work aims to raise awareness of this issue among both users and developers, encouraging further investigation and potential fixes.

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

↑