Memory-guided soft clustering for efficient single-cell integration with 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.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-12-01
DOI
https://doi.org/10.64898/2026.11.29.769963
Primary Topic
Single-cell and spatial transcriptomics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Memory-guided soft clustering for efficient single-cell integration with HarmonyEMA

Fengkai Liu, Xiyuan Cui
bioRxiv (Cold Spring Harbor Laboratory)
Single-cell and spatial transcriptomics
preprint

Memory-guided soft clustering for efficient single-cell integration with HarmonyEMA

Fengkai Liu, Xiyuan Cui
preprint en

Abstract

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.

bioRxiv (Cold Spring Harbor Laboratory)
Shanghai Medical College of Fudan University (CN)
Single-cell and spatial transcriptomics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Memory-guided soft clustering for efficient single-cell integration with HarmonyEMA — Fengkai Liu, Xiyuan Cui · bioRxiv (Cold Spring Harbor Laboratory) (2026) | TGRS Research Map | TGRS