The interviewer mentioned fewer than 2 out of 100 candidates answer this correctly, which made me feel pretty good about getting it.
Start by clarifying that the question is about the likelihood of getting stuck in local minima, not about which network is better. Then explain that the network with very few neurons per layer is more prone to local minima due to its limited capacity and simpler loss landscape, while the larger network has more parameters and a higher-dimensional loss landscape with many saddle points but fewer bad local minima. Conclude by noting that in practice, local minima are less of a problem in deep learning, and saddle points are the main challenge.
Pro tip: Mention that modern deep learning rarely suffers from local minima due to overparameterization, and that smaller networks are more likely to get stuck in local minima because they have less capacity to escape. This shows you understand both theory and practical realities.
Restate the question to ensure you understand it: 'You're asking which network is more likely to get stuck in local minima during training, not which one performs better.'
Briefly explain that local minima are points where the loss is lower than all nearby points but not the global minimum, while saddle points are points where the gradient is zero but not a local minimum.
Explain that a network with very few neurons per layer has fewer parameters, leading to a simpler loss landscape with more local minima. Its limited capacity makes it harder to escape local minima.
Explain that a network with many neurons per layer has more parameters, resulting in a high-dimensional loss landscape with many saddle points but fewer bad local minima. Overparameterization tends to smooth the landscape, making local minima less problematic.
Conclude that the small network is more likely to get stuck in local minima. Add that in practice, local minima are not a major issue in deep learning; saddle points and plateaus are more common challenges.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.