Data driven message passing for interactions