If I’m remembering right, it’s been described as hebbian based learning to me before. So you might not be too far off base in thinking that.
Also, I managed to dig up an older thread talking about something similar. It was focused on something slightly more specific than what I think you’re asking, but even still, it might prove helpful to you.