Interactions between sub-groups (species, strains) have been reported in many species among many taxae. We propose a generic model based on earlier experiments accounting for both conspecific (or between individuals of the same strains) and heterospecific (or between strains) interactions. The model predicts different collective behaviours without any change of individuals’ algorithm as some key generic parameters such as the carrying capacity, the number of individuals involved and the strength of inter-attraction between sub-groups are varied. A key result is the possibility for sub-groups to segregate between patches and for transition between different patterns, even in absence of active agonistic behaviour. The model can be viewed as a network of feedbacks that is independent of the signals or cues involved in mixed groups interactions. Its predictions are therefore applicable to a wide spectrum of situations including social insects (inter castes interaction) and provides insights on possible mechanisms that can be at work.