# US 2024/0005084 A1 · Dynamic electronic document creation assistance through machine learning

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

- Number: US 2024/0005084 A1
- Document ID: US20240005084A1
- Status: Published application
- Kind: A1
- Application number: 17/809,658
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Omer ZALMANSON; Yair HORESH
- Web page: https://patentgrep.com/patent/US20240005084A1

## CPC

- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/174: Form filling; Merging
- G06F 40/216: using statistical methods
- G06F 40/274: Converting codes to words; Guess-ahead of partial word inputs
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/04: Inference or reasoning models
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Aspects of the present disclosure relate to electronic document creation assistance. Embodiments include determining a current time related to creation of a document by a user and providing inputs to a machine learning model based on the current time. Embodiments include receiving output from the machine learning model based on the inputs and selecting, based on the output, a first recommended item from a plurality of items for inclusion in the document. Embodiments include determining a likelihood of each additional item of the plurality of items co-occurring with the first recommended item based on historical item co-occurrence data. Embodiments include selecting, based on the output and the likelihood of each additional item of the plurality of items co-occurring with the first recommended item, a second recommended item for inclusion in the document and providing, via a user interface, the first recommended item and the second recommended item to the user.

## Claims

### Claim 1

A method for electronic document creation assistance, comprising:
determining a current time related to creation of a document by a user;
providing one or more inputs to a machine learning model based on the current time;
receiving one or more outputs from the machine learning model based on the one or more inputs, wherein:
the machine learning model has been trained through a supervised learning process based on training data; and
a given training input of the training data was determined based on a circular distance from a historical document creation time of a plurality of historical document creation times to an average of the plurality of historical document creation times;
selecting, based on the one or more outputs, a first recommended item from a plurality of items for inclusion in the document;
determining a respective likelihood of each additional item of the plurality of items co-occurring with the first recommended item based on historical item co-occurrence data;
selecting, based on the one or more outputs and the respective likelihood of each additional item of the plurality of items co-occurring with the first recommended item, a second recommended item for inclusion in the document;
providing, via a user interface, the first recommended item and the second recommended item to the user; and
receiving feedback from the user based on a given output from the machine learning model, wherein the machine learning model is re-trained based on the feedback.

### Claim 2 (depends on 1)

The method of claim 1, wherein the one or more inputs provided to the machine learning model comprise one or more of:
an hour;
a day of a month;
a day of a week;
a first score based on the hour and historical hours associated with historical documents;
a second score based on the day of the month and historical days of months associated with the historical documents; or
a third score based on the day of the week and historical days of weeks associated with the historical documents.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first score, the second score, and the third score comprise circular z scores.

### Claim 4 (depends on 1)

The method of claim 1, wherein selecting the first recommended item comprises determining that the first recommended item corresponds to a highest score of a plurality of scores indicated by the one or more outputs.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining the respective likelihood of each additional item of the plurality of items co-occurring with the first recommended item based on the historical item co-occurrence data comprises determining a frequency with which each given item co-occurs with the first recommended item in a plurality of historical documents of the user.

### Claim 6 (depends on 1)

The method of claim 1, wherein selecting the second recommended item comprises:
calculating a dynamic score for the second recommended item based on a given likelihood of the second recommended item co-occurring with the first recommended item and a score for the second recommended item that is indicated in the one or more outputs; and
determining that the dynamic score for the second recommended item is a highest of a plurality of dynamic scores corresponding to additional items of the plurality of items.

### Claim 7 (depends on 1)

The method of claim 1, further comprising receiving input from the user, via the user interface, that identifies a customer associated with the document, wherein the one or more inputs provided to the machine learning model are further based on the customer.

### Claim 8 (depends on 7)

The method of claim 7, wherein providing the one or more inputs to the machine learning model comprises:
after providing a first one or more inputs to the machine learning model based on the current time, receiving the input from the user; and
providing a second one or more inputs to the machine learning model based on the current time and the customer.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving a selection or a rejection by the user via the user interface of the first recommended item or the second recommended item; and
determining a subsequent recommended item for inclusion in the document or an additional document based on the machine learning model and the selection or the rejection.

