The instruction set of the program that is being searched for.
This is probably the best publicly available summary of the idea I am pursuing:
The instruction set of the program that is being searched for.
This is probably the best publicly available summary of the idea I am pursuing:
I think you need to think this through some more. You may see there is a reason nobody uses genetic algorithms for real world tasks.
Part of the mutation function involves probabilistically growing and shrinking the program size (i.e., inserting and removing random instructions).
> And you are considering the simpler case where the search space is discrete, unlike the continuous spaces in most machine learning problems.
All "continuous spaces" that embody modern machine learning techniques are ultimately discrete.
Consider a toy model with just 1000 double (64-bit), or 64Kb parameters. If you're going to randomly flip bits over this 2^64K search space while you evaluate a nontrivial fitness function, genetic style, you'll be waiting for a long time.
With some optimization, you can evolve programs with search spaces of 10^10000 states (i.e., 10 unique instructions, 10000 instructions long) and beyond.
Visiting every possible combination is not the goal here.
How would you construct a genetic algorithm to produce natural language like LLMs do?
Forgive me if i'm misunderstanding, but in programming we have "tokens" which are minimal meaningful bits of code.
For natural languages it's harder. "Words" are not super meaningful on their own, i don't think. (at least not as much as a token) so how would you break down natural language for a genetic algorithm?
The entire point is that you do not bother trying. From an information theory and computational perspective, raw UTF-8 bytes can work just as well as "tokens".
The program that is being evolved is expected to develop whatever strategy is best suited to providing the desired input/output transformation. Back to the bitter lesson on this one.
That sounds really cool, but coming from training other statistical models, im having a hard time imagining what the training loop looks like.