# US 2021/0343410 A1 · Method to the automatic International Classification of Diseases (ICD) coding for clinical records

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0343410 A1
- Document ID: US20210343410A1
- Status: Published application
- Kind: A1
- Application number: 16/865,335
- Filed: 2020-05-02
- Published: 2021-11-04
- Earliest claimed: 2020-05-02
- Assignees: Petuum Inc.
- Applicants: Petuum Inc.
- Inventors: Shanghang Zhang; Najmeh Sadoughi; Pengtao Xie; Eric Xing
- Web page: https://patentgrep.com/patent/US20210343410A1

## CPC

- G16H 50/20: for computer-aided diagnosis, e.g. based on medical expert systems
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/285: {Clustering or classification}
- G06F 40/30: Semantic analysis
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G16H 10/60: for patient-specific data, e.g. for electronic patient records
- G16H 15/00: ICT specially adapted for medical reports, e.g. generation or transmission thereof
- G16H 40/20: for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
- G16H 50/70: for mining of medical data, e.g. analysing previous cases of other patients
- G16H 70/60: relating to pathologies
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present invention is a system and a method to classify clinical records into International Classification of Diseases (ICD) codes. The system includes a processor, and a memory communicatively coupled to the processor. The memory includes a generator (G), a feature extractor, a discriminator (D), a label encoder, and a keywords reconstructor. The generator (G) generates synthesized features corresponding to ICD code descriptions. The feature extractor extracts real latent features from clinical documents and generates real features by training a GANs. The generator (G) generates synthesized features after the GANs are trained and calibrate a binary code classifier with the real latent features generated by the feature extractor for a low-shot ICD code l. The feature extractor generates code-specific latent features conditioned on a textual description of each ICD code description by using a WGAN-GP. The discriminator (D) distinguishes between the synthesized features and the real features and determines whether the features are the real features or synthetic features. The label encoder encodes a sequence of keywords in the ICD code description into a sequence of hidden states.

## Claims

### Claim 1

A system to classify a plurality of clinical records into International Classification of Diseases (ICD) codes, the system comprising:
one or more processor(s); and
a memory communicatively coupled to the processor(s), wherein the memory stores instructions executed by the processor, wherein the memory comprising:
a generator (G) to generate one or more synthetic features corresponding to one or more ICD code descriptions;
a feature extractor to extract one or more real latent features from a plurality of clinical documents and generates one or more real features by training a plurality of generative adversarial networks (GANs), wherein the generator (G) generates synthesized features after the GANs are trained and calibrate a binary code classifier with the real latent features generated by the feature extractor for a low-shot ICD code l, wherein the GANs improve the low-shot ICD code l by generating a plurality of pseudo data examples in a latent feature space of the clinical documents for the low-shot ICD codes l, wherein the generator (G) generates one or more code-specific latent features conditioned on a textual description of each ICD code descriptions by using a Wasserstein GAN with gradient penalty (WGAN-GP), wherein the Wasserstein GAN with gradient penalty (WGAN-GP) generates a latent feature vector (f);
a discriminator (D) to distinguish between the synthesized features generated by the generator (G) and the real features generated by the feature extractor and determines whether the features are the real features generated by the feature extractor or the synthetic features generated by the generator (G);
a label encoder to encode a sequence of a plurality of keywords in the ICD code description into a sequence of one or more hidden state sequences by using a long short-term memory (LSTM); and
a keywords reconstructor to reconstruct the keywords extracted from the clinical documents associated with a code l to ensure the latent feature vector (f) captures a semantic meaning of a code l.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the label encoder obtains a fixed-sized encoding vector (el) by performing a dimension-wise max-pooling over the hidden state sequences.

### Claim 3 (depends on 1)

The system according to claim 1, wherein the label encoder obtains an eventual embedding (cl=el∥gl) of the code l by concatenating the fixed-sized encoding vector (el) with an ICD tree hierarchy (gl) which is the embedding of the code l produced by a graph encoding network.

### Claim 4 (depends on 3)

The system according to claim 3, wherein the eventual embedding (cl) comprises a latent semantics of the description (in el) and the ICD tree hierarchy (in gl).

### Claim 5 (depends on 1)

The system according to claim 1, wherein the binary code classifier is encoded by a graph gated recurrent neural networks (GRNN).

### Claim 6

A method for classifying a plurality of clinical records into International Classification of Diseases (ICD) codes, the method comprising steps of:
generating, by one or more processors, one or more synthetic features corresponding to one or more ICD code descriptions through a generator (G);
extracting, by the processors, one or more real latent features from a plurality of clinical documents and generating one or more real features by training a plurality of generative adversarial networks (GANs) through a feature extractor, wherein the generator (G) generates synthesized features after the GANs are trained and calibrates a binary code classifier with the real latent features generated by the feature extractor for a low-shot ICD code l, wherein the GANs improve the low-shot ICD code l by generating a plurality of pseudo data examples in a latent feature space of the clinical documents for the low-shot ICD codes 1, wherein the generator (G) generates one or more code-specific latent features conditioned on a textual description of each ICD code descriptions by using a Wasserstein GAN with gradient penalty (WGAN-GP), wherein the Wasserstein GAN with gradient penalty (WGAN-GP) generates a latent feature vector (f);
distinguishing, by the processors, between the synthesized features generated by the generator (G) and the real features generated by the feature extractor and determining whether the features are the real features generated by the feature extractor or the synthetic features generated by the generator (G) through a discriminator (D);
encoding, by the processors, a sequence of a plurality of keywords in the ICD code description into a sequence of one or more hidden state sequences by using a long short-term memory (LSTM) through a label encoder; and
reconstructing, by the processors, the keywords extracted from the clinical documents associated with a code l for ensuring the latent feature vector (f) captures a semantic meaning of a code l through a keywords reconstructor.

### Claim 7 (depends on 6)

The method according to claim 6 comprising a step of obtaining, by the processors, a fixed-sized encoding vector (el) by performing a dimension-wise max-pooling over the hidden state sequences through the label encoder.

### Claim 8 (depends on 6)

The method according to claim 6 comprising a step of obtaining, by the processors, an eventual embedding (cl=el∥gl) of the code l by concatenating the fixed-sized encoding vector (el) with an ICD tree hierarchy (gl) which is the embedding of the code l produced by a graph encoding network through the label encoder.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the eventual embedding (cl) comprises a latent semantics of the description (in el) and the ICD tree hierarchy (in gl).

### Claim 10 (depends on 6)

The method according to claim 6, wherein the binary code classifier is encoded by a graph gated recurrent neural networks (GRNN).
