Answers.Body: <p>Only the non-bias ones,</p>
  
  <p>It is discouraged to include the bias weights under norm penalty regularization for example, so why should it be included in the drop-out regularization scheme?</p>
  
  <p>Drop out can be implemented by multiplying units with zero and the bias term is rather special. The bias term determines the distance from the origin the linear decision boundary of the node implements. It is included in every sum, but it does not receive any inputs. </p>
  
  <p>So to take your example, say you have 80 nodes per layer in an MLP, where one is a bias node, the output of these layers will consist of 79 nodes every time. This <i>output</i> is then put under the drop-out effect.    </p>
  
  <p>From Goodfellows et al. Deep Learning book under the regularization chapter, present online: "<a href="http://www.deeplearningbook.org/contents/regularization.html" rel="nofollow noreferrer">http://www.deeplearningbook.org/contents/regularization.html</a>", they write that they implement the drop-out by canceling some outputs to zero:</p>
  
  <p>"<br>
  <i>In most modern neural networks, ... , we can effectively remove a unit from a network by multiplying its output value by zero. ... . Here, we present the dropout algorithm in terms of multiplication by zero for simplicity, but it can be trivially modiﬁed to work with other operations that remove a unit from the network.</i><br>
  "</p>
  
  <p>Drop-out by cancelling outputs, the output from the activation function, has nothing to do with the bias vector. It is not receiving any inputs. 
  Therefore I think the implementation typically only deals with output-to-input connections, and the bias vector does not receive inputs so it can safely be let alone from the drop-out process. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-01T15:51:33.263Z
Answers.LastActivityDate: 2018-03-02T07:03:41.240Z
Answers.LastEditDate: 2018-03-02T07:03:41.240Z
Answers.UserDisplayName: Ricardicus
Body: <p>Suppose that you have 80 neurons in a layer, where one neuron is bias. Then  you add a dropout layer after the activation function of this layer.</p>
  
  <p>In this case, does it have a chance to drop out the bias neuron, or does the dropout only affect the other 79 weight neurons?</p>
  
Tags: <deep-learning><dropout>
Title: Does a bias also have a chance to be dropped out in Dropout layer?
UserDisplayName: Blaszard
ThreadText: # Does a bias also have a chance to be dropped out in Dropout layer?
  
  (Asked by: username_0 on 2017-08-12)
  
  Suppose that you have 80 neurons in a layer, where one neuron is bias. Then you add a dropout layer after the activation function of this layer.
  
  In this case, does it have a chance to drop out the bias neuron, or does the dropout only affect the other 79 weight neurons?
  
  **Tags:** deep-learning, dropout
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-01. Score: 3
  
  Only the non-bias ones,
  
  It is discouraged to include the bias weights under norm penalty regularization for example, so why should it be included in the drop-out regularization scheme?
  
  Drop out can be implemented by multiplying units with zero and the bias term is rather special. The bias term determines the distance from the origin the linear decision boundary of the node implements. It is included in every sum, but it does not receive any inputs.
  
  So to take your example, say you have 80 nodes per layer in an MLP, where one is a bias node, the output of these layers will consist of 79 nodes every time. This *output* is then put under the drop-out effect.
  
  From Goodfellows et al. Deep Learning book under the regularization chapter, present online: "<http://www.deeplearningbook.org/contents/regularization.html>", they write that they implement the drop-out by canceling some outputs to zero:
  
  "  
  *In most modern neural networks, ... , we can effectively remove a unit from a network by multiplying its output value by zero. ... . Here, we present the dropout algorithm in terms of multiplication by zero for simplicity, but it can be trivially modiﬁed to work with other operations that remove a unit from the network.*  
  "
  
  Drop-out by cancelling outputs, the output from the activation function, has nothing to do with the bias vector. It is not receiving any inputs.
  Therefore I think the implementation typically only deals with output-to-input connections, and the bias vector does not receive inputs so it can safely be let alone from the drop-out process.
  
  
  ---
  
  