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
2
u/scheurneus Apr 07 '26
I am not familiar enough with genetic programming to say if this is unprecedented or not :)
However, typical probabilistic methods still perform far better even when they do not have domain knowledge. For example check out the baselines in this blog post: https://cognitivemedium.com/rmnist
I do agree that image classification is probably rather hard for genetic programs. But I don't think that classical ML methods need domain knowledge to convincingly do better here.
I do wonder if there's a line to be drawn between genetic-ish programs and decision trees. DTs are arguably much closer than typical probabilistic ML methods, e.g. because the tree is essentially the AST for an extremely limited programming language (only has if-else).