by Blikkentrekker · 5y ago · 0 comments
This makes me wonder? is it worth it to do a neural a.i. sort by simply training it?
I assume it would be hard to prove that the resulting a.i. is actually infallible and always produces a sorted output, but perhaps it could for practical measures sort faster than most current algorithms.
To train a neural network, the training set and test set need to come from a common probability distribution but the inputs of sorting algorithms can be random. There's no relation between what you could possibly train your network on and what you'd ask it to do.
Put another way - the input and output of your model would have zero correlation. There's nothing to train the model to pick up on.
Interesting related work: Graves[0] trained a "neural Turing machine" to encode instructions for a basic sorting algorithm.
It just seems so counter-intuitive to me that neural networks are an efficient way to handle this, but I would be happy if proven wrong.