Microstructure backcasting via deep learning