Abstract: Existing techniques assume that all time varying covariates are confounding and thus attempts to balance a full state representation of a plurality of historical observants. The present disclosure processes a plurality of historical observants and treatment at a timestep t specific to each patient using an encoder network to a obtain a state representation s_t. A first set of disentangled representations comprising an outcome, a confounding and a treatment representation is learnt to predict an outcome Y ^_(t+1). The first set of disentangled representations are concatenated to obtain a unified representation and the decoder network is initialized using the unified representation to obtain a state representation s_(t+1 ). A second set of disentangled representations is learnt and concatenated to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively until m= t-1.
DESC:FORM 2
THE PATENTS ACT, 1970
(39 of 1970)
&
THE PATENT RULES, 2003
COMPLETE SPECIFICATION
(See Section 10 and Rule 13)
Title of invention:
SYSTEM AND METHOD FOR LEARNING DISENTANGLED REPRESENTATIONS FOR TEMPORAL CAUSAL INFERENCE
Applicant:
Tata Consultancy Services Limited
A company Incorporated in India under the Companies Act, 1956
Having address:
Nirmal Building, 9th Floor,
Nariman Point, Mumbai 400021,
Maharashtra, India
The following specification particularly describes the invention and the manner in which it is to be performed.
CROSS-REFERENCE TO RELATED APPLICATIONS AND PRIORITY
The present application claims priority from Indian provisional application no. 202121032201, filed on July 16, 2021. The entire contents of the aforementioned application are incorporated herein by reference.
TECHNICAL FIELD
The disclosure herein generally relates to the field of causal inferencing, and, more particularly, to a system and method for learning disentangled representations for temporal causal inference.
BACKGROUND
Causal inference refers to an intellectual discipline that considers the assumptions, study designs, and estimation strategies that allow researchers to draw causal conclusions based on data. Temporal causal inference aims to reveal the causal relationship among temporal variables and time series. Further accurate causal inference among time series helps to better understand the interactive scheme behind the temporal variables.
Critical medical decisions pertaining to a treatment plan selection for a patient require reasoning about potential future outcomes given the patient’s current state and observed longitudinal clinical data. Further, medical professionals evaluating alternative treatment plans for the patient often encounter time varying confounders, or covariates that affect both the future treatment assignment and the outcome for the patient. A major hurdle in this endeavor is the presence of time-varying confounders, or patient covariates that are causally influenced by past treatments and further influence future treatments and outcomes.
One of the existing techniques attempt to address the problem of time-varying confounders for evaluation of treatment plans using Counterfactual Recurrent Network (CRN) which further uses a Gated Recurrent Unit (GRU) based recurrent model to predict potential future treatment effects by forcing hidden representations that can balance out time-varying confounding. However, these representations in existing techniques curtail the representation of covariates which influence both future treatment assignment and outcome prediction. Further, existing techniques have largely been focused on settings where the treatment and outcome depend only on a static snapshot of the covariates which include statistical techniques that employ reweighting of the data instances to balance the source and target distributions which while unbiased, are known to suffer from high variance.
As mentioned above, the standard randomized control trials, the most reliable technique for evaluating different treatment options, are often impractical in the temporal setting, as it may not be feasible to conduct a trial for every temporal variation of a particular treatment plan.
SUMMARY
Embodiments of the present disclosure present technological improvements as solutions to one or more of the above-mentioned technical problems recognized by the inventors in conventional systems. For example, in one embodiment, a method for learning disentangled representations for temporal causal inference is provided. The method includes processing, via one or more hardware processors, a plurality of historical observants h_(t ) and treatment a_(t )at a timestep t specific to each patient i using an encoder network, wherein the encoder network comprises of a recurrent network with an LSTM (Long short-term memory) unit, wherein the plurality of historical observants h_(t ) for each patient i is derived from an observational dataset D= {{x_t^i ,a_t^i ,y_(t+1)^i }_(t=1)^(T^i )? {v^i }}_(i=1)^N for N patients containing a plurality of time dependent patient covariates x_t^i for each patient i, the treatment a_t^i received by each patient i, corresponding response y_(t+1)^i to the treatment a_t^i obtained from each patient i and a plurality of static covariates v for each patient i and wherein, the plurality of historical observants h_(t ) is represented by a sequence of the patient’s time-varying covariates x ¯_(1,t-1)= [x_1,…,x_(t-1) ], a sequence of treatments a ¯_(1,t-1)= [a_1,…,a_(t-1) ] and the plurality of static covariates v as h_(t )= [x ¯_(1,t-1),a ¯_(1,t-1) , v]; obtaining, via the one or more hardware processors, a state representation s_t using the processed plurality of historical observants h_(t ); learning, via the one or more hardware processors, a first set of disentangled representations comprising an outcome representation (?_?^E (s_(t ))), a confounding representation (?_?^E (s_(t ))) and a treatment representation (?_G^E (s_(t ))) by passing the obtained state representation s_t at each timestep t through a plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptrons (MLPs); passing, via the one or more hardware processors, the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment a_(t ) through a set of layers (W_?^E) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) at the timestep t to predict an outcome Y ^_(t+1) one timestep ahead of the timestep t ; concatenating, via the one or more hardware processors, the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))) from the encoder network to obtain a unified representation ?_t for each timestep t for each patient i ; initializing, via the one or more hardware processors, a state of a decoder network comprising a LSTM (Long short-term memory) unit using the unified representation ?_t to obtain a state representation s_(t+m) specific to each patient i m-timestep ahead of the timestep t , wherein the decoder network is trained by splitting the observational dataset D of trajectory of each patient i into shorter sequences of t timestep represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t) and wherein, Y_(t+m )denotes the predicted outcome m timestep ahead of the timestep t, a_(t+m ) denotes the treatment at each m timestep ahead of the timestep t and Y ^_(t+m+1) denotes the predicted outcome m+1 timestep ahead of the timestep t; learning, via the one or more hardware processors, a second set of disentangled representations comprising an outcome representation (?_?^D (s_(t+m ))), a confounding representation (?_?^D (s_(t+m ))) and a treatment representation (?_G^D (s_(t+m ))) by passing the obtained state representation s_(t+m) for each m timestep ahead of the timestep t through the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) ; and
concatenating, via the one or more hardware processors, the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment a_(t+m ) at each m timestep ahead of the timestep t and passing through a set of layers (W_?^D) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively for all values of m up to t-1 ahead of the timestep t .
In another aspect, there is provided a system for learning disentangled representations for temporal causal inference. The system comprises: a memory storing instructions; one or more communication interfaces; and one or more hardware processors coupled to the memory via the one or more communication interfaces, wherein the one or more hardware processors are configured by the instructions to: process a plurality of historical observants h_(t ) and treatment a_(t )at a timestep t specific to each patient i using an encoder network, wherein the encoder network comprises of a recurrent network with an LSTM (Long short-term memory) unit, wherein the plurality of historical observants h_(t ) for each patient i is derived from an observational dataset D= {{x_t^i ,a_t^i ,y_(t+1)^i }_(t=1)^(T^i )? {v^i }}_(i=1)^N for N patients containing a plurality of time dependent patient covariates x_t^i for each patient i, the treatment a_t^i received by each patient i, corresponding response y_(t+1)^i to the treatment a_t^i obtained from each patient i and a plurality of static covariates v for each patient i and wherein, the plurality of historical observants h_(t ) is represented by a sequence of the patient’s time-varying covariates x ¯_(1,t-1)= [x_1,…,x_(t-1) ], a sequence of treatments a ¯_(1,t-1)= [a_1,…,a_(t-1) ] and the plurality of static covariates v as h_(t )= [x ¯_(1,t-1),a ¯_(1,t-1) , v]; The system further comprises obtaining a state representation s_t using the processed plurality of historical observants h_(t ); learning a first set of disentangled representations comprising an outcome representation (?_?^E (s_(t ))), a confounding representation (?_?^E (s_(t ))) and a treatment representation (?_G^E (s_(t ))) by passing the obtained state representation s_t at each timestep t through a plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptrons (MLPs); passing the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment a_(t ) through a set of layers (W_?^E) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) at the timestep t to predict an outcome Y ^_(t+1) one timestep ahead of the timestep t ; concatenating the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))) from the encoder network to obtain a unified representation ?_t for each timestep t for each patient i ; initializing a state of a decoder network comprising a LSTM (Long short-term memory) unit using the unified representation ?_t to obtain a state representation s_(t+m) specific to each patient i m-timestep ahead of the timestep t , wherein the decoder network is trained by splitting the observational dataset D of trajectory of each patient i into shorter sequences of t timestep represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t) and wherein, Y_(t+m )denotes the predicted outcome m timestep ahead of the timestep t, a_(t+m ) denotes the treatment at each m timestep ahead of the timestep t and Y ^_(t+m+1) denotes the predicted outcome m+1 timestep ahead of the timestep t; learning a second set of disentangled representations comprising an outcome representation (?_?^D (s_(t+m ))), a confounding representation (?_?^D (s_(t+m ))) and a treatment representation (?_G^D (s_(t+m ))) by passing the obtained state representation s_(t+m) for each m timestep ahead of the timestep t through the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) ; and concatenating the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment a_(t+m ) at each m timestep ahead of the timestep t and passing through a set of layers (W_?^D) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively for all values of m up to t-1 ahead of the timestep t .
In yet another aspect, there are provided one or more non-transitory machine-readable information storage mediums comprising one or more instructions which when executed by one or more hardware processors cause processing a plurality of historical observants h_(t ) and treatment a_(t )at a timestep t specific to each patient i using an encoder network, wherein the encoder network comprises of a recurrent network with an LSTM (Long short-term memory) unit, wherein the plurality of historical observants h_(t ) for each patient i is derived from an observational dataset D= {{x_t^i ,a_t^i ,y_(t+1)^i }_(t=1)^(T^i )? {v^i }}_(i=1)^N for N patients containing a plurality of time dependent patient covariates x_t^i for each patient i, the treatment a_t^i received by each patient i, corresponding response y_(t+1)^i to the treatment a_t^i obtained from each patient i and a plurality of static covariates v for each patient i and wherein, the plurality of historical observants h_(t ) is represented by a sequence of the patient’s time-varying covariates x ¯_(1,t-1)= [x_1,…,x_(t-1) ], a sequence of treatments a ¯_(1,t-1)= [a_1,…,a_(t-1) ] and the plurality of static covariates v as h_(t )= [x ¯_(1,t-1),a ¯_(1,t-1) , v]; obtaining a state representation s_t using the processed plurality of historical observants h_(t ); learning a first set of disentangled representations comprising an outcome representation (?_?^E (s_(t ))), a confounding representation (?_?^E (s_(t ))) and a treatment representation (?_G^E (s_(t ))) by passing the obtained state representation s_t at each timestep t through a plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptrons (MLPs); passing the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment a_(t ) through a set of layers (W_?^E) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) at the timestep t to predict an outcome Y ^_(t+1) one timestep ahead of the timestep t ; concatenating the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))) from the encoder network to obtain a unified representation ?_t for each timestep t for each patient i ; initializing a state of a decoder network comprising a LSTM (Long short-term memory) unit using the unified representation ?_t to obtain a state representation s_(t+m) specific to each patient i m-timestep ahead of the timestep t , wherein the decoder network is trained by splitting the observational dataset D of trajectory of each patient i into shorter sequences of t timestep represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t) and wherein, Y_(t+m )denotes the predicted outcome m timestep ahead of the timestep t, a_(t+m ) denotes the treatment at each m timestep ahead of the timestep t and Y ^_(t+m+1) denotes the predicted outcome m+1 timestep ahead of the timestep t; learning a second set of disentangled representations comprising an outcome representation (?_?^D (s_(t+m ))), a confounding representation (?_?^D (s_(t+m ))) and a treatment representation (?_G^D (s_(t+m ))) by passing the obtained state representation s_(t+m) for each m timestep ahead of the timestep t through the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) ; and concatenating the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment a_(t+m ) at each m timestep ahead of the timestep t and passing through a set of layers (W_?^D) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively for all values of m up to t-1 ahead of the timestep t .
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate exemplary embodiments and, together with the description, serve to explain the disclosed principles:
FIG. 1 illustrates an exemplary system, for learning disentangled representations for temporal causal inference, in accordance with some embodiments of the present disclosure.
FIG. 2 is a functional block diagram of the system for learning disentangled representations for temporal causal inference according to some embodiments of the present disclosure.
FIGS. 3A and 3B shows an exemplary flow diagram illustrating a method learning disentangled representations for temporal causal inference, in accordance with some embodiments of the present disclosure.
FIG. 4 illustrates an architecture for learning disentangled representations for temporal causal inference, in accordance with some embodiments of the present disclosure.
FIG. 5 illustrates the performance of the system and method for learning disentangled representations for temporal causal inference with high confounding of ? = 8, in accordance with some embodiments of the present disclosure.
FIG. 6 illustrates the performance of the system and method for learning disentangled representations for temporal causal inference for early prediction using mean NRMSE % across ? for t = 5, in accordance with some embodiments of the present disclosure.
DETAILED DESCRIPTION OF EMBODIMENTS
Exemplary embodiments are described with reference to the accompanying drawings. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. Wherever convenient, the same reference numbers are used throughout the drawings to refer to the same or like parts. While examples and features of disclosed principles are described herein, modifications, adaptations, and other implementations are possible without departing from the scope of the disclosed embodiments.
The present disclosure provides a system and method for learning disentangled representations for temporal causal inference. The existing techniques assumes that all time varying covariates are confounding and thus attempt to balance the full state representation. In reality, a subset of covariates may in fact be confounding and in general unknown and one of the recent works on counterfactual estimation in the static, non-temporal setting has suggested that disentangling the covariate representation into separate factors, where each factor either influence treatment selection, patient outcome or both can help isolate selection bias and restrict balancing efforts to factors that influence outcome, allowing the remaining factors which predict treatment without needlessly being balanced. The present disclosure proposes Disentangled Representations for Temporal Causal Inference (DRTCI), a system for temporal causal inference. The proposed Disentangled Representations for Temporal Causal Inference (DRTCI) system uses a recurrent neural network to learn hidden representation of the patient’s evolving covariates that disentangles into three representations. Further each of the three representations causally determine either treatment, outcome or both treatment and outcome.
Referring now to the drawings, and more particularly to FIG. 1 through FIG. 6, where similar reference characters denote corresponding features consistently throughout the figures, there are shown preferred embodiments and these embodiments are described in the context of the following exemplary system and/or method.
FIG. 1 illustrates an exemplary system, for learning disentangled representations for temporal causal inference, in accordance with some embodiments of the present disclosure. The system 100 includes a disentangled representations for temporal causal inference unit 102 for learning disentangled representations for temporal causal inference, in accordance with some embodiments of the present disclosure. The disentangled representations for temporal causal inference unit 102 include or is otherwise in communication with a memory 104, a communication interface 106, and a processor 108. The memory 104, the communication interface 106, and the processor 108 may be coupled by a system bus 110 or a similar mechanism. Although FIG.1 shows example components of the disentangled representations for temporal causal inference unit 102, in other implementations, the system 100 may contain fewer components, additional components, different components, or differently arranged components than depicted in FIG.1.
The processor 108 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuitries, and/or any devices that facilitates in designing polymeric carrier for controlled release of molecules. Further, the processor 108 may comprise a multi-core architecture. Among other capabilities, the processor 108 is configured to fetch and execute computer-readable instructions or modules stored in the memory 104. The processor 108 may include circuitry implementing, among others, audio and logic functions associated with the communication. For example, the processor 108 may include, but are not limited to, one or more digital signal processors (DSPs), one or more microprocessor, one or more special-purpose computer chips, one or more field-programmable gate arrays (FPGAs), one or more application-specific integrated circuits (ASICs), one or more computer(s), various analog to digital converters, digital to analog converters, and/or other support circuits. The processor 108 thus may also include the functionality to encode messages and/or data or information. The processor 108 may include, among other things, a clock, an arithmetic logic unit (ALU) and logic gates configured to support operation of the processor 108. Further, the processor 108 may include functionality to execute one or more software programs, which may be stored in the memory 104 or otherwise accessible to the processor 108.
The memory 104, may store any number of pieces of information, and data, used by the system 100 to implement the functions of the system 100. The memory 104 may include any computer-readable medium known in the art including, for example, volatile memory, such as static random-access memory (SRAM) and dynamic random-access memory (DRAM), and/or non-volatile memory, such as read only memory (ROM), erasable programmable ROM, flash memories, hard disks, optical disks, and magnetic tapes. Examples of volatile memory may include but are not limited to volatile random-access memory (RAM). The non-volatile memory may additionally or alternatively comprise an electrically erasable programmable read only memory (EEPROM), flash memory, hard drive, or the like. The memory 104 may be configured to store information, data, applications, instructions, or the like for enabling the system 100 to carry out various functions in accordance with various example embodiments. Additionally, or alternatively, the memory 104 may be configured to store instructions which when executed by the processor 108 causes the system 100 to behave in a manner as described in various embodiments.
The communication interface(s) 106 can facilitate multiple communications within a wide variety of networks and protocol types, including wired networks, for example, local area network (LAN), cable, etc., and wireless networks, such as Wireless LAN (WLAN), cellular, or satellite. For the purpose, the communication interface (s) 106 may include one or more ports. One or more functionalities of the system 100 and components thereof, is further explained in detail with respect to block diagram described in FIG.2.
FIG. 2 is a functional block diagram of the system for learning disentangled representations for temporal causal inference according to some embodiments of the present disclosure. In an embodiment, the disentangled representations for temporal causal inference unit 102 comprises of various modules that include an input module 112, an encoder network 114 and a decoder network 118. The encoder network 114 further incudes a LSTM (Long short-term memory) unit 116 and the decoder network 118 further includes a LSTM (Long short-term memory) unit 120.
FIGS. 3A and 3B, with reference to FIGS. 1-2, is an exemplary flow diagram 300 illustrating a method for learning disentangled representations for temporal causal inference using the system 100 of FIG. 1 according to some embodiments of the present disclosure. In an embodiment, the system 100 comprises one or more data storage devices or the memory 104 operatively coupled to the one or more processors 108 and is configured to store instructions for execution of steps of the method by the disentangled representations for temporal causal inference unit 102. The steps of the method of the present disclosure will now be explained with reference to the components of the system 100 and the steps 302-316 as depicted in FIGS. 1-2, and the flow diagram as depicted in FIGS.3A and 3B.
Operations of the flowchart, and combinations of operation in the flowchart, may be implemented by various means, such as hardware, firmware, processor, circuitry and/or other device associated with execution of software including one or more computer program instructions. For example, one or more of the procedures described in various embodiments may be embodied by computer program instructions. In an example embodiment, the computer program instructions, which embody the procedures, described in various embodiments may be stored by at least one memory device of a system and executed by at least one processor in the system. Any such computer program instructions may be loaded onto a computer or other programmable system (for example, hardware) to produce a machine, such that the resulting computer or other programmable system embody means for implementing the operations specified in the flowchart. It will be noted herein that the operations of the method 300 are described with help of system 102. However, the operations of the method 300 can be described and/or practiced by using any other system.
The disclosed method 300 relates to the learning of disentangled representations for temporal causal inference. At step 302 of the method, the one or more hardware processors 108 process a plurality of historical observants h_(t ) and treatment a_(t )at a timestep t specific to each patient i using an encoder network 114 (FIG. 2). The encoder network 114 (FIG. 2) comprises of a recurrent network with an LSTM (Long short-term memory) unit 116. The plurality of historical observants h_(t ) for each patient i is derived from an observational dataset D= {{x_t^i ,a_t^i ,y_(t+1)^i }_(t=1)^(T^i )? {v^i }}_(i=1)^N for N patients containing a plurality of time dependent patient covariates x_t^i for each patient i, the treatment a_t^i received by each patient i, corresponding response y_(t+1)^i to the treatment a_t^i obtained from each patient i and a plurality of static covariates v for each patient i and wherein the plurality of historical observants h_(t ) is represented by a sequence of the patient’s time-varying covariates x ¯_(1,t-1)= [x_1,…,x_(t-1) ], a sequence of treatments a ¯_(1,t-1)= [a_1,…,a_(t-1) ] and the plurality of static covariates v as h_(t )= [x ¯_(1,t-1),a ¯_(1,t-1) , v]. In an embodiment of the present disclosure, the input module 112 of FIG.2 is configured to receive inputs related to the plurality of historical observants h_(t )comprising of patient’s history and covariates from a domain database. The encoder network 114 of FIG.2 is configured to process the received plurality of historical observants h_(t )further to obtain state representation s_t as mentioned above. The LSTM unit 116 of encoder network 114 and the LSTM unit 120 of decoder network 118 of FIG. 2 are a part of recurrent unit (comprised in encoder network 114 and decoder network 118) respectively which are used to represent the variable length history to a fixed length state vector. At step 304 of the method, the one or more hardware processors 108, obtain a state representation s_(t ) using the processed plurality of historical observants h_(t ). The present disclosure employs a recurrent neural network (comprised in the memory 104 and invoked for execution to perform steps described herein) to map the plurality of historical observants h_(t )comprising of the (variable-length) patient history h_(t )and covariates x_(t ) at the timestep t to a latent, fixed length state representation s_(t )which is represented as:
s_(t )= f_(t,s) (h_(t ),x_(t )) (1)
At step 306 of the method, the one or more hardware processors 108, learn a first set of disentangled representations comprising an outcome representation (?_?^E (s_(t ))), a confounding representation (?_?^E (s_(t ))) and a treatment representation (?_G^E (s_(t ))) by passing the obtained state representation s_t at each timestep t through a plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptrons (MLPs). The present disclosure and the system and method described herein learn three disentangled representations of the latent state representation s_(t ) at timestep t which includes the outcome representation (?_?^E (s_(t ))) which affects future outcome Y_(t+1 ), the confounding representation (?_?^E (s_(t ))) which affects both future treatment assignment and outcome Y_(t+1 )and the treatment representation (?_G^E (s_(t ))) which affects the treatment assignment a_(t ). All of the above representations are learnt in a disengaged manner which is explained in later sections. The three disentangled representations are learned by passing the representation s_(t ) at the timestep t through the three disentangled two-layered ELU Multi-Layer perceptron’s (MLPs) which includes ?_? (.), ?_? (.), ?_G (.), parameters of which are learned using a set of loss functions namely a prediction loss, a treatment loss, an imbalance loss, and a weighting loss. The details of the loss functions are described as below:
Prediction Loss and Weighting Loss:
The concatenation of the confounding representation, the outcome representation, and the treatment at the timestep t is passed to a regression arm (W_?) comprising of MLP-ELU-MLP layers to predict outcome Y ^_(t+1).
Y ^_(t+1 ) = W_? ( [?_?^E (s_(t )),?_?^E (s_(t )) ,a_(t )]) (2)
The present disclosure uses a squared error loss for learning the parameters of the confounding representation and the outcome representation. However, since the objective of the present disclosure is to predict factual as well as counterfactual outcome while the observational dataset D contains only factual outcomes, an importance weighting of squared error is used to emphasize those instances that are more useful for the prediction of the counterfactual outcomes. The aforementioned importance weight is an extension of binary treatment importance weighting introduced to K treatments which is represented as below:
?_t = ?_(k=1)^K¦(p(?_?^E (s_(t ))|? A?_(k )))/(p(?_?^E (s_(t ))|a_(t ) )) = ?_(k=1)^(K )¦?(p?(a?_(t )))/(p?(A?_(k ))) (p(? A?_(k ) |?_?^E (s_(t ))))/(p(a_(t ) ¦| ?_?^E (s_(t )) ))? (3)
In the above equation (3) p?(a?_(t )), p?(A?_(k )) are the marginal probabilities for factual treatment a_(t )and treatment option A_(k ) respectively and are computed from the observational dataset D. Further, propensity p(? A?_(k ) |(?_?^E (s_(t ))) is obtained by passing ?_?^E (s_(t )) via an W_? (.) (MLP and a soft max layer) with L_(t,W )weighting loss as: L_(t,W ) (W_?,?_?) = - ?_(k=1)^K¦?a_(t ) (k)log(p(? A?_(k ) | ? ?_?^E (s_(t ))). The weighted square error is then used as outcome regression loss (L_(t,P )) as:
L_(t,P ) (?_?,?_?,W_?) = ?_t ?(Y_(t+1 )- Y ^_(t+1 ))?^2.
Treatment Loss:
The treatment loss is employed for learning the logging policy that guides the treatment assignment. For this, both the confounding representation ?_?^E (s_(t )) and the treatment representation (?_G^E (s_(t ))) are passed through W_G (.) (MLP and the softmax layer) to learn the propensity of treatment. The treatment loss (L_(t,T )) is then used for learning the weights of the confounding representation and the treatment representation as:
L_(t,T ) (?_?,?_G,W_G) = - ?_(k=1)^K¦?a_(t ) (k)log(p(? A?_(k ) | ?[?_?^E (s_(t )) ,?_G^E (s_(t ))])) (4)
Imbalance Loss:
To overcome the bias due to the time-varying confounders, the proposed disclosure uses an adversarial imbalance loss ?(L?_(t,I)):
L_(t,I ) (?_?) = - ?_(k=1)^K¦?a_(t ) (k)log(p(? A?_(k ) | ? ?_?^E (s_(t )))) which ensures that the outcome representation ?_? (s_(t )) is not predictive of treatment assignment, i.e., p(?_?^E (s_(t )) |? A?_(1 )) =…. = p(?_?^E (s_(t )) |? A?_(K )). The system 100 computes propensity p(? A?_(k ) | ?_?^E (s_(t ))) by passing outcome representation via randomly initialized fixed weight one-layer MLP followed by the softmax layer. It is to be noted that the present disclosure uses shorthand p_1 (s_(t )), p_2 (s_(t )), p_3 (s_(t )) for propensities p(? A?_(k ) | ?_?^E (s_(t ))), p(? A?_(k ) | [?_?^E (s_(t ))), ?_G^E (s_(t ))]), p(? A?_(k ) | ?_?^E (s_(t ))).
At step 308 of the method 300, the one or more hardware processors 108, pass the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment a_(t ) through a set of layers (W_?^E) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) at the timestep t to predict an outcome Y ^_(t+1) one timestep ahead of the timestep t. At step 310 of the method 300, the one or more hardware processors 108, concatenate the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))) from the encoder network 114 to obtain a unified representation ?_t for each timestep t for each patient i. In an embodiment of the present disclosure, the decoder network 118 is used for extending next time step prediction to multiple (m) timesteps ahead of the timestep t. At step 312 of the method 300, the one or more hardware processors 108, initialize a state of a decoder network 118 comprising a LSTM (Long short-term memory) unit 120 using the unified representation ?_t to obtain a state representation s_(t+m) specific to each patient i,m-timestep ahead of the timestep t. The decoder network 118 is trained by splitting the observational dataset D of trajectory of each patient i into shorter sequences of t timestep represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t)wherein, Y_(t+m )denotes the predicted outcome m timestep ahead of the timestep t, a_(t+m ) denotes the treatment at each m timestep ahead of the timestep t and Y ^_(t+m+1) denotes the predicted outcome m+1 timestep ahead of the timestep t. At step 314 of the method 300, the one or more hardware processors 108, learn a second set of disentangled representations comprising an outcome representation (?_?^D (s_(t+m ))), a confounding representation (?_?^D (s_(t+m ))) and a treatment representation (?_G^D (s_(t+m ))) by passing the obtained state representation s_(t+m) for each m timestep ahead of the timestep t through the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs). At step 316 of the method 300, the one or more hardware processors 108, concatenate the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment a_(t+m ) at each m timestep ahead of timestep t and passing through a set of layers (W_?^D) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively for all values of m up to t-1 ahead of the timestep t.
FIG.4 illustrates an architecture for learning disentangled representations for temporal causal inference, in accordance with some embodiments of the present disclosure. The encoder network 114 uses a recurrent network with the LSTM unit 116 to process the plurality of historical observants h_(t )and covariates x_(t ) at timestep t to obtain state representation s_(t ) (represented in Eq. 1). Further, the state representation s_(t ) is disentangled into the first set of disentangled representations comprising the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))), and the treatment representation (?_G^E (s_(t ))) using the loss at timestep t as
L_(t ) (?_?^E,?_?^E,?_G^E,W_?^E,W_?^E,W_G^E; ß) = L_(t,P ) (?_?^E,?_?^E,W_?^E) + L_(t,T ) (?_?^E,?_G^E,W_G^E) + L_(t,P ) (W_?^E,?_?^E) - ßL_(t,I ) (?_?^E) (5)
where ß is obtained using hyperparameter tuning which is described in later sections and superscript E stands for one or more parameters pertaining to the encoder network 114. The one or more parameters of the encoder network 114 comprises of weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) wherein, weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s). The outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))), and the treatment representation (?_G^E (s_(t ))) at the timestep t are then used to forecast the outcome at the next timestep Y ^_(t+1 )as described in equation 2. The present disclosure uses a sequence-to-sequence architecture as depicted in FIG. 4, which extends the next timestep ahead outcome prediction using the encoder network 114 to a t -step ahead prediction using the decoder network 118. the encoder network 114 is learned first, then the decoder network 118 is updated as described in the following section.
In the present disclosure, the disentangled representations from the encoder network 114 are concatenated to obtain a unified representation ?_t = ?_?^E (s_(t )) ? ?_?^E (s_t ) ? ?_G^E (s_t ). The representation ?_t is obtained for each timestep for N patients. The observational dataset D is processed by splitting trajectory of each patient i into shorter sequences of t timesteps which is represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t) for training the decoder network 118. The representation ?_t is used to initialize the state of the decoder network 118 and to finally obtain a state representation for the patient m-timesteps in the future which is represented as:
s_(t+m) = f_(m,s)^D ([v,Y_(t+m,) a_(t+m-1)]) (6)
where inputs to the LSTM unit 120 of the decoder network 118 are static covariates v, previous timestep’s outcome Y_(t+m )and previous treatment a_(t+m-1) with superscript D pertaining to one or more parameters of the decoder network 118. The one or more parameters of the decoder network 118 comprises of weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) wherein, weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s). The state representation ?(s?_(t+m)) is further disentangled into the second set of disentangled representations comprising the confounding representation (?_?^D (s_(t+m ))), the treatment representation (?_G^D (s_(t+m ))), and the outcome representation (?_?^D (s_(t+m ))), using L_(t+m ) (?_?^D,?_?^D,?_G^D,W_?^D,W_?^D,W_G^D; ß) which is the same loss explained in equation 5 computed for m timesteps ahead of the timestep t for learning the one or more parameters decoder network 118. The present disclosure then predicts outcome Y ^_(t+m+1 ) for m + 1 timesteps ahead of t as:
Y ^_(t+m+1 ) = W_?^D ([?_?^D (s_(t+m )),?_?^D (s_(t+m )),a_(t+m)]) (7)
and proceed iteratively for all values of m up to t - 1 timesteps ahead of the timestep t.
Further, it should be noted that the true Y_(t+m )is not available as input during test time for the decoder network 118. Hence, previous timestep’s outcome predicted by decoder network 118 Y ^_(t+m )is auto-regressively used as input to the decoder network 118 which is represented in equation 6 for prediction of Y ^_(t+m+1 ) (refer FIG. 4).
In the present disclosure, the experimental set-up used for measuring the performance/efficacy of the DRTCI system as implemented herein comprises of describing the dataset, followed by baselines, evaluation metrics and implementation specifics for evaluation of the DRTCI system. The present disclosure uses a bio-model (as known in the art) for simulating a lung cancer dataset which contains the outcomes for different treatment options including no treatment, chemotherapy, radiotherapy, and both chemotherapy and radiotherapy treatments on tumor growth volume in a longitudinal manner. In the present disclosure, the initial cancer stage and the initial tumor volume are obtained from prior distributions for each patient. The volume of the tumor t days after diagnosis is then obtained using the following mathematical model:
V(t+1) = (1+?log(?/(V(t))) - ß_c C(t) - (a_r d(t) + ß_r ?d(t)?^2) + e(t)V(t)) (8)
where ?, ?, ß_c ,a_r ,ß_r , e(t) are sampled as described in a known prior art (Geng, C., Paganetti, H., and Grassberger, C. Prediction of treatment response for combined chemo-and radiation therapy for non-small cell lung cancer patients using a bio-mathematical model. Scientific reports, 7(1):1–12, 2017). Further, time-varying confounding is introduced by modelling chemotherapy and radiotherapy assignment as Bernoulli random variables (known in the art) with probability of chemotherapy (p_c) and radiotherapy (p_r) depending upon the tumor volume: p_c (t) = (?_c/D_max (D ¯(t) - d_c )) and p_r (t) = (?_r/D_max (D ¯(t) - d_r )), where ?_c , ?_r are the factors controlling degree of time-varying confounding, D ¯(t) is the average diameter over the last 15 days, D_max = 13 cm, s (.) is the sigmoid and d_r = d_c = D_max/2 . Chemotherapy concentration is given by C(t) = 5 + C((t-1) )/2 and radiotherapy dose is d(t) = 2 if applied at timestep t. In the present disclosure, a dataset for a maximum of 60 timesteps is generated and DRTCI system is evaluated under different degrees of time-dependent confounding ?(??_c,?_r) and time horizons (t). For each setting of ?_c,?_r,t, the present disclosure simulated 10000 patients for training, 1000 for validation and 1000 for testing. For testing of next step ahead prediction using an encoder network 114, the present disclosure simulated volume V (t+1) for each timestep t under all treatment options for each patient while for t-step ahead prediction using the decoder, 2t counterfactual sequences of outcomes with each sequence is generated giving chemotherapy at one of t,...t + t - 1 and similarly radiotherapy at one of t,...t + t – 1 timesteps for each timestep t in the patient’s trajectory. The present disclosure benchmark the DRTCI system against Marginal Structural Models (MSMs) (as known in the art) which uses logistic regression for inverse propensity weighting and linear regression for prediction, Recurrent Marginal Structural Networks (RMSNs) (as known in the art) which uses a sequence-to-sequence architecture for handling confounders and outcome prediction and Counterfactual Recurrent Network (CRN) (as known in the art) which introduces adversarial balancing for handling confounders and outcome prediction. The performance of the DRTCI system has been measured/tested in terms of normalized root mean squared error % (NRMSE %) with NRMSE % = (RMSE/maximum tumor volume) * 100, where RMSE = ?((?_t¦?_t¦?(Y ^_(t+1 )-Y_(t+1) )?^2 )/NT)?^(1/2) for encoder, with Y_(t+1 )replaced by Y_(t+t )for decoder error computation.
In an embodiment of the present disclosure, the DRTCI system has been evaluated by comparing the DRTCI system performance with baselines for varying degrees of time-varying confounding and for t -step ahead counterfactual predictions. For instance, the present disclosure compared the DRTCI system for varying degrees of confounding including (a) ?_c = ?_(r ) = 5, (b) ?_(r ) = 5, ?_(c ) = 0, (c) ?_(r ) = 0, ?_(c ) = 5 with the baseline’s approaches mentioned earlier. The present disclosure analyzed the comparison for t -step ahead counterfactual prediction with t increasing in steps of 1 from 3 to 7 as depicted in Table 1. As evident from Table. 1, the DRTCI system substantially outperformed RMSN, MSM and the current state of art CRN for all different values of t and degree of confounding (?_r,?_c). The present disclosure further analyzed the performance of DRTCI system for very high degrees of confounding by setting ?_r = ?_c = ? ? {6,7,8,9,10} for t = 1 (next step ahead prediction) and t = 3,and 5 as represented in Table. 2. The experimental results show that the DRTCI system performance for high confounding is superior to CRN (as known in the art) for next step ahead prediction and better by large margins for t-step ahead prediction achieving more than 32% and 25% reduction in errors for t= 3 and t = 5 respectively. The achieved experimental results are able to obtain reduction in error since the proposed DRTCI system learns confounding representation which plays a significant role in the outcome prediction, especially when the degree of confounding is high, which is in contrast to known approaches where confounding covariates are balanced for reduction in bias and reliable outcome prediction. Moreover, while in known approaches a shared outcome regression arm would lead to noisy interference between the treatment predictions, whereas in the DRTCI system since only the relevant factors are being used to predict outcomes, noisy interference is greatly reduced, and common knowledge is better utilized across treatments.
t = 3 t = 4 t = 5 t = 6 t = 7
(a) DRTCI 2.01% 2.66% 3.00% 2.81% 2.14%
CRN 2.43% 2.83% 3.18% 3.51% 3.93%
RMSN 3.16% 3.95% 4.37% 5.61% 6.21%
MSM 6.75% 7.65% 7.95% 8.19% 8.52%
(b) DRTCI 1.11% 1.81% 2.03% 2.23% 2.43%
CRN 1.54% 1.81% 2.03% 2.23% 2.43%
RMSN 1.59% 2.25% 2.71% 2.73% 2.88%
MSM 3.23% 3.52% 3.63% 3.71% 3.79%
(c) DRTCI 1.31% 1.16% 1.31% 1.21% 1.31%
CRN 1.08% 1.21% 1.33% 1.42% 1.53%
RMSN 1.35% 1.81% 2.13% 2.41% 2.43%
MSM 3.68% 3.84% 3.91% 3.97% 4.04%
Table 1. NRMSE % comparisons for (a) ?_c = ?_(r ) = 5, (b) ?_(r ) = 5, ?_(c ) = 0,
(c) ?_(r ) = 0, ?_(c ) = 5 t -step ahead prediction.
t = 1 t = 5 t = 5
G DRTCI CRN DRTCI CRN DRTCI CRN
6 1.54% 1.72% 2.87% 4.64% 2.87% 4.26%
7 1.87% 1.89% 3.82% 4.65% 3.66% 5.81%
8 2.60% 2.78% 4.99% 8.13% 4.65% 7.72%
9 3.03% 3.06% 6.57% 8.32% 6.55% 6.24%
10 4.17% 4.26% 6.66% 1.32% 6.51% 8.53%
Mean 2.64% 2.74% 4.98% 7.41% 4.85% 6.51%
Table 2. NRMSE % of DRTCI for high ? (high confounding)
In an embodiment, the present disclosure carried out an extensive ablation study to identify the key factors contributing towards the performance of the DRTCI system, wherein the study was performed for 5-step ahead prediction for varying degree of confounding with ? = 3, 7, and 10. The present disclosure examined the conditions which includes ?_?: DRTCI system with no disentangled representation but only ?_? as the representation layer, ?_? ? ?_? : DRTCI system with outcome representation ?_? (.), the confounding representation ?_? (.), and no separate representation for only the treatment representation ?_G (.), ?_? ? ?_G : DRTCI system with the outcome representation ?_? (.), the treatment representation ?_G (.) and no representation for confounding ?_? (.) as depicted in Table 3. Further, by analyzing the representation layer which contributes most towards the performance, it was observed that the outcome representation (column ?_? ) alone does not provide significant performance gains while learning treatment or the confounding representation along with the outcome representation ?_? ? ?_? ,?_? ? ?_G gives a significant performance gain. Thus, the representations which retain confounding and treatment factors such as in the DRTCI system of the present disclosure, has the most significant impact on improvement of counterfactual prediction in longitudinal data, especially when the degree of confounding is high.
? DRTCI ?_? ?_? ? ?_? ?_? ? ?_G CRN
3 1.58% 1.76% 1.56% 1.56% 1.72%
7 3.66% 5.02% 4.19% 4.65% 5.81%
10 6.51% 7.87% 6.97% 6.61% 8.53%
Table 3. Ablation Study for DRTCI t = 5 step ahead performance
FIG. 5 illustrates a performance of the system and method for learning disentangled representations for temporal causal inference with high confounding of ? = 8, in accordance with some embodiments of the present disclosure. The present disclosure evaluated the performance of the DRTCI system for next step ahead and 5-step ahead prediction for varying history sizes. The analysis for high confounding with ? = 8 is depicted in FIG. 5. It can be observed that for next step prediction, the DRTCI system performed marginally better than CRN (known in the art) with minimal history, while for 5-step prediction the proposed DRTCI system performed significantly better for all history sizes.
FIG. 6 illustrates the performance of the system and method for learning disentangled representations for temporal causal inference for early prediction using mean NRMSE % across ? for t = 5, in accordance with some embodiments of the present disclosure. The DRTCI system was analyzed for different history lengths as depicted in FIG. 6 using mean of NRMSE% values computed for high confounding. It can be seen that DRTCI system significantly outperformed CRN for early prediction and thus, when making distant early predictions in high confounding cases, the DRTCI system is more reliable.
Table 4 illustrates the search range of hyperparameters for encoder network 114 and decoder network 118 in the DRTCI system. The present disclosure selects optimal hyperparameters from the search space of hyperparameters, based on minimum NRMSE% in predicting the factual outcome for the validation dataset. Further, for evaluation of NRMSE %, the maximum tumor volume in the data is 1150?cm?^3. The present disclosure further uses a Tesla v100 with 4GB GPU, 32 GB RAM for training and hyperparameter optimization for conducting the experiments.
Hyperparameter Encoder Decoder
Epochs 100 50
Batch Size 256 1024
Learning rate 0.001 0.001
MLP hidden units 50,100 50,100
Recurrent hidden units 50,100,150 Size of ?_t
Dropout 0.1 0.1
ß 0.1,0.4,0.7,1 0.1,0.4,0.7,1
Table 4. Encoder and decoder hyperparameter search space
Table 5 illustrates the accuracy of treatment sequence prediction in conjunction with the system and method for learning disentangled representations for temporal causal inference. The present disclosure tested the treatment sequence prediction on 1000 patients with treatment sampled from ?p ?_2 s_t where a ^_(t ) ~ ?p ?_2 s_t and evaluated using accuracy as metric for different degrees of confounding ?. It can be observed that for increasing ? accuracy of treatment prediction increases which is because, with increase in degree of confounding, factual treatment assignment is more biased and thus, easier to predict.
? Accuracy
0 62%
1 67.27%
2 71.82%
3 75.59%
4 78.19%
5 79.90%
6 81.07%
7 82.33%
8 82.64%
9 83.68%
10 83.90%
Table 5. Accuracy of treatment sequence prediction
Hence, the present disclosure provides a system and method for learning disentangled representations for temporal causal inference. The present disclosure a DRTCI system to predict future treatment effects in a temporal setting with time-varying confounding. Further, the present disclosure demonstrated through experimental results that disentangling the recurrent hidden representations in the DRTCI system yielded substantial improvements to the prediction of future treatment effects over the recently proposed CRN model (as known in the art). The present disclosure further shows that the disentanglement is especially effective in situations with extreme confounding and is also beneficial for early prediction with less historical patient data. The present disclosure conducts ablation studies to determine which components of the proposed DRTCI system are contributing most to the improved performance and provide an analysis of the same.
The written description describes the subject matter herein to enable any person skilled in the art to make and use the embodiments. The scope of the subject matter embodiments is defined by the claims and may include other modifications that occur to those skilled in the art. Such other modifications are intended to be within the scope of the claims if they have similar elements that do not differ from the literal language of the claims or if they include equivalent elements with insubstantial differences from the literal language of the claims.
It is to be understood that the scope of the protection is extended to such a program and in addition to a computer-readable means having a message therein; such computer-readable storage means contain program-code means for implementation of one or more steps of the method, when the program runs on a server or mobile device or any suitable programmable device. The hardware device can be any kind of device which can be programmed including e.g., any kind of computer like a server or a personal computer, or the like, or any combination thereof. The device may also include means which could be e.g., hardware means like e.g., an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination of hardware and software means, e.g., an ASIC and an FPGA, or at least one microprocessor and at least one memory with software processing components located therein. Thus, the means can include both hardware means and software means. The method embodiments described herein could be implemented in hardware and software. The device may also include software means. Alternatively, the embodiments may be implemented on different hardware devices, e.g., using a plurality of CPUs.
The embodiments herein can comprise hardware and software elements. The embodiments that are implemented in software include but are not limited to, firmware, resident software, microcode, etc. The functions performed by various components described herein may be implemented in other components or combinations of other components. For the purposes of this description, a computer-usable or computer readable medium can be any apparatus that can comprise, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The illustrated steps are set out to explain the exemplary embodiments shown, and it should be anticipated that ongoing technological development will change the manner in which particular functions are performed. These examples are presented herein for purposes of illustration, and not limitation. Further, the boundaries of the functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternative boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Alternatives (including equivalents, extensions, variations, deviations, etc., of those described herein) will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein. Such alternatives fall within the scope of the disclosed embodiments. Also, the words “comprising,” “having,” “containing,” and “including,” and other similar forms are intended to be equivalent in meaning and be open ended in that an item or items following any one of these words is not meant to be an exhaustive listing of such item or items, or meant to be limited to only the listed item or items. It must also be noted that as used herein and in the appended claims, the singular forms “a,” “an,” and “the” include plural references unless the context clearly dictates otherwise.
Furthermore, one or more computer-readable storage media may be utilized in implementing embodiments consistent with the present disclosure. A computer-readable storage medium refers to any type of physical memory on which information or data readable by a processor may be stored. Thus, a computer-readable storage medium may store instructions for execution by one or more processors, including instructions for causing the processor(s) to perform steps or stages consistent with the embodiments described herein. The term “computer-readable medium” should be understood to include tangible items and exclude carrier waves and transient signals, i.e., be non-transitory. Examples include random access memory (RAM), read-only memory (ROM), volatile memory, nonvolatile memory, hard drives, CD ROMs, DVDs, flash drives, disks, and any other known physical storage media.
It is intended that the disclosure and examples be considered as exemplary only, with a true scope of disclosed embodiments being indicated by the following claims.
,CLAIMS:
A processor implemented method (300), comprising:
processing, via one or more hardware processors, a plurality of historical observants h_(t ) and treatment a_(t )at a timestep t specific to each patient i using an encoder network, wherein the encoder network comprises of a recurrent network with an LSTM (Long short-term memory) unit (302), wherein the plurality of historical observants h_(t ) for each patient i is derived from an observational dataset D= {{x_t^i ,a_t^i ,y_(t+1)^i }_(t=1)^(T^i )? {v^i }}_(i=1)^N for N patients containing a plurality of time dependent patient covariates x_t^i for each patient i, the treatment a_t^i received by each patient i, corresponding response y_(t+1)^i to the treatment a_t^i obtained from each patient i and a plurality of static covariates v for each patient i and wherein, the plurality of historical observants h_(t ) is represented by a sequence of the patient’s time-varying covariates x ¯_(1,t-1)= [x_1,…,x_(t-1) ], a sequence of treatments a ¯_(1,t-1)= [a_1,…,a_(t-1) ] and the plurality of static covariates v as h_(t )= [x ¯_(1,t-1),a ¯_(1,t-1) , v];
obtaining, via the one or more hardware processors, a state representation s_t using the processed plurality of historical observants h_(t )(304);
learning, via the one or more hardware processors, a first set of disentangled representations comprising an outcome representation (?_?^E (s_(t ))), a confounding representation (?_?^E (s_(t ))) and a treatment representation (?_G^E (s_(t ))) by passing the obtained state representation s_t at each timestep t through a plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptrons (MLPs) (306);
passing, via the one or more hardware processors, the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment a_(t ) through a set of layers (W_?^E) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) at the timestep t to predict an outcome Y ^_(t+1) one timestep ahead of the timestep t (308);
concatenating, via the one or more hardware processors, the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))) from the encoder network to obtain a unified representation ?_t for each timestep t for each patient i (310);
initializing, via the one or more hardware processors, a state of a decoder network comprising a LSTM (Long short-term memory) unit using the unified representation ?_t to obtain a state representation s_(t+m) specific to each patient i m-timestep ahead of the timestep t (312), wherein the decoder network is trained by splitting the observational dataset D of trajectory of each patient i into shorter sequences of t timestep represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t) and wherein, Y_(t+m )denotes the predicted outcome m timestep ahead of the timestep t, a_(t+m ) denotes the treatment at each m timestep ahead of the timestep t and Y ^_(t+m+1) denotes the predicted outcome m+1 timestep ahead of the timestep t;
learning, via the one or more hardware processors, a second set of disentangled representations comprising an outcome representation (?_?^D (s_(t+m ))), a confounding representation (?_?^D (s_(t+m ))) and a treatment representation (?_G^D (s_(t+m ))) by passing the obtained state representation s_(t+m) for each m timestep ahead of the timestep t through the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) (314); and
concatenating, via the one or more hardware processors, the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment a_(t+m ) at each m timestep ahead of the timestep t and passing through a set of layers (W_?^D) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively for all values of m up to t-1 ahead of the timestep t (316).
The processor implemented method as claimed in claim 1, wherein the encoder network further comprises of weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) wherein, weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) are used to compute a set of loss functions comprising a prediction loss, a treatment loss, an imbalance loss, and a weighting loss, and wherein, the set of loss functions are used to learn the first set of disentangled representations comprising the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))).
The processor implemented method as claimed in claim 1, wherein the decoder network further comprises of weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s), wherein, weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) are used to compute a set of loss functions comprising a prediction loss, a treatment loss, an imbalance loss, and a weighting loss, and wherein the set of loss functions are used to learn the second set of disentangled representations comprising the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment representation (?_G^D (s_(t+m ))).
The processor implemented method as claimed in claim 1, comprising processing a plurality of historical observants h_(t )and treatment a_(t ) at a timestep t specific to a patient using the encoder network.
The processor implemented method as claimed in claim 4, comprising initializing the state of the decoder network comprising the LSTM (Long short-term memory) unit using the unified representation ?_t to obtain a state representation s_(t+1 ) specific to the patient one timestep ahead of timestep t, wherein an input to the decoder network comprises the predicted outcome Y ^_(t+1) one timestep ahead of the timestep t and treatment a_(t+1 ) to obtain a predicted outcome Y ^_(t+2), two timestep ahead of the timestep t, wherein the predicted outcome Y ^_(t+2) serves as an input to the subsequent LSTM unit of the decoder network to predict an outcome Y ^_(t+3) for the treatment a_(t+2 ) and proceeding autoregressively till Y ^_(t+t).
A system (100), comprising:
a memory (104) storing instructions;
one or more communication interfaces (106); and
one or more hardware processors (108) coupled to the memory (104) via the one or more communication interfaces (106), wherein the one or more hardware processors (108) are configured by the instructions to:
process a plurality of historical observants h_(t ) at a timestep t specific to each patient i using an encoder network, wherein the encoder network comprises of a recurrent network with an LSTM (Long short-term memory) unit, wherein the plurality of historical observants for each patient i is derived from an observational dataset D= {{x_t^i ,a_t^i ,y_(t+1)^i }_(t=1)^(T^i )? {v^i }}_(i=1)^N for N patients containing a plurality of time dependent patient covariates x_t^i for each patient i, the treatment a_t^i received by each patient i, corresponding response y_(t+1)^i to the treatment a_t^i obtained from each patient i and a plurality of static covariates v^i for each patient i and wherein, the plurality of historical observants h_(t ) is represented by a sequence of the patient’s time-varying covariates x ¯_(1,t-1)= [x_1,…,x_(t-1) ], a sequence of treatments a ¯_(1,t-1)= [a_1,…,a_(t-1) ] and the plurality of static covariates v as h_(t )= [x ¯_(1,t-1),a ¯_(1,t-1) , v];
obtain a state representation s_t using the processed plurality of historical observants h_(t );
learn a first set of disentangled representations comprising an outcome representation (?_?^E (s_(t ))), a confounding representation (?_?^E (s_(t ))) and a treatment representation (?_G^E (s_(t ))) by passing the obtained state representation s_t at each timestep t through a plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptrons (MLPs);
pass the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment a_(t ) through a set of layers (W_?^E) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) at the timestep t to predict an outcome Y ^_(t+1) one timestep ahead of the timestep t;
concatenate the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))) from the encoder network to obtain a unified representation ?_t for each timestep t for each patient i;
initialize a state of a decoder network comprising a LSTM (Long short-term memory) unit using the unified representation ?_t to obtain a state representation s_(t+m) specific to each patient i m-timestep ahead of the timestep t, wherein the decoder network is trained by splitting the observational dataset D of trajectory of each patient i into shorter sequences of t timestep represented as {{?_t }?{Y_(t+m,) a_(t+m ),Y_(t+m+1 ) }_(m=1)^(t-1)?{v}}_(t=1)^(T-t) and wherein Y_(t+m )denotes the predicted outcome m timestep ahead of the timestep t, a_(t+m ) denotes the treatment at each m timestep ahead of the timestep t and Y ^_(t+m+1) denotes the predicted outcome m+1 timestep ahead of the timestep t;
learn a second set of disentangled representations comprising an outcome representation (?_?^D (s_(t+m ))), a confounding representation (?_?^D (s_(t+m ))) and a treatment representation (?_G^D (s_(t+m ))) by passing the obtained state representation s_(t+m) for each m timestep ahead of the timestep t through the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs); and
concatenate the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment a_(t+m ) at each m timestep ahead of timestep t and passing through a set of layers (W_?^D) comprising the plurality of disentangled-two-layered Exponential Linear Unit (ELU) Multi-Layer Perceptron’s (MLPs) to predict outcome Y ^_(t+m+1) m+1 timesteps ahead of the timestep t and proceeding iteratively for all values of m up to t-1 ahead of the timestep t.
The system as claimed in claim 6, wherein the encoder network further comprises of weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) wherein, weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) are used to compute a set of loss functions comprising a prediction loss, a treatment loss, an imbalance loss, and a weighting loss, and wherein, the set of loss functions are used to learn the first set of disentangled representations comprising the outcome representation (?_?^E (s_(t ))), the confounding representation (?_?^E (s_(t ))) and the treatment representation (?_G^E (s_(t ))).
The system as claimed in claim 6, wherein the decoder network further comprises of weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s), wherein, weights of LSTM unit, weights of Exponential Linear Unit (ELU) and weights of Multi-Layer Perceptron’s (MLP’s) are used to compute a set of loss functions comprising a prediction loss, a treatment loss, an imbalance loss, and a weighting loss, and wherein, the set of loss functions are used to learn the second set of disentangled representations comprising the outcome representation (?_?^D (s_(t+m ))), the confounding representation (?_?^D (s_(t+m ))) and the treatment representation (?_G^D (s_(t+m ))).
The system as claimed in claim 6, wherein a plurality of historical observants h_(t )and treatment a_(t ) are processed at a timestep t specific to a patient using the encoder network.
The system as claimed in claim 9, wherein the state of the decoder network comprising the LSTM (Long short-term memory) unit is initialized using the unified representation ?_t to obtain a state representation s_(t+1 ) specific to the patient one timestep ahead of the timestep t, wherein an input to the decoder network comprises the predicted outcome Y ^_(t+1) one timestep ahead of the timestep t and treatment a_(t+1 ) to obtain a predicted outcome Y ^_(t+2), two timestep ahead of the timestep t, wherein the predicted outcome Y ^_(t+2) serves as an input to the subsequent LSTM unit of the decoder network to predict an outcome Y ^_(t+3) for the treatment a_(t+2 ) and proceeding autoregressively till Y ^_(t+t).
| # | Name | Date |
|---|---|---|
| 1 | 202121032201-STATEMENT OF UNDERTAKING (FORM 3) [16-07-2021(online)].pdf | 2021-07-16 |
| 2 | 202121032201-PROVISIONAL SPECIFICATION [16-07-2021(online)].pdf | 2021-07-16 |
| 3 | 202121032201-FORM 1 [16-07-2021(online)].pdf | 2021-07-16 |
| 4 | 202121032201-DRAWINGS [16-07-2021(online)].pdf | 2021-07-16 |
| 5 | 202121032201-DECLARATION OF INVENTORSHIP (FORM 5) [16-07-2021(online)].pdf | 2021-07-16 |
| 6 | 202121032201-Proof of Right [01-10-2021(online)].pdf | 2021-10-01 |
| 7 | 202121032201-FORM-26 [08-04-2022(online)].pdf | 2022-04-08 |
| 8 | 202121032201-FORM 3 [05-07-2022(online)].pdf | 2022-07-05 |
| 9 | 202121032201-FORM 18 [05-07-2022(online)].pdf | 2022-07-05 |
| 10 | 202121032201-ENDORSEMENT BY INVENTORS [05-07-2022(online)].pdf | 2022-07-05 |
| 11 | 202121032201-DRAWING [05-07-2022(online)].pdf | 2022-07-05 |
| 12 | 202121032201-COMPLETE SPECIFICATION [05-07-2022(online)].pdf | 2022-07-05 |
| 13 | Abstract1.jpg | 2022-07-27 |
| 14 | 202121032201-Request Letter-Correspondence [19-08-2022(online)].pdf | 2022-08-19 |
| 15 | 202121032201-Power of Attorney [19-08-2022(online)].pdf | 2022-08-19 |
| 16 | 202121032201-Form 1 (Submitted on date of filing) [19-08-2022(online)].pdf | 2022-08-19 |
| 17 | 202121032201-Covering Letter [19-08-2022(online)].pdf | 2022-08-19 |
| 18 | 202121032201-CERTIFIED COPIES TRANSMISSION TO IB [19-08-2022(online)].pdf | 2022-08-19 |
| 19 | 202121032201 CORRESPONDANCE (IPO) WIPO DAS 30-08-2022.pdf | 2022-08-30 |
| 20 | 202121032201-FORM 3 [24-07-2023(online)].pdf | 2023-07-24 |
| 21 | 202121032201-FER.pdf | 2024-03-21 |
| 22 | 202121032201-FORM 3 [23-05-2024(online)].pdf | 2024-05-23 |
| 23 | 202121032201-OTHERS [02-08-2024(online)].pdf | 2024-08-02 |
| 24 | 202121032201-FER_SER_REPLY [02-08-2024(online)].pdf | 2024-08-02 |
| 25 | 202121032201-COMPLETE SPECIFICATION [02-08-2024(online)].pdf | 2024-08-02 |
| 26 | 202121032201-CLAIMS [02-08-2024(online)].pdf | 2024-08-02 |
| 1 | SearchHistory(48)E_12-03-2024.pdf |