PracHub
QuestionsLearningGuidesInterview Prep
|Home/Machine Learning/OpenAI

Implement Backprop for a Tiny Network

Last updated: Jun 21, 2026

Quick Overview

This question evaluates understanding of backpropagation, gradient derivation, numerical stability of softmax cross-entropy, and practical implementation skills in both NumPy and PyTorch autograd for a two-layer MLP, including correct batched tensor shapes.

  • hard
  • OpenAI
  • Machine Learning
  • Machine Learning Engineer

Implement Backprop for a Tiny Network

Company: OpenAI

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Onsite

Quick Answer: This question evaluates understanding of backpropagation, gradient derivation, numerical stability of softmax cross-entropy, and practical implementation skills in both NumPy and PyTorch autograd for a two-layer MLP, including correct batched tensor shapes.

Related Interview Questions

  • Implement Masked Cross-Entropy with Label Smoothing - OpenAI (medium)
  • Implement 1NN with NumPy - OpenAI (medium)
  • Compute entropy and implement 1-NN - OpenAI (medium)
  • Derive Sharded Matrix Multiplication and Backpropagation - OpenAI (medium)
  • Defend a Research Direction and Experiment Design - OpenAI (medium)
|Home/Machine Learning/OpenAI

Implement Backprop for a Tiny Network

OpenAI logo
OpenAI
Apr 3, 2026, 12:00 AM
hardMachine Learning EngineerOnsiteMachine Learning
172
0
Loading...
Loading comments...

Browse More Questions

More Machine Learning•More OpenAI•More Machine Learning Engineer•OpenAI Machine Learning Engineer•OpenAI Machine Learning•Machine Learning Engineer Machine Learning

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 9,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.