I'm interested in a game kind of like the prisoner's dilemma. The important thing about the 2x2 prisoner's dilemma is that it is efficient if all cooperate, but this is not an equilibrium, because both players have a dominant strategy to defect.
I have in mind a variant. Suppose $n$ players can choose to cooperate or defect. It is group efficient if all cooperate, but any player would like to defect from that. Further, any coalition of 2 (more generally $k$) players would prefer to defect together. So we could imagine payoffs $u(\text{all defect})=0$, and switching to cooperate increases all individual payoffs by 1, but at a private cost of $2+\epsilon$ (more generally $k+\epsilon<n$). So, it is always better for the group if someone cooperates, but only for a large enough group.
Is there a name for this kind of thing? Are there any papers or other resources that explore how this differs than the classic prisoner's dilemma?