DecodeAI
← Question Bank

Deep Learning & Generative AI

Neural Networks

Interview questions on Neural Networks.

39 questions

Regularization for deep learning

Q1. What is regularization and why is it important?

Sign in to bookmark

Regularization for deep learning

Q2. What are different kind of regularization techniques that we can use for deep neural networks?

Sign in to bookmark

Regularization for deep learning

Q3. Write the expression of cost function incase of parameter norm penalties?

Sign in to bookmark

Regularization for deep learning

Q4. What is the significant of hyperparameter $\alpha$ in regularized cost function?

Sign in to bookmark

Regularization for deep learning

Q5. Why do we typically penalize only the model's weights and not the biases in parameter norm penalties?

Sign in to bookmark

Regularization for deep learning

Q6. Should we use different penalty terms for each layer of neural networks?

Sign in to bookmark

Regularization for deep learning

Q7. Write the expression of objective function $J$ in case of $L^2$ regularization?

Sign in to bookmark

Regularization for deep learning

Q8. Why is the \(L^2\) parameter norm penalty referred to as weight decay?

Sign in to bookmark

Regularization for deep learning

Q9. Why do we usually regularize model parameters toward zero instead of a specific point?

Sign in to bookmark

Regularization for deep learning

Q10. Explain the impact of $L^2$ regularization on objective function of linear regression?

Sign in to bookmark

Regularization for deep learning

Q11. Write the expression for $L^1$ regularization on the model parameters $w$?

Sign in to bookmark

Regularization for deep learning

Q12. Compute the gradient of $L^1$ regularized objective function?

Sign in to bookmark

Regularization for deep learning

Q13. How does $L^1$ regularization results in more sparse parameters?

Sign in to bookmark

Regularization for deep learning

Q14. How do L1 and L2 regularization relate to Bayesian inference in the context of maximum a posteriori (MAP) estimation?

Sign in to bookmark

Regularization for deep learning

Q15. What is the main motivation behind using data augmentation techniques?

Sign in to bookmark

Regularization for deep learning

Q16. State the some use cases where we can use data augmentation techniques?

Sign in to bookmark

Regularization for deep learning

Q17. State some data augmentation techniques?

Sign in to bookmark

Regularization for deep learning

Q19. Why do we need label smoothing?

Sign in to bookmark

Regularization for deep learning

Q20. When do we use label smoothing?

Sign in to bookmark

Regularization for deep learning

Q21. How do we choose $\alpha$ or $\eta$?

Sign in to bookmark

Regularization for deep learning

Q22. What challenges arise when using maximum likelihood learning with a softmax classifier and hard targets?

Sign in to bookmark

Regularization for deep learning

Q23. What is multitask learning?

Sign in to bookmark

Regularization for deep learning

Q24. How does multitask learning prevents overfitting?

Sign in to bookmark

Regularization for deep learning

Q25. What is early stopping in machine learning?

Sign in to bookmark

Regularization for deep learning

Q26. How do you implement early stopping in a training process?

Sign in to bookmark

Regularization for deep learning

Q27. What criteria would you use for early stopping?

Sign in to bookmark

Regularization for deep learning

Q28. What are the benefits of using early stopping as regularizer over other methods like weight decay?

Sign in to bookmark

Regularization for deep learning

Q29. How does bagging technique help in reducing generalization error?

Sign in to bookmark

Regularization for deep learning

Q30. What are the challenges associated with using the bagging method with neural networks to prevent overfitting?

Sign in to bookmark

Regularization for deep learning

Q31. Show all the possible subnetworks that can be formed by dropping ot diffrent subsets of the units from the given base network?

Sign in to bookmark

Regularization for deep learning

Q32. **[True/False]** Does dropout aim to approximate the bagging method for neural networks?

Sign in to bookmark

Regularization for deep learning

Q33. How does the dropout technique contrast with the bagging method?

Sign in to bookmark

Regularization for deep learning

Q34. Which types of models can utilize the dropout technique?

Sign in to bookmark

Regularization for deep learning

Q35. State the weight scaling inference rule in case of dropout method?

Sign in to bookmark

Regularization for deep learning

Q36. How does weight scaling rule works?

Sign in to bookmark

Regularization for deep learning

Q38. What impact does dropout have on the learning of representations in neural networks?

Sign in to bookmark

Regularization for deep learning

Q39. When building a neural network, should you overfit or underfit it first?

Sign in to bookmark