LFD Book Forum How does deterministic noise cause overfitting?
 User Name Remember Me? Password
 Register FAQ Calendar Mark Forums Read

 Thread Tools Display Modes
#1
05-16-2012, 04:57 AM
 mic00 Invited Guest Join Date: Apr 2012 Posts: 49
How does deterministic noise cause overfitting?

I am still a little confused about this. It's clear to me that reducing deterministic noise can lead to overfitting (if there is not enough in-sample data), but the presence of deterministic noise itself seems (to me) to cause underfitting. Am I just being pedantic?

(I contrast this with stochastic noise: it cannot be reduced, and clearly any attempt to fit it is overfitting, because no amount of in-sample data will clarify its shape).
#2
05-17-2012, 10:54 AM
 magdon RPI Join Date: Aug 2009 Location: Troy, NY, USA. Posts: 596
Re: How does deterministic noise cause overfitting?

This is a very subtle question!

The most important thing to realize is that in learning, is fixed and is given, and so can be assumed fixed. Now we can ask, what is going on in this learning scenario. Here is what we can say:

i) If there is stochastic noise with 'magnitude' , then you are in trouble.

ii) If there deterministic noise then you are in trouble.

The stochastic noise can be viewed as one part of the data generation process (eg. measurement errors). The deterministic noise can similarly be viewed as another part of the data generation process, namely . The deterministic and stochastic noise are fixed. In your analogy, you can increase the stochastic noise by increasing the noise variance and you get into deeper trouble. Similarly, you can increase the deterministic noise by making more complex and you will get into deeper trouble.

I just need to tell you what 'trouble' means. Well, we actually use another word instead of 'trouble' - overfitting. This means you may be likely to make an inferior choice over the superior choice because the inferior choice has lower in-sample error. Doing stuff that looks good in-sample that leads to disasters out-of-sample is the essence of overfitting. An example of this is trying to choose the regularization parameter. If you pick a lower regularization parameter, then you have lower in-sample error, but it leads to higher out-of-sample error - you picked the with lower but it gave higher . We call that overfitting. Underfitting is just the name we give to the opposite process in the context of picking the regularization parameter. Once the regularization parameter gets too high, as you pick a higher you get both higher and higher . It also turns out that this means you over regularized and obtained an over-simplistic - i.e. you 'underfitted', you didn't fit the data enough. The underfitting and overfitting are just terms. The substance of what is going on under the hood is how the deterministic and stochastic noise are affecting what you should and should not do in-sample.

Now let's get back to the subtle part of your question. There is actually another way to decrease the deterministic noise - increase the complexity of (the other way is to decrease the complexity of which we discussed above). Now is where the difference with stochastic noise pops up. With stochastic noise, it either goes up or down; if down, then things get better. With deterministic noise, if you just tell me that it went down, I need to ask you *how*. Did your target function get simpler - if yes, then great, it is just as if the stochastic noise went down. If it is that your got more complicated, then things get interesting. To understand what is going on, the Bias Variance decomposition helps (bottom of page 125 in the textbook).

is the direct impact of the stochastic noise. bias is the direct impact of the deterministic noise. The var term is interesting and is the indirect impact of the noise, through . The var term is mostly controlled by the size of in relation to the number of data points. So getting back to the point, if you make more complex, you will decrease the det. noise (bias) but you will increase the var (its indirect impact). Usually the latter dominates (overfitting, not because of the direct impact of the noise, but because of its indirect impact) ... unless you are in the underfitting regime when the former dominates.

Quote:
 Originally Posted by mic00 I am still a little confused about this. It's clear to me that reducing deterministic noise can lead to overfitting (if there is not enough in-sample data), but the presence of deterministic noise itself seems (to me) to cause underfitting. Am I just being pedantic? (I contrast this with stochastic noise: it cannot be reduced, and clearly any attempt to fit it is overfitting, because no amount of in-sample data will clarify its shape).
__________________
Have faith in probability
#3
05-17-2012, 04:28 PM
 mic00 Invited Guest Join Date: Apr 2012 Posts: 49
Re: How does deterministic noise cause overfitting?

Thanks very much for the detailed reply!

Quote:
 Originally Posted by magdon Doing stuff that looks good in-sample that leads to disasters out-of-sample is the essence of overfitting. An example of this is trying to choose the regularization parameter. If you pick a lower regularization parameter, then you have lower in-sample error, but it leads to higher out-of-sample error - you picked the with lower but it gave higher . We call that overfitting. Underfitting is just the name we give to the opposite process in the context of picking the regularization parameter.
