A Bayesian Approach to Attention Control and Concept Abstraction