Predicting biotic interactions and their variability in a changing environment