Can any machine learning algorithm predict the function of pseudo random number generator given only its inputs and outputs?
Here, you can also assume that you don't know the seed for the PRNG.
Can any machine learning algorithm predict the function of pseudo random number generator given only its inputs and outputs?
Here, you can also assume that you don't know the seed for the PRNG.
Yes, this is possible but only within certain cases and depending on the amount of work one is willing to invest. All PRNGs make use of an underlying (deterministic) generative process that can be learned in theory. This blog post nicely illustrates how it could be done. The model learns to predict the next sequence of random numbers without knowing the seed. This makes intuitive sense since deep nets can approximate arbitrary functions and in practice it is often not even clear what the seed value of the generative process would be (e.g. during image classification).
In general, this question has no binary answer but instead depends on a number of factors like the complexity of the PRNGs, the available training data, the network size, and the available compute.