# US 2022/0398492 A1 · Method of time series prediction and system thereof

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

- Number: US 2022/0398492 A1
- Document ID: US20220398492A1
- Status: Published application
- Kind: A1
- Application number: 17/347,960
- Filed: 2021-06-15
- Published: 2022-12-15
- Earliest claimed: 2021-06-15
- Assignees: Aiola Ltd.
- Applicants: Aiola Ltd.
- Inventors: Aviv NAVON; Eyal GAL; Guy ERNEST; Oren BEN MEIR
- Web page: https://patentgrep.com/patent/US20220398492A1

## CPC

- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 20/00: Machine learning
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/2321: using statistics or function optimisation, e.g. modelling of probability density functions
- G06F 2218/08: Feature extraction
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is provided a system and method of time series (TS) prediction. The method includes providing a machine learning (ML) network trained to perform TS prediction with respect to one or more components, the ML network configured with a set of hyperparameters including one or more hyperparameters associated with each component, the ML network comprising one or more ML modules operatively connected to an output layer, each ML module configured to represent a respective component in accordance with a given model characterized by the one or more hyperparameters associated therewith, where values of the hyperparameters associated with each component are automatically optimized during training of the ML network; and in response to a user's request for TS prediction, using the trained ML network to perform TS prediction, giving rise to a prediction result comprising an overall predicted TS, and one or more decomposed TS corresponding to respective components.

## Claims

### Claim 1

A computerized method of time series (TS) prediction, the method performed by a processor and memory circuitry (PMC), the method comprising:
providing a machine learning (ML) network trained to perform TS prediction with respect to one or more components each representing an underlying pattern indicative of a specific type of behavior of a time series, wherein the ML network is configured with a set of hyperparameters including one or more hyperparameters associated with each component, the ML network comprising one or more ML modules operatively connected to an output layer, wherein each ML module is configured to represent a respective component in accordance with a given model thereof, the given model characterized by the one or more hyperparameters associated with the respective component, wherein values of the one or more hyperparameters associated with each component are automatically optimized during training of the ML network; and
in response to a user's request for TS prediction for a given time period, using the trained ML network to perform TS prediction, giving rise to a prediction result comprising an overall predicted TS, as an overall output of the output layer, and one or more decomposed TS of the overall predicted TS, as output of the one or more ML modules, each decomposed TS representative of a partial prediction of the given time period corresponding to a respective component represented by the corresponding ML module.

### Claim 2 (depends on 1)

The computerized method according to claim 1, wherein the one or more components are selected from a group comprising: trend, seasonality, events, autoregressive, and external regressor.

### Claim 3 (depends on 1)

The computerized method according to claim 1, wherein the one or more ML modules comprise a first ML module configured to represent a component of trend in accordance with a spline function indicative of changes of trend.

### Claim 4 (depends on 3)

The computerized method according to claim 3, wherein the one or more hyperparameters characterizing the spline function include changing time points between neighboring pieces of the spline function, and a gradient of each piece of the spline function.

### Claim 5 (depends on 1)

The computerized method according to claim 1, wherein the one or more ML modules comprise a second ML module configured to represent a component of seasonality in accordance with one or more periodic functions indicative of seasonal changes.

### Claim 6 (depends on 5)

The computerized method according to claim 5, wherein the one or more hyperparameters characterizing the periodic functions include the periodicity of each periodic function.

### Claim 7 (depends on 1)

The computerized method according to claim 1, wherein the one or more ML modules comprise a third ML module configured to represent special events in accordance with one or more pulse functions indicative of irregular events.

### Claim 8 (depends on 7)

The computerized method according to claim 7, wherein the one or more hyperparameters characterizing the pulse functions include a time window of each pulse function.

### Claim 9 (depends on 1)

The computerized method according to claim 1, wherein the ML network is trained using training data including historical TS data pertaining to one or more tasks, to jointly optimize values of network parameters and the set of hyperparameters.

### Claim 10 (depends on 9)

The computerized method according to claim 9, wherein the one or more tasks comprise multiple tasks that are correlated to each other, and the multiple tasks are selected using unsupervised learning by grouping tasks that share similar feature representation in a multi-dimensional feature space.

### Claim 11 (depends on 1)

The computerized method according to claim 1, wherein the prediction result further comprises the values of the set of hyperparameters of the trained ML network.

### Claim 12 (depends on 1)

The computerized method according to claim 1, further comprising receiving updated TS data pertaining to at least one component in runtime, and using the updated TS data as additional training data to retrain the ML network, before using the ML network to perform TS prediction.

### Claim 13 (depends on 1)

The computerized method according to claim 1, further comprising, upon receiving the user's feedback with respect to at least one decomposed TS corresponding to at least one component, updating the one or more hyperparameters associated with the at least one component based on the feedback; re-training the ML network using the set of hyperparameters including the updated hyperparameters, giving rise to a re-trained ML network; and using the re-trained ML network to generate an updated prediction result to be sent to the user.

### Claim 14 (depends on 1)

