# US 2026/0093998 A1 · Method and system for identifying feature importance in time series tasks

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

- Number: US 2026/0093998 A1
- Document ID: US20260093998A1
- Status: Published application
- Kind: A1
- Application number: 19/342,023
- Filed: 2025-09-26
- Published: 2026-04-02
- Earliest claimed: 2024-09-27
- Applicants: Royal Bank of Canada
- Inventors: Melissa Farinaz Mozifian; Edward James Smith; Wesley Philippe Chung; Ankit Vani; Fuyuan Lyu
- Web page: https://patentgrep.com/patent/US20260093998A1

## CPC

- G06N 3/092: Reinforcement learning
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, systems, and techniques for for identifying feature importance in time series tasks. A reconstruction model is trained to reconstruct unmasked versions of an input that is a time series of data. Following training of the reconstruction model, a reinforcement learning agent is trained to identify features in the time series of data of relative importance. For both the reconstruction model and the reinforcement learning agent, training is performed based at least in part on losses determined in the latent space.

## Claims

### Claim 1

A method for training a reconstruction model, the method comprising:
(a) respectively reconstructing, using the reconstruction model, a plurality of reconstructed inputs from the plurality of masked inputs, wherein each of the masked inputs is a differently masked version of a time series input, and each of the plurality of reconstructed inputs is unmasked version of the time series input in a data domain;
(b) encoding, using an encoder network, the time series input and the plurality of reconstructed inputs into respective latent representations in a latent space; and
(c) training the reconstruction model based at least in part on a latent-space loss determined from differences between the latent representation of the time series input and the respective latent representations of the reconstructed inputs.

### Claim 2 (depends on 1)

The method of claim 1, further comprising generating the plurality of masked inputs from the time series input.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining, using a decoder network, respective classifications from the time series input and the plurality of reconstructed inputs, wherein training the reconstruction model further comprises reducing a classification loss.

### Claim 4 (depends on 3)

The method of claim 3, wherein the classification loss is determined from differences between the classification of the time series input and the respective classifications of the reconstructed inputs.

### Claim 5 (depends on 3)

The method of claim 3, wherein the classification loss is determined from differences between prediction probabilities output by the decoder network for the time series input and the prediction probabilities output by the decoder network for the respective reconstructed inputs.

### Claim 6 (depends on 1)

The method of claim 1, wherein training the reconstruction model further comprises reducing an input-domain loss determined from differences between the time series input and the respective reconstructed inputs.

### Claim 7 (depends on 3)

The method of claim 3, wherein training the reconstruction model further comprises reducing an input-domain loss determined from differences between the time series input and the respective reconstructed inputs, and wherein training the reconstruction model further comprises reducing a combined loss defined as a sum of the latent-space loss, the classification loss, and the input-domain loss respectively weighted according to a plurality of hyperparameters.

### Claim 8 (depends on 1)

The method of claim 1, wherein the plurality of masked inputs are sequentially indexed such that any one of the masked inputs comprises all masks from any prior indexed ones of the masked inputs and has at least one additional portion thereof masked.

### Claim 9 (depends on 1)

The method of claim 1, wherein the reconstruction model is a heteroscedastic model configured to output mean and variance values for features of the time series input.

### Claim 10 (depends on 1)

The method of claim 1, wherein generating the plurality of masked inputs comprises masking features according to a sequential order, a random selection, or a contiguous temporal span.

### Claim 11

A method for training a reinforcement learning agent, the method comprising:
(a) successively unmasking, using the reinforcement learning agent, portions of a masked version of a time series input to generate a plurality of masked inputs;
(b) respectively reconstructing, by a reconstruction model, a plurality of reconstructed inputs from the plurality of masked inputs using the reconstruction model having been trained to reduce a latent-space loss determined from differences between a latent representation of the time series input and the latent representations of reconstructed inputs;
(c) encoding, using an encoder network, the reconstructed inputs and an unmasked version of the time series input as respective latent representations in a latent space; and
(d) training the reinforcement learning agent based at least in part on a reward signal derived from differences in the latent-space loss between a plurality of the latent representations.

### Claim 12 (depends on 11)

The method of claim 11, wherein the masked version of the time series input is initially entirely masked, and wherein the unmasked version of the time series input is entirely unmasked.

### Claim 13 (depends on 11)

The method of claim 11, wherein the unmasking is performed in accordance with a Categorical 51 (C51) algorithm, a Proximal Policy Optimization (PPO) algorithm, or a Deep Q-Learning (DQN) algorithm.

### Claim 14 (depends on 11)

The method of claim 11, wherein the reward signal is further defined as a normalized improvement in the latent-space loss, the normalization being based on the latent-space loss determined from the masked version of the time series input that is entirely masked.

### Claim 15 (depends on 11)

The method of claim 11, further comprising generating an attribution mask for the time series input based on unmasking decisions of the reinforcement learning agent.

### Claim 16 (depends on 15)

The method of claim 15, wherein generating the attribution mask comprises assigning an importance score to each feature of the time series input based on an expected reward distribution produced by the reinforcement learning agent, and applying a threshold to the importance scores to produce a binary mask.

### Claim 17 (depends on 15)

The method of claim 15, wherein the attribution mask is used to generate an explanation output that identifies one or more features of the time series input contributing to a classification decision obtained from the time series input.

### Claim 18 (depends on 11)

The method of claim 11, wherein the reconstruction model is trained by:
(a) respectively reconstructing, using the reconstruction model, a plurality of historical reconstructed inputs from the plurality of historical masked inputs, wherein each of the historical masked inputs is a differently masked version of a historical time series input, and each of the plurality of historical reconstructed inputs is an unmasked version of the historical time series input in a data domain;
(b) encoding, using the encoder network, the historical time series input and the plurality of historical reconstructed inputs into respective latent representations in the latent space; and
(c) training the reconstruction model based at least in part on a historical latent-space loss determined from differences between the latent representation of the historical time series input and the respective latent representations of the historical reconstructed inputs.

### Claim 19 (depends on 11)

The method of claim 11, wherein the training of the reinforcement learning agent is formulated as a Markov Decision Process (MDP) defined by:
(a) a state space comprising pairs of a time series input and a binary mask indicating masked and unmasked features;
(b) an action space comprising indices of features corresponding to masked positions in the binary mask; and
(c) a dynamics model that transitions the binary mask by unmasking a selected feature index according to the action.

### Claim 20 (depends on 11)

The method of claim 11, wherein the reward signal is derived from the differences in the latent-space loss between the latent representation of the unmasked version of the time series input and the latent representations of the reconstructed inputs, or from the differences in the latent-space loss between the latent representations of successive reconstructed inputs obtained from the plurality of masked inputs.

### Claim 21

A system for processing time series data, the system comprising:
a reconstruction model configured to receive a plurality of plurality of masked inputs and reconstruct a plurality of reconstructed inputs from the plurality of masked inputs, wherein each of the masked inputs is a differently masked version of a time series input, and each of the plurality of reconstructed inputs is unmasked version of the time series input in a data domain;
an encoder network configured to encode the time series input and the plurality of reconstructed inputs into respective latent representations in a latent space; and
at least one processing unit configured to train the reconstruction model based at least in part on a latent-space loss determined from differences between the latent representation of the time series input and the respective latent representations of the reconstructed inputs.
