Attention constrains reinforcement learning processes to relevant task dimensions Learned values of stimulus features drive shifts in the focus of attention Attention biases value and reward prediction error signals in the brain Dynamic control of attention is associated with activity in frontoparietal network