The computerized method according to claim 1, further comprising, upon receiving the user's feedback on the prediction result indicating one or more additional hyperparameters to be associated with at least one existing component and/or associated with at least one additional component, modifying at least one ML module representing the at least one component or adding at least an additional ML module representing the at least one additional component to reflect the additional hyperparameters; re-training the ML network using the set of hyperparameters including the additional hyperparameters, giving rise to a re-trained ML network, and using the re-trained ML network to generate an updated prediction result to be sent to the user.

### Claim 15 (depends on 1)

The computerized method according to claim 1, wherein each of the one or more ML modules is implemented in a form selected from a group comprising: support vector machine, decision tree, neural network, genetic model, or combination thereof.

### Claim 16

A computerized system of time series (TS) prediction, the system comprising a processor and memory circuitry (PMC) configured to:
provide a machine learning (ML) network trained to perform TS prediction with respect to one or more components each representing an underlying pattern indicative of a specific type of behavior of a time series, wherein the ML network is configured with a set of hyperparameters including one or more hyperparameters associated with each component, the ML network comprising one or more ML modules operatively connected to an output layer, wherein each ML module is configured to represent a respective component in accordance with a given model thereof, the given model characterized by the one or more hyperparameters associated with the respective component, wherein values of the one or more hyperparameters associated with each component are automatically optimized during training of the ML network; and
in response to a user's request for TS prediction for a given time period, use the trained ML network to perform TS prediction, giving rise to a prediction result comprising an overall predicted TS, as an overall output of the output layer, and one or more decomposed TS of the overall predicted TS, as output of the one or more ML modules, each decomposed TS representative of a partial prediction of the given time period corresponding to a respective component represented by the corresponding ML module.

### Claim 17 (depends on 16)

The computerized system according to claim 16, wherein the one or more ML modules comprise a first ML module configured to represent a component of trend in accordance with a spline function indicative of changes of trend.

### Claim 18 (depends on 17)

The computerized system according to claim 17, wherein the one or more hyperparameters characterizing the spline function include changing time points between neighboring pieces of the spline function, and a gradient of each piece of the spline function.

### Claim 19 (depends on 16)

The computerized system according to claim 16, wherein the one or more ML modules comprise a second ML module configured to represent a component of seasonality in accordance with one or more periodic functions indicative of seasonal changes.

### Claim 20 (depends on 19)

The computerized system according to claim 19, wherein the one or more hyperparameters characterizing the periodic functions include the periodicity of each periodic function.

### Claim 21 (depends on 16)

The computerized system according to claim 16, wherein the one or more ML modules comprise a third ML module configured to represent special events in accordance with one or more pulse functions indicative of irregular events.

### Claim 22 (depends on 21)

The computerized system according to claim 21, wherein the one or more hyperparameters characterizing the pulse functions include a time window of each pulse function.

### Claim 23 (depends on 16)

The computerized system according to claim 16, wherein the ML network is trained using training data including historical TS data pertaining to one or more tasks, to jointly optimize values of network parameters and the set of hyperparameters.

### Claim 24 (depends on 23)

The computerized system according to claim 23, wherein the one or more tasks comprise multiple tasks that are correlated to each other, and the multiple tasks are selected using unsupervised learning by grouping tasks that share similar feature representation in a multi-dimensional feature space.

### Claim 25 (depends on 16)

The computerized system according to claim 16, wherein the prediction result further comprises the values of the set of hyperparameters of the trained ML network.

### Claim 26 (depends on 16)

The computerized system according to claim 16, wherein the PMC is further configured to, upon receiving the user's feedback with respect to at least one decomposed TS corresponding to at least one component, update the one or more hyperparameters associated with the at least one component based on the feedback; re-train the ML network using the set of hyperparameters including the updated hyperparameters, giving rise to a re-trained ML network; and use the re-trained ML network to generate an updated prediction result to be sent to the user.

### Claim 27 (depends on 16)

The computerized system according to claim 16, wherein the PMC is further configured to, upon receiving the user's feedback on the prediction result indicating one or more additional hyperparameters to be associated with at least one existing component and/or associated with at least one additional component, modify at least one ML module representing the at least one component or add at least an additional ML module representing the at least one additional component to reflect the additional hyperparameters; re-train the ML network using the set of hyperparameters including the additional hyperparameters, giving rise to a re-trained ML network, and use the re-trained ML network to generate an updated prediction result to be sent to the user.

### Claim 28

A non-transitory computer readable storage medium tangibly embodying a program of instructions that, when executed by a computer, cause the computer to perform a method of time series (TS) prediction, the method comprising:
providing a machine learning (ML) network trained to perform TS prediction with respect to one or more components each representing an underlying pattern indicative of a specific type of behavior of a time series, wherein the ML network is configured with a set of hyperparameters including one or more hyperparameters associated with each component, the ML network comprising one or more ML modules operatively connected to an output layer, wherein each ML module is configured to represent a respective component in accordance with a given model thereof, the given model characterized by the one or more hyperparameters associated with the respective component, wherein values of the one or more hyperparameters associated with each component are automatically optimized during training of the ML network; and
in response to a user's request for TS prediction for a given time period, using the trained ML network to perform TS prediction, giving rise to a prediction result comprising an overall predicted TS, as an overall output of the output layer, and one or more decomposed TS of the overall predicted TS, as output of the one or more ML modules, each decomposed TS representative of a partial prediction of the given time period corresponding to a respective component represented by the corresponding ML module.
