~/aixsci
weekly updates

learn/model families

Clustering

Clustering is letting a computer sort data into groups by similarity alone, without being told in advance what the groups are or how many there should be.

What it is

Most machine learning is taught with answers. Someone labels a pile of examples, and the computer learns to copy those labels. Clustering works without labels. The computer is handed only the measurements, and it looks for points that resemble one another more than they resemble the rest. The result is a set of groups, often called clusters, that the data itself suggests.

Everything turns on how similarity is measured. Each item becomes a list of numbers, and a rule decides how close two lists are. Some methods also compress those lists first, replacing many measurements with a few combined ones, so that the groupings become visible; this is called dimensionality reduction. Other methods add knowledge of the subject, insisting, for example, that neighbouring points usually belong together, or that physical law forbids certain arrangements.

Why scientists use it

Scientists reach for clustering when they have far more measurements than understanding. An instrument may produce thousands of spectra, images or spectra-like traces that nobody has had time to inspect. Clustering offers a first map: here are the kinds of thing present, and here is which measurement belongs to which kind. It stands in, roughly, for the hours a specialist would spend sorting records by eye.

It is also used as a step rather than an answer. Groups found by similarity can define the categories that a later, labelled model is trained on, or mark boundaries in a sample so that each part can be studied separately. And because it needs no labels, it can suggest categories that nobody thought to name, which is why it is often the first thing tried on unfamiliar data.

In the record

Limits

Clustering always returns groups, whether or not any exist. Change the similarity rule, the scaling of the measurements or the number of groups requested, and different groups appear, each looking equally convincing. The method cannot say what a group means; that reading comes from the scientist, who may see a real class where there is only an artefact of how the instrument sampled the world. Groups found this way are a hypothesis to test, not a finding, and they are easiest to misread in exactly the unfamiliar data that makes them attractive.

Written by AIxSci: the background from general knowledge, the examples from checked records.

By field

Every article

17articles
3structural-biology
8materials-chemistry
6astronomy
0climate-weather

aix-00276

Machine learning sorts a simulated polymer into ordered and disordered beads

classification

materials-chemistry · ai-result · arXiv · 2023

aix-00206

Neural network designs five hard metallic glasses, all confirmed by experiment

property predictioncandidate generationsimulation surrogate

materials-chemistry · ai-result · Nature Communications · 2026

aix-00204

Neural networks stand in for a slow model of interstellar gas clouds

simulation surrogateanomaly detection

astronomy · ai-result · Astronomy and Astrophysics · 2023

aix-00139

Robot laser-heats thin films while software picks each next heating condition

experimental designclassificationproperty prediction

materials-chemistry · ai-result

aix-00136

Diffusion model generates synthetic images of the Sun sorted by flare strength

candidate generationclassification

astronomy · ai-result · arXiv · 2024

aix-00176

Neural network potentials trained by repeatedly checking where models disagree on hydrogen sticking to copper

simulation surrogateexperimental design

materials-chemistry · ai-result · The Journal of Physical Chemistry C · 2023

aix-00178

Machine learning picked catalyst recipes for a loop of 44 lab cycles

property predictionexperimental design

materials-chemistry · ai-result · Nature Communications · 2023

aix-00135

Clustering algorithm sorts cluster stars from background stars in thirteen open clusters

classification

astronomy · ai-result · arXiv · 2024

aix-00190

A transformer model segments cryo-electron tomograms from three viewing directions at once

segmentationdetection

structural-biology · ai-result · Knowledge-Based Systems · 2025

aix-00129

Neural networks sort supernovae and estimate their distances from brightness alone

classificationproperty predictiondenoising

astronomy · ai-result · arXiv · 2024

aix-00121

Machine learning sorts mitochondrial proteins into three compartments from sequence alone

classification

structural-biology · ai-result · Journal of Environmental and Public Health · 2022

aix-00106

Volunteer labels train a model to find asteroid trails in Hubble archive images

detectionclassification

astronomy · ai-result · Astronomy and Astrophysics · 2022

aix-00068

Machine learning predicts marine steel corrosion from seawater conditions and alloy make-up

property predictioncandidate generation

materials-chemistry · ai-result · Materials · 2025

aix-00034

Kepler planets sorted by host star's Galactic orbit show differing eccentricities

classification

astronomy · ai-result · The Astronomical Journal · 2026

aix-00027

Neural networks read infrared spectra to work out how CO sits on platinum

structure determinationsimulation surrogate

materials-chemistry · ai-result · Nature Communications · 2020

aix-00011

A learning algorithm ran a synchrotron beamline to find a phase-change material

experimental designproperty predictionclassification

materials-chemistry · ai-result · Nature Communications · 2020

aix-00002

Deep learning turns raw NMR spectra into protein structures without human intervention

detectionproperty predictionstructure determination

structural-biology · ai-result · Nature Communications · 2022