Avoiding Shortcut Solutions in Artificial Intelligence