Compositional Generalization from First Principles Matthias Bethge 1,2 Wieland Brendel