Memory-guided soft clustering for efficient single-cell integrationwith HarmonyEMA
Integrating increasingly large single-cell atlases requires efficient optimization while retaining biologically useful structure. We introduce HarmonyEMA, an R/C++ implementation that adapts exponential moving average (EMA) mini-batch updates to Harmony's batch-aware soft clustering. The method combines e-means initialization, weighted soft statistics, guarded memory across correction rounds and a final responsibility refresh before mixture-of-experts regression. We analyzed 102 fits spanning large-scale benchmarks, a 24-setting component analysis and a multi-tissue validation. Compared with official Harmony v2.0.5 under matched outer stopping rules and iteration caps, HarmonyEMA reduced mean integration time in all six benchmark settings, with reductions of 17.9-73.6%. For one million OneK1K cells, mean time decreased from 1,809.8 to 477.9 seconds; for one million Human Lung Cell Atlas cells, it decreased from 2,070.2 to 1,415.3 seconds. Cell-weighted neighborhood purity increased in all six settings. Global clustering agreement showed a dataset-dependent tradeoff: OneK1K adjusted Rand index changed from 0.501 to 0.472, while type silhouette and local purity were similar. In 1,136,218 Tabula Sapiens 2.0 cells, HarmonyEMA satisfied the native stopping rule for all three seeds, compared with two for official Harmony v2.0.5. These results support memory-guided soft clustering as a practical optimization strategy for atlas-scale integration within the Harmony framework.
Discussão
Favoritos
Adicionar aos seus favoritosSeguir esta conversa
Um e-mail quando alguém comentar. Sem precisar de conta.
A newsletter
Assine nossa newsletter gratuita para ficar por dentro de tudo sobre biotecnologia.