Identifying Cyclic Patterns of Interaction to Study Individual and Collective Learning