Evolution seems to have figured out a way to build representations such that nearby steps in random directions are nearby in a semantic (can't think of a better word atm) sense. This should surprise you. Think about an expression tree like (+ (x y)), it's very different from (/ (x y)) despite differing in just 1 position. Or consider that 12 and 32780 differ by only a bit in their binary representation. We humans could really do with figuring out how evolution takes a seeming discrete problem and works out a way to build representations such that efficient search is possible even without explicit derivatives.
It's also interesting that, evolution might have taken this to a meta level with brains. From http://www.fil.ion.ucl.ac.uk/~karl/The%20free-energy%20princ...
> The beauty of neural Darwinism is that it nests distinct selective processes within each other. In other words, it eschews a single unit of selection and exploits the notion of meta-selection (the selection of selective mechanisms; for example, see REF. 89). In this context, (neuronal) value confers evolutionary value (that is, adaptive fitness) by selecting neuronal groups that meditate adaptive stimulus–stimulus associations and stimulus–response links. The capacity of value to do this is assured by natural selection, in the sense that neuronal value systems are themselves subject to selective pressure. This theory, particularly value-dependent learning90, has deep connections with reinforcement learning and related approaches in engineering (see below)
A bit of an aside but: If you're interested in AI, it's really worth looking at what the people studying the intersection of evolution and learning are saying, at animal intelligence and at human brain development. It's surprising to me how many people think the current approach to reinforcement learning is but a hop and a skip to full human like generality.
[-] https://en.wikibooks.org/wiki/Structural_Biochemistry/Stabil...