All models

Chet

Predicts a patient's next health event from past diagnoses using per-visit subgraphs of a disease co-occurrence graph.

Graphs and geometry · 513 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (414 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
877.5K
Operations
513
Framework
PyTorch
Recurrent
Yes
Published
AAAI 2022
Cited by
59 (as of 28 October 2026)
Authors
Chang Lu, Tian Han, Yue Ning
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15286
Graph hash
4434fd93ad87bae8e3a3b789c58fd70aada4f2b1848e52a2fda78fa45d629898
Skeleton hash
ca320e4797d0720775c288b3101ec9b2f859dc2a413f51ff84b5fec034b045eb
Architecture hash
db3cc635335753d6df7d036f9aa5f9afea22a30bb69c4e0b3660ae4e5febe8e8
Diagram SHA-256
785cb9594db57e4340002d3f167691fc4bd7826df33f46d31ee59c8549420d0d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Chet is a health event prediction model for electronic health records (EHR): from the diagnoses recorded at a patient's earlier visits, it predicts an event at the next one. The paper tests two such events, the full set of diagnoses at the next visit and whether the patient will be diagnosed with heart failure. Its starting point is that diseases often diagnosed together carry hidden patterns useful for prognosis.

The model builds a global graph of disease co-occurrence with two weighted edges per pair, on the conjecture that two diseases should not have equal influence on each other. For each visit it forms dynamic subgraphs that combine local context from that visit's diseases with global context from the whole dataset. Only one graph layer is used, because the visit subgraphs consider only one-hop connections.

Temporal learning then runs on individual diagnoses instead of on visit embeddings. Each diagnosis takes one of three roles, and each role has its own transition function. Persistent diseases, those also diagnosed at the previous visit, pass through a modified gated recurrent unit (M-GRU). The two emerging roles use scaled dot-product attention. A location-based attention over visits gives the patient embedding used by the classifier. On MIMIC-III and MIMIC-IV the paper reports that Chet scores above GRAM and CGL without the medical ontology graphs those two models use.

Key idea. Chet models each visit as dynamic subgraphs of a global disease co-occurrence graph and assigns diagnoses three roles, each with its own transition function across visits.

  • Chet
  • health event prediction
  • electronic health records
  • EHR
  • diagnosis prediction
  • heart failure prediction
  • disease co-occurrence graph
  • dynamic disease graph

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lu2021contextawarehealtheventprediction,
      title={Context-aware Health Event Prediction via Transition Functions on Dynamic Disease Graphs}, 
      author={Chang Lu and Tian Han and Yue Ning},
      year={2021},
      eprint={2112.05195},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2112.05195}, 
}