I recommend this paper on the subject for additional reading:
The basal ganglia select the expected sensory input used for predictive coding
I recommend this paper on the subject for additional reading:
The basal ganglia select the expected sensory input used for predictive coding