Learning the Different Types of Interactions