Neural Network Differentiation
To differentiate the loss function in a Neural Network, there are four options
- Manual differentiation: It is labor intensive and often it is hard to calculate the closed form solution especially for complex function
- Symbolic differentiation: Like manual, it is also hard for complex function
- Numerical differentiation: Can handle complex function but may cause numerical issues
- Automatic differentiation: In Deep Learning, most libraries use automatic differentiation