Neural networks reveal emergent properties of collective learning in democratic but not despotic groups. (December 2022)