Diagnosing Vanishing Gradients in a Deep Claims Sequence Network

Last updated: November 29, 2026

Quick Overview

A 12-layer feedforward network trained on claims history features for fraud, waste and abuse detection stalls: training loss barely moves after the first epoch and early layer weights hardly change. Explain likely causes and fixes.

CVS Health
Machine Learning
Machine Learning Engineer
CVS Health
November 29, 2026
Machine Learning Engineer
Technical Screen
Machine Learning
Medium

0

0

0 solved


A 12-layer feedforward network trained on claims history features for fraud, waste and abuse detection stalls: training loss barely moves after the first epoch and early layer weights hardly change. Explain likely causes and fixes.

CVS Health and Aetna special investigation teams use models to flag suspicious provider billing. This question checks deep learning fundamentals: how gradients flow, why activation and initialization matter, and a systematic debugging approach rather than random hyperparameter changes.

What the Interviewer Expects
  • Explains the chain rule product causing vanishing gradients
  • Identifies saturating activations and poor initialization
  • Checks gradient norms per layer as a diagnostic
  • Proposes ReLU or GELU, He initialization, normalization and residual connections
  • Rules out simpler causes such as learning rate or unscaled inputs
Key Topics to Cover
backpropagation
vanishing gradients
initialization
batch normalization
residual connections
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How is exploding gradient different and what fixes it?
  • Why does batch normalization help, and when would you choose layer norm?
  • Would a gradient boosted tree be a better choice for this tabular data?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

I would ask: what activation (sigmoid or tanh?), what initialization, are inputs standardized, learning rate and optimizer, and whether loss is weighted for the rare fraud class. A stalled loss could ...

Approach
  1. Log gradient norms per layer for a few batches. Vanishing gradients show norms shrinking by orders of magnitude toward the input layers.
  2. Check activation statistics: if most sigmoid units output...

Submit Your Answer
Markdown supported

Related Questions