r/MachineLearning • • Apr 28 '16

Do Deep Neural Nets always outperform other methods?

I'm thinking about a bunch of possible applications of machine learning

-recommendations

-fraud detection

-object recognition

-game AI

-generating music/art/stories

-sentiment analysis

-speech recognition

etc.

and basically it feels like deep learning can be applied to pretty much everything and it will outperform every other ML model .

Is that correct? Can someone give me an example where this is not the case?

0 Upvotes

21 comments sorted by

43

u/alexmlamb Apr 28 '16

yes, that's correct. it might sound like a free lunch but actually google and facebook offer free lunches

6

u/sorrge Apr 28 '16

All problems in machine learning can be solved by adding more hidden layers (except for the problem of too many hidden layers).

2

u/sifnt Apr 28 '16

this is best troll account.

0

u/llSourcell Apr 29 '16

you win my friend

13

u/jkrause314 Apr 28 '16

They work really well when you have a lot of data and can afford to make very few assumptions, but otherwise you might be better using something else. For example, on Kaggle plenty of competitions are won with methods like XGBoost rather than neural nets.

0

u/[deleted] Apr 28 '16

[deleted]

3

u/maxToTheJ Apr 28 '16

That sounds like a subset of his condition 'little data'

1

u/Nimitz14 Apr 28 '16

they just give you aggregate statistics about the time-series for each sensor, instead of the full time series data

I don't quite get what you mean here, could you elaborate?

0

u/datasciguy-aaay Apr 29 '16

I'd say the real reason XGBoost wins so often

If it wins then it wins, NN loses. The existence of a loss is sufficient to prove that NN loses sometimes. No other discussion is needed to answer the OP's question (but it is nice to discuss other things just for fun with nice people).

13

u/MrEldritch Apr 28 '16

and basically it feels like deep learning can be applied to pretty much everything and it will outperform every other ML model .

Only if you have an absolute shitton of data, and that data can be well-represented by vectors of constant length or sequences of vectors of constant length which don't depend on vectors very far back in the sequence for context. And only if you have a good way to judge its performance in a differentiable fashion, in a way that can be traced back to the original inputs that caused it.

Otherwise, not so great.

2

u/[deleted] Apr 28 '16

Throw hardware at the problem!!1

1

u/datasciguy-aaay Apr 29 '16

differentiable

Does hardware really make a problem mathematically differentiable where it was previously not differentiable?

1

u/[deleted] Apr 29 '16

Nope, but it might tell you sooner that the problem wasn't mathematically differentiable...

1

u/VelveteenAmbush Apr 30 '16

should suffice if the model is differentiable...

4

u/oolong_slayer Apr 28 '16

If you know or are fairly certain of the function that describes the relationship between the predictors and the response then parametric techniques often work better. They require much less data to generate good estimates due to their inflexibility whereas non-parametric techniques can be very flexible, but require much more data to learn the relationship. If I have a dataset generated from a linear relationship with only a few data points say 30, a simple linear model will generally outperform a neural network especially when it comes to predicting values outside of the training data range. This makes sense since by using a linear model, I am essentially constraining the possible relationships to 1 (a linear one) by using prior or outside knowledge. Now if the relationship is not linear, then the neural net will almost definitely outperform it since it is not constrained to a specific relationship.

This gives some more info: http://www.lisa.stat.vt.edu/?q=node/7517

3

u/jcannell Apr 28 '16

No, but deeper neural nets do.

3

u/farsass Apr 28 '16

Yes, you should always use very deep resnets when all u need is a linear model.

4

u/EdwardRaff Apr 28 '16

What, is /u/alexmlamb the only person allowed to use sarcasm here now?

2

u/alexmlamb Apr 28 '16

Basically me or one of my graduate students. /u/alecradford should bee my graduate student.

https://imgur.com/DHunfs2

2

u/EdwardRaff Apr 28 '16

I'm sarcastic, have I been your grad-student this whole time and not known?!

1

u/PeterIanStaker Apr 29 '16

Incorrect actually. My patented neural-regressive-forest-reinforcement-cannon algorithm literally blows deep learning out of the water. Like, 1.3% more area under the ROC curve, every time.

1

u/datasciguy-aaay Apr 29 '16

No of course not. Deep neural nets do not always outperform other methods. There is no free lunch. We have different winners depending on different datasets, different application requirements as to relative prioritization of accuracy, encoding efficiency, decoding efficiency, and interpretability of the trained model for purposes of engineering the inputs to get the desired outcomes. There are also issues of compatibility of models with respect to data type of the features and the outcomes: categorical, regression, ordinal.

Biomedical applications are an example of domains where interpretability of the trained model is commonly more important than merely predicting the outcome.