Knowledge diffusion in networks of artificial learners