Tag cause-and-effect learning