Resilience and Social Learning