Exploring adaptability through learning layers and learning loops