IP Library Granted Patent US 12,197,863
Granted Patent B2
US 12,197,863 · App. 17/317,514 · Granted Jan 14, 2025

Methods and systems for processing documents with task-specific highlighting

Inventor: Murad Mehmet Salahi (San Jose, CA)
Assignee: Amazon Technologies, Inc.
G06F40/284G06F18/2413G06F40/109G06N20/00G06V10/464G06V30/41G06V30/413G16H15/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,197,863
App. No.
17/317,514
Granted
Jan 14, 2025
Kind
B2
Abstract

Methods and systems for automatically processing a document may include classifying a document, such as a medical document, as one or more document types based at least in part on one or more machine learning models and one or more tokens extracted from the medical document, determining a token contribution weight of each token towards the classification, modifying the medical document based on the token contribution weights of the one or more tokens, and displaying the modified medical document on a display to a user.

Claims (51)

1. A computer-implemented method comprising:

generating a classification of a medical document as one or more document types based at least in part on one or more machine learning models and one or more tokens extracted from the medical document;

determining a contribution weight of a phrase or a sentence in the medical document toward the classification based on a sum of token contribution weights of tokens in the phrase or the sentence;

modifying the medical document, wherein the phrase or the sentence is modified to reflect a degree of visual emphasis based on the contribution weight of the phrase or the sentence; and

causing display of the modified medical document.

2. The computer-implemented method of claim 1 , wherein generating the classification comprises classifying the medical document as including text relating to a particular medical event.

3. The computer-implemented method of claim 2 , wherein the medical event is a clinical exam.

4. The computer-implemented method of claim 1 , wherein generating the classification comprises:

determining at least one bag of words vector from one or more extracted tokens;

generating at least one topic vector from the at least one bag of words vector, wherein the at least one topic vector comprises one or more topic features, each topic feature mapping to a probability distribution of tokens for the topic feature; and

classifying the medical document based on the at least one topic vector.

5. The computer-implemented method of claim 4 , wherein generating at least one topic vector comprises fitting a Latent Dirichlet Allocation model to the at least one bag of words vector.

6. The computer-implemented method of claim 4 , wherein classifying the medical document comprises applying a gradient boosting classifier model to the at least one topic vector.

7. The computer-implemented method of claim 4 , further comprising:

determining an impact score associated with each topic feature in the at least one topic vector;

distributing the impact scores to the one or more tokens according to the probability distributions mapped to each topic feature in the at least one topic vector; and

determining a token contribution weight for each token by summing the distributed impact scores for the token.

8. The computer-implemented method of claim 7 , wherein the impact score is a Shapley Additive Explanation (SHAP) value, and wherein distributing the impact scores to the one or more tokens comprises distributing the SHAP value of each topic feature to all of the one or more tokens, and normalizing the distributed SHAP values.

9. The computer-implemented method of claim 1 , wherein modifying the medical document comprises mapping the contribution weight to a color map, and modifying text of the medical document based on the mapping.

10. The computer-implemented method of claim 9 , wherein modifying the medical document comprises at least one of:

changing at least one of text font appearance and text font highlighting based on the mapping; and

scaling the color map based on a confidence level of the classification of the medical document.

11. The computer-implemented method of claim 1 , further comprising determining a HEDIS quality metric based at least in part on the classification of the medical document.

12. A system comprising:

one or more processors; and

memory storing one or more instructions that, when executed by the one or more processors, cause the system to perform operations comprising:

generating a classification of a medical document as one or more document types based at least in part on one or more machine learning models and one or more tokens extracted from the medical document;

determining a contribution weight of a phrase or a sentence in the medical document toward the classification based on a sum of token contribution weights of tokens in the phrase or the sentence;

modifying the medical document, wherein the phrase or the sentence is modified to reflect a degree of visual emphasis based on the contribution weight of the phrase or the sentence; and

causing display of the modified medical document.

13. The system of claim 12 , wherein generating the classification comprises:

determining at least one bag of words vector from one or more extracted tokens;

generating at least one topic vector from the at least one bag of words vector, wherein the at least one topic vector comprises one or more topic features, each topic feature mapping to a probability distribution of tokens for the topic feature; and

classifying the medical document based on the at least one topic vector.

14. The system of claim 13 , wherein the operations further comprise:

determining an impact score associated with each topic feature in the at least one topic vector;

distributing the impact scores to the one or more tokens according to the probability distributions mapped to each topic feature in the at least one topic vector; and

determining a token contribution weight for each token by summing the distributed impact scores for the token.

15. The system of claim 12 , wherein modifying the medical document comprises mapping the contribution weight to a color map, and at least one of modifying text of the medical document based on the mapping, and changing at least one of text font appearance and text font highlighting based on the mapping.

16. A non-transitory computer-readable storage medium including instructions that, when executed, cause a computing system to perform operations comprising:

generating a classification of a medical document as one or more document types based at least in part on one or more machine learning models and one or more tokens extracted from the medical document;

determining a token contribution weight of a phrase or a sentence in the medical document toward the classification based on a sum of token contribution weights of tokens in the phrase or the sentence;

modifying the medical document, wherein the phrase or the sentence is modified to reflect a degree of visual emphasis based on the contribution weight of the phrase or the sentence; and

causing display of the modified medical document on a display.

17. The non-transitory computer-readable storage medium of claim 16 , wherein the operations further comprise:

determining an impact score associated with each topic feature in the at least one topic vector;

distributing the impact scores to the one or more tokens according to the probability distributions mapped to each topic feature in the at least one topic vector; and

determining a token contribution weight for each token by summing the distributed impact scores for the token.

18. The non-transitory computer-readable storage medium of claim 16 , wherein modifying the medical document comprises mapping the contribution weight to a color map, and at least one of modifying text of the medical document based on the mapping, and changing at least one of text font appearance and text font highlighting based on the mapping.

19. The system of claim 12 , wherein generating the classification comprises classifying the medical document as including text relating to a particular medical event, and the medical event is a clinical exam.

20. The non-transitory computer-readable storage medium of claim 16 , wherein generating the classification comprises classifying the medical document as including text relating to a particular medical event, and the medical event is a clinical exam.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 28, 2023
From: 1LIFE HEALTHCARE, INC.
To: AMAZON TECHNOLOGIES, INC.
Reel/Frame 065973/0547 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 25, 2021
From: SALAHI, MURAD MEHMET
To: 1LIFE HEALTHCARE, INC.
Reel/Frame 057290/0256 →
Continuity (2)
Provisional Application 63025054 · May 14, 2020
Related Publication 20210357634A1 · Nov 18, 2021
References Cited (4)
US 20190130073A1 · Sun · 2019 [cited by examiner]
US 20200327194A1 · Tan · 2020 [cited by examiner]
US 20210065191A1 · De Shetler · 2021 [cited by examiner]
US 20210074398A1 · Fong · 2021 [cited by examiner]
Cited By (1)
US 12,718,016