Attention based on information maximization