~/aixsci
weekly updates

learn/model families

Generative adversarial network

A pair of learning programs trained against each other, one inventing fake examples and the other trying to spot them, so that the inventor ends up producing convincing imitations of real data.

What it is

A generative adversarial network is two programs in a contest. The first, the generator, makes up new data from scratch, starting with random noise. The second, the discriminator, is shown a mixture of real measurements and the generator's inventions, and must judge which is which. Every time the discriminator catches a fake, the generator is adjusted to be harder to catch; every time it is fooled, the discriminator is adjusted to be sharper. Neither is told directly what good data looks like. The pressure comes only from the other side of the contest.

Training stops, in principle, when the discriminator can no longer do better than guessing, because the generator's output has become statistically hard to tell apart from the real thing. The generator can then be used on its own to produce as many new samples as wanted. Variants exist for different jobs: some produce images, some produce numerical tables, and some are built to output a continuous value rather than a category, which is what the word regression signals in their names.

Why scientists use it

Scientists often have fewer measurements than their methods need. An experiment may be slow, expensive or destructive, so a dataset of a few dozen rows is normal in fields such as corrosion testing of metals or structural work on large molecules. Most prediction methods behave badly on such small samples: they memorise the handful of cases they were shown and fail on anything new.

An adversarial network stands in for measurements nobody made. If it can learn the shape of the real data, it can manufacture extra examples with the same statistical character, and those can pad out a training set. It is also used where the goal is the imitation itself, such as sharpening a blurry experimental map or filling in missing parts of an image, because the discriminator supplies a sense of realism that a simple error score does not.

In the record

Limits

An adversarial network invents nothing that was not implied by the data it saw. If the real measurements are few, biased or cover a narrow range, the manufactured samples inherit all of that while looking plentiful and convincing, which can make a model seem better tested than it is. The contest is also unstable: it can collapse into producing a few repetitive outputs, or fail to settle at all. And because the output is designed to look realistic, judging it by eye is a poor check.

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

Named models

Every article

3articles
1structural-biology
1materials-chemistry
0astronomy
1climate-weather