Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Survival›DeepHit
Survival analysisDeep Learning

DeepHit

Deep Learning for Competing Risks · Also known as: Neural network competing risks, DL competing events

DeepHit is a deep neural network framework for survival analysis with competing risks. Introduced by Lee et al. in 2018, it extends DeepSurv to handle settings where multiple, mutually exclusive events can occur, such as disease-specific mortality versus death from other causes. DeepHit solves the challenge of personalized risk prediction when subjects can experience different types of terminal events, a common scenario in medical and reliability applications.

ScholarGate
  1. Survival analysis
  2. v1
  3. 3 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

DeepHit
DeepSurv

When to use it

Use DeepHit when you have multiple competing event types and want personalized risk estimates for each outcome. It is particularly valuable in clinical settings where patients might die from disease or from unrelated causes, in reliability engineering with multiple failure modes, or in customer analytics with multiple exit routes (churn reasons). The method assumes noninformative censoring and that the competing risks are defined and measurable. Prefer DeepHit over cause-specific hazard models when you expect complex interactions between covariates and event types.

Strengths & limitations

Strengths
  • Directly models cumulative incidence functions for each competing event, respecting probability constraints
  • Captures complex covariate interactions and nonlinear effects for each event type simultaneously
  • Produces calibrated, personalized risk estimates for all competing events from a single unified model
  • Enables discovery of event-specific treatment effects without manual stratification
  • Handles high-dimensional covariates and sparse event data more robustly than traditional approaches
Limitations
  • Requires sufficient event counts for each competing risk category to train reliably
  • Network architecture and training objective add complexity compared to simpler competing risk methods
  • Theoretical justification for the direct incidence modeling approach is less established than cause-specific models
  • Computational cost is higher due to multi-task neural network training
  • Interpretation of learned representations is challenging when multiple event types are modeled jointly

Frequently asked

How does DeepHit differ from modeling cause-specific hazards separately?

DeepHit directly models cumulative incidence functions using a unified neural network with multi-task learning. Traditional cause-specific approaches model each event's hazard independently, then mathematically combine them to get incidence. DeepHit's joint learning can capture event-specific covariate interactions better and more efficiently handles shared covariate effects.

What is the relationship between DeepHit and Fine-Gray regression?

Fine-Gray regression models subdistribution hazards using partial likelihood, assuming linearity. DeepHit replaces this linear assumption with a neural network, learning nonlinear relationships. Both target the same cumulative incidence function, but DeepHit offers greater flexibility.

How does DeepHit ensure that incidence probabilities sum to one?

The output layer uses a softmax-like constraint across event types to ensure all incidence curves are mutually exclusive and exhaustive. The training objective penalizes violations of this constraint, encouraging the model to respect the competing risks structure.

Can I use DeepHit if one event type is very rare?

Rare event types make training difficult. To handle imbalanced events, use weighted loss functions that upweight rare events during training, or stratified sampling to ensure each batch contains examples of all event types. Class balancing is critical for reliable predictions.

How should I choose the number of output heads for different event types?

Include one output head per distinct competing event type in your application. However, group rare event types together only if you do not need separate risk estimates. Test different groupings using cross-validation to maximize predictive accuracy.

What software implements DeepHit?

DeepHit implementations are available in pycox (Python), as well as custom TensorFlow and PyTorch code. Some packages built on lifelines also provide competing risks functionality, though specialized packages offer more sophisticated implementations.

Sources

  1. Lee, C., Zame, W., Yoon, J., & van der Schaar, M. (2018). DeepHit: A deep learning approach for dynamic survival analysis with competing risks. AAAI Conference on Artificial Intelligence, 32(1), 2314–2321. link ↗
  2. Fine, J. P., & Gray, R. J. (1999). A proportional hazards model for the subdistribution of a competing risk. Journal of the American Statistical Association, 94(446), 496–509. DOI: 10.1080/01621459.1999.10474144 ↗
  3. Katzman, J. L., et al. (2018). DeepSurv: Personalized treatment recommender system using a Cox proportional hazards deep neural network. Journal of Machine Learning Research, 40, 40–51. DOI: 10.1186/s12874-018-0482-1 ↗

How to cite this page

ScholarGate. (2026, June 3). Deep Learning for Competing Risks. ScholarGate. https://scholargate.app/en/survival/deephit

Related methods

DeepSurv

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • DeepSurvSurvival↔ compare
Compare side by side →

Similar methods

DeepSurvCompeting Risks AnalysisMulticenter Competing Risks AnalysisRetrospective competing risks analysisFine-Gray Competing Risks ModelMatched Competing Risks AnalysisProspective Competing Risks AnalysisBayesian Competing Risks Analysis

Related reference concepts

Competing RisksSurvival Analysis and Time-to-Event MethodsCox Regression ModelsDeep LearningCensoring and Follow-Up DataDeep Generative Models

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — DeepHit (Deep Learning for Competing Risks). Retrieved 2026-07-20 from https://scholargate.app/en/survival/deephit · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Changhee Lee
Subfamily
Deep Learning
Year
2018
Type
Neural network competing risks model
Related methods
DeepSurv
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account