GATE DA 2025, Q.42: Gradients in a small ReLU network
The question
A network (figure) has inputs u = 2, v = 3, three ReLU units R(x) = max(0, x) and weights a = 1, b = 1, c = 1, d = −1, e = 4, f = −1, producing output y. Find ∂y/∂a and ∂y/∂f.
- (A) ∂y/∂a = 8, ∂y/∂f = 0
- (B) ∂y/∂a = 1, ∂y/∂f = 0
- (C) ∂y/∂a = 1, ∂y/∂f = −1
- (D) ∂y/∂a = 2, ∂y/∂f = −1
This question uses a figure in the official paper. Network diagram not readable (image). Only labels u, v, R, R, R, a–f, y survive in the text. Assumed wiring: h1 = R(a·u + c·v), h2 = R(b·u + d·v), y = R(e·h1 + f·h2). See the official paper.
Checking your access…
The answer and full solution are in the GATE DA past-paper pack. All 195 questions from 2024, 2025 and 2026, each solved step by step and checked against the official key. ₹499, lifetime access.
What's in the pack · 60 questions are free to try.
Unlock this solution and every other question. ₹499, one payment, lifetime access.
Could not load the solution. Refresh the page, or email hello@gradientlab.dev.
See it move
Learn the idea behind this question in the free animated lesson Backpropagation, then Activation functions.
Source: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.