Researchers trained a neural network to identify the lengths of polymer chains in a fraction of a second.