### Claim 10

A method for training a machine learning model, comprising:
determining a plurality of items included in a plurality of documents associated with a user;
determining creation times of the plurality of documents;
generating training data for a machine learning model, the training data comprising:
training inputs based on the creation times of the plurality of documents, wherein at least one training input of the training inputs was determined by computing a circular distance between a given creation time of the creation times and an average of the creation times; and
labels based on whether each given item of the plurality of items is included in each given document of the plurality of documents; and
training the machine learning model using the training data by:
providing one or more inputs to the machine learning model based on the training inputs;
receiving one or more outputs from the machine learning model based on the one or more inputs; and
adjusting one or more parameters of the machine learning model based on comparing the one or more outputs to one or more of the labels; and
retraining the machine learning model based on feedback from the user with respect to a given output from the machine learning model.

### Claim 11

(canceled)

### Claim 12 (depends on 10)

The method of claim 10, wherein generating the training inputs comprises determining one or more circular z scores based on the creation times of the plurality of documents.

### Claim 13

A system for electronic document creation assistance, comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the system to:
determine a current time related to creation of a document by a user;
provide one or more inputs to a machine learning model based on the current time, wherein:
the machine learning model has been trained through a supervised learning process based on training data; and
a given training input of the training data was determined based on a circular distance from a historical document creation time of a plurality of historical document creation times to an average of the plurality of historical document creation times;
receive one or more outputs from the machine learning model based on the one or more inputs;
select, based on the one or more outputs, a first recommended item from a plurality of items for inclusion in the document;
determine a respective likelihood of each additional item of the plurality of items co-occurring with the first recommended item based on historical item co-occurrence data;
select, based on the one or more outputs and the respective likelihood of each additional item of the plurality of items co-occurring with the first recommended item, a second recommended item for inclusion in the document;
provide, via a user interface, the first recommended item and the second recommended item to the user; and
receive feedback from the user based on a given output from the machine learning model, wherein the machine learning model is re-trained based on the feedback.

### Claim 14 (depends on 13)

The system of claim 13, wherein the one or more inputs provided to the machine learning model comprise one or more of:
an hour;
a day of a month;
a day of a week;
a first score based on the hour and historical hours associated with historical documents;
a second score based on the day of the month and historical days of months associated with the historical documents; or
a third score based on the day of the week and historical days of weeks associated with the historical documents.

### Claim 15 (depends on 14)

The system of claim 14, wherein the first score, the second score, and the third score comprise circular z scores.

### Claim 16 (depends on 13)

The system of claim 13, wherein selecting the first recommended item comprises determining that the first recommended item corresponds to a highest score of a plurality of scores indicated by the one or more outputs.

### Claim 17 (depends on 13)

The system of claim 13, wherein determining the respective likelihood of each additional item of the plurality of items co-occurring with the first recommended item based on the historical item co-occurrence data comprises determining a frequency with which each given item co-occurs with the first recommended item in a plurality of historical documents of the user.

### Claim 18 (depends on 13)

The system of claim 13, wherein selecting the second recommended item comprises:
calculating a dynamic score for the second recommended item based on a given likelihood of the second recommended item co-occurring with the first recommended item and a score for the second recommended item that is indicated in the one or more outputs; and
determining that the dynamic score for the second recommended item is a highest of a plurality of dynamic scores corresponding to additional items of the plurality of items.

### Claim 19 (depends on 13)

The system of claim 13, wherein the instructions, when executed by the one or more processors, further cause the system to receive input from the user, via the user interface, that identifies a customer associated with the document, wherein the one or more inputs provided to the machine learning model are further based on the customer.

### Claim 20 (depends on 19)

The system of claim 19, wherein providing the one or more inputs to the machine learning model comprises:
after providing a first one or more inputs to the machine learning model based on the current time, receiving the input from the user; and
providing a second one or more inputs to the machine learning model based on the current time and the customer.
