JMLR
torchsom: The Reference PyTorch Library for Self-Organizing Maps
Authors
Louis Berthier
Ahmed Shokry
Maxime Moreaud
Guillaume Ramelet
Eric Moulines
Paper Information
-
Journal:
Journal of Machine Learning Research -
Added to Tracker:
Sep 08, 2026
Abstract
This paper introduces torchsom, an open-source Python library that provides a reference implementation of the Self-Organizing Map (SOM) in PyTorch. This package offers three main features: (i) dimensionality reduction, (ii) clustering, and (iii) friendly data visualization. It relies on a PyTorch backend, enabling (i) fast and efficient training of SOMs through GPU acceleration, and (ii) easy and scalable integration with the PyTorch ecosystem. torchsom also follows the scikit-learn API for ease of use and extensibility. The library is released under the Apache 2.0 license with 90% test coverage, and its source code and documentation are available at https://github.com/michelin/TorchSOM.
Author Details
Louis Berthier
AuthorAhmed Shokry
AuthorMaxime Moreaud
AuthorGuillaume Ramelet
AuthorEric Moulines
AuthorCitation Information
APA Format
Louis Berthier
,
Ahmed Shokry
,
Maxime Moreaud
,
Guillaume Ramelet
&
Eric Moulines
.
torchsom: The Reference PyTorch Library for Self-Organizing Maps.
Journal of Machine Learning Research
.
BibTeX Format
@article{paper1593,
title = { torchsom: The Reference PyTorch Library for Self-Organizing Maps },
author = {
Louis Berthier
and Ahmed Shokry
and Maxime Moreaud
and Guillaume Ramelet
and Eric Moulines
},
journal = { Journal of Machine Learning Research },
url = { https://www.jmlr.org/papers/v27/25-2467.html }
}