WO2023235119A1 - Efficient computer-implemented real-world testing of causal inference models - Google Patents

Efficient computer-implemented real-world testing of causal inference models Download PDF

Info

Publication number
WO2023235119A1
WO2023235119A1 PCT/US2023/021606 US2023021606W WO2023235119A1 WO 2023235119 A1 WO2023235119 A1 WO 2023235119A1 US 2023021606 W US2023021606 W US 2023021606W WO 2023235119 A1 WO2023235119 A1 WO 2023235119A1
Authority
WO
WIPO (PCT)
Prior art keywords
experiment
entity
physical
test
predicted
Prior art date
Application number
PCT/US2023/021606
Other languages
French (fr)
Inventor
Adam Evan FOSTER
Cheng Zhang
Desislava Rosenova IVANOVA
Joel Nicholas JENNINGS
Original Assignee
Microsoft Technology Licensing, Llc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US18/051,324 external-priority patent/US20230394339A1/en
Application filed by Microsoft Technology Licensing, Llc filed Critical Microsoft Technology Licensing, Llc
Publication of WO2023235119A1 publication Critical patent/WO2023235119A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/01Probabilistic graphical models, e.g. probabilistic networks

Definitions

  • the present disclosure pertains to computer-implemented methods of testing causal inference models through real-world experiments, and to computer hardware and programs for implementing the same.
  • a standard experimental design procedure is random treatment assignment, in which random actions are applied to different context members (e g. physical entities on which the experiment is run). For a binary treatment, this corresponds to A/B testing.
  • this naive approach has both practical and conceptual drawbacks.
  • the practical drawback of this approach is that involves applying many sub-optimal actions, meaning that the opportunity cost of experimentation becomes high.
  • the aim of an experiment may be to learn about the best possible return for each context member, so gathering information about actions which are known a priori to be sub- optimal is not a good use of experimental resources.
  • An experiment design is determined for a plurality of physical experiment entities, based on a training loss that is dependent on a critic function and an action parameter individually associated with each physical experiment entity, with the aim of increasing (e.g., optimizing) information gain with respect to a plurality of test entities.
  • the training loss encodes a predicted information gain between a predicted experiment outcome and a predicted test quantity.
  • the predicted experiment outcome associated therewith is sampled from a joint probability distribution based on an entity context.
  • a numerical output is computed using the critic function applied to the predicted experiment outcome and the predicted test quantity.
  • Figure 1 shows a schematic diagram of a Bayesian experimental design method
  • Figure 2 is a flow chart showing the steps of an example experimental design method
  • Figure 3 shows a schematic block diagram of an example Bayesian experimental design method
  • Figure 4 shows a computer system for implementing an example experimental design method.
  • Figure 5 shows a stylised example of the set up and mechanics of different experimental design methods.
  • Figure 6 shows a graph representation of the assumed relationship between outcomes, contexts and treatments
  • Figure 7A shows an example evaluation of different design methods.
  • FIG. 7B shows results for different experimental design methods.
  • a systematic and generally applicable machine learning algorithm for real-world experiment design that increases experiment efficiency, in the sense of increasing the information gain from a given number of experiments performed on a given number of physical entities.
  • the algorithm can be used in many contexts to design and perform real-world experiment on physical entities that are efficient in this sense.
  • the method can be implemented in or applied to many different applications in a variety of fields utilizing real-world experiments on physical entities.
  • a model-agnostic framework is used for gathering data to evaluate and improve contextual causal decision making through Bayesian Experimental Design (BED).
  • BED Bayesian Experimental Design
  • the method described herein is used for data-efficient evaluation of regret associated with some actions.
  • this method simultaneously avoids assigning treatments that are known to be very sub-optimal and selects ones that can help improve the model. This is achieved by introducing a suitable contextual information-based objective, which is optimised end-to-end.
  • the method applies to discrete and continuous treatments. Comparing this information-theoretic approach to baselines in several simulation studies demonstrates the efficiency and the superior performance of the approach described herein.
  • Machine learning models can be used to make real world decisions.
  • the described embodiments use causal models to determine the best action to each apply to each member of a context set (i.e. each entity of a given problem).
  • a context set i.e. each entity of a given problem.
  • it is sensible to test the model by obtaining new, interventional data from an experiment that can help to evaluate and improve the model.
  • the two requirements are actually two sides of the same coin — in order to correctly evaluate the outcomes of an existing treatment assignment policy, it is required to improve the accuracy of estimates of the best achievable outcome for each member of the context set
  • the embodiments described herein consider the goal of collecting experimental data to evaluate such models and improve decisions made in future.
  • the contextual optimisation problem is considered, in which a treatment or treatments must be assigned to each context to receive an outcome. Since treatment is an intervention, a model of the interventional distribution is required, making causal-aware models a common choice.
  • the methods described herein are focussed on the experimental design problem of finding treatments that allow the evaluation of the regret of past actions and to improve decisions made in the future. The aim is to choose actions to test the model, rewards are not directly optimised in the experimental phase.
  • the described methods focus on model testing by evaluating the regret of some past treatments - in the real world, regret is not known because the best achievable outcomes are unknown.
  • the problem of collecting data (exploration phase) to obtain better rewards in later interactions (exploitation phase) is also considered. In line with the real-world scenario, the described methods are focused on design of large batch experiments.
  • An experiment having different possible actions that can be applied to a plurality of experiment entities can be designed in a more principled way by turning to the framework of Bayesian experimental design.
  • the objective function of an experimental design can be defined as the expected information that is gained about the maximum value obtainable for each context point (entity).
  • existing methods generally use a fixed Bayesian model such as a Gaussian Process to solve problems of this form, herein a completely model-agnostic framework is presented that frames this problem as one of implicit likelihood Bayesian experimental design.
  • any simulator model (as long as it satisfies certain requirements) can be used as the underlying model for the given system on which the experiments are to be carried out.
  • the method described herein extends approaches from Bayesian optimisation to the case of contextual optimisation (i.e. where each entity has its own context and different actions can be applied to each entity), without limiting the Bayesian model to only Gaussian processes.
  • This method uses an information-theoretic approach to determine a best action (treatment) for each experiment entity, by optimising an estimated measure of mutual information which uses noise contrastive estimation based on simulated experiment outcomes and test rewards.
  • the method is highly flexible in that it can be applied to various Bayesian models, and not solely to Gaussian processes, and furthermore can be implemented for both continuous and discrete actions (treatments).
  • the method described herein also differs from existing contextual bandit methods in that it is focused on information-theoretic rules that can be applied to a range of simulators, as well as being focused on large-batch acquisition. Furthermore, the present methods support both continuous and discrete treatments, and consider Bayesian models with non-trivial causal graphs. Aspects of the disclosure improve the functioning of a computing device at least by selecting treatments for experiment based on an expected information gain about the rewards available when those treatments are applied to test contexts. This enables an informative set of experiments to be performed, that consumes fewer processing resources than traditional approaches to experiment, such as random treatment assignment, by running fewer experiments overall. Since fewer experiments are run, fewer experimental results (determined by applying experiment treatments to real-life entities) need to be processed to determine a treatment to be applied to the set of test entities.
  • test contexts refers to the contexts to which a set of treatments are applied after the experiment phase is completed.
  • the test context may be a manufacturing apparatus for which a treatment is a set of manufacturing settings which are applied to manufacture real products.
  • Figure 1 shows a schematic block diagram of a method of experimental design using Bayesian optimisation.
  • the goal of this method is to find a substantially optimal set of experiment actions, A, (the ‘experiment’ or ‘treatment’) to be applied to an ‘experiment set’, given the following: a set of at least two experiment contexts C (104), each of which is a feature (attribute), or a set of features for an entity (the entity’s ‘context’) of the experiment set; a set of at least test contexts C*, defining a feature or set of features for each entity of a test set.
  • A the ‘experiment’ or ‘treatment’
  • the notation y k denotes a predicted outcome of applying an action a k (action parameter) to a kth entity of the experiment set with individual context c k .
  • the notation y ⁇ Tfc ⁇ denotes a predicted set of outcomes obtained by applying a set of actions to an experiment set.
  • the notation m k denotes a predicted quantity for a kth entity of a test set with individual context c k .
  • the notation m* ⁇ m k ) denotes a predicted set of quantities obtained from a test set.
  • m(c*) is not known.
  • a goal of the methods described below is to obtain experimental data from possibly different contexts that will help to efficiently infer it, which will in turn lead to choosing better treatments in future.
  • the outcome y is a predicted reward
  • the quantity m* of interest is a maximum obtainable reward
  • the experiment is performed on the experiment set to obtain a set of experiment results.
  • the aim is to design the experiment in a way that maximizes the usefulness of the experimental results in making subsequent predictions about the test set.
  • the method uses a systematic Bayesian optimization approach.
  • Bayesian Experimental Design is a principled information-theoretic framework for designing optimal experiments to learn about model parameters 9. Starting with a prior p(0) and observation likelihood given parameters and designs the optimal design is the one maximising the expected information gain, also equivalent to the mutual information between 9 and y.
  • Mutual information is a function measuring the information shared between random variables 9 and y by computing an expected value of a logarithm of the ratio between two probability distributions p(y ⁇ 9, 0>p(y ⁇ Q, In some examples the mutual information can be written as:
  • the described method is ‘contextual’, in that each entity of the experiment set and test set is characterized by its own context (feature or set of features), and an optimal action (or actions) is determined individually for each entity of the experiment set based on its individual context. That is to say, an action or actions are customized for a given entity taking into account the entity’s individual context (as opposed to e.g., determining one action or a set of actions applied uniformly to all entities). This implies that different actions may be taken for entities with different contexts (in other words, the method is flexible enough to allow different actions to be assigned to different entities in the experimental design phase when those entities have different contexts).
  • the described method uses gradient-based optimisation (e.g. backpropagation) applied to a differentiable loss function (training loss), in contrast to gradient-free or derivative-free optimization techniques that perform function optimization without using analytical gradient information.
  • the loss function is defined from an information-theoretic perspective, so as to maximize predicted information gain between the experimental results (e.g. rewards obtained in performing the actions) and quantities of interest pertaining to the test set (e.g. maximum obtainable rewards).
  • the loss function may be said to encode a predicted information gain between the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical test entity. This is not limited to an information gain between individual experiment outcomes y associated with a set of experiment entities and individual test quantities m* associated with a set of physical test entities; it also includes measures that evaluate an information gain between a plurality of predicted experiment outcomes associated with a plurality of physical experiment entities and a plurality of test quantities associated with a plurality of physical test entities. For example, applying the InfoNCE measure described below and defined in Equation 4, many experiment outcomes are sampled for each physical experiment entity, and many test quantities are sampled for each physical test entity, with an overall information gain being an expectation approximated over all samples.
  • the loss function approximates the information gain using a differentiable and training machine learning (ML) context function, such as a neural network, parameterized by a critic parameter ⁇ >.
  • ML machine learning
  • the loss function is jointly optimized with respect to the set of experiment actions and the critic parameter ⁇ >.
  • a critic parameter may be non-scalar, and possibly high-dimensional, e.g. the critic parameter could be a set of neural network weights.
  • a, c) is not known.
  • a Bayesian parameter that describes different possible joint distributions can be introduced. By sampling different realisations of ip, a Bayesian uncertainty can be computed in possible outcomes y for different contexts c and different actions a, as well as possible values of m(c*).
  • Figure 5 shows a stylised example of a binary treatment case, assuming the outcomes y are caused by the context c and treatments a, as illustrated by the graph of Figure 6.
  • the goal of each experimental design method is to estimate m* — the maximum achievable reward in context c*, denoted by a dashed line 502a, 502b, 502c.
  • Figure 5 shows a plot of the observations for each of an upper confidence bound method (500a), a random testing method (A/B testing in this case, since the treatments are binary) (500b), and the Bayesian experimental design method described herein (500c).
  • a “simulator” refers to a Bayesian model of a joint probability distribution over the set of predicted outcomes y and the set of predicted quantities m* that is parameterized by ip (a world parameter or set of world parameters). Different world models are obtained by sampling different values of ip.
  • the joint probability distribution is conditional (in the Bayesian sense) on the world parameter(s) ip, a given a set of experiment actions A, a given set of experiment contexts C, and a given a set of test contexts C*.
  • the described method is generally applicable, in that it can be applied with any parameterized model of this joint distribution.
  • an “action” a performed on one entity can be a single real-world action (e.g. represented by a scalar action parameter) or a particular combination of real-world actions (e.g. represented by a vector or other non-scalar action parameter).
  • a value/parameter can refer to a single scalar value/parameter or a set of scalar values/parameters.
  • the method can be applied to different types of real-world actions performed of different types of physical entities.
  • Various example contexts are described herein.
  • a set of experiment contexts 104 (C) and a set of test contexts 102 (C*) are provided to a simulator 108.
  • a set of actions A (112) to be applied to the experiment entities is initialised, for example using random initialisation, with the eventual goal of learning an optimal set of values for A (defining a set of optimal experiment actions in the above sense).
  • Actions are defined for each entity and actions can be discrete or continuous.
  • the simulator 108 is a parameterized model that computes a probability of obtaining the set of outcomes y (e.g. rewards) on the experiment set and the set of quantities m* (e.g.
  • the simulator 108 has the form of a computer program or set of computer programs that consumes, as input, a world parameter (or set of parameters) ip (the ‘world state’ or ‘world realisation’), a set of experiment contexts C, a set of test contexts C* and a set of experiment actions A, and computes therefrom a joint probability distribution over observations y and predicted quantities m* of the form p(y, m*
  • the simulator model 108 can be defined according to the given problem, and examples of possible Bayesian models are described further herein.
  • a world parameter distribution p( /i) (106) is defined, from which different world states ip can be sampled (as different values of the parameter i/i).
  • a sampled world state forms part of the input to the simulator model 108.
  • the simulator 108 is executed multiple times for a given (C, C*, A) with different possible world states i/i sampled from the world parameter distribution 106. Each world state i/i provides a different joint probability distribution for a given (C, C*, A).
  • the simulator 108 encodes assumed relationships between the world state i/i and the probable outcomes of actions on entities taking into account their contexts.
  • a set of possible experiment outcomes y and a set of possible test quantities m* are sampled from that joint distribution.
  • y and m* may be sampled independently from separate distributions ), but this is not a requirement.
  • each y, and m- 1 may be sampled as yi ⁇ p(yi
  • the critic function 110 may be implemented as a neural network or other machine learning (ML) model that is trainable via gradient-based optimization.
  • the critic function may have a closed form, such that no training of critic parameters is necessary in order to arrive at an optimal critic.
  • the critic model is a neural network having a set of neural network weights (parameters) (p, the critic model parameters ⁇ /> and the set of experiment actions A are jointly optimised by an optimiser 114 that maximises a loss function 116 (training loss) defined with respect to the critic model 110 to approximate a the information gained about the maximum return on the test entities.
  • An example mathematical form of the loss function is InfoNCE (where ‘NCE’ is noise contrastive estimation) defined below, which provides a lower bound on the information gain between experiment outcomes and the maximum test rewards m* associated with the given set of actions.
  • the critic model 110 is applied to each possible combination of (y, m*) from among the pairs generated by the simulator 108 to generate a set of real numbers from which the loss function can be estimated.
  • the critic model 110 may be a trainable neural network with a set of network weights ⁇ p, where the optimisation of the actions a and parameters ⁇ of the critic model 110 is implemented using gradient descent (or ascent), backpropagating gradients of the loss function L(A, ⁇ >)(l 16) through the network to determine updates for the weights ⁇ p and the actions a.
  • the example loss function InfoNCE encourages the trainable critic model to learn to distinguish jointly sampled pairs (y, m*) generated in the same simulation iteration and therefore relating to the same world realisation from combinations of y,m* that are associated with different world realisations (this concept is known as noise contrastive estimation), while the actions are updated to maximise the InfoNCE which is used as an approximate measure of information gain.
  • the loss function directly represents a measure of information gain
  • the optimisation comprises computing a gradient of the critic with respect to the actions A only, and updating the actions based on the computed gradients.
  • a Gumbel-Softmax relaxation is used in training to compute updates to the actions.
  • the updated actions are input to the simulator 108 to sample a new set of outputs in a next iteration of training, while the updated parameters (f> are implemented in the critic model for the next iteration.
  • the training process continues for a predetermined number of training sets, or until some predefined training condition is met.
  • the updated set of actions A is output as the optimal set of actions to take in the experimental phase, i.e. the set of actions corresponding to the optimal experimental design.
  • the above-described method can be used to solve a variety of real-world contextual optimisation problems.
  • One example problem where the above method can be applied is the manufacture of a set of similar but distinct products, such as bespoke products.
  • the manufacturer wishes to conduct experiments to identify the best manufacturing settings for each product. This can be performed in two stages: a first experiment phase, where data is collected, and a second phase where the data is used to decide which machine settings to use in the manufacture of the products.
  • a physical entity has the form of a particular physical configuration of a machine .
  • the above method can be used to design the experiment phase of this process, i.e. to determine manufacturing settings to apply in the experiment phase that lead to the data collected being as informative as possible about the manufacturing settings and their effects when used in the manufacture of the products.
  • the experiment context set C for this example would be a set of attributes or features describing the products to be manufactured in the experiment phase of the process, while the test context set C* would be the attributes or features of the products used in the actual manufacture of the products.
  • the actions or treatments A are the manufacturing settings, e g. machine settings that can be used to manufacture products in the experiment phase in a way that is informative about the best manufacturing settings to use in the second phase.
  • Another application is clinical trials, where the method may be used to design a clinical trial on physical entities in the form of living beings (humans or animals) so that the trial is maximally useful.
  • the experimental design in the manufacturing example uses a predetermined simulator model to sample pairs of experiment outcomes y and test quantities m*, where an experiment outcome here represents some measure of reward or indication of the quality of the product manufacture according to the manufacturer’s goals. For example, it may consider factors like time taken, cost to manufacture, and quality of the manufactured products.
  • the experiment outcomes y and test quantities m* are sampled in dependence on different world realisations .
  • the critic model 110 processes each combination of y, m*, from the same and different world realisations, and both the parameters of the critic model and the set of experiment actions A to be taken in the experiment phase are updated to optimise a loss function that encourages the critic to discriminate between pairs yj, associated with the same sampled world realisation 1/ ⁇ , and y,, m- pairs where yj and m- are associated with different world realisations ip lt tpj.
  • the updated actions A once training is complete can then be used to define the manufacturing settings used in the experiment phase.
  • Figure 2 shows a flow diagram of the steps taken to determine an optimal experiment design according to the method described above.
  • a sample from the model is (y_obs, m_test) where y_obs corresponds to experiment_context and treatment, while m_test corresponds to test_context.
  • treatment randomly initialise critic weights and biases randomly initialised Training:
  • step in l...num_steps create a batch of independent samples from the model using treatment each element of the batch consists of (y_obs, m_test) that were sampled jointly for each i in l...batch_size for each j in 1... batch size
  • compute critic(y_obs A (i), m_test A (j)) compute loss backpropagate loss to compute gradient of loss w.r.t. treatment, critic update treatment, critic using gradients
  • the critic For a given world state (realization of ip) , one set of experiment outcomes and one set of test outcomes is sampled in the above algorithm.
  • the critic For the case that i is not equal to j, the critic is comparing observations and outcomes corresponding to different world states.
  • the loss is a contrastive loss, such that the critic leams to distinguish between observations and test outcomes belonging to the same world state, and observations and outcomes belonging to different world states. That is, the critic learns to distinguish between samples belonging to the same realization of the world, and samples belonging to different world realizations, simultaneously with optimizing the experiment actions.
  • the distribution p(tp) is received. As mentioned above, various possible distributions can be used, where the model is defined according to the given problem.
  • the experiment context C and test context C* are received at step S204.
  • the set of actions A are initialised at step S206.
  • the actions A may, for example, be initialised to random values.
  • the contexts and actions are provided to the simulator.
  • the model p(ip) is received, this is sampled at step S208 and provided to the simulator.
  • the simulator 108 is configured to generate a sample comprising a set of experiment outcomes y and a set of test quantities m * for the action A .
  • ip,- denotes a particular realization (value) of the p
  • yj, mf denote samples based on ipi. Note that, while the initialisation steps S204, S206 and S208 can occur in any order, or simultaneously, all three steps must be complete before the simulator is run at step S210.
  • a check is performed to determine if a simulation limit has been reached.
  • the limit may, for example, be a predetermined number of samples. If the simulation limit has not yet been reached, step S208 is repeated and a new p is sampled and the simulator is re-run at step S210 to generate a new sampled pair (y,m*). This is repeated until the limit is reached, i.e. until enough samples have been gathered for the next step. Note, although shown sequentially, the multiple sampling S208 and simulation steps S210 may be performed in parallel.
  • the critic model 110 is applied to each combination of the sampled y and m*, i.e.
  • the critic model 110 outputs a real number for each input pair (yj, m , providing a set of sampled outputs based on which the model parameters and actions can be optimised.
  • the loss function 116 is estimated based on the sampled outputs of the critic model 110.
  • the gradients of the loss function are computed with respect to each of the critic model parameters ⁇ > and set of actions A. This computation may be implemented using autodifferentiation software.
  • the actions and critic model parameters ⁇ > are then updated based on the computed gradients at step S220.
  • Steps S208-S220 constitute a single training iteration (training step).
  • An initial training iteration is performed on the initial (e.g. randomized) contexts C,C* and actions A determined at steps S204-S206.
  • step S222 it is determined whether a training limit has been reached. This may be when a certain number of training steps (iterations) have been completed, or some other termination (e.g. convergence) condition is satisfied. If the limit has not been reached, the simulation cycle of steps S208 and S210 are repeated with the updated actions A, and steps S214-S220 are repeated with updated critic model parameters ⁇ > as part of another training step, with this process being repeated until the training limit has been reached (S222). Once the training limit is reached, the final set of actions A are output as the estimated optimal experimental design.
  • Figure 3 is a high-level block diagram of the method described above with reference to Figures 1 and 2.
  • the simulator 108 takes as inputs unobservable parameters (i.e. the parameters i/i of different world realisations sampled from the model p( ), observable context C (i.e. the experiment context set 104), observable test context C* (i.e. the test context set), and the design/treatment 112 (i.e. set of actions A).
  • the simulator function takes the parameters (which are fixed but unknown), contexts (which are given) and actions (which can be selected by a user) and returns a set of observations y and quantities m* of interest (e.g. the maximum possible reward for the given test context). These observations and quantities represent some properties of the phenomenon being modelled.
  • Each run of the simulator samples a new world realisation, such that each generated pair of experiment observations 306 and test quantities 304 are sampled conditional on a respective world realisation.
  • the critic model (l ⁇ ) 110 processes these samples from the simulator, namely observations and quantities, to return a real -valued scalar.
  • the critic is constructed in a way that it forms a lower bound on the expected information gain between observations and quantities of interest (InfoNCE lower bound), and the critic model can be optimised to make this lower bound as tight as possible (i.e. as close as possible to the actual information gain) for a given class of functions.
  • the critic acts as a feedback loop for choosing better designs.
  • the critic and the design are optimised jointly in order to estimate the information gained about the quantity of interest and choose the optimal design to maximise that information.
  • the InfoNCE lower bound is a contrastive measure which when optimised encourages the critic model to distinguish pairs (y, m*) associated with the same world realisation ip from combinations y, in* associated with different world realisations ip.
  • InfoNCE is used as a loss function £, and a set of gradients of the loss function £ are computed with respect to the parameters (p of the critic model and with respect to the actions A, with the critic parameters and the actions being updated based on the computed gradients as shown by the arrow directed to the design/treatment 112 in Figure 3.
  • the design/treatment 112 (i.e. an updated set of actions) is chosen in a way that is most informative about the quantity of interest associated with the test context.
  • FIG. 4 is a schematic block diagram of an example computer system on which the method describe above can be implemented.
  • the computer 400 comprises memory 402 and a CPU 404.
  • a computer program 410 to implement the above-described method is stored on the memory and the executable instructions of this program are read from the memory 402 and executed by the processor 404.
  • the inputs 406 to the computer system could include, for example, the simulation model 108, the experiment and test contexts C, C*, an initial set of experiment actions A, the critic model 110 including any initial critic parameters and a model of the world state p (ip ⁇ ) . These may be input, for example by a user via a user interface, or alternatively these may be held in an external memory device, or other computer system, and output to the computer system 400.
  • the computer system 400 receives the inputs and processes the data by executing the computer program 410 which implements the algorithm described herein to iteratively update the experiment actions A.
  • this set is provided as an output 408 of the computer system.
  • the output may be provided to a user via a user interface such that the user can configure the real -world physical system to implement the given actions.
  • the actions may be output provided directly to a computer system or other type of controller that can implement the actions in the real-world system.
  • the optimal actions may be output to a computer system that controls the settings of the machines so as to implement the experiment settings that have been determined as optimal in an experiment phase.
  • the output 408 may, for example, take the form of a human-readable design specification.
  • computer-readable output(s) e.g. the final value(s) of the action parameter(s) as determined in the final training iteration
  • a more user-friendly form e g. comprising natural language instructions and/or diagram(s) detailing the final experiment design).
  • a final set of actions A may be conveyed to a user via a suitable user interface, such as a graphical user interface rendered on a display device or devices, and/or via another form of output device or devices (in e.g., visual, audible and/or tactile form etc.).
  • the final set of actions A may be converted to a more-readily human interpretable form for this purpose (such as a natural language description, diagrammatic form or any other human- interpretable form).
  • the user (where the terminology includes a group of users or team) may then carry out the actions A in the real-world, in order to collect maximally-informative experimental results that can then be utilized.
  • the output 408 can take any form such as an image or images rendered on a display (or displays) a generated file, such as a document, that may be rendered visually; or a non-visual output (e.g. audio output).
  • An experiment design more generally, refers to any form of data or information conveying an experiment action (or actions) and an experiment entity (or entities) in respect of which the experiment action(s) is/are to be performed.
  • An experiment design may be said to be based on an action parameter, and in that case the experiment design may be directly or indirectly based on that action parameter.
  • an experiment design that is directly based on a final action parameter determined in a final training iteration is also indirectly based on any initial or intermediate action parameter(s) used in determining the final action parameter, and may therefore said to be based on any one or more of those initial, intermediate or final action parameters.
  • the computer system of Figure 4 may in practice be provided by a single chip or integrated circuit or plural chips or integrated circuits, optionally provided as a chipset, an application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), digital signal processor (DSP), graphics processing units (GPUs), etc.
  • the chip or chips may comprise circuitry (as well as possibly firmware) for embodying at least one or more of a data processor or processors, a digital signal processor or processors, baseband circuitry and radio frequency circuitry, which are configurable so as to operate in accordance with the exemplary embodiments.
  • the exemplary embodiments may be implemented at least in part by computer software stored in non-transitory memory and executable by the processor, or by hardware, or by a combination of tangibly stored software and hardware (and tangibly stored firmware).
  • Some aspects of the embodiments described herein with reference to the drawings comprise computer processes performed in processing systems or processors. Some aspects also extend to computer programs, particularly computer programs on or in a carrier, adapted for putting the invention into practice.
  • the program may be in the form of non-transitory source code, object code, a code intermediate source and object code such as in partially compiled form, or in any other non-transitory form suitable for use in the implementation of processes according to the invention.
  • the carrier may be any entity or device capable of carrying the program.
  • the carrier may comprise a storage medium, such as a solid-state drive (SSD) or other semiconductor-based RAM; a ROM, for example a CD ROM or a semiconductor ROM; a magnetic recording medium, for example a floppy disk or hard disk; optical memory devices in general; etc.
  • SSD solid-state drive
  • ROM read-only memory
  • magnetic recording medium for example a floppy disk or hard disk
  • optical memory devices in general etc.
  • a hard disk and non-volatile semiconductor memory e.g. a solid-state drive or SSD.
  • the invention also extends to computer programs, particularly computer programs on or in a carrier, adapted for putting the invention into practice.
  • the program may be in the form of non-transitory source code, object code, a code intermediate source and object code such as in partially compiled form, or in any other non-transitory form suitable for use in the implementation of processes according to the invention.
  • the carrier may be any entity or device capable of carrying the program.
  • the carrier may comprise a storage medium, such as a solid-state drive (SSD) or other semiconductor-based RAM; a ROM, for example a CD ROM or a semiconductor ROM; a magnetic recording medium, for example a floppy disk or hard disk; optical memory devices in general; etc.
  • SSD solid-state drive
  • ROM read-only memory
  • magnetic recording medium for example a floppy disk or hard disk
  • optical memory devices in general etc.
  • the methods described herein consider a contextual optimisation problem with treatment a, reward y, and context c.
  • the context c can be considered as the set of relevant but unchangeable attributes, and a can be considered as a set of actions that can be applied in each context c.
  • the context c would be the information available about the entity that cannot be directly acted upon such as fixed attributes or historical observations, a would be set of actions that could be applied.
  • A is designed to maximise expected information gain (EIG) between y and m* conditional on the contexts C and C*.
  • EIG expected information gain
  • the expected information gain or mutual information, is an expectation value of the log of a ratio between a joint probability distribution of two random variables and the individual probability distributions for each random variables.
  • the expected information gain can be written as:
  • the objective (3) is doubly intractable meaning that its optimization, or even evaluation for a fixed value of A, constitutes a major computational challenge.
  • the problem is made harder by the fact that the likelihoods in the expression inside the expectation are implicit, i.e. not available analytically. Therefore, one typically relies on non-scalable gradient-free optimisation techniques, such as Bayesian optimisation.
  • the methods described herein focus on gradient-based approaches for contextual optimisation, where such methods have recently been developed for batch experimentation for parameter learning rather than contextual optimisation.
  • the InfoNCE bound can be adapted to contextual optimisation setting.
  • the InfoNCE bound is defined as follows:
  • the critic U can be represented by a neural network with trainable parameters ⁇ p.
  • the actions A are continuous a pathwise gradient estimator for is readily available.
  • stochastic gradient ascent can be applied to optimise the objective (4).
  • Algorithm 1 provides a description of the method. The training stage of Algorithm 1 is described in pseudocode above, with reference to the steps of Figure 2.
  • Figure 7A provides an example evaluation of different experimental design methods for a set of possible treatments.
  • UMB upper confidence bound
  • plot 702 an upper confidence bound (UCB) method
  • plot 704 a random method
  • plot 706 the observations generated by applying Bayesian experimental design method described herein, shown in plot 706, are associated with the highest expected information gain, thus providing the most information about the best obtainable outcome m* for a given test context c*.
  • Figure 7B shows a plot of mutual information 710, a plot of regret 712 and a plot of root mean square error (RMSE) of m* 714 for each of a set of experimental design methods.
  • the Bayesian experimental design method described herein is shown to have the highest mutual information (716a), and lowest regret (716b) and root mean square error (716c) compared to the random and UCB methods, with the effect being greater for experimental designs of higher dimension.
  • Bayesian model class which describes the most describes the most general Bayesian model that the method can operate on.
  • the model itself could be, e.g., provided or indicated by a user. Different models may be used.
  • the Bayesian model class implements a sample joint' method. class BayesianContextTreatmentModel:
  • Bayesian parameters are denoted by ⁇
  • r) is placed are denoted by ⁇
  • the parameters i comprise a graph G and/or a quantity 0
  • sample joint method is denoted by: def sample J oint( self, treatment, experiment context, test context
  • the sample joint method is performed by sampling from the following joint distribution: where is the max reward at the test context.
  • the sample joint method takes the following arguments:
  • Args treatment: the proposed treatments for each individual in the experiment context experiment_context: the experiment context features. Should have the same length as treatment test_context: the context points at which to evaluate max rewards.
  • the sample joint returns the following:
  • the joint sampling may be implemented as follows: sample parameters i
  • ImplicitMutuallnformation An implicit mutual information class is also defined: class ImplicitMutuallnformation:
  • the experimental design method maximizes the mutual information between an outcome y and a quantity the experiment designer wishes to gain information about, denoted by 0, under a design a. Mathematically, this may be expressed as:
  • An initialization method may be defined as follows: II II II def init (self, model, critic, batch_size):
  • Args model: a model to produce joint samples.
  • critic a function taking y, 0 and returning a number.
  • the initialization method takes three arguments: a model that produces joint samples, a critic model, and a match size.
  • experiment context set of entities to take part in experiment
  • test_context set of entities to evaluate performance on at the end model
  • critic Critic(experiment context, shape, test context. shape)
  • loss InfoNCE(model, critic, 128)
  • optimal treatment loss.train(10000, experiment_context, test_context)
  • This uses a batch size of 128, and a steps range of 100. These are purely illustrative, and different values may be used.
  • Computer readable media may include computer storage media.
  • Computer storage media may include volatile and nonvolatile, removable and nonremovable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules.
  • the system memory 1204, the removable storage device 1209, and the non-removable storage device 1210 are all computer storage media examples (e.g., memory storage).
  • Computer storage media may include RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the computing device 1200. Any such computer storage media may be part of the computing device 1200.
  • Computer storage media does not include a carrier wave or other propagated or modulated data signal.
  • Communication media may be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media.
  • modulated data signal may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal.
  • communication media may include wired media such as a wired network or direct wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
  • RF radio frequency
  • a first aspect herein provides a computer-implemented method comprising: receiving, for each physical experiment entity of a plurality of physical experiment entities, a context associated therewith that individually characterizes the physical experiment entity; receiving, for each physical test entity of a plurality of physical test entities, a context associated therewith that individually characterizes the physical test entity; computing, for each physical experiment entity, an initial value of an action parameter individually associated with the physical experiment entity; computing in each training iteration of a sequence of training iterations an updated value of the action parameter of each physical experiment entity, the sequence of training iterations including: an initial training iteration based on the initial value of the action parameter of each physical experiment, and a subsequent training iteration, based on the updated value of the action parameter of each physical experiment entity computed in the initial training iteration, each training iteration of the sequence of training iterations comprising: sampling for each physical experiment entity a predicted experiment outcome associated therewith and for each physical test entity a predicted test quantity associated therewith from a joint probability distribution based on: the
  • the method may further comprise performing, on each physical experiment entity, a real-world experiment action defined by the updated value of the action parameter associated therewithin as computed in a final training iteration of the sequence of training iterations.
  • the method may comprise evaluating, by a computing device, a real-world test quantity associated with each physical test entity based on an outcome of performing the real-world experiment action on each physical experiment entity.
  • the sequence of training iterations may comprise a plurality of subsequent training iterations, each subsequent training iteration based on the updated value of the action parameter of each physical experiment entity computed in the previous training iteration.
  • the critic model may be parameterised by a critic parameter, the method further comprising: computing an initial value of the critic parameter, wherein the initial training iteration is based on the initial value of the critic parameter; wherein each training iteration of the sequence of training iterations comprises computing, via the gradient-based optimization, an updated value of the critic parameter, and each subsequent training iteration is based on the updated value of the critic parameter computed in the previous training iteration.
  • the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical experiment entity may be sampled based on a world state sampled from a world state distribution.
  • each training iteration multiple world states may be sampled from the world state distribution.
  • a predicted experiment outcome may be sampled for each physical experiment entity and each world state and a predicted test quantity may be sampled for each world state.
  • the method may further comprise outputting, for each physical experiment entity, an indication of a real-world action, as defined by the updated value of the action parameter associated therewith as computed in a final training iteration of the sequence of training iterations
  • the method may further comprise, based on performing the real-world experiment action on each physical experiment entity, determining for each physical test entity a real-world test action individually associated therewith.
  • the method may further comprise performing on each physical test entity the real-world test action individually associated therewith.
  • the predicted experiment outcome may comprise a predicted reward associated with the physical experiment entity
  • the predicted test quantity may comprise a predicted maximum reward associated with the physical test entity
  • the action parameter may be non-scalar.
  • the critic parameter may be non-scalar.
  • the critic parameter may comprise a neural network weight.
  • the method may be applied to determine a real-world experiment action to be performed on each physical experiment entity based on the updated value of the action parameter associated with the physical experiment entity.
  • a second aspect herein provides a computer system comprising: a memory embodying computer- readable instructions; and a processor coupled to the memory and configured to execute the computer-readable instructions, the computer-readable instructions configured to cause the processor to: receive, for each physical test entity of a plurality of physical test entities, a context associated therewith that individually characterizes the physical test entity; receive, for each physical experiment entity of a plurality of physical experiment entities, a context associated therewith that individually characterizes the physical experiment entity; determine, for each physical experiment entity, a first action parameter individually associated with the physical experiment entity; sample a first predicted experiment outcome associated with each physical experiment entity and a predicted test quantity associated with each physical test entity from a first joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the first action parameter of each physical experiment entity; compute a first numerical output using a critic function applied to the first predicted experiment outcome associated with each physical experiment entity and the first predicted test quantity associated with each physical test entity; determine, for each physical experiment entity, a second action parameter
  • the computer-readable instructions may be configured to cause the at least one processor to: sample a third predicted experiment outcome associated with each physical experiment entity and a third predicted test quantity associated with each physical test entity from a third joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the third action parameter of each physical experiment entity; compute a third numerical output using the critic function applied to the third predicted experiment outcome associated with each physical experiment entity and the third predicted test quantity associated with each physical test entity; and determine, for each physical experiment entity, a fourth action parameter individually associated with the physical experiment entity based on the training loss applied to the third numerical output computed using the critic function and the third action parameter of each physical experiment entity, the training loss applied to the third numerical output and the third action parameter encoding a predicted information gain between the third predicted experiment outcome associated with each physical experiment entity and the third predicted test quantity associated with each physical test entity; wherein the experiment design is based on the fourth action parameter.
  • the computer-readable instructions may be configured to cause the at least one processor to output the experiment design via a graphical user interface associated with the computer system.
  • the computer-readable instructions may be configured to cause the at least one processor to: compute a first critic parameter, wherein the first numerical output is computed using the critic function applied to the first predicted experiment outcome associated with each physical experiment entity, the first predicted test quantity associated with each physical test entity, and the first critic parameter; compute a second critic parameter based on the training loss applied to the first numerical output and the second action parameter of each physical experiment entity, wherein the second numerical output is computed using the critic function applied to the second predicted experiment outcome associated with each physical experiment entity, the second predicted test quantity associated with each physical test entity, and the second critic parameter.
  • a further aspect herein provides computer-readable storage media embodying computer-readable instructions configured, when executed on a computer processor, to cause the computer processor to carry out operations comprising: computing an initial value of a critic parameter; computing, for each physical experiment entity of a plurality of experimental entities, an initial value of an action parameter individually associated with the physical experiment entity; computing in each training iteration of a sequence of training iterations an updated value of the critic parameter and an updated value of the action parameter of each physical experiment entity, the sequence of training iterations including: an initial training iteration based on the initial value of the critic parameter and the initial value of the action parameter of each physical experiment, and a subsequent training iteration based on the updated value of the action parameter of each physical experiment entity computed in the initial training iteration, each training iteration of the sequence of training iterations comprising: sampling a plurality of predicted experiment outcomes associated with the plurality of physical experiment entities and a plurality of predicted test quantities associated with a plurality of physical test entities from a joint probability distribution based on: a context

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Pure & Applied Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Algebra (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An experiment design is determined for a plurality of physical experiment entities, based on a training loss that is dependent on a critic function and an action parameter individually associated with each physical experiment entity, with the aim of increasing (e.g., optimizing) information gain with respect to a plurality of test entities. The training loss encodes a predicted information gain between a predicted experiment outcome and a predicted test quantity. The predicted experiment outcome associated therewith is sampled from a joint probability distribution based on an entity context. A numerical output is computed using the critic function applied to the predicted experiment outcome and the predicted test quantity.

Description

EFFICIENT COMPUTER-IMPLEMENTED REAL-WORLD TESTING OF CAUSAL INFERENCE MODELS
TECHNICAL FIELD
The present disclosure pertains to computer-implemented methods of testing causal inference models through real-world experiments, and to computer hardware and programs for implementing the same.
BACKGROUND
A standard experimental design procedure is random treatment assignment, in which random actions are applied to different context members (e g. physical entities on which the experiment is run). For a binary treatment, this corresponds to A/B testing. However, this naive approach has both practical and conceptual drawbacks. The practical drawback of this approach is that involves applying many sub-optimal actions, meaning that the opportunity cost of experimentation becomes high. The aim of an experiment may be to learn about the best possible return for each context member, so gathering information about actions which are known a priori to be sub- optimal is not a good use of experimental resources.
SUMMARY
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Nor is the claimed subject matter limited to implementations that solve any or all of the disadvantages noted herein.
An experiment design is determined for a plurality of physical experiment entities, based on a training loss that is dependent on a critic function and an action parameter individually associated with each physical experiment entity, with the aim of increasing (e.g., optimizing) information gain with respect to a plurality of test entities. The training loss encodes a predicted information gain between a predicted experiment outcome and a predicted test quantity. The predicted experiment outcome associated therewith is sampled from a joint probability distribution based on an entity context. A numerical output is computed using the critic function applied to the predicted experiment outcome and the predicted test quantity.
BRIEF DESCRIPTION OF FIGURES
Certain embodiments of the subject matter will now be described by way of example only, with reference to the figures, in which:
Figure 1 shows a schematic diagram of a Bayesian experimental design method;
Figure 2 is a flow chart showing the steps of an example experimental design method; Figure 3 shows a schematic block diagram of an example Bayesian experimental design method; Figure 4 shows a computer system for implementing an example experimental design method.
Figure 5 shows a stylised example of the set up and mechanics of different experimental design methods.
Figure 6 shows a graph representation of the assumed relationship between outcomes, contexts and treatments
Figure 7A shows an example evaluation of different design methods.
Figure 7B shows results for different experimental design methods.
Any of the above figures may be combined into a single example or embodiment.
DETAILED DESCRIPTION
Herein, a systematic and generally applicable machine learning algorithm for real-world experiment design is provided that increases experiment efficiency, in the sense of increasing the information gain from a given number of experiments performed on a given number of physical entities. The algorithm can be used in many contexts to design and perform real-world experiment on physical entities that are efficient in this sense. The method can be implemented in or applied to many different applications in a variety of fields utilizing real-world experiments on physical entities.
The real-world testing of decisions made using causal machine learning models is an important prerequisite for their successful application. The described embodiments focus on evaluating contextual treatment assignment decisions: these are personalised actions applied to entities, each with their own contextual information, with the aim of maximising a reward. A model-agnostic framework is used for gathering data to evaluate and improve contextual causal decision making through Bayesian Experimental Design (BED). Specifically, the method described herein is used for data-efficient evaluation of regret associated with some actions. Unlike standard approaches, such as A/B testing, this method simultaneously avoids assigning treatments that are known to be very sub-optimal and selects ones that can help improve the model. This is achieved by introducing a suitable contextual information-based objective, which is optimised end-to-end. The method applies to discrete and continuous treatments. Comparing this information-theoretic approach to baselines in several simulation studies demonstrates the efficiency and the superior performance of the approach described herein.
Machine learning models, particularly causal machine learning models, can be used to make real world decisions. The described embodiments use causal models to determine the best action to each apply to each member of a context set (i.e. each entity of a given problem). Rather than using a model directly to make important decisions, it is sensible to test the model by obtaining new, interventional data from an experiment that can help to evaluate and improve the model. In fact, the two requirements are actually two sides of the same coin — in order to correctly evaluate the outcomes of an existing treatment assignment policy, it is required to improve the accuracy of estimates of the best achievable outcome for each member of the context set The embodiments described herein consider the goal of collecting experimental data to evaluate such models and improve decisions made in future.
To formalise the aforementioned goal, the contextual optimisation problem is considered, in which a treatment or treatments must be assigned to each context to receive an outcome. Since treatment is an intervention, a model of the interventional distribution is required, making causal-aware models a common choice. Rather than seeking the treatments with the best rewards, the methods described herein are focussed on the experimental design problem of finding treatments that allow the evaluation of the regret of past actions and to improve decisions made in the future. The aim is to choose actions to test the model, rewards are not directly optimised in the experimental phase. The described methods focus on model testing by evaluating the regret of some past treatments - in the real world, regret is not known because the best achievable outcomes are unknown. The problem of collecting data (exploration phase) to obtain better rewards in later interactions (exploitation phase) is also considered. In line with the real-world scenario, the described methods are focused on design of large batch experiments.
An experiment having different possible actions that can be applied to a plurality of experiment entities (referred to as a set below, where the set contains at least two entities) can be designed in a more principled way by turning to the framework of Bayesian experimental design. The objective function of an experimental design can be defined as the expected information that is gained about the maximum value obtainable for each context point (entity). Whilst existing methods generally use a fixed Bayesian model such as a Gaussian Process to solve problems of this form, herein a completely model-agnostic framework is presented that frames this problem as one of implicit likelihood Bayesian experimental design. The advantage of this approach is that any simulator model (as long as it satisfies certain requirements) can be used as the underlying model for the given system on which the experiments are to be carried out.
The method described herein extends approaches from Bayesian optimisation to the case of contextual optimisation (i.e. where each entity has its own context and different actions can be applied to each entity), without limiting the Bayesian model to only Gaussian processes. This method uses an information-theoretic approach to determine a best action (treatment) for each experiment entity, by optimising an estimated measure of mutual information which uses noise contrastive estimation based on simulated experiment outcomes and test rewards. The method is highly flexible in that it can be applied to various Bayesian models, and not solely to Gaussian processes, and furthermore can be implemented for both continuous and discrete actions (treatments).
The method described herein also differs from existing contextual bandit methods in that it is focused on information-theoretic rules that can be applied to a range of simulators, as well as being focused on large-batch acquisition. Furthermore, the present methods support both continuous and discrete treatments, and consider Bayesian models with non-trivial causal graphs. Aspects of the disclosure improve the functioning of a computing device at least by selecting treatments for experiment based on an expected information gain about the rewards available when those treatments are applied to test contexts. This enables an informative set of experiments to be performed, that consumes fewer processing resources than traditional approaches to experiment, such as random treatment assignment, by running fewer experiments overall. Since fewer experiments are run, fewer experimental results (determined by applying experiment treatments to real-life entities) need to be processed to determine a treatment to be applied to the set of test entities.
The information-theoretic approach described herein enables experiments to be carried out more efficiently, since the experimental design is performed so as to maximise the information gained about ‘test’ contexts during experiments. In contrast to random assignment experiments (e.g. A/B testing in the binary case), the selection of treatments in the experiment phase is directed to treatments that are informative about the ‘best’ rewards for a given test context. This improves both the resources required for running experiments before determining an optimal final treatment to apply to the test contexts, as well as enabling improved treatments to be determined by avoiding known sub-optimal treatments in experiment. Note that ‘test contexts’ as used herein refers to the contexts to which a set of treatments are applied after the experiment phase is completed. For example, in a manufacturing use case, the test context may be a manufacturing apparatus for which a treatment is a set of manufacturing settings which are applied to manufacture real products.
Figure 1 shows a schematic block diagram of a method of experimental design using Bayesian optimisation. The goal of this method is to find a substantially optimal set of experiment actions, A, (the ‘experiment’ or ‘treatment’) to be applied to an ‘experiment set’, given the following: a set of at least two experiment contexts C (104), each of which is a feature (attribute), or a set of features for an entity (the entity’s ‘context’) of the experiment set; a set of at least test contexts C*, defining a feature or set of features for each entity of a test set.
In the following description, the notation yk denotes a predicted outcome of applying an action ak (action parameter) to a kth entity of the experiment set with individual context ck. The notation y ={Tfc} denotes a predicted set of outcomes obtained by applying a set of actions to an experiment set. The notation mk denotes a predicted quantity for a kth entity of a test set with individual context ck. The notation m* = {mk) denotes a predicted set of quantities obtained from a test set.
The ‘k’ subscript is omitted for conciseness where the meaning is clear from the context.
The expected regret of performing an action a* in a context of interest c* is a function of the best obtainable outcome m(c*) for a context c* and the expected value of an outcome y given the action a* and context c*. In some examples, this is represented as: (1)
Figure imgf000007_0003
where m(c*) = max E[y|a*, c*] is the best obtainable outcome for context c*. The primary a obstacle to evaluating the regret in the real world is that m(c*) is not known. A goal of the methods described below is to obtain experimental data from possibly different contexts that will help to efficiently infer it, which will in turn lead to choosing better treatments in future.
In the examples below, the outcome y is a predicted reward, and the quantity m* of interest is a maximum obtainable reward.
The experiment is performed on the experiment set to obtain a set of experiment results. The aim is to design the experiment in a way that maximizes the usefulness of the experimental results in making subsequent predictions about the test set. The method uses a systematic Bayesian optimization approach.
Bayesian Experimental Design (BED) is a principled information-theoretic framework for designing optimal experiments to learn about model parameters 9. Starting with a prior p(0) and observation likelihood given parameters and designs
Figure imgf000007_0001
the optimal design is the one maximising the expected information gain, also equivalent to the mutual information between 9 and y. Mutual information is a function measuring the information shared between random variables 9 and y by computing an expected value of a logarithm of the ratio between two probability distributions p(y\9, 0>p(y\Q, In some examples the mutual information can be written as:
Figure imgf000007_0002
The described method is ‘contextual’, in that each entity of the experiment set and test set is characterized by its own context (feature or set of features), and an optimal action (or actions) is determined individually for each entity of the experiment set based on its individual context. That is to say, an action or actions are customized for a given entity taking into account the entity’s individual context (as opposed to e.g., determining one action or a set of actions applied uniformly to all entities). This implies that different actions may be taken for entities with different contexts (in other words, the method is flexible enough to allow different actions to be assigned to different entities in the experimental design phase when those entities have different contexts). The described method uses gradient-based optimisation (e.g. backpropagation) applied to a differentiable loss function (training loss), in contrast to gradient-free or derivative-free optimization techniques that perform function optimization without using analytical gradient information.
The loss function is defined from an information-theoretic perspective, so as to maximize predicted information gain between the experimental results (e.g. rewards obtained in performing the actions) and quantities of interest pertaining to the test set (e.g. maximum obtainable rewards). The loss function may be said to encode a predicted information gain between the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical test entity. This is not limited to an information gain between individual experiment outcomes y associated with a set of experiment entities and individual test quantities m* associated with a set of physical test entities; it also includes measures that evaluate an information gain between a plurality of predicted experiment outcomes associated with a plurality of physical experiment entities and a plurality of test quantities associated with a plurality of physical test entities. For example, applying the InfoNCE measure described below and defined in Equation 4, many experiment outcomes are sampled for each physical experiment entity, and many test quantities are sampled for each physical test entity, with an overall information gain being an expectation approximated over all samples.
To make the gradient-based optimization computationally tractable, the loss function approximates the information gain using a differentiable and training machine learning (ML) context function, such as a neural network, parameterized by a critic parameter < >. The loss function is jointly optimized with respect to the set of experiment actions and the critic parameter < >. Note that a critic parameter may be non-scalar, and possibly high-dimensional, e.g. the critic parameter could be a set of neural network weights.
In general, the true interventional distribution p(y|a, c) is not known. A Bayesian parameter that describes different possible joint distributions can be introduced. By sampling different realisations of ip, a Bayesian uncertainty can be computed in possible outcomes y for different contexts c and different actions a, as well as possible values of m(c*).
Figure 5 shows a stylised example of a binary treatment case, assuming the outcomes y are caused by the context c and treatments a, as illustrated by the graph of Figure 6. Given a realisation of ip, the reward is y = /^(a, c) — a simple deterministic quadratic function of c and a; similarly, given ip, the max-value m(c*) is a deterministic function of c*. The goal of each experimental design method is to estimate m* — the maximum achievable reward in context c*, denoted by a dashed line 502a, 502b, 502c. To do this, a batch of three experiments in contexts clt c2, c3, denoted by dashed lines 504a, 504b, 504c can be performed. Figure 5 shows a plot of the observations for each of an upper confidence bound method (500a), a random testing method (A/B testing in this case, since the treatments are binary) (500b), and the Bayesian experimental design method described herein (500c).
A “simulator” refers to a Bayesian model of a joint probability distribution over the set of predicted outcomes y and the set of predicted quantities m* that is parameterized by ip (a world parameter or set of world parameters). Different world models are obtained by sampling different values of ip. The joint probability distribution is conditional (in the Bayesian sense) on the world parameter(s) ip, a given a set of experiment actions A, a given set of experiment contexts C, and a given a set of test contexts C*. The described method is generally applicable, in that it can be applied with any parameterized model of this joint distribution.
Note that an “action” a performed on one entity can be a single real-world action (e.g. represented by a scalar action parameter) or a particular combination of real-world actions (e.g. represented by a vector or other non-scalar action parameter).
In the following description, the terms “value” and “parameter” are used, noting values/parameters could be scalar or non-scalar (e.g. vector). Thus, a value/parameter can refer to a single scalar value/parameter or a set of scalar values/parameters.
The method can be applied to different types of real-world actions performed of different types of physical entities. Various example contexts are described herein.
As shown in Figure 1, a set of experiment contexts 104 (C) and a set of test contexts 102 (C*) are provided to a simulator 108. A set of actions A (112) to be applied to the experiment entities is initialised, for example using random initialisation, with the eventual goal of learning an optimal set of values for A (defining a set of optimal experiment actions in the above sense). Actions are defined for each entity and actions can be discrete or continuous. The simulator 108 is a parameterized model that computes a probability of obtaining the set of outcomes y (e.g. rewards) on the experiment set and the set of quantities m* (e.g. maximum possible rewards) on the test set given the experiment contexts C, the test contexts C*, the set of actions A and the world state ip. The simulator 108 has the form of a computer program or set of computer programs that consumes, as input, a world parameter (or set of parameters) ip (the ‘world state’ or ‘world realisation’), a set of experiment contexts C, a set of test contexts C* and a set of experiment actions A, and computes therefrom a joint probability distribution over observations y and predicted quantities m* of the form p(y, m*|C, C*, A,i/>) .
The simulator model 108 can be defined according to the given problem, and examples of possible Bayesian models are described further herein.
The state of the world is unknown. Therefore, a world parameter distribution p( /i) (106) is defined, from which different world states ip can be sampled (as different values of the parameter i/i). A sampled world state forms part of the input to the simulator model 108.
The simulator 108 is executed multiple times for a given (C, C*, A) with different possible world states i/i sampled from the world parameter distribution 106. Each world state i/i provides a different joint probability distribution for a given (C, C*, A). The simulator 108 encodes assumed relationships between the world state i/i and the probable outcomes of actions on entities taking into account their contexts.
Having sampled a world state i/i to obtain a joint probability distribution, a
Figure imgf000010_0005
set of possible experiment outcomes y and a set of possible test quantities m* are sampled from that joint distribution. In some implementations, y and m* may be sampled independently from separate distributions
Figure imgf000010_0004
), but this is not a requirement. In some embodiments, given a realization of i/>, each y, and m-1 may be sampled as yi~p(yi |aj, Cj,40 and mJ*~p(m(|Cp i|j), allowing each entity to be considered individually (note, this assumes a given realization of the world state ip; in general, the joint distribution for an unknown world state, p(y, m*|C, C*, A), cannot be decomposed in this way because (y, m*) are not generally independent if the state of the world is unknown). Note that the notation ‘yf here denotes a vector of outcomes for the set of entities k at a given sampling step i, and similarly
Figure imgf000010_0001
denotes a vector of test quantities {mj fc} for the set of entities k at a given sampling step j.
The goal is to find the actions applied to the experiment entities that maximise the information gained about the maximum return m* on the test entities. To approximately maximise this quantity, a parameterized critic function
Figure imgf000010_0002
(110) is defined that outputs a real-valued scalar z =
Figure imgf000010_0003
for a given pair (y,m*) - that is, a given set of sampled outcomes y on the experiment set and a given set of sampled test quantities m* for the test set - and a given set of critic parameters (p. The critic function 110 may be implemented as a neural network or other machine learning (ML) model that is trainable via gradient-based optimization. Alternatively, the critic function may have a closed form, such that no training of critic parameters is necessary in order to arrive at an optimal critic.
For the trainable case, for example where the critic model is a neural network having a set of neural network weights (parameters) (p, the critic model parameters </> and the set of experiment actions A are jointly optimised by an optimiser 114 that maximises a loss function 116 (training loss) defined with respect to the critic model 110 to approximate a the information gained about the maximum return on the test entities. An example mathematical form of the loss function is InfoNCE (where ‘NCE’ is noise contrastive estimation) defined below, which provides a lower bound on the information gain between experiment outcomes and the maximum test rewards m* associated with the given set of actions.
The critic model 110 is applied to each possible combination of (y, m*) from among the pairs generated by the simulator 108 to generate a set of real numbers from which the loss function can be estimated. The critic model 110 may be a trainable neural network with a set of network weights <p, where the optimisation of the actions a and parameters < of the critic model 110 is implemented using gradient descent (or ascent), backpropagating gradients of the loss function L(A, < >)(l 16) through the network to determine updates for the weights <p and the actions a. The example loss function InfoNCE encourages the trainable critic model to learn to distinguish jointly sampled pairs (y, m*) generated in the same simulation iteration and therefore relating to the same world realisation from combinations of y,m* that are associated with different world realisations (this concept is known as noise contrastive estimation), while the actions are updated to maximise the InfoNCE which is used as an approximate measure of information gain.
In the non-trainable case, i.e. where an optimal critic model is known and applied directly, no critic parameter optimisation is performed. Instead the loss function directly represents a measure of information gain, and the optimisation comprises computing a gradient of the critic with respect to the actions A only, and updating the actions based on the computed gradients.
For a set of actions A taking discrete values, a Gumbel-Softmax relaxation is used in training to compute updates to the actions.
The updated actions are input to the simulator 108 to sample a new set of outputs in a next iteration of training, while the updated parameters (f> are implemented in the critic model for the next iteration. The training process continues for a predetermined number of training sets, or until some predefined training condition is met. Once trained, the updated set of actions A is output as the optimal set of actions to take in the experimental phase, i.e. the set of actions corresponding to the optimal experimental design.
The above-described method can be used to solve a variety of real-world contextual optimisation problems. One example problem where the above method can be applied is the manufacture of a set of similar but distinct products, such as bespoke products. The manufacturer wishes to conduct experiments to identify the best manufacturing settings for each product. This can be performed in two stages: a first experiment phase, where data is collected, and a second phase where the data is used to decide which machine settings to use in the manufacture of the products. In this case, a physical entity has the form of a particular physical configuration of a machine . The above method can be used to design the experiment phase of this process, i.e. to determine manufacturing settings to apply in the experiment phase that lead to the data collected being as informative as possible about the manufacturing settings and their effects when used in the manufacture of the products. The experiment context set C for this example would be a set of attributes or features describing the products to be manufactured in the experiment phase of the process, while the test context set C* would be the attributes or features of the products used in the actual manufacture of the products. The actions or treatments A are the manufacturing settings, e g. machine settings that can be used to manufacture products in the experiment phase in a way that is informative about the best manufacturing settings to use in the second phase.
Another application is clinical trials, where the method may be used to design a clinical trial on physical entities in the form of living beings (humans or animals) so that the trial is maximally useful.
The experimental design in the manufacturing example uses a predetermined simulator model to sample pairs of experiment outcomes y and test quantities m*, where an experiment outcome here represents some measure of reward or indication of the quality of the product manufacture according to the manufacturer’s goals. For example, it may consider factors like time taken, cost to manufacture, and quality of the manufactured products. As described above, the experiment outcomes y and test quantities m* are sampled in dependence on different world realisations . The critic model 110 processes each combination of y, m*, from the same and different world realisations, and both the parameters of the critic model and the set of experiment actions A to be taken in the experiment phase are updated to optimise a loss function that encourages the critic to discriminate between pairs yj,
Figure imgf000012_0001
associated with the same sampled world realisation 1/^, and y,, m- pairs where yj and m- are associated with different world realisations iplt tpj. The updated actions A once training is complete can then be used to define the manufacturing settings used in the experiment phase.
Figure 2 shows a flow diagram of the steps taken to determine an optimal experiment design according to the method described above.
The method of Figure 2 is summarized in pseudo code as follows, whilst Table 1 below relates the syntax used in the pseudocode to the mathematical notation used in the description: Prerequisites: experiment_context / c_obs = set of entities to take part in experiment / their individual contexts test_context / c_test = set of entities to evaluate performance on at the end / their individual contexts simulator model = a Bayesian model that allows joint samples to be taken p(t|r)p(y, m | c_obs, a_obs, c_test, i|r) where m(r|r, c) = max_a E [y | c, do(a), i|r]
A sample from the model is (y_obs, m_test) where y_obs corresponds to experiment_context and treatment, while m_test corresponds to test_context. critic = a function, e g., neural network, from (y_obs, m_test) to scalar loss = e.g. InfoNCE loss function
Initialization: treatment = randomly initialise critic weights and biases randomly initialised Training:
For step in l...num_steps: create a batch of independent samples from the model using treatment each element of the batch consists of (y_obs, m_test) that were sampled jointly for each i in l...batch_size for each j in 1... batch size compute critic(y_obsA(i), m_testA(j)) compute loss backpropagate loss to compute gradient of loss w.r.t. treatment, critic update treatment, critic using gradients
Figure imgf000013_0001
Figure imgf000014_0001
Table 1
For a given world state (realization of ip) , one set of experiment outcomes and one set of test outcomes is sampled in the above algorithm. For the case i=j , the critic is applied to experiment observations and test quantities corresponding to the same realization of the world (the same value of ip). For the case that i is not equal to j, the critic is comparing observations and outcomes corresponding to different world states. The loss is a contrastive loss, such that the critic leams to distinguish between observations and test outcomes belonging to the same world state, and observations and outcomes belonging to different world states. That is, the critic learns to distinguish between samples belonging to the same realization of the world, and samples belonging to different world realizations, simultaneously with optimizing the experiment actions. Referring to Figure 2, at step S202, the distribution p(tp) is received. As mentioned above, various possible distributions can be used, where the model is defined according to the given problem. The experiment context C and test context C* are received at step S204.
The set of actions A are initialised at step S206. The actions A may, for example, be initialised to random values. The contexts and actions are provided to the simulator. Once the model p(ip) is received, this is sampled at step S208 and provided to the simulator. At step S210, the simulator 108 is configured to generate a sample comprising a set of experiment outcomes y and a set of test quantities m * for the action A . In the following, ip,- denotes a particular realization (value) of the p, and yj, mf denote samples based on ipi. Note that, while the initialisation steps S204, S206 and S208 can occur in any order, or simultaneously, all three steps must be complete before the simulator is run at step S210.
At step S212, a check is performed to determine if a simulation limit has been reached. The limit may, for example, be a predetermined number of samples. If the simulation limit has not yet been reached, step S208 is repeated and a new p is sampled and the simulator is re-run at step S210 to generate a new sampled pair (y,m*). This is repeated until the limit is reached, i.e. until enough samples have been gathered for the next step. Note, although shown sequentially, the multiple sampling S208 and simulation steps S210 may be performed in parallel. At step S214, the critic model 110 is applied to each combination of the sampled y and m*, i.e. for
Figure imgf000015_0001
and m-J denote, respectively, a sampled observation for experiment entity k and world state i t and a sampled test outcome for test entity I and world state i )j. As mentioned above, the critic model 110 outputs a real number for each input pair (yj, m , providing a set of sampled outputs based on which the model parameters and actions can be optimised.
At step S216, the loss function 116 is estimated based on the sampled outputs of the critic model 110. At step S218, the gradients of the loss function are computed with respect to each of the critic model parameters < > and set of actions A. This computation may be implemented using autodifferentiation software. The actions and critic model parameters < > are then updated based on the computed gradients at step S220.
Steps S208-S220 constitute a single training iteration (training step). An initial training iteration is performed on the initial (e.g. randomized) contexts C,C* and actions A determined at steps S204-S206.
At step S222 it is determined whether a training limit has been reached. This may be when a certain number of training steps (iterations) have been completed, or some other termination (e.g. convergence) condition is satisfied. If the limit has not been reached, the simulation cycle of steps S208 and S210 are repeated with the updated actions A, and steps S214-S220 are repeated with updated critic model parameters < > as part of another training step, with this process being repeated until the training limit has been reached (S222). Once the training limit is reached, the final set of actions A are output as the estimated optimal experimental design.
Figure 3 is a high-level block diagram of the method described above with reference to Figures 1 and 2. The simulator 108 takes as inputs unobservable parameters (i.e. the parameters i/i of different world realisations sampled from the model p( ), observable context C (i.e. the experiment context set 104), observable test context C* (i.e. the test context set), and the design/treatment 112 (i.e. set of actions A). The simulator function takes the parameters (which are fixed but unknown), contexts (which are given) and actions (which can be selected by a user) and returns a set of observations y and quantities m* of interest (e.g. the maximum possible reward for the given test context). These observations and quantities represent some properties of the phenomenon being modelled. Each run of the simulator samples a new world realisation, such that each generated pair of experiment observations 306 and test quantities 304 are sampled conditional on a respective world realisation. The critic model (l^) 110 processes these samples from the simulator, namely observations and quantities, to return a real -valued scalar.
The critic is constructed in a way that it forms a lower bound on the expected information gain between observations and quantities of interest (InfoNCE lower bound), and the critic model can be optimised to make this lower bound as tight as possible (i.e. as close as possible to the actual information gain) for a given class of functions. The critic acts as a feedback loop for choosing better designs. Thus, the critic and the design are optimised jointly in order to estimate the information gained about the quantity of interest and choose the optimal design to maximise that information. The InfoNCE lower bound is a contrastive measure which when optimised encourages the critic model to distinguish pairs (y, m*) associated with the same world realisation ip from combinations y, in* associated with different world realisations ip. Where the critic is a trainable model such as a neural network, InfoNCE is used as a loss function £, and a set of gradients of the loss function £ are computed with respect to the parameters (p of the critic model and with respect to the actions A, with the critic parameters and the actions being updated based on the computed gradients as shown by the arrow directed to the design/treatment 112 in Figure 3.
The design/treatment 112 (i.e. an updated set of actions) is chosen in a way that is most informative about the quantity of interest associated with the test context.
Figure 4 is a schematic block diagram of an example computer system on which the method describe above can be implemented. The computer 400 comprises memory 402 and a CPU 404. A computer program 410 to implement the above-described method is stored on the memory and the executable instructions of this program are read from the memory 402 and executed by the processor 404. The inputs 406 to the computer system could include, for example, the simulation model 108, the experiment and test contexts C, C*, an initial set of experiment actions A, the critic model 110 including any initial critic parameters and a model of the world state p (ip~) . These may be input, for example by a user via a user interface, or alternatively these may be held in an external memory device, or other computer system, and output to the computer system 400. The computer system 400 receives the inputs and processes the data by executing the computer program 410 which implements the algorithm described herein to iteratively update the experiment actions A.
Once an optimal set of actions A are determined, this set is provided as an output 408 of the computer system. The output may be provided to a user via a user interface such that the user can configure the real -world physical system to implement the given actions. Alternatively, the actions may be output provided directly to a computer system or other type of controller that can implement the actions in the real-world system. For example, in the manufacturing example described above, the optimal actions may be output to a computer system that controls the settings of the machines so as to implement the experiment settings that have been determined as optimal in an experiment phase. The output 408 may, for example, take the form of a human-readable design specification. In generating the design specification, computer-readable output(s) (e.g. the final value(s) of the action parameter(s) as determined in the final training iteration) may be converted to a more user-friendly form (e g. comprising natural language instructions and/or diagram(s) detailing the final experiment design).
A final set of actions A, as computer in the final training iteration, may be conveyed to a user via a suitable user interface, such as a graphical user interface rendered on a display device or devices, and/or via another form of output device or devices (in e.g., visual, audible and/or tactile form etc.). The final set of actions A may be converted to a more-readily human interpretable form for this purpose (such as a natural language description, diagrammatic form or any other human- interpretable form). The user (where the terminology includes a group of users or team) may then carry out the actions A in the real-world, in order to collect maximally-informative experimental results that can then be utilized. The output 408 can take any form such as an image or images rendered on a display (or displays) a generated file, such as a document, that may be rendered visually; or a non-visual output (e.g. audio output). An experiment design, more generally, refers to any form of data or information conveying an experiment action (or actions) and an experiment entity (or entities) in respect of which the experiment action(s) is/are to be performed. An experiment design may be said to be based on an action parameter, and in that case the experiment design may be directly or indirectly based on that action parameter. For example, an experiment design that is directly based on a final action parameter determined in a final training iteration is also indirectly based on any initial or intermediate action parameter(s) used in determining the final action parameter, and may therefore said to be based on any one or more of those initial, intermediate or final action parameters.
It will be understood that the computer system of Figure 4 may in practice be provided by a single chip or integrated circuit or plural chips or integrated circuits, optionally provided as a chipset, an application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), digital signal processor (DSP), graphics processing units (GPUs), etc. The chip or chips may comprise circuitry (as well as possibly firmware) for embodying at least one or more of a data processor or processors, a digital signal processor or processors, baseband circuitry and radio frequency circuitry, which are configurable so as to operate in accordance with the exemplary embodiments. In this regard, the exemplary embodiments may be implemented at least in part by computer software stored in non-transitory memory and executable by the processor, or by hardware, or by a combination of tangibly stored software and hardware (and tangibly stored firmware).
Some aspects of the embodiments described herein with reference to the drawings comprise computer processes performed in processing systems or processors. Some aspects also extend to computer programs, particularly computer programs on or in a carrier, adapted for putting the invention into practice. The program may be in the form of non-transitory source code, object code, a code intermediate source and object code such as in partially compiled form, or in any other non-transitory form suitable for use in the implementation of processes according to the invention. The carrier may be any entity or device capable of carrying the program. For example, the carrier may comprise a storage medium, such as a solid-state drive (SSD) or other semiconductor-based RAM; a ROM, for example a CD ROM or a semiconductor ROM; a magnetic recording medium, for example a floppy disk or hard disk; optical memory devices in general; etc.
Reference is made herein to data storage for storing data. This may be provided by a single device or by plural devices. Suitable devices include for example a hard disk and non-volatile semiconductor memory (e.g. a solid-state drive or SSD).
Although at least some aspects of the embodiments described herein with reference to the drawings comprise computer processes performed in processing systems or processors, the invention also extends to computer programs, particularly computer programs on or in a carrier, adapted for putting the invention into practice. The program may be in the form of non-transitory source code, object code, a code intermediate source and object code such as in partially compiled form, or in any other non-transitory form suitable for use in the implementation of processes according to the invention. The carrier may be any entity or device capable of carrying the program. For example, the carrier may comprise a storage medium, such as a solid-state drive (SSD) or other semiconductor-based RAM; a ROM, for example a CD ROM or a semiconductor ROM; a magnetic recording medium, for example a floppy disk or hard disk; optical memory devices in general; etc.
Preferred embodiments will now be described in further detail by way of example only.
The methods described herein consider a contextual optimisation problem with treatment a, reward y, and context c. The context c can be considered as the set of relevant but unchangeable attributes, and a can be considered as a set of actions that can be applied in each context c. The context c would be the information available about the entity that cannot be directly acted upon such as fixed attributes or historical observations, a would be set of actions that could be applied. The goal of this method is to efficiently evaluate the regret of a causal decision making process, which translates to estimating the maximum achievable rewards in a set (or a batch) of D* test contexts C* = cj, c^. To this end, an assumption is made that a batch of D experiments can be performed in contexts C = c1, ..., cD. The experimental design problem is to select the treatments A = av ..., aD to apply to C so that the experimental outcomes y = ylz ...,yD are maximally informative about m* = m(cj), ... ,m(cQ*). More formally, A is designed to maximise expected information gain (EIG) between y and m* conditional on the contexts C and C*. As mentioned above, the expected information gain, or mutual information, is an expectation value of the log of a ratio between a joint probability distribution of two random variables and the individual probability distributions for each random variables. For the present example, the expected information gain can be written as:
Figure imgf000019_0001
The objective (3) is doubly intractable meaning that its optimization, or even evaluation for a fixed value of A, constitutes a major computational challenge. The problem is made harder by the fact that the likelihoods in the expression inside the expectation are implicit, i.e. not available analytically. Therefore, one typically relies on non-scalable gradient-free optimisation techniques, such as Bayesian optimisation.
The methods described herein focus on gradient-based approaches for contextual optimisation, where such methods have recently been developed for batch experimentation for parameter learning rather than contextual optimisation. As mentioned above, the InfoNCE bound can be adapted to contextual optimisation setting.
The InfoNCE bound is defined as follows:
For any critic function U y X IR IR and number of contrastive samples L > 1,
Figure imgf000019_0003
The bound is tight for the optimal critic U*(y, irq) = p(y|m*, do(A), C) + c(y) as L -> oo, where c(y) is an arbitrary function depending only on the outcomes y.
As described above, the critic U can be represented by a neural network with trainable parameters <p. When the actions A are continuous a pathwise gradient estimator for
Figure imgf000019_0002
is readily available. In this case stochastic gradient ascent can be applied to optimise the objective (4).
Previous gradient-based Bayesian experimental design has focused on fully-differentiable models. As mentioned above, discrete designs can be handled according to the methods described herein by relaxing the problem and applying Gumbel-Softmax. Given K > 2 possible treatments, a (non-deterministic) policy n is learned with parameters a: (5)
Figure imgf000020_0004
The parameters a and </> are optimised jointly with SGA. Once the policy is trained, the optimal design for experiment d in the batch is ad = argmax(7Td l, ...,7rd K).
Once the objective is optimised, a batch of experiments A is performed to obtain real -world outcomes y, and p(ip\iy), the posterior distribution of the Bayesian model given this observational data, is estimated. The updated model is used to estimate m‘, which can then be used to calculate the regret (1) of a treatment assignment A* for the test contexts of interest C*. Algorithm 1 below provides a description of the method. The training stage of Algorithm 1 is described in pseudocode above, with reference to the steps of Figure 2.
Algorithm 1
Input: Bayesian simulator p(y, m*|do(a), c,
Figure imgf000020_0001
batch D of experimental contexts C, batch D* of test contexts C* , number of contrastive samples L > 1 Output: Optimal treatments A for experimental contexts C
Training stage: while Computational training budget not exceeded do
Sample
Figure imgf000020_0002
Figure imgf000020_0003
end
Deployment stage:
Run a batch of experiments A to obtain real-world observations y and estimate a
Figure imgf000020_0005
p p p\ ) {y }
Use the updated model to get an estimate of m* and evaluate the regret (1) associated with a some treatment assignment A* in contexts C*.
Figure 7A provides an example evaluation of different experimental design methods for a set of possible treatments. In comparison with an upper confidence bound (UCB) method, shown in plot 702, and a random method, shown in plot 704, it is shown that the observations generated by applying Bayesian experimental design method described herein, shown in plot 706, are associated with the highest expected information gain, thus providing the most information about the best obtainable outcome m* for a given test context c*.
Figure 7B shows a plot of mutual information 710, a plot of regret 712 and a plot of root mean square error (RMSE) of m* 714 for each of a set of experimental design methods. The Bayesian experimental design method described herein is shown to have the highest mutual information (716a), and lowest regret (716b) and root mean square error (716c) compared to the random and UCB methods, with the effect being greater for experimental designs of higher dimension.
An example implementation of the method of Figure 2 will now be described. The following description uses pseudocode elements to describe certain software components of the implementation.
A Bayesian model class is provided, which describes the most describes the most general Bayesian model that the method can operate on. The model itself could be, e.g., provided or indicated by a user. Different models may be used. The Bayesian model class implements a sample joint' method. class BayesianContextTreatmentModel:
Bayesian parameters are denoted by <|r A prior is placed on the Bayesian parameters t|r The Bayesian parameters on which a prior p(i|r) is placed are denoted by <|r The parameters i comprise a graph G and/or a quantity 0 The following notation is used
Figure imgf000021_0003
y = <effect_variable> a = <treatment> c = <context>
The sample joint method is denoted by: def sample J oint( self, treatment, experiment context, test context
):
The sample joint method is performed by sampling from the following joint distribution:
Figure imgf000021_0001
where
Figure imgf000021_0002
is the max reward at the test context.
The sample joint method takes the following arguments:
Args: treatment: the proposed treatments for each individual in the experiment context experiment_context: the experiment context features. Should have the same length as treatment test_context: the context points at which to evaluate max rewards.
The sample joint returns the following:
Returns: A tuple (observations, max_rewards)
For a parametric Bayesian model, the joint sampling may be implemented as follows: sample parameters i|r sample observations at experiment context given v|r, experiment context and treatment sample max_rewards at test_context given t|j, test_context
An implicit mutual information class is also defined: class ImplicitMutuallnformation:
The experimental design method maximizes the mutual information between an outcome y and a quantity the experiment designer wishes to gain information about, denoted by 0, under a design a. Mathematically, this may be expressed as:
1(0; y | a) = KL(p(y, 0 | a) || p(y | a)p(0))
= E_{p(y, 0 | a)} [log(p(y, 0 | a)) - log(p(0)p(y | a))]
= E_{p(0) p(y I 0, a)} [log(p(y | 0, a)) - log(p(y | a))], where
P(y I a) = E_{p(0)}[p(y | 0, a)], which is usually unavailable in closed form. To simplify the implementation, it may be appropriate to assumed that the distribution of the quantity of interest is independent of the design: p(0| a) = p(0)
There are a number of ways to approximate 1(0; y | a). The present example implementation does not require the likelihood p(y | 0, a) being analytic, as this implementation uses samples from this distribution.
An initialization method may be defined as follows: II II II def init (self, model, critic, batch_size):
Args: model: a model to produce joint samples. critic: a function taking y, 0 and returning a number. batch_size: number of samples to approximate the expectation. II II II self, model = model self, critic = critic self.batch size = batch size
As can be seen, the initialization method takes three arguments: a model that produces joint samples, a critic model, and a match size. To implement the critic model, a critic class is defined: class Critic: def init (self, shape_x, shape_y): set up network weights with the correct shapes def forward(x, y): a neural network that maps from x, y to a scalar def joint_and _product_scores(batch_x, batch_y): joint_scores = [self.forward(x, y) for x, y in zip(batch_x, batch_y)] product scores = call self.forward on all the other combinations return j oint_scores, product_scores
Model training utilizes an InfoNCE loss: class InfoNCE(ImplicitMutuallnformation) : def loss(self, *args): batch_x, batch_y = [self.model.samplejoint(*args) for > in range(self.batch_size)] joint_scores, product_scores = self critic.joint_and_product_scores(batch_x, batch_y) joint_term = joint_scores.sum() / self.batch_size product_term = (j oint_scores + product_scores).logsumexp(dim=l).mean() loss = product_term - joint_term return loss
A training function incorporating the InfoNCE loss may be defined as follows: def train(self, num_steps_range, experiment_context, test_context): treatment = initialise at random for > in num_steps_range: loss = self. loss(treatm ent, experiment_context, test_context) compute loss gradients with respect to treatment update treatment by taking a gradient step return treatment
Using the above components, an optimal experiment design may then be obtained as follows: experiment context = set of entities to take part in experiment test_context = set of entities to evaluate performance on at the end model = BayesianContextTreatmentModel() critic = Critic(experiment context, shape, test context. shape) loss = InfoNCE(model, critic, 128) optimal treatment = loss.train(10000, experiment_context, test_context)
This uses a batch size of 128, and a steps range of 100. These are purely illustrative, and different values may be used.
The examples described herein are to be understood as illustrative examples of embodiments of the invention. Further embodiments and examples are envisaged. Any feature described in relation to any one example or embodiment may be used alone or in combination with other features. In addition, any feature described in relation to any one example or embodiment may also be used in combination with one or more features of any other of the examples or embodiments, or any combination of any other of the examples or embodiments. Furthermore, equivalents and modifications not described herein may also be employed within the scope of the invention, which is defined in the claims.
The term computer readable media as used herein may include computer storage media. Computer storage media may include volatile and nonvolatile, removable and nonremovable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules. The system memory 1204, the removable storage device 1209, and the non-removable storage device 1210 are all computer storage media examples (e.g., memory storage). Computer storage media may include RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the computing device 1200. Any such computer storage media may be part of the computing device 1200. Computer storage media does not include a carrier wave or other propagated or modulated data signal.
Communication media may be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
A first aspect herein provides a computer-implemented method comprising: receiving, for each physical experiment entity of a plurality of physical experiment entities, a context associated therewith that individually characterizes the physical experiment entity; receiving, for each physical test entity of a plurality of physical test entities, a context associated therewith that individually characterizes the physical test entity; computing, for each physical experiment entity, an initial value of an action parameter individually associated with the physical experiment entity; computing in each training iteration of a sequence of training iterations an updated value of the action parameter of each physical experiment entity, the sequence of training iterations including: an initial training iteration based on the initial value of the action parameter of each physical experiment, and a subsequent training iteration, based on the updated value of the action parameter of each physical experiment entity computed in the initial training iteration, each training iteration of the sequence of training iterations comprising: sampling for each physical experiment entity a predicted experiment outcome associated therewith and for each physical test entity a predicted test quantity associated therewith from a joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the action parameter of each physical experiment entity, computing a numerical output using a critic function applied to the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical test entity, and computing, using the numerical output, the updated value of the action parameter of each physical experiment entity based on a training loss that (i) is dependent on the critic function and the action parameter of each physical experiment entity, and (ii) encodes a predicted information gain between the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical test entity.
The method may further comprise performing, on each physical experiment entity, a real-world experiment action defined by the updated value of the action parameter associated therewithin as computed in a final training iteration of the sequence of training iterations.
The method may comprise evaluating, by a computing device, a real-world test quantity associated with each physical test entity based on an outcome of performing the real-world experiment action on each physical experiment entity.
The sequence of training iterations may comprise a plurality of subsequent training iterations, each subsequent training iteration based on the updated value of the action parameter of each physical experiment entity computed in the previous training iteration.
The critic model may be parameterised by a critic parameter, the method further comprising: computing an initial value of the critic parameter, wherein the initial training iteration is based on the initial value of the critic parameter; wherein each training iteration of the sequence of training iterations comprises computing, via the gradient-based optimization, an updated value of the critic parameter, and each subsequent training iteration is based on the updated value of the critic parameter computed in the previous training iteration.
In each training iteration, the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical experiment entity may be sampled based on a world state sampled from a world state distribution.
In each training iteration, multiple world states may be sampled from the world state distribution. In each training iteration, a predicted experiment outcome may be sampled for each physical experiment entity and each world state and a predicted test quantity may be sampled for each world state.
The method may further comprise outputting, for each physical experiment entity, an indication of a real-world action, as defined by the updated value of the action parameter associated therewith as computed in a final training iteration of the sequence of training iterations
The method may further comprise, based on performing the real-world experiment action on each physical experiment entity, determining for each physical test entity a real-world test action individually associated therewith.
The method may further comprise performing on each physical test entity the real-world test action individually associated therewith.
The predicted experiment outcome may comprise a predicted reward associated with the physical experiment entity, and the predicted test quantity may comprise a predicted maximum reward associated with the physical test entity.
The action parameter may be non-scalar.
The critic parameter may be non-scalar.
The critic parameter may comprise a neural network weight.
The method may be applied to determine a real-world experiment action to be performed on each physical experiment entity based on the updated value of the action parameter associated with the physical experiment entity.
A second aspect herein provides a computer system comprising: a memory embodying computer- readable instructions; and a processor coupled to the memory and configured to execute the computer-readable instructions, the computer-readable instructions configured to cause the processor to: receive, for each physical test entity of a plurality of physical test entities, a context associated therewith that individually characterizes the physical test entity; receive, for each physical experiment entity of a plurality of physical experiment entities, a context associated therewith that individually characterizes the physical experiment entity; determine, for each physical experiment entity, a first action parameter individually associated with the physical experiment entity; sample a first predicted experiment outcome associated with each physical experiment entity and a predicted test quantity associated with each physical test entity from a first joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the first action parameter of each physical experiment entity; compute a first numerical output using a critic function applied to the first predicted experiment outcome associated with each physical experiment entity and the first predicted test quantity associated with each physical test entity; determine, for each physical experiment entity, a second action parameter individually associated with the physical experiment entity based on a training loss applied to the first numerical output computed using the critic function and the first action parameter of each physical experiment entity, the training loss applied to the first numerical output and the first action parameter encoding a predicted information gain between the first predicted experiment outcome associated with each physical experiment entity and the first predicted test quantity associated with each physical test entity; sample a second predicted experiment outcome associated with each physical experiment entity and a second predicted test quantity associated with each physical test entity from a second joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the second action parameter of each physical experiment entity; compute a second numerical output using the critic function applied to the second predicted experiment outcome associated with each physical experiment entity and the second predicted test quantity associated with each physical test entity; determine, for each physical experiment entity, a third action parameter individually associated with the physical experiment entity based on the training loss applied to the second numerical output computed using the critic function and the second action parameter of each physical experiment entity, the training loss applied to the second numerical output and the second action parameter encoding a predicted information gain between the second predicted experiment outcome associated with each physical experiment entity and the second predicted test quantity associated with each physical test entity; output an experiment design based on the third action parameter. The computer-readable instructions may be configured to cause the at least one processor to: sample a third predicted experiment outcome associated with each physical experiment entity and a third predicted test quantity associated with each physical test entity from a third joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the third action parameter of each physical experiment entity; compute a third numerical output using the critic function applied to the third predicted experiment outcome associated with each physical experiment entity and the third predicted test quantity associated with each physical test entity; and determine, for each physical experiment entity, a fourth action parameter individually associated with the physical experiment entity based on the training loss applied to the third numerical output computed using the critic function and the third action parameter of each physical experiment entity, the training loss applied to the third numerical output and the third action parameter encoding a predicted information gain between the third predicted experiment outcome associated with each physical experiment entity and the third predicted test quantity associated with each physical test entity; wherein the experiment design is based on the fourth action parameter.
The computer-readable instructions may be configured to cause the at least one processor to output the experiment design via a graphical user interface associated with the computer system.
The computer-readable instructions may be configured to cause the at least one processor to: compute a first critic parameter, wherein the first numerical output is computed using the critic function applied to the first predicted experiment outcome associated with each physical experiment entity, the first predicted test quantity associated with each physical test entity, and the first critic parameter; compute a second critic parameter based on the training loss applied to the first numerical output and the second action parameter of each physical experiment entity, wherein the second numerical output is computed using the critic function applied to the second predicted experiment outcome associated with each physical experiment entity, the second predicted test quantity associated with each physical test entity, and the second critic parameter. A further aspect herein provides computer-readable storage media embodying computer-readable instructions configured, when executed on a computer processor, to cause the computer processor to carry out operations comprising: computing an initial value of a critic parameter; computing, for each physical experiment entity of a plurality of experimental entities, an initial value of an action parameter individually associated with the physical experiment entity; computing in each training iteration of a sequence of training iterations an updated value of the critic parameter and an updated value of the action parameter of each physical experiment entity, the sequence of training iterations including: an initial training iteration based on the initial value of the critic parameter and the initial value of the action parameter of each physical experiment, and a subsequent training iteration based on the updated value of the action parameter of each physical experiment entity computed in the initial training iteration, each training iteration of the sequence of training iterations comprising: sampling a plurality of predicted experiment outcomes associated with the plurality of physical experiment entities and a plurality of predicted test quantities associated with a plurality of physical test entities from a joint probability distribution based on: a context of each physical experiment entity, a context of each physical test entity, and the action parameter of each physical experiment entity, computing a numerical output using a critic function parameterised by the critic parameter and applied to the plurality of predicted experiment outcomes and the plurality of predicted test quantities, and computing, using the numerical output, the updated value of the critic parameter and the updated value of the action parameter of each physical experiment entity based on a training loss that is dependent on the critic function and the action parameter of each physical experiment entity, and encodes a predicted information gain between the plurality of predicted experiment outcomes and the plurality of predicted test quantities.

Claims

1. A computer-implemented method comprising: receiving, for each physical experiment entity of a plurality of physical experiment entities, a context associated therewith that individually characterizes the physical experiment entity; receiving, for each physical test entity of a plurality of physical test entities, a context associated therewith that individually characterizes the physical test entity; computing, for each physical experiment entity, an initial value of an action parameter individually associated with the physical experiment entity; computing in each training iteration of a sequence of training iterations an updated value of the action parameter of each physical experiment entity, the sequence of training iterations including: an initial training iteration based on the initial value of the action parameter of each physical experiment, and a subsequent training iteration, based on the updated value of the action parameter of each physical experiment entity computed in the initial training iteration, each training iteration of the sequence of training iterations comprising: sampling for each physical experiment entity a predicted experiment outcome associated therewith and for each physical test entity a predicted test quantity associated therewith from a joint probability distribution based on: the context of each physical experiment entity, the context of each physical test entity, and the action parameter of each physical experiment entity, computing a numerical output using a critic function applied to the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical test entity, and computing, using the numerical output, the updated value of the action parameter of each physical experiment entity based on a training loss that (i) is dependent on the critic function and the action parameter of each physical experiment entity, and (ii) encodes a predicted information gain between the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical test entity.
2. The method of claim 1, comprising: performing, on each physical experiment entity, a real-world experiment action defined by the updated value of the action parameter associated therewithin as computed in a final training iteration of the sequence of training iterations.
3. The method of claim 1 or 2, comprising: evaluating, by a computing device, a real-world test quantity associated with each physical test entity based on an outcome of performing the real-world experiment action on each physical experiment entity.
4. The method of any preceding claim, wherein the sequence of training iterations comprises a plurality of subsequent training iterations, each subsequent training iteration based on the updated value of the action parameter of each physical experiment entity computed in the previous training iteration.
5. The method of any preceding claim, wherein the critic model is parameterised by a critic parameter, the method further comprising: computing an initial value of the critic parameter, wherein the initial training iteration is based on the initial value of the critic parameter; wherein each training iteration of the sequence of training iterations comprises computing, based on the training loss, an updated value of the critic parameter, and each subsequent training iteration is based on the updated value of the critic parameter computed in the previous training iteration.
6. The method of claim 5, wherein the updated value of the action parameter and the updated value of the critic parameter are computed via gradient-based optimization of the training loss.
7. The method of any preceding claim, wherein, in each training iteration, the predicted experiment outcome associated with each physical experiment entity and the predicted test quantity associated with each physical experiment entity are sampled based on a world state sampled from a world state distribution, wherein, in each training iteration, multiple world states are sampled from the world state distribution, wherein, in each training iteration, a predicted experiment outcome is sampled for each physical experiment entity and each world state and a predicted test quantity is sampled for physical test entity and each world state.
8. The method of any preceding claim, comprising: outputting, for each physical experiment entity, an indication of a real-world experiment action, as defined by the updated value of the action parameter associated therewith as computed in a final training iteration of the sequence of training iterations.
9. The method of claim 8, comprising: based on performing the real-world experiment action on each physical experiment entity, determining for each physical test entity a real-world test action individually associated therewith, and performing on each physical test entity the real-world test action individually associated therewith.
10. The method of any preceding claim, wherein the predicted experiment outcome comprises a predicted reward associated with the physical experiment entity, and the predicted test quantity comprises a predicted maximum reward associated with the physical test entity.
11. The method of claim 5, or any claim dependent thereon, wherein the critic parameter comprises a neural network weight.
12. A computer system comprising a memory embodying computer-readable instructions; and a processor coupled to the memory and configured to execute the computer-readable instructions, the computer-readable instructions configured to cause the processor to implement the steps of any preceding claim.
13. The computer system of claim 12, wherein the computer-readable instructions are configured to cause the at least one processor to output, for each physical experiment entity, an indication of a real-world experiment action, as defined by the updated value of the action parameter associated therewith as computed in a final training iteration of the sequence of training iterations, via a graphical user interface associated with the computer system.
14. The computer system of claim 12 or 13, wherein the computer-readable instructions are configured to cause the at least one processor to: compute an initial value of a critic parameter, wherein at each training iteration the numerical output is computed using the critic function applied to the predicted experiment outcome associated with each physical experiment entity, the predicted test quantity associated with each physical test entity, and the critic parameter; and compute, at each training iteration, an updated value of the critic parameter based on the training loss applied to the numerical output and the updated action parameter of each physical experiment entity.
15. Computer-readable storage media embodying computer-readable instructions configured, when executed on a computer processor, to cause the computer processor to carry out the steps of any of claims 1-11.
PCT/US2023/021606 2022-06-01 2023-05-10 Efficient computer-implemented real-world testing of causal inference models WO2023235119A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US202263347986P 2022-06-01 2022-06-01
US63/347,986 2022-06-01
US18/051,324 2022-10-31
US18/051,324 US20230394339A1 (en) 2022-06-01 2022-10-31 Efficient computer-implemented real-world testing of causal inference models

Publications (1)

Publication Number Publication Date
WO2023235119A1 true WO2023235119A1 (en) 2023-12-07

Family

ID=86710803

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2023/021606 WO2023235119A1 (en) 2022-06-01 2023-05-10 Efficient computer-implemented real-world testing of causal inference models

Country Status (1)

Country Link
WO (1) WO2023235119A1 (en)

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
ADAM FOSTER ET AL: "A Unified Stochastic Gradient Approach to Designing Bayesian-Optimal Experiments", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 27 February 2020 (2020-02-27), XP081609156 *
ADAM FOSTER ET AL: "Deep Adaptive Design: Amortizing Sequential Bayesian Experimental Design", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 11 June 2021 (2021-06-11), XP081979867 *
DESI R IVANOVA ET AL: "CO-BED: Information-Theoretic Contextual Optimization via Bayesian Experimental Design", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 27 February 2023 (2023-02-27), XP091447720 *
DESI R IVANOVA ET AL: "Efficient Real-world Testing of Causal Decision Making via Bayesian Experimental Design for Contextual Optimisation", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 12 July 2022 (2022-07-12), XP091269227 *
DESI R IVANOVA ET AL: "Implicit Deep Adaptive Design: Policy-Based Experimental Design without Likelihoods", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 3 November 2021 (2021-11-03), XP091094744 *
STEVEN KLEINEGESSE ET AL: "Bayesian Experimental Design for Implicit Models by Mutual Information Neural Estimation", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 14 August 2020 (2020-08-14), XP081740284 *
STEVEN KLEINEGESSE ET AL: "Gradient-based Bayesian Experimental Design for Implicit Models using Mutual Information Lower Bounds", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 10 May 2021 (2021-05-10), XP081960748 *
VINCENT LIM ET AL: "Policy-Based Bayesian Experimental Design for Non-Differentiable Implicit Models", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 8 March 2022 (2022-03-08), XP091179089 *

Similar Documents

Publication Publication Date Title
Sangiorgio et al. Robustness of LSTM neural networks for multi-step forecasting of chaotic time series
Ahmad et al. A GA-based feature selection and parameter optimization of an ANN in diagnosing breast cancer
Shukla Neuro-genetic prediction of software development effort
US7725409B2 (en) Gene expression programming based on Hidden Markov Models
Montazer et al. Radial basis function neural networks: A review
US10853554B2 (en) Systems and methods for determining a configuration for a microarchitecture
JPWO2018051841A1 (en) Model learning apparatus, method thereof and program
CN109192298B (en) Deep brain disease diagnosis algorithm based on brain network
US20180285769A1 (en) Artificial immune system for fuzzy cognitive map learning
Platt Bayesian estimation of economic simulation models using neural networks
CN113241122A (en) Gene data variable selection and classification method based on fusion of adaptive elastic network and deep neural network
Rad et al. GP-RVM: Genetic programing-based symbolic regression using relevance vector machine
Laddach et al. An automatic selection of optimal recurrent neural network architecture for processes dynamics modelling purposes
WO2022147583A2 (en) System and method for optimal placement of interacting objects on continuous (or discretized or mixed) domains
EP4131075A1 (en) Methods and systems for solving a stochastic differential equation using a hybrid computer system
Dehuri et al. A condensed polynomial neural network for classification using swarm intelligence
US20220198277A1 (en) Post-hoc explanation of machine learning models using generative adversarial networks
WO2023235119A1 (en) Efficient computer-implemented real-world testing of causal inference models
US20230394339A1 (en) Efficient computer-implemented real-world testing of causal inference models
CN114372539B (en) Machine learning framework-based classification method and related equipment
Briffoteaux Parallel surrogate-based algorithms for solving expensive optimization problems
Iba et al. GP-RVM: Genetic programing-based symbolic regression using relevance vector machine
Bick Towards Delivering a Coherent Self-Contained Explanation of Proximal Policy Optimization
Kocijan et al. System identification with GP models
Paiva et al. Quantum-inspired optimization of echo state networks applied to system identification

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23729234

Country of ref document: EP

Kind code of ref document: A1