US 11,810,187 B2
Hierarchical deep neural network forecasting of cashflows with linear algebraic constraints
Sambarta Dasgupta, Sunnyvale, CA (US); Sricharan Kallur Palli Kumar, Mountain View, CA (US); Shashank Shashikant Rao, San Jose, CA (US); and Colin R. Dillard, Redwood City, CA (US)
Assigned to Intuit Inc., Mountain View, CA (US)
Filed by Intuit Inc., Mountain View, CA (US)
Filed on Jul. 12, 2022, as Appl. No. 17/862,494.
Application 17/862,494 is a continuation of application No. 16/688,927, filed on Nov. 19, 2019, granted, now 11,423,250.
Prior Publication US 2022/0351002 A1, Nov. 3, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06Q 40/02 (2023.01); G06F 17/17 (2006.01); G06N 3/082 (2023.01); G06N 3/084 (2023.01); G06F 18/231 (2023.01); G06F 18/21 (2023.01)
CPC G06Q 40/02 (2013.01) [G06F 17/17 (2013.01); G06F 18/217 (2023.01); G06F 18/231 (2023.01); G06N 3/082 (2013.01); G06N 3/084 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method of forecasting cashflows across one or more accounts of a user using a deep neural network (DNN), the method performed by one or more processors of a computing device associated with the DNN and comprising:
retrieving data for each account of a plurality of accounts, the data indicating transactions of the corresponding account;
constructing a graph including a plurality of nodes linked together by a multitude of edges, wherein each of the nodes indicates a time series value corresponding to one of the accounts, and each of the edges indicates a time series value of a corresponding set of transactions occurring between a corresponding pair of accounts;
determining a plurality of constraints associated with a time series prediction for each node of the plurality of nodes, wherein the plurality of constraints include one or more equality constraints, one or more inequality constraints, or one or more log-likelihood constraints;
determining a specified loss function based on the plurality of constraints and respective weighting factors for each of the one or more equality constraints, the one or more inequality constraints, and the one or more log-likelihood constraints;
back-propagating a derivative of the specified loss function into the DNN to determine a set of neural network parameters, wherein the determined set of neural network parameters comprises the set of neural network parameters, ω=ArgminωLNLLH+λEE+λII), wherein:
λL, λE, and λI are the respective weighting factors for the one or more log-likelihood constraints, the one or more equality constraints, and the one or more inequality constraints;
NLLH is a loss term based on the one or more log-likelihood constraints, wherein NLLH comprises the sum of the negative log-likelihoods for the respective nodes and edges of the graph;
E is an error squared penalty term based on the one or more equality constraints; and
I is an error-squared penalty term based on the one or more inequality constraints; and
forecasting, using the DNN, a time sequence for each of one or more nodes of the plurality of nodes based at least in part on the set of neural network parameters.