MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. What is backpropagation?

What is backpropagation?

TechnicalAI EngineerML EngineerAI ResearcherMachine Learning EngineerData Scientist

Backpropagation is an algorithm used in training neural networks by minimizing the error between predicted and actual outputs. It works by calculating the gradient of the loss function with respect to each weight through the chain rule, allowing us to adjust the weights in the opposite direction of the gradient.

This process involves two main steps: forward propagation to compute the output and loss, followed by backward propagation to update the weights. This iterative approach helps in effectively reducing the loss over time, making the model more accurate.

More Questions

  • Explain the concept of "few-shot learning" in LLMs and its advantages.
  • How do LLMs handle out-of-vocabulary (OOV) words?
  • How do you select features for a model?
  • What are some common challenges associated with using LLMs?
  • What are the key differences between supervised and unsupervised learning?
  • What is QLoRA and how does it differ from LoRA? When would you choose one over the other?
  • What’s the bias-variance tradeoff?
  • When would you fine-tune vs. when would you use RAG?
  • Can you explain how a generative model works?
  • Can you name and explain a few hyperparameters used for training a neural network?
MockReal Logo

Spoken interview practice for technical professionals

Product

  • Pricing
  • Questions
  • Positions
  • Resumes
  • For Employers →

Company

  • Careers
  • About Us
  • Contact
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 MockReal. Spoken interview practice. All rights reserved.