Doubly adaptive social learning