Accurate modelling of memristor dynamics is essential for the development of autonomous learning in artificial neural networks. Through a combined theoretical and experimental study of the polarization switching process in ferroelectric memristors, Boynet al. establish a model that enables learning and retrieving patterns in a neural system.