The Role of Intelligence in Social Learning