r/ProgrammingLanguages • u/AlmusDives • Apr 07 '26
Blog post Update: Image classification by evolving bytecode
https://zyme.dev/blog/2_update_evolving_bytecodeIt'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
View all comments
Show parent comment
4
u/AlmusDives Apr 07 '26
If the sole aim were accurate image classification, you'd be right, this is a woefully poor attempt. Anyone with even a modest experience in machine learning could train a model achieving >98% accuracy on MNIST in under half an hour, whether using XGBoost, neural networks, or any other ML framework of choice.
What is novel, and I would argue unprecedented, is achieving this humble accuracy through a pure genetic programming approach. There are methods that tackle image classification by composing high-level image transformation functions (think pooling or filtering) and label it 'genetic programming.' But that is quite far from what is happening here, where we provide no domain knowledge whatsoever.