Bayesian Modeling Of Interactions In Structured Heterogeneous Data