This is a helpful distinction. The idea of being "led astray" has also been nice for intuition.

Quote:
 Originally Posted by magdon To understand what is going on, the Bias Variance decomposition helps (bottom of page 125 in the textbook). is the direct impact of the stochastic noise. bias is the direct impact of the deterministic noise. The var term is interesting and is the indirect impact of the noise, through . The var term is mostly controlled by the size of in relation to the number of data points. So getting back to the point, if you make more complex, you will decrease the det. noise (bias) but you will increase the var (its indirect impact).
This makes perfect sense as well, and is how I had been thinking of the major impact of deterministic noise in causing overfitting. What spurred me to think about this is in fact the exercise on page 125, and the hint that, as becomes more complex, there are two factors affecting overfitting. The bias/variance trade-off -- and thus the indirect impact of deterministic noise -- is clear, but that deterministic noise (bias) would directly cause overfitting is a little confusing.

What I am curious about is how we can be "led astray" if and must stay fixed, and in my mind, I keep coming back to the precise definition of : if (size of training data set) is very small, variance will suffer, but also will differ from the best hypothesis in , leading to higher deterministic noise; if is big enough, will match the best hypothesis closely, and both variance and deterministic noise will shrink. So, even in cases of very large deterministic noise, if is very big and gives us a near-perfect shape of the target function, we are not "led astray" at all (and indeed would track very well). It seems like that wiggle room in the deterministic noise tracks a bigger change in the variance. Does this make sense?
#4
05-17-2012, 09:17 PM
 magdon RPI Join Date: Aug 2009 Location: Troy, NY, USA. Posts: 596
Re: How does deterministic noise cause overfitting?

The "being led astray" refers to the "noise" in the finite data set leading the learning algorithm in the wrong direction and outputting the wrong final hypothesis (though are fixed). This tendency to be led astray is worse for more complex because it has more flexibility to (over)fit the noise and hence be led astray. This is what contributes most to the var term in the bias variance decomposition. Different data sets (with noise) will lead the learning astray in wildly different directions resulting in high var.

We didn't precisely define deterministic noise, we just gave the intuitive idea. bias is very related to it though not exactly the same. Indeed though might be worse for smaller , its dependence on is mild. See for example Problem 3.14 as an evidence that the bias has only mild dependence on . In practice, math]\bar g[/math] is close to no matter what and so the bias is more or less the deterministic noise.

Quote:
 Originally Posted by mic00 Thanks very much for the detailed reply! This is a helpful distinction. The idea of being "led astray" has also been nice for intuition. This makes perfect sense as well, and is how I had been thinking of the major impact of deterministic noise in causing overfitting. What spurred me to think about this is in fact the exercise on page 125, and the hint that, as becomes more complex, there are two factors affecting overfitting. The bias/variance trade-off -- and thus the indirect impact of deterministic noise -- is clear, but that deterministic noise (bias) would directly cause overfitting is a little confusing. What I am curious about is how we can be "led astray" if and must stay fixed, and in my mind, I keep coming back to the precise definition of : if (size of training data set) is very small, variance will suffer, but also will differ from the best hypothesis in , leading to higher deterministic noise; if is big enough, will match the best hypothesis closely, and both variance and deterministic noise will shrink. So, even in cases of very large deterministic noise, if is very big and gives us a near-perfect shape of the target function, we are not "led astray" at all (and indeed would track very well). It seems like that wiggle room in the deterministic noise tracks a bigger change in the variance. Does this make sense?
__________________
Have faith in probability

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General     General Discussion of Machine Learning     Free Additional Material         Dynamic e-Chapters         Dynamic e-Appendices Course Discussions     Online LFD course         General comments on the course         Homework 1         Homework 2         Homework 3         Homework 4         Homework 5         Homework 6         Homework 7         Homework 8         The Final         Create New Homework Problems Book Feedback - Learning From Data     General comments on the book     Chapter 1 - The Learning Problem     Chapter 2 - Training versus Testing     Chapter 3 - The Linear Model     Chapter 4 - Overfitting     Chapter 5 - Three Learning Principles     e-Chapter 6 - Similarity Based Methods     e-Chapter 7 - Neural Networks     e-Chapter 8 - Support Vector Machines     e-Chapter 9 - Learning Aides     Appendix and Notation     e-Appendices

All times are GMT -7. The time now is 10:24 PM.

 Contact Us - LFD Book - Top