Groups of decision makers can integrate their independent informational states and outperform individuals (collective intelligence). However, the extent to which collective intelligence has been shaped by natural selection in response to ecological challenges is largely unknown.