r/ProgrammingLanguages • • Apr 07 '26

Blog post Update: Image classification by evolving bytecode

https://zyme.dev/blog/2_update_evolving_bytecode

It's been a while since I last posted about Zyme, my esoteric language for genetic programming. I recently reached a performance milestone of ~75% accuracy on a subset of MNIST image classification task and thought it was worth a short write-up.

Feedback and criticism are welcome!

9 Upvotes

8 comments sorted by

View all comments

Show parent comment

3

u/AlmusDives Apr 08 '26

Just to clarify, my specific claim is that solving an image classification problem (even with ~75% accuracy) with a pure genetic programming approach is unprecedented.

In the 1990s, there was a lot of optimism around genetic programming, but by the early 2000s, researchers were struggling to deliver any strong results beyond some limited applications. Neural networks were beginning to show real promise, and as the difficulty of genetic programming became clearer, enthusiasm for the method started to fade.

In response to this, researchers began exploring different methods to boost the performance of genetic programming. These included hybrid approaches - for example, as you noted, becoming a flavor of decision tree - and, importantly, incorporating substantial domain-specific knowledge to simplify the problems. I'm not against these methods; they have significantly improved the performance. But in many ways, they have become something new and different, even though they are still referred to as 'genetic programming.' If I were being hyper-critical, I would say they implicitly give up on the original vision of genetic programming: that we could straight-up evolve computer programs to solve problems.

In my previous reply I wasn't trying to say that modern ML approaches rely on domain-specific knowledge, they obviously don’t. Rather, I was trying to distance the method I present here from these newer 'genetic programming' methods that do use domain knowledge. If you take 'genetic programming' in the broadest sense, this result is not unprecedented: there are, at the very least, hybrid genetic programming/neural network methods that work. But in the narrow sense, and I would argue the sense faithful to the original vision of genetic programming, this is unprecedented.