Observed since 20 Oct, 20:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AESTETIK: Convolutional autoencoder for learning spot representations from spatial transcriptomics and morphology data
This model is part of the paper "Representation learning for multi-modal spatially resolved transcriptomics data".
Authors: Kalin Nonchev, Sonali Andani, Joanna Ficek-Pascual, Marta Nowak, Bettina Sobottka, Tumor Profiler Consortium, Viktor Hendrik Koelzer, and Gunnar Rätsch
The preprint is available here.
NEW version (June 2025)
fit()/predict() APISee full changelog for more details.
We introduce AESTETIK, a convolutional autoencoder model. It jointly integrates transcriptomics and morphology information, on a spot level, and topology, on a neighborhood level, to learn accurate spot representations that capture biological complexity.

Fig. 1 AESTETIK integrates spatial, transcriptomics, and morphology information to learn accurate spot representations. A: Spatial transcriptomics enables in-depth molecular characterization of samples on a morphology and RNA level while preserving spatial location. B: Workflow of AESTETIK. Initially, the transcriptomics and morphology spot representations are preprocessed. Next, a dimensionality reduction technique (e.g., PCA) is applied. Subsequently, the processed spot representations are clustered separately to acquire labels required for the multi-triplet loss. Afterwards, the modality-specific representations are fused through concatenation and the grid per spot is built. This is used as an input for the autoencoder. Lastly, the spatial-, transcriptomics-, and morphology-informed spot representations are obtained and used for downstream tasks such as clustering, morphology analysis, etc.
We can install aestetik directly through pip.
pip install aestetik
We can also create a conda environment with the required packages.
conda env create --file=environment.yaml
We can also install aestetik offline.
git clone https://github.com/ratschlab/aestetik
cd aestetik
pip install .
Optional extras:
pip install ".[vips]" # enables pyvips-based morphology helpers
pip install ".[viz]" # enables plotnine-based cluster-search plot
pip install ".[test]" # test dependencies (pytest)
conda install conda-forge::pyvips
After installing, confirm the version with import aestetik; aestetik.__version__. AESTETIK follows the scikit-learn fit /
transform / predict estimator surface:
from aestetik import AESTETIK
model = AESTETIK(
n_cluster=adata.obs.ground_truth.unique().size,
morphology_weight=1.5,
refine_cluster=True,
window_size=3,
clustering_method="kmeans",
)
model.fit(adata)
adata.obsm["AESTETIK"] = model.transform(adata)
adata.obs["AESTETIK_cluster"] = model.predict(adata)
# Or in one shot:
adata.obs["AESTETIK_cluster"] = model.fit_predict(adata)
Please take a look at our example to get started with AESTETIK.

Here, another example notebook with simulated spatial transcriptomics data.

This list is automatically updated weekly via GitHub Actions using the Semantic Scholar and OpenCitations APIs.
In case you found our work useful, please consider citing us:
@article{nonchev2024representation,
title={Representation learning for multi-modal spatially resolved transcriptomics data},
author={Nonchev, Kalin and Andani, Sonali and Ficek-Pascual, Joanna and Nowak, Marta and Sobottka, Bettina and Tumor Profiler Consortium and Koelzer, Viktor Hendrik and Raetsch, Gunnar},
journal={medRxiv},
pages={2024--06},
year={2024},
publisher={Cold Spring Harbor Laboratory Press}
}
The code for reproducing the paper results can be found here.
In case, you have questions, please get in touch with Kalin Nonchev.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.1 | 29 May 2026 | 22 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:791949b03b6f6a0da5bf1fba2bfceb9c40a8911b710c154431f50203b681d9a6