1
$\begingroup$

Shouldn't a deep enough linear neural network (with activation functions) be able to learn anything, even recurrent and spatial patterns? I could just flattened timeseries data or image data and pass it as input to a fully connected feed forward network. Why wouldn't it be able to learn from that data. This would be inefficient but would this be possible? So Hypothetically I could replace an RNN or a CNN with a deep enough enough fully connected feed forward network?

$\endgroup$
8
  • 3
    $\begingroup$ Isn't this a universal approximation theorem? $\endgroup$
    – Dave
    Commented Feb 28 at 18:02
  • 1
    $\begingroup$ Maybe some things are not learnable from data? E.g. concepts like Gödel's incompleteness theorems $\endgroup$ Commented Feb 28 at 18:05
  • 2
    $\begingroup$ Yes, but does Universal Approximation Theorem also apply to functions that model temporal or pictorial data? So Hypothetically I could replace an RNN or a CNN with a deep enough enough fully connected feed forward network? $\endgroup$ Commented Feb 28 at 18:05
  • 2
    $\begingroup$ Yes, it just becomes hard to train. Also note that you can directly represent a convolutional layer as a matrix multiplication ai.stackexchange.com/a/21874/41576 $\endgroup$
    – Ggjj11
    Commented Feb 28 at 18:15
  • 1
    $\begingroup$ It doesn't even have to be deep! One layer is enough if you have a buncha neurons $\endgroup$ Commented Feb 28 at 18:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.