Lots of parallels to how our brains are thought to work.
https://en.m.wikipedia.org/wiki/Predictive_coding