Computer system and method for batch data alignment with active learning in batch process modeling, monitoring, and control - Patents.com
The system uses active learning and supervised machine learning to automate batch data alignment, addressing alignment challenges in batch processes by optimizing hyperparameters and using pseudo-time series variables, resulting in improved accuracy and efficiency for real-time monitoring and control.
Patent Information
- Application Number
- JP2023506130
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-07-30
- Filing Date
- 2021-07-01
- Publication Date
- 2024-08-16
- Estimated Expiration
- 2041-07-01
AI Technical Summary
Existing batch process control systems, particularly in industries like specialty chemicals, pharmaceuticals, and petrochemicals, face challenges in aligning batch data due to inconsistent batch durations and variability, leading to inaccurate modeling and control, with methods like Dynamic Time Warping (DTW) often failing to provide robust and efficient alignment.
A system and method using active learning and supervised machine learning to automate batch data alignment, employing intermediate pseudo-time series variables, performance metrics, and alignment guidance variables to improve alignment quality, and a seed model to optimize hyperparameter settings, reducing manual intervention and computational costs.
Enhances batch data alignment accuracy and efficiency, addressing issues of phase ID prediction errors and variability, providing consistent and robust alignment results for real-time monitoring and control, thereby improving production rates and reducing manual effort.
Smart Images

Figure 0007535649000017 
Figure 0007535649000012 
Figure 0007535649000033
Abstract
Description
[Background technology]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. Application No. 16 / 943,312, filed July 30, 2020. The entire teachings of the above application are incorporated herein by reference.
[0002] Advanced process control, such as multivariate predictive control (MPC) and real-time optimization (RT-OPT), has been advanced and implemented in the process industries over the past three decades. Thousands of MPC systems are in operation in refineries, chemical plants, petrochemical processing equipment, and other manufacturing environments to maintain safe operation of processes, i.e., manufacturing processes, while maximizing the profitability, i.e., efficiency, of the process. However, most of the successful use of MPC systems has been focused on continuous manufacturing processes. Another type of critical production process commonly found in the process industries, batch processes, has lagged behind the state of the art. Many batch processes are still run with traditional proportional integral derivative (PID) control or manual control.
[0003] Batch processes play a key role in many industries, including specialty chemicals, pharmaceuticals, food, bioproducts, polymer processing, semiconductor manufacturing, and metals manufacturing. As such, developing and implementing advanced modeling, monitoring, and control systems in batch production processes is desirable and highly beneficial for many manufacturers. The use of advanced modeling monitoring and control is particularly advantageous for processes in the specialty chemicals, pharmaceuticals, traditional energy, and petrochemical industries. Summary of the Invention
[0004] A batch process is a process with defined start and end conditions and the temporal evolution of the behavior (captured by measured variables) during that time. Examples of typical batch processes are often found in the manufacturing industries of specialty chemicals, pharmaceuticals, blending and mixing, polymer processing, semiconductor manufacturing, and food processing, among others. Batch production processes have many special characteristics that make it difficult to simply apply many of the existing modeling techniques used for process monitoring, control, and optimization of continuous processes. Instead, a set of special modeling and control techniques for batch processes are typically utilized. For example, batch-specific principal component analysis (PCA) and projection onto latent structures (PLS) multivariate statistical model structures have been proposed and used to monitor and control batch processes (see Paul Nomikos, John F. MacGregor, “Monitoring Batch Processes Using Multiway Principal Component Analysis, AIChE Journal,” 40(8), 1361-1375 (August 1994)).
[0005] A problem with data-driven batch modeling is that the duration of each batch completion may not be consistent. This makes "batch data alignment" important prior to modeling or analysis of past batch data. Similarly, "batch data alignment" is important prior to real-time batch monitoring and control of live batch data. "Batch data alignment" refers to the ability to resample raw batch time series data such that the resampled data has exactly the same number of sampled values as a selected representative reference batch. Sampling time points are selected at equal or unequal sample intervals along the duration of the raw batch data such that the resampled data patterns match, to the greatest extent possible, the patterns in the reference batch for all resampled variables (e.g., time series variables such as temperature, pressure, level, etc.). Although academic research and case studies on the batch data alignment problem have been reported (see below).Gonzalez-Martinez, JM, Ferrer, A., & Westerhuis, JA, "Real-time synchronization of batch trajectories for on-line multivariate statistical process control using Dynamic Time Warping," Chemometrics and Intelligent Laboratory Systems, 105(2), 195-206, (January 2011), Dai, C., Wang, K., & Jin, R., "Monitoring Profile "Trajectories with Dynamic Time Warping Alignment", Quality and Reliability Engineering International, 30(6), 815-827, (June 2014), Gonzalez Martinez, JM, De Noord, O., & Ferrer, A. "Multi-synchro: a novel approach for batch synchronization in scenarios of multiple asynchronisms", Journal of Chemometrics, 28(5):462-475 (October 2014), Ramaker, HJ, van Sprang,EN,Westerhuis,JA,& Smilde,AK,“Dynamic time warping of spectroscopic BATCH data”, Analytica Chimica Acta, 498(1), 133-153(August 2003);Zhang,Y.,& Edgar,TF,“A Robust Dynamic Time Warping Algorithm for Batch Trajectory Synchronization”, American Control Conference, pp.2864-2869(June 2008)).Existing approaches lack the ability to address the problem of time warping.The proposed approach is based on the Dynamic Time Warping (DTW) algorithm.However, this is problematic because the DTW approach can produce undesirable alignment results in some cases (Zhang, Y., & Edgar, T. F., "A Robust Dynamic Time Warping Algorithm for Batch Trajectory Synchronization," American Control Conference, pp. 2864-2869 (June 2008)). Also, the DTW approach is not mature enough for industrial practice, i.e., it cannot be used to monitor, control, and optimize real-world processes.
[0006] Recent work developed by applicant has addressed batch process modeling and batch data alignment issues with a systematic approach and improved efficiency. See U.S. Patent Application Serial No. 15 / 967,099, entitled "Computer System and Method For Automated Batch Data Alignment In Batch Process Modeling, Monitoring And Control," the contents of which are incorporated herein by reference in their entirety. This previous work uses a comprehensive method (and system) that addresses many of the steps of batch data alignment and provides an automated workflow suitable for both offline batch data alignment for modeling and online batch data alignment for process monitoring and control.
[0007] Properly aligning batch trajectory data to a reference batch in near real-time is very useful, but very challenging. Prior work detailed in U.S. Patent Application No. 15 / 967,099, referred to herein as the "online dynamic method," provides significant improvements over existing batch data alignment techniques. However, several issues are observed in recent practice for industrial applications of the online dynamic method. Although the online dynamic alignment method works for some industrial batch processes with default settings of alignment hyperparameters, the online dynamic method has difficulty aligning batch data to other processes. Observed errors include a) phase identity prediction with errors, b) batch maturity prediction jumps forward or backward instead of smoothly progressing forward, and c) in some cases, batch maturity may not reach 100%. Furthermore, in the online dynamic method, the batch alignment model with default parameters is not necessarily robust to industrial batch data with higher variability. In some applications, these issues limit the ability to use the online dynamic method for accurate batch modeling, monitoring, and control. This can have a negative impact on production rates and profit margins of batch processes that are controlled based on results determined by methods that rely on the alignment method of US patent application Ser. No. 15 / 967,099.
[0008] Furthermore, if the default hyperparameter settings for an online dynamic alignment method do not perform well, it is very difficult and tedious to manually tune these hyperparameters without guidance, especially for new users with little experience. Users may need to repeatedly go through a trial-and-error approach for many iterations to generate alignment results with the desired quality. When this occurs, each iteration runs an alignment experiment under specific conditions for a given dataset with a selected alignment method. The time it takes to run an alignment experiment can vary from a few seconds to several hours, depending on the size of the batch dataset and the selected alignment method. Visually comparing alignment results from several alignment experiments by a user is very time-consuming, and it has been difficult to extract insights on how to tune hyperparameters to improve alignment quality when using online dynamic methods. Without quantified measurements for the results of alignment experiments, alignment results from several alignment experiments cannot be systematically compared without human intervention. Thus, there is an urgent need in industrial batch process simulation and control practice to provide quantified measurements of alignment results and systematic guidance for selecting and setting alignment parameters.
[0009] Recently, the rapid development and application of artificial intelligence (AI) and machine learning (ML) have provided new opportunities for industrial practitioners. Active learning (AL) is an effective strategy to accelerate the process of data recognition and labeling. A typical workflow of active learning starts with a pool of unlabeled data, takes a few points with a heuristic learner, and determines the labels of these few points. Then, the process is iterated, including (i) fitting a classifier to the labels seen so far, and (ii) querying the unlabeled points that are closest to the boundary (or are the most uncertain, or most likely to reduce the overall uncertainty). As a special case of supervised machine learning, active learning is well motivated in many modern machine learning problems, where it is time-consuming or expensive to create labels for unlabeled observations. Because the active learning learner actively selects the most informative observations to be labeled next, the total number of observations that need to be labeled to establish insights into the subject is usually much smaller than the number of observations required in non-discriminatory supervised machine learning methods.
[0010] In a batch alignment scenario, the unlabeled observations are alignment experiments under certain conditions, and the labels for the observations are quantified performance metrics that are evaluated on the alignment results of the alignment experiments. Therefore, in the case of batch alignment labeling, determining the observations for the alignment problem is an expensive task, since it requires performing alignment experiments, i.e., alignments under certain conditions. Therefore, active learning is a suitable approach to provide guidance on alignment conditions for batch alignments, if systematic guidance on alignment parameter selection, i.e., quantified measurements of alignment results, can be provided. In other words, if the quality of the alignment can be quantified, active learning is a suitable approach to use to provide guidance on which alignment parameters to use, i.e., hyperparameters, and the values of the alignment parameters.
[0011] Active learning has been used to address classification problems. For example, academic research has explored ways to minimize the number of labeled instances and how to label them. Most research focuses on selecting a single most informative unlabeled instance to be labeled at a time. This is problematic as it can lead to biased decisions with large uncertainty. Some batch-mode active learning methods are proposed to extend their single-instance selection strategy to overcome potential biased decisions, but biased decisions are still a problem. More details are described below. Simon Tong, Daphne Koller, "Support Vector Machine Active Learning with Applications to Text Classification", Journal of Machine Learning Research (2001), 45-66 (November 2001), Yuhong Guo, Dale Schuurmans, "Discriminative Batch Mode Active Learning", Proceeding NIPS'07 Proceedings of the 20th International Conference on Neural Information Processing Systems, Pages 593-600, December 03-06, 2007, ISBN: 978-1-60560-352-0. Active learning is not known to address the batch data alignment problem, which is not a classification problem.
[0012] The embodiments provide a comprehensive system and method for addressing several alignment issues observed in industrial applications of existing alignment methods, such as the online dynamic alignment method described in U.S. Patent Application No. 15 / 967,099. For example, the embodiments address errors on phase ID prediction, and / or uneven progress of batch maturity, or batches that do not reach 100% maturity in the process. The embodiments also address the problem that existing methods are not always robust to industrial batch data with higher variability, and the embodiments address the difficulty of selecting alignment hyperparameters and settings when default settings do not work well. The embodiments also include a default alignment environment, i.e., default batch alignment settings, and an environment library, i.e., a database that stores alignment settings, to facilitate setting, customizing, and switching alignment environments (settings) and generate consistent alignment results.
[0013] Embodiments solve these problems by using intermediate derived pseudo-time series variables that are generated and implicitly used as alignment guidance variables during batch alignment. Embodiments can also utilize alignment guidance only process variables that are explicitly provided based on process domain knowledge and expertise to assist the batch alignment process. Embodiments can also utilize dedicated performance metrics to measure batch trajectory alignment quality. Using performance metrics also enables embodiments to employ learning workflows. Embodiments can utilize an automated active learning workflow to recommend alignment hyperparameter settings that maximize predicted batch trajectory alignment quality within given constraints. Furthermore, embodiments can employ an interactive active learning workflow that allows users to explore potential settings inside and / or outside the general range of hyperparameters and tradeoffs between predicted alignment quality metrics to select hyperparameter settings. Furthermore, guided learning can be used to prepare another run of machine learning if further exploratory experimentation is required. Additionally, embodiments may implement an alignment environment library to facilitate the setup of alignment environments and manage hyper-parameter settings for active learning and guided learning workflows to generate consistent alignment results.
[0014] Dedicated performance metrics and alignment tolerance criteria
[0015] The embodiments provide a dedicated performance metric to objectively and systematically measure the batch alignment quality of the performed alignment experiments. In contrast, existing methods evaluate alignment quality only by visual inspection by experts with domain knowledge. Furthermore, the embodiments allow the performance metric to be varied for different alignment methods. For example, for the extended online dynamic alignment method, the metric may evaluate the batch maturity score (smoothness of maturity progression), the phase ID score (error on batch phase ID prediction), and the total quality score (combination of the batch maturity score and the phase ID score). Such embodiments may also take into account the time it takes to perform the alignment process.
[0016] The embodiments also provide quantified performance metrics that allow comparisons between alignment results generated in different alignment experiments on the same underlying batch data set without human intervention. The use of quantified performance metrics also allows for automation. In one embodiment, alignment acceptance criteria are defined in settings or thresholds for some or all performance metrics of a given alignment method. In such an embodiment, when the performance metrics meet the acceptance criteria, the results of the alignment experiment are acceptable, and such an embodiment can proceed to build a batch model using the aligned batch data set. Different alignment methods can have different performance metrics, and therefore the acceptance criteria corresponding to different alignment methods can vary. For example, in the example of the extended online dynamic alignment method, the default acceptance criteria are: 1) the total quality score is higher than a minimum threshold, and 2) the total time taken to complete the alignment must be less than the maximum acceptable alignment time. In one embodiment, the settings or thresholds can be adjusted to tighten or relax the acceptance criteria. For each performance metric, for a given alignment method, embodiments may also allow the user to customize the alignment method definition and adjust method thresholds to affect acceptance criteria.
[0017] Supervised machine learning model built on the alignment metadata datasheet
[0018] For any given alignment method, it may not be practical (or possible) to run all possible combinations of hyperparameter settings to achieve the best possible alignment result without a large investment in computational resources and time. In the example of the extended online dynamic method, there are thousands of unrepeated alignment experimental conditions that can be generated with five hyperparameters and a list of typical options, settings, and ranges for each hyperparameter. It is not practical to run thousands of alignments using these different settings.
[0019] Rather than conducting thousands of alignment experiments or using a trial-and-error approach to determine settings, embodiments automatically build a supervised machine learning model based on an alignment metadata datasheet with a limited amount (N) of labeled observations for a batch dataset for a given alignment method. In such an embodiment, each labeled observation corresponds to an alignment experiment that has been performed. In one embodiment, a model can be built using the labeled observations to suggest alignment settings to maximize predicted alignment quality. An embodiment can employ different supervised machine learning algorithms for regression to build models such as projection onto latent structures (PLS) multivariate statistical models. Instead of relying on a time-consuming trial-and-error approach to tune hyperparameter settings, the model can be used by different workflows to extract alignment insights, and alignment experiments, i.e. settings for performing alignment, can be suggested based on the model predicted alignment quality. This suggested alignment experiment can be performed to see if its performance metrics meet an acceptance criterion. This guides the selection of alignment hyperparameter settings.
[0020] As the number of labeled observations used to create the model increases, the predictive quality of the supervised machine learning model improves. However, creating labeled observations is a time-consuming and expensive process that in this case requires the execution of alignment experiments. To minimize the number of experiments required, the embodiment creates a supervised machine learning seed model that is used. The term "seed model" means that the model is initially built with a limited amount of N labeled observations to jump start, and then the seed model is automatically updated or rebuilt with labeled observations from alignment experiments performed in various workflows to improve the predictive quality of the seed model. In some embodiments, the seed model is built with a large amount of N labeled observations at the start, and the model does not support updating or rebuilding the model.
[0021] Preparation of alignment metadata datasheets with or without early termination
[0022] According to an embodiment, a set of alignment experiments, i.e., N alignment experiments, is created to facilitate the selection of alignment adjustable parameter (hyperparameter) settings that drive the behavior of the batch alignment method. The appropriate size of N depends on the number of hyperparameters to be varied for a given alignment method. In one embodiment, the number of hyperparameters to be varied can be configured in the alignment environment (collection of alignment settings and configurations). A larger N provides more meaningful insights through the model as the dimensions of the variations captured increase. In certain situations, when taking a brute force approach with sufficient computing resources, N may be very large. For example, N can be as small as 50 to build a seed PLS model to extract alignment insights for the example dataset DS08 and the extended online dynamic alignment method. It is generally found that model prediction quality increases as the number of labeled observations used in model construction increases, and the DS08 alignment experiment usually finishes in 1-2 minutes with the extended online dynamic alignment method. Therefore, when using the extended online dynamic alignment method, users may set N to 100 in the alignment environment to create seed models with good predictive performance.
[0023] For a given batch data set and a selected alignment method, the N alignment experiments can be prepared in several different ways. One approach is to use a low-discrepancy sequence (LDS) approach, such as Sobol sequence or other similar methods (for more information, see https: / / en.wikipedia.org / wiki / Low-discrepancy_sequence). Alternatively, the set of experiments can be determined using a design of experiments (DOE) approach, such as D-optimal design or other similar methods (for more information, see https: / / en.wikipedia.org / wiki / Optimal_design). In certain situations, a brute force approach can also be used to randomly or uniformly generate the alignment conditions for the N alignment experiments.
[0024] After alignment experiments are performed (sequentially or in parallel) on the batch dataset using a given alignment method, the results of each alignment experiment are evaluated using corresponding performance metrics and acceptance criteria. These alignment-related metadata are collected in a data sheet, where each observation corresponds to an alignment experiment performed, the alignment conditions of the observation are the X variables, and the performance metrics of the observation are the Y variables. An observation that has a value available for its Y variable is referred to herein as a labeled observation, and an observation that does not have a value for its Y variable is referred to herein as an unlabeled observation.
[0025] Different alignment methods may have different alignment hyperparameters and performance metrics. Therefore, the X / Y variable lists in the metadata data sheet for different alignment methods may be different. For the extended online dynamic alignment method, the X variable list may include different time series generator functions for time smoothness, sliding window size, difference penalty, search interval, and alignment guidance pseudo variable. For the extended online dynamic alignment method, the Y variable list may include batch maturity score, phase ID score, total quality score, and time (total amount) to perform the alignment. Figure 15, which will be described in more detail below, shows an example of an alignment metadata data sheet 1500 with 100 labeled observations for an embodiment using the extended online dynamic alignment method on the DS08 dataset, whose alignment conditions are prepared by the Sobol ordering method.
[0026] In an embodiment with an early termination option, if the performance indicators of any run experiment meet the acceptance criteria, the corresponding alignment condition of the experiment may be recommended as the alignment condition to use and no further alignment experiments are run. In an embodiment without an early termination option, all prepared alignment experiments are finally run and evaluated. In one embodiment, the metadata data sheet has one entry (row) for each experiment.
[0027] Automated and interactive active learning workflows using supervised machine learning models
[0028] Active learning is a special case of supervised machine learning and is well motivated in many modern machine learning problems, where labeling is very time-consuming or expensive; i.e., it is computationally expensive to prepare unlabeled observations. In active learning, the active learner selects the most informative observations (the alignment experiment conditions with the best predicted alignment quality) to be labeled next. Thus, by conducting alignment experiments using the conditions with the best predicted results, the total number of alignment experiments that need to be performed to identify alignment conditions is typically much smaller than the number required in an unlabeled supervised machine learning workflow.
[0029] Typically, active learning runs the risk of making biased decisions with large uncertainties. In an embodiment, to overcome this risk, the learner (whether automated or interactive) relies on an optimizer or analyzer with constraints configured on the supervised machine learning model to recommend the alignment experiment conditions to be run next that have the most desirable predicted alignment quality. The recommended alignment experiment is then run to see if its performance metrics meet the acceptance criteria.
[0030] An active learning workflow with an automated learner is referred to herein as an automated active learning workflow. In one embodiment, the automated active learning workflow stops when (i) the alignment conditions produce a desired alignment quality or (ii) a maximum number of learning iterations is reached. In one embodiment, the same constraints and acceptance criteria are applied for each iteration that performs an alignment experiment. In one embodiment, these settings are configured in the alignment environment.
[0031] An active learning workflow with an interactive learner is referred to herein as an interactive active learning workflow. In one embodiment, the interactive active learning workflow can be stopped whenever the user decides to stop, and upon stopping, the best alignment conditions so far and its aligned data set are ready to be consumed by other processes. The other processes may include simulation or control systems that can be used to control real-world industrial processes. For example, a simulation can be performed using the aligned data, and the results of the simulation can be used to modify the operating conditions of the real-world process. The interactive iterations can be performed as many times as the user desires. Furthermore, the constraints and acceptance criteria can be adjusted during the interactive workflow, so that the user can make trade-offs to accept the alignment results under the alignment conditions even if the overall quality of the experiment is not ideal.
[0032] Guided learning process with supervised machine learning models
[0033] An embodiment can use a guided learning process to extract insights from a supervised machine learning model. An embodiment can use any guided learning method known in the art. For example, among other options, eliminate variations on non-significant hyperparameters, customize performance metrics and alignment acceptance criteria, rescan the alignment experiments performed with modified performance metrics and acceptance criteria, customize alignment guidance pseudovariable generator function definitions, and adjust alignment hyperparameter ranges, options, or constraints with insights identified by various model analyzers. In an embodiment, in situ alignment experiments can be performed repeatedly to ascertain the direction of the impact of the in situ experiments, i.e., improvement or degradation on the alignment quality.
[0034] The learning process can implement as many iterations as the user desires. When the user decides to stop, the best alignment conditions so far and the aligned data set are ready to be consumed by other processes. An embodiment can prepare the modified alignment environment and alignment metadata datasheet to reconstruct the supervised machine learning model.
[0035] Alignment Guidance Pseudo Variables and Alignment Guidance Only Variables
[0036] In one embodiment, if the existing process variables cannot provide sufficient guidance for batch alignment in each phase, one or more intermediate derived pseudo time series and / or process non-significant variables with strong alignment guidance can be included in the batch data set to improve the alignment quality. These extensions can be applied to different alignment methods. In other words, such an embodiment incorporates another variable (pseudo variable or alignment guidance only variable) into the batch data, which participates in the alignment process and influences the decision of which observation in the reference batch each observation in the raw batch should be mapped to. This improves the alignment quality.
[0037] According to embodiments, intermediate derived pseudo-time series, also referred to as "alignment guidance pseudo-variables", can be automatically generated using dedicated monotonic functions based on corresponding batch phase information. Embodiments can employ built-in generator functions for each phase time series that can be selected for use. These built-in functions can include "step", polynomial functions (such as "sawtooth", "rectangle", etc.), logarithmic functions, and exponential functions, among other options.
[0038] In one embodiment, alignment guidance only variables may not be measurable process variables, but are explicitly generated outside of the system using similar time series functions based on the user's historical database and batch phase information of the distributed control system, among other examples. In another embodiment, process non-significant variables with explicit alignment guidance information may be included by the user to guide the alignment. These process non-significant variables are also referred to herein as alignment guidance only variables.
[0039] In another exemplary embodiment, after alignment, alignment guidance pseudo variables and alignment guidance only variables can be optionally removed from the aligned data set before applying to batch model construction, analysis and prediction. This reduces unnecessary computational effort. However, failure to remove alignment guidance pseudo variables and alignment guidance only variables does not necessarily degrade the batch model built on the aligned data set.
[0040] Alignment Preferences and Environment Libraries
[0041] Embodiments include a set of alignment preferences that are used to facilitate management of alignment hyperparameters and their values, alignment performance metrics, alignment acceptance criteria, alignment guidance pseudo-variables, and variable generator functions for a given batch dataset, among other things. Preferences can be implemented using a database that stores various alignment settings, e.g., parameters and values.
[0042] Different batch processes or different batch data sets from the same process, but different manufacturing plants, may require different alignment environment settings. Thus, in one embodiment, a user can customize alignment settings including performance metrics, adjust acceptance criteria, and provide user-defined functions as alignment guidance pseudo variable generator functions. Also, a user can select different alignment methods, customize the alignment methods to meet their specific needs, and maintain the selected settings in these alignment environments, i.e., configured settings.
[0043] Another embodiment implements an environment library that manages a list of alignment environment settings, i.e. settings used for a performed alignment. This allows a user to quickly set up an environment or switch from one environment to another. Having a database of alignment settings makes it easy to apply the same alignment environment to the same batch data sets. This allows the embodiment to provide consistent alignment results.
[0044] Exemplary embodiments are directed to a computer-implemented method for performing automatic batch data alignment for a batch production industrial process. Such exemplary embodiments begin by selecting a reference batch from batch data for the industrial process and configuring batch alignment settings. A seed model is then constructed that is configured to predict alignment quality given settings for one or more alignment hyperparameters. Learning is then performed using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of batch data representing the industrial process. The learning determines settings for one or more alignment hyperparameters by performing at least one of: (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning (e.g., expert or user-guided learning). Such embodiments perform batch alignment on a batch from the batch data for the industrial process using the determined settings for the one or more alignment hyperparameters and the configured batch alignment settings. Performing the batch alignment aligns the batch data of the industrial process in a manner that improves modeling of the industrial process.
[0045] In an embodiment, configuring a batch alignment setup may include, for example, configuring, e.g., storing, in computer memory, values and settings of any parameters and variables used in carrying out the embodiment. According to one embodiment, configuring the batch alignment settings includes at least one of: (1) selecting a batch alignment method for performing the batch alignment; (2) selecting one or more alignment hyperparameters and corresponding setting ranges for the one or more alignment hyperparameters for performing at least one of automatic active learning, interactive active learning, and guided learning; (3) setting values for at least one hyperparameter of the one or more alignment hyperparameters; (4) selecting constraints and settings for implementing at least one of automatic active learning, interactive active learning, and guided learning; (5) selecting and customizing a performance metric for evaluating alignment results of at least one batch of a set of representative batches during the alignment experiment; (6) setting acceptance criteria for at least one of automatic active learning, interactive active learning, and guided learning based on the selected performance metric; and (7) selecting to enable or disable early termination of performing at least one of automatic active learning, interactive active learning, and guided learning when the acceptance criterion is met.
[0046] In an exemplary embodiment, selecting a batch alignment method for performing batch alignment on the batch includes selecting a base batch alignment method. Such an embodiment may also include extending the selected base batch alignment method. In one embodiment, the extension includes extending the selected base batch alignment method with one or more alignment guidance pseudo variables by performing at least one of: (i) selecting one or more alignment guidance pseudo variables to be included as process variables of the batch; (ii) selecting one or more generator functions for the one or more alignment guidance pseudo variables to generate one or more alignment guidance pseudo variable time series; and (iii) selecting one or more customizations (if any) for the one or more generator functions. In another embodiment, the extension of the selected base batch alignment method includes extending the base batch alignment method with one or more alignment guidance only process variables by selecting one or more alignment guidance only process variables to be included as process variables of the batch.
[0047] According to an embodiment, constructing the seed model includes selecting (i) an alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model. In such an embodiment, constructing the seed model also includes determining a set of alignment experiments to perform based on the selected (i) alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model. The embodiment runs each experiment in the determined set of alignment experiments and generates respective alignment results for a set of representative batches. Such an embodiment also quantifies each alignment result using a performance metric selected for each experiment, and constructs a seed model based on the quantified respective alignment results and the respective settings for the selected hyperparameters.
[0048] The embodiment may use a variety of different techniques to determine the set of alignment experiments. In one embodiment, the set of alignment experiments is determined using at least one of low discrepancy sequence treatment, design of experiment treatment, randomly generated experimental conditions, and uniformly generated experimental conditions. According to the embodiment, performing each experiment in the determined set of alignment experiments includes performing each experiment in the determined set sequentially or performing each experiment in the determined set in parallel.
[0049] According to another exemplary embodiment, performing the automatic active learning includes configuring constraints and alignment quality settings for performing the automatic active learning. Such an embodiment uses the constructed seed model, the configured constraints, and the configured alignment quality settings to automatically determine given settings for one or more alignment hyperparameters that maximize the alignment quality score as predicted by the constructed seed model. The embodiment performs an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters. Then, if the results of performing the experimental batch alignment meet a criterion, the given settings for the one or more alignment hyperparameters are maintained, and if the results do not meet the criterion, the constructed seed model is updated or reconstructed. After updating or reconstructing the seed model, such an embodiment may iterate between (i) configuring constraints and alignment quality settings, (ii) automatically determining the given settings, and (iii) performing an experimental batch alignment.
[0050] In one embodiment, performing interactive active learning includes configuring constraints and alignment quality settings for performing interactive active learning. Performing interactive active learning interactively recommends given settings for one or more alignment hyperparameters using the constructed seed model, the configured constraints, and the configured alignment quality settings. In such an embodiment, an experimental batch alignment is performed on at least one batch of the set of representative batches using the given settings for one or more alignment hyperparameters. If the results of performing the experimental batch alignment meet a criterion or based on user input, the given settings for the one or more alignment hyperparameters are maintained, or the constructed seed model is updated or reconstructed. Such an embodiment may also iterate between configuring constraints and alignment quality settings, interactively recommending given settings, and performing an experimental batch alignment. If the results of performing the experimental batch alignment do not meet the criteria and are not based on user input, the constructed seed model is updated or rebuilt and (i) configuring constraints and alignment quality settings, (ii) interactively recommending given settings, and (iii) performing the experimental batch alignment are repeated, i.e., until the criteria are met or the user no longer wishes to continue.
[0051] In one embodiment, performing the guided learning process includes performing a variety of different tasks based on user input and the constructed seed model. One such embodiment performs at least one of: (1) analyzing the importance of one or more alignment hyperparameters and their impact on alignment quality predicted by the constructed seed model, (2) customizing alignment quality performance metrics and acceptance criteria, (3) customizing an alignment guidance pseudo-time series generator function, (4) adjusting ranges, options, or constraints of one or more alignment hyperparameters, and (5) performing batch alignment experiments on at least one batch of the set of representative batches using exploratory settings of one or more alignment hyperparameters to ascertain the impact of the one or more alignment hyperparameters on alignment quality.
[0052] Another embodiment determines whether the performed batch alignment meets the acceptance criteria. Such an embodiment performs the function repeatedly until the performed batch alignment meets the acceptance criteria. This function includes iteratively performing the following steps: (1) updating or reconstructing the constructed seed model; (2) using the updated or reconstructed constructed seed model, the selected reference batch, the configured batch alignment settings, and the set of representative batches, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for one or more alignment hyperparameters; (3) performing a batch alignment on the batch using the updated or reconstructed constructed seed model and the settings for one or more alignment hyperparameters determined using the configured batch alignment settings; and (4) determining whether the batch alignment performed using the settings for one or more alignment hyperparameters determined using the updated or reconstructed constructed seed model meets the acceptance criteria.
[0053] Yet another embodiment stores and manages the determined settings for one or more alignment hyperparameters in an alignment environment library. Storing and managing the determined settings for one or more alignment hyperparameters in an alignment environment library according to an embodiment includes associating the determined settings for one or more alignment hyperparameters with batch data for an industrial process. Such embodiments may also categorize and organize the determined settings for one or more alignment hyperparameters based on at least one of the industrial process, the plant, and the operating conditions for transfer learning. Furthermore, such embodiments may apply the determined settings for one or more alignment hyperparameters as a starting point for a new batch data set.
[0054] Another embodiment of the invention is directed to a system including a processor and a memory having computer code instructions stored thereon, in which the processor and memory are configured to cause the computer code instructions to cause the system to perform any of the embodiments described herein.
[0055] Yet another embodiment is directed to a cloud computing implementation for performing automated batch data time alignment for a batch production industrial process. Such an embodiment is directed to a computer program product executed by a server in communication with one or more clients over a network. In this embodiment, the computer program product includes instructions that, when executed by a processor, cause the processor to perform any of the embodiments described herein. [Brief description of the drawings]
[0056] The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
[0057] The foregoing will be apparent from the following more particular description of exemplary embodiments, as illustrated in the accompanying drawings, in which like reference characters refer to the same parts throughout the different views, and in which the drawings are not necessarily to scale, emphasis instead being placed upon illustrating the embodiments.
[0058] [Figure 1] FIG. 1 is a flow chart of an exemplary embodiment for implementing automatic batch data time alignment for a batch production industrial process. [Diagram 2] FIG. 2 is a simplified diagram of an industrial multi-phase batch reactor / dryer process that can be simulated and controlled using embodiments. [Figure 3-1] 3A-D are plots of process variables from an industrial process that may be aligned using embodiments. [Figure 3-2] 3E-H are plots of process variables from an industrial process that may be aligned using embodiments. [Figure 3-3] 3I-J are plots of process variables from an industrial process that may be aligned using embodiments. [Figure 4] FIG. 4 illustrates such an exemplary system workflow for the alignment process according to one embodiment. [Diagram 5] 5A-B are plots showing process variables from an industrial process that may be used in embodiments. [Figure 6] 6A to 6E are graphs showing alignment guidance pseudo variable time series according to an embodiment. [Figure 7] FIG. 7 is a graph illustrating pseudo variables merged with process variables according to one embodiment. [Figure 8]FIG. 8 is a plot showing variables for alignment guidance only that may be utilized in an embodiment. [Figure 9] FIG. 9 is a plot of the expanded batch data used in the embodiment. [Figure 10] FIG. 10 is a flow chart of a method for performing alignment according to an embodiment of the present invention. [Figure 11] 11A and 11B are plots illustrating phase information provided in one embodiment. [Figure 12] FIG. 12 is a graph illustrating pseudo variables merged with batch data according to one embodiment. [Figure 13] FIG. 13 is a flowchart of a method for constructing a seed model according to one embodiment. [Figure 14A] FIG. 14A is a flow chart of a process for running an experiment as part of the method for building a seed model shown in FIG. [Figure 14B] FIG. 14B is a flow chart of a process for running an experiment as part of the method for building a seed model shown in FIG. [Figure 15] FIG. 15 is an exemplary data sheet that may be used in embodiments to build a model. [Figure 16A] FIG. 16A is a flow chart illustrating a training method that may be used in an embodiment to determine alignment settings. [Figure 16B] FIG. 16B is a flow chart illustrating a training method that may be used in embodiments to determine alignment settings. [Figure 16C] FIG. 16C is a flow chart illustrating a training method that may be used in embodiments to determine alignment settings. [Figure 16D] FIG. 16D is a flow chart illustrating a training method that may be used in embodiments to determine alignment settings. [Figure 17] FIG. 17 is a plot illustrating the importance of variables that may be used in an embodiment. [Figure 18]FIG. 18 shows an example of results from a model analyzer that may be used in one embodiment. [Figure 19] FIG. 19 is a plot showing the results of a model analyzer utilized in an embodiment. [Figure 20] 20A-B are graphs showing alignment quality indicators for alignments performed using default alignment settings in existing online dynamic alignment methods. [Figure 21] FIG. 21 is sample batch data that may be aligned using an embodiment. [Figure 22] 22A-B are graphs showing alignment quality indicators for alignments performed using default alignment settings and alignment settings, respectively, developed using an embodiment of the present invention. [Figure 23] 23A-B are graphs showing alignment quality indicators for alignments performed using default alignment settings and alignment settings, respectively, developed using an embodiment of the present invention. [Figure 24] FIG. 24 is a simplified block diagram of a computer system for performing automatic batch data time alignment, according to one embodiment. [Diagram 25] FIG. 25 is a simplified diagram of a computer network environment in which an embodiment of the present invention may be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0059] A description of an exemplary embodiment follows.
[0060] The teachings of all patents, published applications, and references cited herein are incorporated by reference in their entirety.
[0061] The embodiment provides functionality for performing automatic batch data alignment for a batch production industrial process. FIG. 1 is a flowchart of an example embodiment 100 of a computer-implemented method for performing automatic batch data alignment for a batch production industrial process. The method 100 begins with selecting a reference batch from batch data for the industrial process 101 and configuring a batch alignment setting 102. A seed model is then constructed 103 configured to predict alignment quality given settings for one or more alignment hyperparameters. Next, training is performed 104 using the reference batch selected in step 101, the batch alignment setting configured in step 102, the seed model configured in step 103, and a set of representative batches. In such an embodiment, the set of representative batches represents batch data for the industrial process of interest. Training 104 includes performing at least one of (i) automatic active training, (ii) interactive active training, and (iii) guided training to determine settings for one or more alignment hyperparameters. Finally, a batch alignment is performed 105 on a batch from the batch data for the target industrial process using the one or more alignment hyperparameter settings determined in step 104 and the batch alignment settings configured in step 102.
[0062] In an embodiment, the selection of the reference batch in step 101 can be performed based on user input and / or based on analysis of the batch data. In an embodiment, the selection by the user in step 101 allows the user to interact with the system performing method 100 to utilize the user's input or selection based on the user's domain knowledge. Another embodiment provides a list of candidate batches that are determined based on batch data analysis, and the user can select a batch from the list of candidate batches, or the best candidate batch can be automatically selected based on the analysis. For example, the technique "Selecting a Reference Batch" described in U.S. Patent Application 15 / 967,099 can be used to recommend a candidate list of reference batches.
[0063] In one embodiment, the seed model constructed in step 103 can be used to explore the relationship between alignment conditions and corresponding performance metrics to facilitate the selection of alignment conditions in automatic active learning, interactive active learning, and guided learning in step 104. During various learning workflows, the seed model can also be updated or rebuilt with newly available alignment experiment results to improve prediction quality.
[0064] In an exemplary implementation of the automatic active learning workflow (performed in step 104), a model optimizer is used as the core of the automatic learner to recommend the next alignment experiment conditions that maximize the predicted total alignment quality score while resulting in an alignment that can be performed within the maximum allowable time to perform the alignment. In such an embodiment, if the recommended alignment experiment conditions have never been performed but are predicted purely by the seed model with the model optimizer to meet the optimization target, an alignment experiment is performed under those conditions and the alignment results are evaluated against the acceptance criteria. The automatic active learning can iterate repeatedly and automatically to improve the alignment quality as determined by the optimization target, without requiring user intervention. The automatic active learning can stop either when an alignment condition that meets the acceptance criteria is found or when the maximum number of learning iterations has been performed. The best-ever or criterion-fitting alignment conditions with corresponding alignment results and performance metrics are then available for downstream workflow.
[0065] In an exemplary implementation of the interactive active learning workflow (at step 104), the user and the model optimizer work together to form a core of interactive learners. In such an embodiment, the model optimizer proposes the next alignment experiment conditions that will result in an alignment that can be performed within the maximum allowed time to perform the alignment while maximizing the predicted total alignment quality score. However, in such an embodiment, it is up to the user to accept or reject the proposed alignment conditions to be performed. Using a user interface (UI), the user can directly adjust the optimizer settings, i.e., the optimization targets, to move the optimization in the desired direction. Furthermore, the user can perform as many iterations of the optimization as desired before approving the alignment experiment to be performed. The iterations of interactive active learning can be repeated as many times as the user desires. Once the interactive active learning is completed, the corresponding alignment results and the best alignment conditions so far with performance metrics are available for downstream workflows.
[0066] In an exemplary implementation of the guided learning workflow (performed in step 104), a user (e.g., an expert user), various model analyzers, and a model optimizer collaborate to extract insights from the seed model configured in step 103. The guided learning may include analyzing the importance of one or more alignment hyperparameters and the impact of the one or more alignment hyperparameters on the alignment quality predicted by the constructed seed model. This determination of importance and impact can be used to tune hyperparameter selection, adjust ranges / options of the selected hyperparameters, customize alignment quality performance metrics and acceptance criteria, and customize alignment guidance pseudo-time series generator functions. Additionally, the guided learning may include conducting a batch alignment experiment on at least one batch of the set of representative batches using exploratory settings of the one or more alignment hyperparameters to ascertain the impact of the one or more alignment hyperparameters on alignment quality.
[0067] In an embodiment of the method 100, configuring 102 the batch alignment settings may include configuring, e.g., storing in computer memory, values and settings of any parameters and variables used in the execution of an embodiment. According to one embodiment, configuring the batch alignment settings 102 includes at least one of: (1) selecting a batch alignment method for performing the batch alignment; (2) selecting one or more alignment hyperparameters and corresponding setting ranges for the one or more alignment hyperparameters for performing at least one of automatic active learning, interactive active learning, and guided learning; (3) setting values for at least one hyperparameter of the one or more alignment hyperparameters, e.g., where the hyperparameter settings are expected to be fixed; (4) selecting constraints and settings for performing at least one of automatic active learning, interactive active learning, and guided learning; (5) selecting and customizing performance metrics for evaluating alignment results of at least one batch of a set of representative batches during an alignment experiment; (6) setting acceptance criteria for at least one of automatic active learning, interactive active learning, and guided learning based on the selected performance metrics; and (7) selecting to enable or disable early termination of performing at least one of automatic active learning, interactive active learning, and guided learning upon meeting the acceptance criteria.
[0068] As an alternative to utilizing the online dynamic alignment method described in US Patent Application No. 15 / 967,099, the embodiment can also use other methods as the base alignment method. For example, the user can select the linear warping alignment or the offline dynamic warping alignment method as the base alignment method. For the online dynamic alignment method, the hyperparameters include time smoothness, sliding window size, difference penalty, and search interval. In the linear warping alignment, the batch data is warped according to an indicator variable selected by the user, and the indicator variable itself should be monotonic. For the linear alignment method, the hyperparameters include an indicator variable, where the indicator variable determines the progress of the batch phase, and a different indicator variable can be set for each batch phase. In the offline dynamic warping alignment, the data is warped according to the weighting of each variable. For the offline dynamic alignment method, the hyper-parameters include time smoothness and a variable alignment weight where the time smoothness weights the smoothness of the curve (the higher this value, the more smoothing is applied to the time usage variables created during the alignment). In the offline dynamic alignment method, once the batch maturity of each phase is checked, the phase is considered to have reached 100% completion. In this way, each phase is aligned to the entire reference batch phase. If the batch maturity is not checked, such an embodiment infers the completion percentage of each phase of each batch and aligns only to the corresponding part of the reference batch. Furthermore, the weights that each variable has during the alignment process and the variables are weighted only against each other. In this example, the extended online dynamic alignment method can be selected by the user for batch alignment.The user may choose to apply the Sobol alignment technique to vary the sliding window size, differential penalty, and default range search interval to prepare 50 alignment experiments, fixing the time smoothness hyperparameter value to 1, and using a total alignment score greater than 80, and a total alignment time less than 10 minutes as acceptance criteria, among other example user-selected settings.
[0069] An embodiment of method 100 may include selecting a batch alignment method that may be used in performing an alignment experiment to prepare an alignment metadata datasheet at step 103, and / or performing training at step 104, and / or performing a batch alignment at step 105. The batch alignment method may be selected at step 102 as part of configuring a batch alignment setup. An embodiment may utilize any alignment method known in the art. Additionally, although an embodiment is described herein as utilizing the online dynamic alignment method described in U.S. Patent Application No. 15,967,099, an embodiment is not limited and may employ any alignment method known in the art.
[0070] The embodiments may also include extending the selected base batch alignment method. In one embodiment, this may include extending the selected base batch alignment method with one or more alignment guidance pseudo variables. According to one embodiment, extending the alignment method with the alignment guidance pseudo variables may include at least one of: (i) selecting one or more alignment guidance pseudo variables to be included as process variables of the batch; (ii) selecting one or more generator functions, e.g., step, sawtooth, rectangular, etc., for the one or more alignment guidance pseudo variables to generate one or more alignment guidance pseudo variable time series; and (iii) selecting one or more customizations (if any) for the one or more generator functions. For example, in the case of the built-in logarithmic time series generator function, the user may prepend a scaling factor to the (t~t0) term and / or change the default constant term from 1 to 100 based on the user's domain knowledge to generate different time series profiles. In another embodiment, extending the selected base batch alignment method includes extending the base batch alignment method with one or more alignment guidance only process variables by selecting one or more alignment guidance only process variables to be included as process variables of the batch.
[0071] An embodiment of the method 100 constructs a seed model in step 103 using a method 1300 described below in connection with FIG. 13. Furthermore, according to another embodiment, constructing the seed model in step 103 includes selecting (i) an alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model. In such an embodiment, constructing the seed model in step 103 also includes determining a set of alignment experiments to be performed based on the selected (i) alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model. Such an embodiment runs each experiment in the determined set of alignment experiments to generate respective alignment results for a set of representative batches. The respective alignment results are then quantified with a performance metric selected for each experiment, and a seed model is constructed based on the quantified respective alignment results and the respective settings for the selected hyperparameters.
[0072] Quantifying each alignment result with these dedicated "alignment performance metrics" described below allows for the application of machine learning to batch alignments. The quantification process determines the degree of smoothness of the batch maturity movement (hereinafter "batch maturity score"), the batch phase misprediction ratio (hereinafter "phase ID score"), the comprehensive alignment quality assessment score (hereinafter "total quality score"), and / or the time it takes to complete the alignment. Not only can users customize the definition of "batch maturity score" and / or "phase ID score" to incorporate their own domain knowledge, but users can also change the definition of "total quality score" to reflect the user's desire to emphasize one factor over the other. Embodiments may utilize various techniques to build the seed model in step 103. For example, embodiments may utilize projection onto latent structures (PLS) or neural networks, among other examples.
[0073] Embodiments of method 100 may use a variety of different techniques to determine the set of alignment experiments for constructing the seed model in step 103. In one embodiment, the set of alignment experiments is determined using at least one of a low discrepancy sequence treatment, a design of experiment treatment, randomly generated experimental conditions, and uniformly generated experimental conditions. According to an embodiment, performing each experiment in the determined set of alignment experiments includes performing each experiment in the determined set sequentially or performing each experiment in the determined set in parallel.
[0074] One embodiment of method 100 performs method 16, described below with respect to Figure 16A, to perform the learning in step 104. More specifically, performing active learning can use method 1600, described below with respect to Figure 16B. Performing interactive active learning can use method 1601, described below with respect to Figure 16C. Performing guided learning can use method 1602, described below with respect to Figure 16D.
[0075] According to an exemplary embodiment of the method 100, performing the automatic active learning in step 104 includes configuring constraints and alignment quality settings for performing the automatic active learning, and automatically determining given settings for one or more alignment hyperparameters using the constructed seed model, the configured constraints, and the configured alignment quality settings. In such an embodiment, the given settings maximize the alignment quality score predicted by the constructed seed model. Such an embodiment performs an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters. Then, if the results of performing the experimental batch alignment meet the criteria, the given settings for the one or more alignment hyperparameters are maintained, and if the results do not meet the criteria, the constructed seed model is updated or rebuilt. The model update or rebuild may also include updating the alignment conditions and corresponding performance metrics from a newly completed alignment experiment. After updating or reconstructing the seed model, such embodiments may iterate between (i) configuring constraints and alignment quality settings, (ii) automatically determining given settings, and (iii) performing experimental batch alignments.
[0076] In one embodiment, performing interactive active learning in step 104 includes configuring constraints and alignment quality settings for performing interactive active learning. Such an embodiment uses the constructed seed model, the configured constraints, and the configured alignment quality settings to interactively recommend given settings for one or more alignment hyperparameters. Then, in such an embodiment, an experimental batch alignment is performed on at least one batch of the set of representative batches using the given settings for one or more alignment hyperparameters. If the results of performing the experimental batch alignment meet a criterion or are based on user input, the given settings for the one or more alignment hyperparameters are maintained or the constructed seed model is updated or reconstructed. If the constructed seed model is updated or reconstructed, the method continues by iterating (i) configuring constraints and alignment quality settings, (ii) interactively recommending given settings, and (iii) performing an experimental batch alignment. If the results of performing the experimental batch alignment do not meet the criteria and are not based on user input, the constructed seed model is updated or reconstructed and the method repeats (i) configuring constraints and alignment quality settings, (ii) interactively recommending the given settings, and (iii) performing the experimental batch alignment. The model update or reconstruction may include updating the alignment conditions and corresponding performance metrics from a newly completed alignment experiment.
[0077] In one embodiment, performing the guided learning process in step 104 includes performing a variety of different tasks based on user input and the constructed seed model. The guided learning process may include analyzing the importance of one or more alignment hyperparameters and the impact of the one or more alignment hyperparameters on the alignment quality predicted by the constructed seed model. Additionally, the guided learning process may include customizing alignment quality performance metrics and acceptance criteria, customizing an alignment guidance pseudo-time series generator function, and / or adjusting ranges, options, or constraints of one or more alignment hyperparameters. Additionally, performing the guided learning may include running a batch alignment experiment on at least one batch of the set of representative batches using exploratory settings for the one or more alignment hyperparameters to ascertain the impact of the one or more alignment hyperparameters on alignment quality.
[0078] Another embodiment of method 100 determines whether the batch alignment performed in step 105 meets the acceptance criteria. If the performed batch alignment does not meet the acceptance criteria, such an embodiment of method 100 performs an iterative function until the batch alignment meets the acceptance criteria. Such an embodiment repeats the following steps: (1) updating or reconstructing the constructed seed model in step 103; (2) using the updated or reconstructed constructed seed model, the selected reference batch, the configured batch alignment settings, and the set of representative batches, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for one or more alignment hyperparameters in step 104; (3) performing a batch alignment in step 105 on the batches using the updated or reconstructed constructed seed model and the configured batch alignment settings in step 102; and (4) determining whether the batch alignment performed using the settings for one or more alignment hyperparameters determined using the updated or reconstructed constructed seed model meets the acceptance criteria.
[0079] Yet another embodiment of method 100 stores and manages the settings determined in step 104 for one or more alignment hyperparameters in an alignment environment library. Such an embodiment may also store the batch alignment settings configured in step 102 in the alignment environment library. Storing and managing the determined settings for one or more alignment hyperparameters in an alignment environment library according to an embodiment includes associating the determined settings for the one or more alignment hyperparameters with batch data for the industrial process. Such an embodiment may also categorize and organize the determined settings for the one or more alignment hyperparameters based on at least one of the industrial process, plant / facility, and operating conditions. Storing these categories along with an indication of the industrial process, plant, and operating conditions under which the batch data was generated facilitates transfer learning. Furthermore, such an embodiment may apply the determined settings for one or more alignment hyperparameters as a starting point for a new batch data set. In an embodiment, the settings may be used as a starting point for batch data from the same or similar industrial process, plant, or process having similar operating conditions. This eliminates the need to start fresh with generic default settings.
[0080] Functionality for the following embodiments is outlined herein, including dedicated performance metrics, alignment acceptance criteria, automatically seeded supervised machine learning model construction based on alignment metadata datasheets, automatic and interactive active learning workflow, guided learning process, alignment guidance pseudo variable expansion, alignment guidance only variable expansion, and alignment library. The embodiments are described below as addressing some issues observed with online dynamic alignment methods in recent practice in industrial applications. However, the embodiments described herein are not limited to being used in conjunction with the online dynamic alignment method described in U.S. Patent Application No. 15,967,099. The embodiments may be used with any alignment method.
[0081] In the following description, an example system is described using (1) the enhanced online dynamic alignment method as an exemplary alignment method (shortly referred to as enhanced alignment), (2) an alignment experiment performed on an alignment metadata data sheet (labeled observations) prepared with the Sobol sequence approach, (3) a projection onto latent structure (PLS) multivariate statistical model as an example of a supervised machine learning algorithm to build a seed model, and (4) a constrained AspenTech ProMV® PLS model optimizer as an example core optimizer for an automatic or interactive learner and a multi-PLS-based analyzer used in a guided learning process to demonstrate what can be done to extract alignment insights. However, it should be noted that the embodiment is not limited to the specific implementation described herein, and various changes in form and details may be made without departing from the scope of the present invention.
[0082] A small public domain data set (DS08) of an industrial multi-phase batch reactor / dryer process 220, shown in FIG. 2, is used as an example herein to demonstrate how embodiments of the present invention can be used to align batch data. System 220 is an exemplary system for implementing a batch process. Data from system 220 can be aligned (with respect to the number of sampled values) using embodiments of the present invention. Additionally, the aligned data can be used to simulate system 220 and control the operation of real-world systems. Similarly, embodiments of the present invention can be used to determine process settings, and these settings can be used to control manufacturing and other batch processes.
[0083] The DS08 data set has 71 batches and each batch has 10 process variables, which are shown (in original engineering units) in Figures 3A-J. Figures 3A-J show collection tank level 330a (item 1 in Figure 2), differential pressure 330b (item 2 in Figure 2), dryer pressure 330c (item 3 in Figure 2), agitator power 330d (item 4 in Figure 2), agitator torque resistance 330e (item 5 in Figure 2), agitator speed 330f (item 6 in Figure 2), jacket temperature OP 330g (item 7 in Figure 2), jacket temperature 330h (item 8 in Figure 2), dryer temperature OP 330i (item 9 in Figure 2), and dryer temperature 330j (item 10 in Figure 2). The x-axis of Figures 3A-J are the sampling points for a given batch of the process and the y-axis are the measurements of the trajectory variables at each sampling point. Each trajectory represents the variable profile of the batch. The batch length of DS08 varies from less than 50 sampling points to more than 200 sampling points. For DS08 batch data, the end-to-end alignment of all raw data batches against a given reference batch can be completed in a few minutes in total using the online dynamic alignment method with default settings of all hyperparameters.
[0084] Using another batch dataset (DS04) from a more complex multi-phase industrial batch process, we show that embodiments of the present invention solve challenges sometimes observed in the current practice of online dynamic alignment methods in industrial applications. Because DS04 has more trajectory variables, sampling points, and batches than DS08, performing an end-to-end alignment is expected to take longer to run and even longer if more powerful computational resources are lacking or the implementation is inefficient.
[0085] There are a wide variety of implementation variations for the embodiments. Some embodiments may not have an alignment environment and alignment library. In such embodiments, customizations or settings are applied directly to each workflow. Different alignment methods may be extended by the alignment guidance pseudo variable extensions and / or alignment guidance only variable extensions described herein. Embodiments may include different built-in pseudo variable generator functions and may or may not allow users to customize the generator functions. Embodiments may also allow users to provide their own generator function definitions. An embodiment may not explicitly reserve alignment guidance only variables as such, but may include them along with other process variables for the sole purpose of providing alignment guidance as needed. An embodiment may remove alignment guidance only variables or may retain alignment guidance only variables in the aligned batch data set for downstream processes. An embodiment may have variations in the definition of the performance metrics and the corresponding acceptance criteria. In embodiments, alignment experiments performed on the alignment metadata datasheet (labeled observations) may be prepared using either a low discrepancy array (LDS) approach, such as Sobol array or other similar methods, or a design of experiments (DOE) approach, such as D-optimal design or other similar methods. In certain circumstances, a brute force approach may also be used to randomly or uniformly generate alignment conditions for the alignment experiment. In embodiments, seed models may be constructed using a variety of different supervised machine learning algorithms, such as projection onto latent structures (PLS), neural networks, etc. Additionally, various model analyzers and optimizers may be used to build automatic or interactive learners, and various model analyzers may be used for guided learning processes to extract alignment insights.
[0086] System Workflow
[0087] Figure 4 shows a batch alignment process 440 according to one embodiment (for non-limiting example, for use in implementing process 100 of Figure 1). Process 440 includes an active learning workflow (automatic and interactive) and a guided learning process that recommends alignment conditions. Process 440 can apply these alignment extensions to the alignment method itself to improve alignment quality from a high level.
[0088] Process 440 begins with loading, cleansing, and / or scaling of batch data at step 400. In this example, these procedures are applied to DS08. In an exemplary embodiment, after the DS08 dataset is loaded at step 400, the raw data is preprocessed. This includes removing outlier observations based on the distribution of each variable, applying centering (e.g., mean centering (MC)), and applying scaling (e.g., unity variant (UV) scaling, also known as unity scaling), among other examples. Centering helps to focus the analysis only on the relevant variation of the variables (which is the variation between observations). Scaling each variable by a factor that is likely to be different for each variable helps to analyze the data based on correlation.
[0089] Next, in step 401, process 440 selects a reference batch. This can be done by allowing the user to directly select the reference batch or by requesting the disclosed system to provide a candidate list of reference batches and then selecting the reference batch from the list. In one embodiment, the candidate list of reference batches is recommended by the online dynamic alignment method described in U.S. patent application Ser. No. 15 / 967,099. For illustrative purposes, batch 1 from DS08 is selected as the reference batch to align with the other 70 batches.
[0090] FIG. 5A shows ten unity-scale process variables (FIGS. 3A-J) in plot 550a for the reference batch (Batch 1) selected in step 401. In plot 550a of FIG. 5A, two vertical lines divide the reference batch into three batch phases, marked 1, 2, and 3. For data alignment purposes, some variables play a more important role than others. FIG. 5B shows in plot 550b the process variables recommended by the online dynamic alignment method, namely, collection tank level, dryer temperature, and agitator speed. These are the process variables recommended for alignment guidance. In an embodiment, the alignment variables are recommended in the online dynamic alignment method described in U.S. patent application Ser. No. 15 / 967,099.
[0091] Returning to FIG. 4, in step 402, process 440 allows a user to set up an extended alignment environment for aligning a given batch data set (e.g., DS08). Such functionality includes configuring batch alignment settings. The functionality performed in step 402 of process 440 may be performed in step 102 of method 100 described above in connection with FIG. 1. In one embodiment, in step 402, the new environment library starts with a default extended alignment environment having default settings for hyperparameters of the extended alignment method. Further, in one embodiment, in step 402, the user may adjust or customize the settings for different processes or the same process performed at different manufacturing sites. These changes may be retained for different alignment environments. According to an embodiment, when the alignment process described herein is performed using the extended online dynamic alignment method, the default extended alignment environment has an alignment guidance pseudo variable option enabled in at least one embedded time series generator function (e.g., step). Other default settings that may be used include alignment performance metrics with default definitions and default acceptance criteria that focus on both total quality score and time to perform the alignment. Furthermore, in one embodiment, given the characteristics of a batch data set, different alignment environments can be selected from a library in step 402 to quickly set up alignment conditions by adopting alignment conditions from the environment selected in the library. Further details regarding this functionality are provided below under the heading "Alignment Environments and Environment Libraries".
[0092] After the alignment environment is set up in step 402 (which can be done using pre-configured settings from alignment environments held in a library), in step 403 the user can make optional on-the-fly adjustments or customizations to these hyper-parameter settings / options such as time smoothness, sliding window size, difference penalty, and search interval for the online dynamic alignment method in the example system. This may include enabling or disabling alignment guidance pseudo variables that are temporarily available in the current alignment environment. If the implementation of process 440 does not have the concept of an alignment environment, then the customizations or adjustments in step 403 can be made directly to the alignment settings and options, e.g., hyper-parameters, acceptance criteria, etc.
[0093] Next, in step 404, a pilot run of an extended alignment for the given trajectory data set with the current alignment environment is performed. The alignment in step 404 can be performed using method 1020 described below with respect to FIG. 10. Further details of this function are described below under the heading "Extended Alignment Workflow". The alignment results from the pilot run performed in step 404 are automatically evaluated with performance metrics, such as, for example, "Batch Maturity Score", "Phase ID Score", "Total Quality Score", and "Alignment Time Required". Further details regarding the definition of the alignment performance metrics are described below under the heading "Alignment Performance Metrics".
[0094] Continuing with the process 440, in step 405, the alignment performance metrics are compared to the alignment acceptance criteria configured within the current alignment environment. Further details of the alignment acceptance definition are described below under the heading "Alignment Acceptance Criteria". If the current alignment environment is custom built for a given type of industrial batch data set, the pilot run performed in step 404 is likely to produce an alignment result with reasonable performance metrics. In this way, the result of the alignment in step 404 may meet the acceptance criteria evaluated in step 405. Furthermore, in step 405, if the performance metrics are not sufficient to meet the acceptance criteria, the user can stop the aligned data set and accept it as is. In both cases (satisfying the acceptance criteria or accepting the aligned data as is), the process 440 proceeds to step 406.
[0095] The entire alignment process is completed in step 406. The accepted aligned data set and its corresponding alignment terms may be stored so as to be available outside the system performing process 440. Additionally, other alignment results, performance metrics, and their corresponding alignment terms are no longer needed and may be deleted in step 406.
[0096] If the current alignment environment has different settings / options / definitions than the original environment in the library, process 440 offers the option to keep the entire current alignment environment as a brand new environment, i.e., stored in computer memory, or to update / replace the original environment in the library. This function is performed in step 407. Once the settings (e.g. alignment conditions, variable and parameter values) are saved in step 407, the alignment process is re-run, which allows for consistent alignment results to be produced. Alternatively, in step 407, the user can choose to discard these temporary changes and make no changes to the library.
[0097] Returning to step 405, if the acceptance criteria are not met or if the user does not accept the alignment despite the criteria being met, the process 440 moves to step 408. In step 408, the process 440 builds a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters. To build the seed model in step 408, the method 440 may implement the method 1300 described below in connection with FIG. 13. An embodiment of the process 440 prepares an alignment metadata data sheet for building a seed supervised machine learning model in step 408. In such an embodiment, up to N (e.g., 50) alignment experiments are performed with early stopping using an extended alignment method during the initial execution of step 408 on the batch dataset. The early stopping option ends step 408 during metadata data sheet preparation if the alignment results of the experiments meet the acceptance criteria. Otherwise, a supervised machine learning model is automatically built based on the metadata data sheet to extract insights regarding the impact of alignment hyperparameter settings / options on alignment quality. In embodiments, a variety of different supervised machine learning methods may be used to construct the seed model at step 408, such as PLS, neural networks, etc. In an exemplary implementation described below, the seed model is constructed using a PLS algorithm. Further details for constructing the machine learning model at step 408 are described below under the heading "Constructing a Seed Supervised Machine Learning Model." Additionally, the machine learning model may be constructed at step 408 using method 1300, described below in connection with FIG. 13.
[0098] Next, in step 409, process 440 checks whether the alignment results from any of these N alignment experiments (performed in step 408 to build the machine learning model) meet the acceptance criteria. If the criteria are met, process 440 moves to step 406 described above. Similarly, step 440 moves to step 406 even if the alignment results from the alignment experiment performed in step 408 are not good enough to meet the acceptance criteria, but the user has chosen to stop and accept the aligned dataset "as is." If in step 409 it is determined that the acceptance criteria are not met, process 440 moves to step 410.
[0099] In step 410, process 440 utilizes the seed supervised machine learning model (built in step 408) to implement at least one of three built-in workflows to recommend practical alignment conditions with their alignment results and performance metrics for a given batch dataset. In step 410, process 440 implements at least one of (1) an automatic active learning workflow, (2) an interactive active learning workflow, and (3) a guided learning process. These three workflows can be implemented in parallel in step 410, and the user can choose which workflow to follow, the order in which to proceed through these workflows, and whether to repeat the workflow after performing a workflow. For example, using the seed model, an experienced user may choose to interactively explore the relationship between alignment hyperparameter settings and alignment metrics and make trade-offs through the interactive active learning workflow and / or the guided learning process. In another example, a new user may rely on the automatic active learning workflow to obtain recommended alignment conditions and their alignment results and performance metrics for the underlying batch dataset. Further details of workflows that may be implemented in step 410 are described below under the headings "Automatic Active Learning Workflow to Recommend Alignment Conditions," "Interactive Active Learning Workflow to Recommend Alignment Conditions," and "Guided Learning Process to Recommend Alignment Conditions." Additionally, the functionality described below in connection with Figures 16A-D may be implemented in step 410.
[0100] Next, in step 411, process 440 checks whether an alignment term with the alignment result and performance metric is recommended by the active learning workflow or guided learning process implemented in step 410. If an alignment term is recommended, process 440 proceeds to step 406. If there is no alignment term recommended from step 410, in step 411, process 440 proceeds to step 412.
[0101] At step 412, process 440 checks whether the user wants to stop training a given batch data set. If at step 412 the user provides an indication that they do want to stop, process 440 proceeds to step 406 and the alignment results and the best alignment conditions so far for the performance metric are made available (output from process 440). If at step 412 the user provides an indication that they do not want to stop, process 440 proceeds to step 413.
[0102] Given that (a) running alignment experiments, i.e., labeling observations, is computationally expensive, and (b) in general, the more run alignment experiments (labeled observations) are available, the better the model prediction of alignment quality is, then in step 413, process 440 collects all compatible observations that were previously labeled for the same batch dataset during the pilot run, previous active learning workflow, and guided learning process. After collecting reusable labeled observations in step 413, process 440 returns to step 408 and repeats steps 409, 410, 411, and 412. In step 408, these existing compatible observations can be merged with the newly labeled observations to build / update a seed model that provides a better prediction of alignment quality.
[0103] Alignment Environments and Environment Libraries
[0104] Embodiments may employ alignment environments to facilitate management of alignment hyperparameters and their settings, alignment performance metrics, alignment acceptance criteria, alignment guidance pseudovariable generator functions, and any other alignment related data for a given batch data set. According to embodiments, an alignment environment library is a computer memory area that stores relevant data. In one embodiment, an environment library is utilized to manage a list of alignment environments. The use of an environment library not only allows a user to quickly switch from one environment, i.e., collection of alignment settings, to another, but also ensures consistent alignment results when the same alignment environment is applied to the same batch data set.
[0105] The embodiment utilizes a default alignment environment in the library. According to an exemplary implementation, the default environment includes (1) an indication of the extended alignment method selected from a candidate list of alignment methods, (2) default settings for alignment hyperparameters, (3) default performance metric definitions, and (4) default acceptance criteria along with any other associated default settings and configurations. In an embodiment where the batch model is used for online analysis, monitoring, and control, the extended online dynamic alignment method is set as the system default in all built-in alignment environments. Additionally, in one embodiment, the default environment has alignment guidance pseudo variable extensions enabled in one built-in time series generator function (e.g., "step"). The default environment may also include default performance metrics (e.g., batch maturity score, phase ID score, total quality score, and alignment duration) with built-in default definitions and default acceptance criteria based on the total quality score and the time it takes to perform the alignment.
[0106] Different batch data sets from different batch processes or the same batch process executed in different manufacturing plants may require different alignment environments. Therefore, in one embodiment, a user can customize the settings and configurations for a particular batch process. Configurable settings include performance metrics, acceptance criteria, and user-defined functions as alignment guidance pseudo variable generator functions, among other examples. Furthermore, a user can select different alignment methods, customize the selected alignment methods to meet specific needs, and maintain these selected configurations in the alignment environment. Given the characteristics of the batch data set, an alignment environment can be selected from a library to quickly set up the alignment conditions.
[0107] For a new batch data set, a user with no prior knowledge or domain knowledge of the process of generating the batch data can start with a default alignment environment. Furthermore, the user can adjust or customize the alignment environment, i.e., the settings for performing the batch alignment. The user can also save the modified conditions as a new alignment environment in the library for reuse.
[0108] Exemplary alignment environments constructed using the extended online dynamic alignment method described herein may include a wide variety of different alignment settings and configurations. Alignment environments may include hyperparameters and hyperparameter setting ranges. Examples of hyperparameters include, among others, time smoothness, sliding window size, difference penalty, and search interval. Additional hyperparameters that may be employed in embodiments are described in U.S. Patent Application No. 15 / 967,099, the contents of which are incorporated herein by reference.
[0109] The alignment environment can store options and settings related to alignment guidance pseudo-variable extensions. This data can include a list of alignment guidance pseudo-variable time series monotonic generator functions (including built-in and user-defined) with their enable / disable flags and adjustable settings (such as variable alignment weights). These functions can be used by embodiments to automatically generate alignment guidance pseudo-variable time series on the fly with batch phase information to affect alignment results. Further details regarding this functionality are provided herein under the heading "Alignment Guidance Pseudo-Variables and Their Generator Functions."
[0110] The embodiment may also store options and settings related to alignment guidance only variable extensions. This data may include a list of alignment guidance only time series variables that are (i) explicitly generated using a similar monotonic time series generator function with batch phase information such as a user history database and distributed control system, or (b) explicitly included by the user as process non-significant process variables for modeling purposes, but with explicit alignment guidance information. These alignment guidance only variables may be provided along with other process variables for alignment implementation. Further details regarding this functionality are provided herein under the "Alignment Guidance Only Process Variables" section.
[0111] The environment may include a list of alignment performance metrics (including built-in and / or user-defined definitions) and corresponding alignment quality acceptance criteria (default or customized). Details regarding the metrics and acceptance criteria are provided below under the headings "Alignment Performance Metrics" and "Alignment Acceptance Criteria."
[0112] The embodiments may also store settings and options for constructing a seed supervised machine learning model. This information includes (1) the number of run alignment experiments (labeled observations) required to build a model with reasonable accuracy, (2) the best choice of machine learning model technique (e.g., projection onto latent structures (PLS) multivariate statistical model and neural network, among others) along with other settings for constructing the seed learning model.
[0113] Another embodiment stores settings and options for the automated active learning workflow, such as the maximum number of iterations allowed for automated learning, an indication of the model analyzer or optimizer used as the core of the automated learner, an indication of the constraints imposed on the settings of hyperparameters and performance metrics, and an indication of how the automated learner determines which observation is the next most informative observation to be selected.
[0114] Settings and options for the interactive active learning workflow may also be stored in the environment library. This data may include which model analyzer or optimizer to use as the core of the interactive learner, the constraints placed on the settings of hyperparameters and performance metrics, and how the interactive learner determines which observations are, among other things, the next most useful observations to be selected.
[0115] Similarly, settings and options for the guided learning process can be stored in the environment, including which model analyzers to use to extract insights (e.g., the Variable Importance in Prediction (VIP) analyzer).
[0116] Embodiments may include some or all of the aforementioned data, as well as any other data known to those of skill in the art. Additionally, embodiments do not require the use of alignment environments and environment libraries; in such embodiments, settings of hyperparameters, performance metrics, acceptance criteria, and other alignment criteria can be directly applied and configured during execution.
[0117] Alignment guidance pseudovariables and their generator functions
[0118] In the absence of sufficient process variables with clear alignment guidance, one or more intermediate derived pseudo time series may be included with the underlying batch data set to provide alignment guidance. The intermediate derived time series are referred to herein as "alignment guidance pseudo variables." In an embodiment, a dedicated time series generator function or a user-provided generator function may be configured or customized by a user to generate a desired alignment guidance pseudo variable time series.
[0119] According to an embodiment, the time series generator function is per-phase and monotonic to provide a clear direction to the alignment process. Given the nature of each phase of a batch process, a user with domain knowledge can apply different per-phase time series generator functions to generate alignment guidance trajectories for each phase, since different time series shapes may have different effects on alignment quality. For example, during the logarithmic growth phase of bacteria in a bioreactor for water treatment, if there is no clear alignment guidance from existing process variables, a log-based monotonic time series generator function can be selected to automatically generate a time series with logarithmic characteristics for that phase.
[0120] To illustrate, various polymerization processes may follow step-growth or chain-growth mechanisms, where 1) for step-growth mechanisms, a large amount of monomer is consumed in the early stages of the reaction, and 2) for chain-growth mechanisms, the concentration of monomer steadily decreases over time. Depending on the double bond type involved and the catalyst applied, metathesis polymerization of cycloolefins may follow either step-growth or chain-growth mechanisms. In the absence of clear alignment guidance from existing process variables, for polymerization reaction phases with step-growth, a "stepwise" or "step" time series generator function can be selected to automatically generate a time series with step characteristics for that phase, while for polymerization reaction phases with chain-growth, a "sawtooth" based time series generator function can be selected to automatically generate a time series with sawtooth characteristics for that phase. New users can select one or more pseudovariable generator functions and apply the automatic active learning workflow to find the effect of the generator function on the alignment quality of a given batch data set. Further details of this feature are described below in the "Automatic Active Learning Workflow to Recommend Alignment Conditions" section.
[0121] In an embodiment, the built-in per-phase time series generator functions may include, but are not limited to, polynomial functions (e.g., "step", "sawtooth", "rectangle", etc.), logarithmic functions, and exponential functions, among other examples. The input "t" to a given time series generator is the index of the current observation in the batch, and "t0" is the index of the initial observation in the batch for a phase, so that "t~t0" is a zero-based relative index of the observation in that particular phase if both "t" and "t0" are in the same phase. In other words, the batch trajectories generated for each alignment guidance pseudo-variable are monotonic in each batch phase, respectively. In an exemplary embodiment, the built-in "sawtooth" time series generator repeatedly reads the phase ID information for a new observation and compares the new observation with the phase ID information of the last observation to determine if a new phase has just begun. When a new phase begins, the counter is reset to zero, and if the phase for the new observation is the same as that of the last observation, the counter is incremented by one. In this way, the count is a zero-based relative index for the current batch phase. Plot 770 in Figure 7 shows the sawtooth generated pseudo variables for Batch 1 of DS08 merged with the other 10 process variables for Batch 1 of DS08. Below are some typical forms of these formulas, and in most cases they will work as is, but can be further customized if needed.
[0122] Step time series generator function: y(t) = Numeric phase ID of a 3-phase batch process, e.g. 1, 2, and 3 (1)
[0123] Sawtooth time series generator function: y(t)=t-t0 (2)
[0124] Rectangular time series generator function: y(t)=(t-t0)^2 (3)
[0125] Logarithmic time series generator function: y(t)=log(t-t0+1) (4)
[0126] Exponential time series generator functions:
number
[0127] 6A-E are plots 660a-e illustrating the built-in pseudo-variable generator function for batch 1 of DS08 and the alignment guidance pseudo-variables generated by equations (1)-(5) above against phase information. Batch 1 of DS08 has 149 sampling points with indexes from 0 to 148, 0 to 62 for the first phase, 63 to 106 for the second phase, and 107 to 148 for the third phase. To simplify the demonstration, the pseudo-generator function is not switched for different phases during the time series generation of a batch. Specifically, in FIG. 6A, the time series is generated by a "step" generator function, in FIG. 6B, the time series is generated by a "sawtooth" generator function, in FIG. 6C, the time series is generated by a "rectangle" generator function, in FIG. 6D, the time series is generated by a "logarithmic" generator function, and in FIG. 6E, the time series is generated by an "exponential" generator function.
[0128] As an example, plot 770 of FIG. 7 shows the sawtooth generated pseudo-variable for batch 1 of DS08 merged with the other 10 process variables of batch 1 of DS08. In one embodiment, the "sawtooth" generator function is similarly applied to the other 70 batches of DS08 to generate pseudo-variables for each of them. Thus, in such an implementation, the updated data set (10 process variables and one "sawtooth" pseudo-variable for each batch) is augmented with the "alignment guidance pseudo-variable" and ready for alignment. In this manner, the embodiment aligns the sawtooth data to the reference batch along with the data of the other process variables.
[0129] Process variables for alignment guidance only
[0130] If the batch alignment quality is not sufficient, embodiments may introduce additional process variables that are insignificant to the batch process itself, but can provide meaningful guidance on the batch alignment, through instruction from a user, such as a user with domain knowledge and process insight. Alternatively, an alignment guidance only time series may be explicitly generated by a user (e.g., outside the disclosed alignment system) using a time series generator function based on batch phase information in its history, a distributed control system, etc. This functionality may utilize, among others, the time series generator functions described above, e.g., "step" and "sawtooth." In either case, the purpose of incorporating these variables is to provide alignment guidance. Thus, such variables are referred to as "alignment guidance only process variables." Given the nature of these variables as alignment guidance only, they may be excluded from initial consideration to reduce computational overhead, but are later included in the batch data set to improve alignment quality.
[0131] Plot 880 of FIG. 8 shows the batch phase ID variable time series for the DS08 batch. During execution of the batch process recipe, the batch phase ID time series may be recorded in real time in the history. Because the phase ID variable is a "step" without much variation most of the time, it may not be included initially in the consideration to extract process insights. However, the step variable provides alignment guidance to the phase boundaries. In other cases, the phase ID time series may be explicitly generated by a user applying a "step" time series generator function in the history system, distributed control system, etc., for each batch. For example, for a 3-phase batch reactor / dryer process, to generate a "step" time series in the history, a user may deploy a script that runs once every minute by a timer to check in which phase the current batch is operating. The script may then insert a 0 into the history if the batch is in the preparation phase, a 1 into the history if the batch is in the first phase, a 2 into the history if the batch is in the second phase, and a 3 into the history if the batch is in the third phase. The "Step" time series stored in the history look similar to plot 880 in Figure 8. Unlike other real process variables stored in the history, these time series are generated by utilizing batch phase information and pseudo variable generator functions to provide alignment guidance purely. Once a step variable is generated, it can be used as an alignment guidance only variable in any alignment system.
[0132] As an example, plot 990 in Figure 9 shows the "Step" alignment guidance only variable along with 10 other process variables for a batch of DS08. The same mechanism can be deployed for all other batches of DS08. Thus, the refinement data set (10 process variables and 1 "Step" alignment guidance only variable for each batch) is augmented with the "alignment guidance only variable" and is ready for alignment.
[0133] Extended Alignment Workflow
[0134] An extended alignment workflow 1020 according to one embodiment is shown in FIG. 10. This method 1020 can be used to create an alignment metadata data sheet used to build a seed model in step 103 of FIG. 1, to perform alignment during various learnings in step 104, or to perform alignment in step 105. The workflow 1020 addresses a number of alignment issues. For example, the workflow 1020 handles errors related to phase ID prediction and non-monotonic progression of batch maturity. The workflow 1020 also prevents cases where batch maturity never reaches 100% batch maturity, where the data is highly variable and the results are not robust. The workflow 1020 addresses these issues by applying alignment guidance pseudo variable extensions and / or alignment guidance only process variable extensions to the underlying batch data set prior to alignment. Details regarding these extensions are described herein under the headings "Alignment Guidance Pseudo Variables and Their Generator Functions" and "Alignment Guidance Only Process Variables".
[0135] In this exemplary workflow 1020, an online dynamic alignment method is provided in step 1009, and a "sawtooth" generator function is selected as an example in step 1003 to generate alignment guidance pseudo-variables to demonstrate the workflow. Note that this is only one example, and for other embodiments, different alignment methods may be used along with built-in or customer-provided pseudo-variable generator functions.
[0136] The extended alignment workflow 1020 begins at step 1000 by loading settings from an alignment environment. Settings that may be loaded at step 1000 include: (1) hyperparameters and hyperparameter setting ranges for the online dynamic alignment method, (2) options and settings for the alignment guidance pseudo variable extension, (3) a list of time series variables for alignment guidance only, and (4) alignment performance metrics and corresponding alignment acceptance criteria. Additionally, any of the variables described herein may be loaded at step 1000. Further details of settings that may be loaded at step 1000 are described herein under the heading "Alignment Environments and Environment Libraries."
[0137] Next, step 1001 determines whether any alignment guidance pseudo variables are enabled in the alignment environment. If yes, workflow 1020 proceeds to step 1002. If not, workflow 1020 proceeds to step 1009.
[0138] In step 1002, process 1020 scans each batch to be aligned and the reference batch in the data set and records the phase ID information of each batch. FIGS. 11A-B show the phase ID information of two DS08 batches that may be determined in step 1002. If the batches are aligned using an online dynamic alignment method, the alignment process 1020 may consume information up to the alignment sampling time. However, for illustrative purposes, plots 1101a-b in FIGS. 11A-B are for the entire batch. Plot 1101 in FIG. 11A shows the phase ID information of reference batch 1, which has 149 sampling points with indexes from 0 to 148, where the first phase is 0 to 62, the second phase is 63 to 106, and the third phase is 107 to 148. Plot 1101 in FIG. 11B shows phase ID information for unprocessed batch 32 having 126 sampling points with indexes from 0 to 125, where the first phase is from 0 to 50, the second phase is from 51 to 73, and the third phase is from 74 to 125.
[0139] Returning to Figure 10, in step 1003, process 1020 loads a time series generator function for the alignment guidance pseudo variable. In step 1003, any time series generator function definitions enabled in the alignment environment, i.e., alignment settings / configuration, are loaded. The loaded functions can be built-in functions or customer-provided functions. In the example described herein, the "sawtooth" generator function definition is loaded in step 1003.
[0140] Next, in step 1004, a pseudo-variable time series is generated using the generator function loaded in step 1003 and the phase ID information determined in step 1002. Process 1020 generates an alignment guidance pseudo-variable time series for each batch to be aligned using the specified alignment guidance pseudo-variable generator function (e.g., a "sawtooth" function) and phase ID information. Because this example is based on an online dynamic alignment method, process 1020 has phase ID information up to the current sampling time. Further details of this function are described below under the heading "Alignment Guidance Pseudo-Variables and Their Generator Functions."
[0141] Next, in step 1005, the process 1020 determines whether the generated alignment guidance pseudo variables are monotonic in each phase. If the generated alignment guidance pseudo variables are monotonic, the process 1020 moves to step 1006, otherwise the process 1020 moves to step 1007. In an exemplary implementation, the built-in time series generator is monotonic. However, if the alignment guidance pseudo variables generated by the user-provided generator function are not monotonic (as determined in step 1005), the generated time series cannot be used and is discarded in step 1007, and the process 1020 moves to step 1008. In step 1008, the process 1020 issues an error informing the user that the generated time series is not monotonic, after which the alignment process 1020 ends.
[0142] Returning to step 1005, as discussed above, if the generated alignment guidance pseudo variables are monotonic, the process moves to step 1006. In this example, a "sawtooth" that is monotonic is selected to generate the alignment guidance pseudo variables, so the time series generated by the sawtooth is determined to be monotonic in step 1005, and the process proceeds to step 1006. In step 1006, the alignment guidance pseudo variables generated for each batch are merged with the underlying batch data set (e.g., DS08). For illustrative purposes, graph 1200 in the plot of FIG. 12 shows the results of the merging performed in step 1006. In graph 1200, all ten process variables and one pseudo variable (at unity scale) are shown for the entire batch 32 of DS08.
[0143] Returning to FIG. 10, after merging in step 1006, the process 1020 proceeds to step 1009 where the batch alignment is performed. In the process 1020, the underlying original batch data set may already be extended with one or more alignment guidance only variables by a user with domain knowledge or process insight. Such functionality is described in the "Alignment Guidance Only Process Variables" section. Furthermore, in step 1009, the overall data set for alignment may include process significant variables, alignment guidance only process variables (i.e., process non-significant variables), and alignment guidance pseudo variables. The process variables (whether significant or non-significant) are variables from outside the alignment system, such as history, distributed control systems, etc. In other words, the process variables are not determined as part of the alignment process 1020. On the other hand, the alignment guidance pseudo variables are implicitly and automatically generated as part of the alignment process 1020. In step 1009 , the entire batch data set is aligned using an online dynamic alignment method and the process 1020 proceeds to step 1010 .
[0144] In step 1010, the alignment results are evaluated using a performance metric, which is described in detail in the "Alignment Performance Metrics" section.
[0145] Depending on the settings of process 1020, after performing the alignment in step 1009 and evaluating the performance metrics in step 1010, the alignment guidance pseudo variables are automatically excluded from the aligned batch data set in step 1011. Alternatively, the alignment guidance pseudo variables can be retained in the aligned batch data set for model building, analysis, or prediction. Retaining the alignment guidance pseudo variables in the aligned batch data set does not necessarily degrade batch models built on the aligned batch data set, but more computing resources are required to build such batch models.
[0146] After alignment at step 1009, evaluation of performance metrics at step 1010, and elimination of alignment guidance pseudo variables at step 1011, alignment guidance only process variables are automatically excluded from the aligned batch data set at step 1012. Alignment guidance only process variables may be automatically excluded before utilizing the batch for model building, analysis, and prediction to reduce unnecessary computational effort. In one embodiment, alignment guidance only process variables are automatically excluded at step 1012 if they are reserved as alignment guidance only variables in the alignment environment. In an embodiment, keeping the alignment guidance only variables in the batch does not necessarily degrade the batch models built on the aligned trajectory data set, but it does require more computing resources. Therefore, excluding alignment guidance only process variables at step 1012 may be computationally advantageous. Additionally, it is noted that in an embodiment, steps 1011 and 1012 may be performed simultaneously or in a different order than that shown in FIG. 10.
[0147] Alignment Performance Index
[0148] The embodiments employ dedicated performance indicators to quantify batch alignment quality. By utilizing the performance indicators, alignment results can be evaluated objectively and systematically. In the embodiments, users can select and customize these performance indicators. Furthermore, users can include their own definitions for the performance indicators during the alignment configuration. The embodiments can utilize built-in performance indicator functions to quantify the alignment results. Examples of performance indicators include batch maturity score, phase ID score, and total alignment score. The embodiments can also consider the time it takes to perform the alignment process. Examples of performance indicators are shown below using the extended online dynamic alignment method as an example to show how the performance indicator function quantifies the alignment results into batch maturity score, phase ID score, and total alignment score. However, the embodiments are not limited to the following example, and in other implementations, the performance indicators used to evaluate the alignment quality may be similar in theory, but take different forms than those shown below. Details are as follows.
[0149] Batch Maturity Score
[0150] The batch maturity score of a batch measures both the completion percentage for the current alignment and the smoothness of the progression of the maturity of the outstanding batch against the reference batch by comparing the current outstanding batch against the reference batch.
number
number
[0151] The batch maturity score runs from -∞ to 100. The natural logarithm term contains two parts, and the difference term of the batch maturity normalized by the number of iterations
number
number
[0152] Phase ID Score
[0153] The batch phase ID score measures the error in batch phase ID prediction and is defined as:
number
[0154] Total Quality Score
[0155] According to one embodiment, the overall alignment quality metric is Q total Q batch maturity and Q phase id They capture the smoothness of batch maturity and misclassification information of phase ID, respectively. The total quality metric evaluation score is 100 (perfect) if and only if both the corresponding batch maturity score and phase ID score are perfect. Q batch maturity and Q phase id If one of the scores is low, even if the others are high, the resulting total score will still be low, indicating the presence of a significant difference between the raw batch and the reference batch. The batch total alignment quality assessment function is defined as:
number
[0156] Q total Q ranges from -∞ to 100, where 100 is a perfect alignment, while values below 0 indicate that the raw batch cannot be effectively aligned with the reference batch. batch maturity Q denotes the quality index of batch maturity. phase id represents a quality measure of the phase ID accuracy as the alignment progresses. The two sub-metrics are similarly bounded by 100. Both terms are raised to the natural logarithm, so that significant deviations from 100 in either Q batch maturity or Q phase id This design is similar to the softmax function often used in deep neural networks, a function that has proven effective in a variety of deep learning applications. For the batch alignment functions described herein, this approach provides an effective separation of successful and failed alignments.
[0157] For a dataset containing multiple batches, each batch will generate a record of three of the score values mentioned above and the time it takes to complete the alignment. The expected value of each score can be calculated as the average of the score values across all batches in the dataset. The expected performance metric then represents the behavior of the alignment on this dataset. The total time taken to align all batches in the dataset provides insight into the hardware requirements, allowing users to evaluate the trade-off between resources required and accuracy produced.
[0158] Alignment Acceptance Criteria
[0159] Quantified performance metrics allow comparison between alignment results generated under different alignment conditions without human intervention, enabling automation. The embodiments described herein utilize an extended online dynamic alignment method, e.g., the basic method (online dynamic alignment method) described in U.S. Patent Application No. 15 / 967,099, together with dedicated performance metrics as an example to illustrate how alignment acceptance criteria can be set in an alignment environment based on selected performance metrics, e.g., batch maturity score, phase ID score, and total alignment score. In an embodiment, the time it takes to perform the alignment process can be considered as well.
[0160] In this example, the default acceptance criteria include: 1) Q total>= minimum threshold, and 2) total time taken to complete alignment < maximum acceptable time. Both acceptance criteria can be customized when configuring the alignment settings, for example, in step 102 of method 100. Different batch datasets can have different thresholds for these acceptance criteria. A dataset with less clear alignment guidance may have a lower total score threshold than another dataset with alignment guidance. However, the embodiment can use the active learning framework to get an idea of the appropriate alignment settings before performing end-to-end alignment for each batch. The time it takes to perform a batch alignment on an entire dataset can vary between a few seconds to a few hours depending on the number of sampling points, the number of variables, and the number of batches in the dataset. For example, in DS08, where 3 out of 10 process variables already provide reasonable alignment guidance, the total quality score criterion can be set as Q. total >= 75. Running the experiment will give new users some idea of how long the alignment will take. In this example, it takes about 1-2 minutes to run the alignment experiment on DS08 using the default settings of alignment hyperparameters for the Enhanced Online Dynamic Alignment method on a 64-bit Windows 10 PC with Intel® Xeon® CPU E3-1245 v5 @3.5GHz and 32G RAM. Therefore, users may set 10 minutes as the maximum allowed alignment time for such an example.
[0161] Additionally, a user with domain knowledge and process insight can modify the default acceptance thresholds based on batch maturity score and phase ID score with or without total quality score as criteria. For example, in a given batch process, phase ID score is much more important than batch maturity score, so a user can modify the definition of total alignment score to prioritize phase ID score over batch maturity score. However, such an embodiment can use total quality score as the primary acceptance criterion for the alignment process and adjust the acceptance thresholds accordingly. Additionally, a user can set different acceptance criteria for each period, such as: (1)Q total >=60;(2)Q batch maturity >=50;(3)Q phase id >=90, and (4) duration <10 minutes, among other examples.
[0162] It should be noted that in other embodiments, the acceptance criteria used for matching against the performance index may differ from the example described herein. If another alignment method is used, the corresponding performance index can be used to evaluate the alignment results and these alignment results can be compared with the appropriate acceptance criteria. In embodiments that do not have an alignment environment concept, i.e., do not have saved alignment settings and configurations, the acceptance settings can be applied directly in the corresponding workflow.
[0163] Building a seeded supervised machine learning model
[0164] As mentioned above, embodiments may construct a seed model, e.g., at step 103 of method 100, and employ it, e.g., at step 104 of method 100. In one embodiment, a supervised machine learning model is constructed as the seed model. The seed model provides insight into the impact of different settings of alignment hyperparameters on the alignment quality of a given alignment method. In other words, the seed model shows how alignment quality is affected by hyperparameter settings.
[0165] 13 is a flow chart of a process 1300 for constructing a seed model according to one embodiment. The seed model creation process 1300 begins at step 1301 with loading configuration information for alignment. This data may be loaded at step 1301 from any computer memory communicatively coupled to the computing device performing the process 1300. For example, this data may be loaded from an alignment environment, i.e., a collection of data representing alignment configurations and settings stored in memory. The data loaded at step 1301 may include, among other things, the selected alignment method, hyperparameters of the alignment method, settings of the hyperparameters, an indication of some new labeled observations required to build the seed model, an indication of the supervised machine learning algorithm to use to build the seed model, performance metrics, and acceptance criteria.
[0166] For an example implementation using the DS08 dataset described herein, the data loaded in step 1301 includes: (1) the extended online dynamic alignment method as the alignment method; (2) a complete list of hyperparameters for the extended online dynamic alignment method (e.g., time smoothness, sliding window size, difference penalty, search interval, built-in time series generator functions for alignment guidance pseudo variables); (3) 100 as the maximum number of alignment experiments to be performed to prepare 100 labeled observations; (4) a PLS algorithm for building a supervised machine learning seed model; (5) a definition of the default performance metric for the extended online dynamic alignment; and (6) a default acceptance criterion, Q total Time taken to perform the alignment as >=75, and <10 min.
[0167] Next, alignment conditions for up to N alignment experiments are prepared in step 1302. There are several different ways to prepare the N experiments in step 1302. One approach is to use a low discrepancy sequence (LDS) approach, such as a Sobol sequence or other similar methods. This feature may include the methods described in https: / / en.wikipedia.org / wiki / Low-discrepancy_sequence. Additionally, the set of experiments can be determined using a Design of Experiments (DOE) approach, such as a D-optimal design or other similar methods described in https: / / en.wikipedia.org / wiki / Optimal_design. Compared to a brute force approach, using an LDS or DOE approach can produce better uniformity for higher dimensions without more experiments. In one embodiment, in step 1302, the alignment conditions prepared for these N experiments in step 1302 are listed as X variables in an alignment metadata data sheet, which are used to build a seed model. An exemplary datasheet 1500 is shown in FIG. 15, where the alignment hyperparameters (i.e., alignment conditions) are time smoothness, sliding window size, difference penalty, search interval, and different time series generator functions for alignment guidance pseudo variables, also referred to as X variables for supervised machine learning modeling purposes.
[0168] At step 1303, process 1300 performs alignment experiments sequentially or in parallel, depending on the computing resources available for a given implementation. In one embodiment, the experiments are performed sequentially at step 1303 by performing method 1400a described below in relation to Figure 14A. In another embodiment, the experiments are performed in parallel by performing method 1400b described below in relation to Figure 14B.
[0169] At the end of each alignment experiment, the alignment results from the experiment are evaluated with performance indicators, and the metrics are added to the alignment metadata datasheet as Y variables for that alignment condition. An exemplary datasheet 1500 is shown in FIG. 15, where the performance indicators (i.e., alignment quality indicators) evaluated from the alignment experiment results are batch maturity score, phase ID score, total quality score, and time to perform alignment, which are also referred to as Y variables for supervised machine learning modeling purposes. This process is also referred to as labeling the observations in the datasheet corresponding to the alignment experiment. Performing an alignment or labeling observations is a computationally expensive operation, so in one embodiment, early termination is included in the datasheet creation workflow. In such an embodiment, if the performance indicators of any alignment experiment (observation) meet the acceptance criteria, the entire alignment process is terminated, and the alignment results and their performance indicators are made available outside the alignment process. FIG. 15 shows an example of an alignment metadata datasheet 1500 with observations labeled using the extended online dynamic alignment method for DS08.
[0170] Returning to Figure 13, process 1300 continues at step 1304 to check whether any observations of the metadata data sheet meet the acceptance criteria. If the observations meet the acceptance criteria, process 1300 ends and the alignment results and performance metrics of the alignment are made available outside the alignment process, e.g., to a computing process or device other than the computing process implementing the alignment. If at step 1304 it is determined that the observations meet the acceptance criteria, method 1300 proceeds to step 1305.
[0171] Method 1300 checks in step 1305 whether there are any reusable observations that were previously labeled in any previous training before step 1303. If there are no reusable observations, method 1300 moves to step 1307. If there are reusable observations, method 1300 proceeds to step 1306. In step 1306, the newly labeled N observations from step 1303 are merged with the previously labeled reusable observations to form an alignment metadata data sheet, e.g., sheet 1500 shown in FIG. 15. After merging in step 1306, method 1300 proceeds to step 1307.
[0172] In step 1307, the process 1300 automatically builds a seed supervised machine learning model using the selected algorithm in the alignment environment (e.g., PLS) and the automatically prepared alignment metadata data sheet, e.g., data sheet 1500 shown in FIG. 15. In some cases, the seed model building process can be automatic or interactive to take advantage of a user's domain knowledge and input. Whether automatic or interactive, the basic steps involved in seed model building include: 1) loading the alignment metadata data sheet, which is available in step 1307 if not already loaded; 2) splitting the alignment metadata data sheet into a training data set and a validation data set; 3) pre-processing the training metadata, such as centering, scaling, categorizing alignment guidance pseudo variables, and removing outliers, if alignment guidance pseudo variable extension is enabled; 4) building a seed model with the training data set using the selected supervised machine learning algorithm; and 5) validating the seed model with the validation data set to evaluate the model prediction quality.
[0173] Embodiments of method 1300 can be implemented in a wide variety of different ways. For example, different alignment methods can be used to perform the alignment experiment in step 1303, and different settings for alignment hyperparameters can be used. Furthermore, different performance metrics can be used to evaluate alignment results for labeling observations that match the alignment experiment conditions in the alignment metadata datasheet. Embodiments may also vary the acceptance criteria used, and embodiments of method 1300 can be performed with or without an early termination option, e.g., by stopping the execution of the experiment in step 1303 if the results of the experiment meet the acceptance criteria. Furthermore, different supervised machine learning methods can be implemented to automatically build the seed model in step 1307. In certain situations, a brute force approach can be used to randomly or uniformly generate the alignment conditions for the alignment experiment performed in step 1303, and embodiments can perform the experiment in step 1303 with the selected alignment method.
[0174] As discussed above, in step 1303 of method 1300, experiments are run sequentially or in parallel. Figure 14A is a flow chart of a method 1400a that can be implemented in step 1303 to run the experiments sequentially. Method 1400a may be used, for example, when available computing resources are limited and alignment experiments are run one at a time to conserve resources.
[0175] Process 1400a starts at step 1420 by checking whether there is an alignment experiment to run. If there is no experiment to run, an alignment metadata data sheet is prepared and method 1400a ends. If there is an alignment experiment to run, process 1400a proceeds to step 1421. At step 1421, process 1400a selects the next alignment experiment and moves to step 1422. At step 1422, process 1400a (1) runs the selected experiment using the extended online dynamic alignment method, (2) evaluates the alignment results with a performance index, and (3) labels the observations in the metadata data sheet with the performance index value that matches the run experiment. Then, at step 1423, process 1400a checks whether the alignment results of the experiment meet the acceptance criteria. If the alignment results do not meet the acceptance criteria, method 1400a returns to step 1420. If the results meet the acceptance criteria, the alignment process is terminated and the alignment results and alignment performance metrics are stored and made available outside the alignment process.
[0176] Instead of running the experiments sequentially as in method 1400a, in step 1303 of method 1300, the experiments can be run in parallel. Figure 14B is a flow chart of method 1400b that can be performed in step 1303 to run the experiments in parallel. In method 1400b, an alignment experiment is performed and the observations are labeled in parallel. Method 1400b can be selected when there are sufficient computing resources available. The experiments are then run independently in parallel to speed up the execution of the experiments.
[0177] Method 1400b uses a queue of alignment experiments that are ready to run. For each alignment subsystem, i.e., each run of an experiment, the experiment is dequeued in step 1440 and pushed into the subsystem that performs the experiment. In an embodiment of method 1400b, the subsystems operate independently of each other.
[0178] In step 1441a, the alignment subsystem (1) runs the selected experiment using the extended online dynamic alignment method, (2) evaluates the alignment results with a performance index, and (3) labels the observations in the metadata data sheet with the performance index values. The individual subsystem then proceeds to step 1442. While step 1441a is being implemented, one or more other subsystems, e.g., other computational instances, may perform step 1441n in parallel with the same functionality, e.g., a different alignment experiment that was removed from the queue in step 1440.
[0179] At step 1442, method 1400b checks whether the performance metrics of the newly performed alignment experiment meet the acceptance criteria. If not, the system proceeds to step 1440. If any experiment meets the criteria, the alignment process ends and the alignment results and performance metrics from that experiment that meet the criteria are saved.
[0180] Supervised machine learning model-based process
[0181] As described herein, embodiments may utilize one or more training processes. For example, such processes may be implemented in step 104 of FIG. 1 or step 410 of FIG. 4, among other examples. FIG. 16A is a flow chart of a training process 16 that may be implemented in embodiments. For example, process 16 may be implemented in step 104 of FIG. 1 or step 410 of FIG. 4.
[0182] Method 16 of FIG. 16A utilizes supervised machine learning models in an automated learning workflow 1600, an interactive active learning workflow 1601, and / or a guided learning workflow 1602 to recommend alignment conditions with acceptable alignment quality within given constraints. Workflows 1600-1602 can be executed in parallel. Additionally, a user can select (by command, menu option, etc.) which workflows to follow (1600-1602), in what sequence the workflows (1600-1602) should be performed, and whether to repeat or skip some workflows (1600-1602) after implementing one or more workflows (1600-1602).
[0183] Further details of workflows 1600, 1601, and 1602 are described below. The following description of FIG. 16B under the heading "Automatic Active Learning Workflow to Recommend Alignment Conditions" provides further details of automated active learning workflow 1600. The following description of FIG. 16C under the heading "Interactive Active Learning Workflow to Recommend Alignment Conditions" provides further details of interactive active learning workflow 1601. The following description of FIG. 16D under the heading "Guided Learning Process to Recommend Alignment Conditions" provides further details of guided learning workflow 1602.
[0184] Automated active learning workflow with alignment condition recommendations
[0185] FIG. 16B shows an exemplary implementation of the active learning workflow 1600 by the automated learner. FIG. 16B uses the PLS algorithm to build a seed model. Furthermore, the AspenTech ProMV® optimizer is used as the core of the automated learner to identify the next most informative observation (alignment experiment condition) that maximizes the predicted total alignment quality score and results in an alignment that can be performed within the maximum allowable time to perform the alignment. Furthermore, the method 1600 uses an extended online dynamic alignment method to perform an alignment experiment with the condition and evaluates the alignment results with a performance index to see if the acceptance criteria are met. In an embodiment, this function is performed when the recommended alignment experiment condition has never been performed but is purely predicted by the seed model with the model optimizer to meet the optimization target to maximize the predicted total alignment quality score and at the same time result in an alignment that can be performed within the maximum allowable time to perform the alignment.
[0186] In step 1610, constraints and settings are loaded. In one embodiment, these settings and constraints are loaded from the alignment environment. The loaded settings and options are the settings and options required to perform the extended online dynamic alignment, performance metrics, and acceptance criteria. Process 1600 may also read settings and options specifically for the automated active learning workflow. For example, if the AspenTech ProMV® PLS optimizer is configured as the core of the automated learner, constraints for this learning are loaded in step 1610. Examples of constraints loaded in step 1610 include: (1) optimization targets such as maximizing the predicted total quality score, making sure that the alignment time is less than the maximum allowed alignment time, (2) soft and hard bounds for alignment hyperparameters and performance metrics such as the difference penalty must be between 0 and 1, the search interval is preferably between 1 and 1.03, the batch maturity score, Q batch maturity>=60, etc., and (3) the maximum number of iterations the auto-learner will learn until an acceptable alignment condition is found, among other examples.
[0187] Process 1600 loads a seed supervised machine learning model at step 1611. According to an embodiment, the model loaded at step 1611 is automatically built based on the alignment metadata datasheet of a given batch dataset. In this example, the seed model is built with a PLS algorithm. In other exemplary embodiments, the seed model can be built using another supervised machine learning method, such as a neural network, among other examples. Furthermore, the model loaded at step 1611 can be built based on any number of performed alignment experiments (labeled observations), for example, hundreds of them.
[0188] With the seed supervised machine learning model loaded in step 1611 and the configured constraints for the auto-learner's core optimizer loaded in step 1610, the process 1600 may set up a model optimizer on the seed model with the loaded soft and hard constraints in step 1612 and then run the optimizer to approach the user-specified optimization targets. Examples of optimization targets include maximizing the predicted total quality score, among other examples, and keeping the total time to complete the alignment below 10 minutes. In one embodiment, the hard constraints are enforced during optimization, while the soft constraints may not necessarily be satisfied. Finally, the alignment experimental conditions optimized by the model optimizer are recommended, i.e., available in step 1613. In this example, the seed model is built with 100 labeled observations of DS08, and the AspenTech ProMV® PLS optimizer is set as the auto-learner's core optimizer. The auto-learner is configured with the following constraints: (1) maximize predicted total quality score, (2) time smoothness >= 1, (3) difference penalty between 0 and 1, (4) window size >= 1, (5) search interval between 1 and 1.03 is preferred, and (6) maximum allowed alignment time < 10 minutes. In such an exemplary implementation, in step 1612, the automated learner makes alignment criteria suggestions of time smoothness = 2, window size = 28, difference penalty = 1, search interval = 1.026, and the "step" pseudo variable is enabled. In such an example, the predicted total alignment score is 79 and the predicted time to perform the alignment is 143 seconds.
[0189] Next, in step 1613, the system checks whether such an alignment experiment with the recommended conditions has been performed previously. If an alignment experiment with the recommended conditions has been performed previously, there is no need to perform an alignment experiment again under the same conditions and process 1600 proceeds directly to step 1615. Otherwise, process 1600 proceeds to step 1614.
[0190] Subsequently, an alignment experiment under the recommended conditions is performed in step 1614. The results of the alignment are evaluated in step 1614 by calculating a performance index. The performance index is then used to label the observations that correspond to the alignment conditions used to perform the alignment in step 1614. In this example, the system performs the alignment using an extended online dynamic alignment method in step 1614.
[0191] Process 1600 checks in step 1615 whether the performance metrics evaluated using the alignment results determined using the alignment conditions to perform the alignment in step 1614 or present in the metadata data sheet used to build the seed model meet the acceptance criteria. If the acceptance criteria are met, the alignment process is ready to end. If the alignment results do not meet the criteria and the maximum auto-learning iterations has not yet been reached, the observations labeled in step 1614 are used to update or rebuild the supervised machine learning model by performing steps 1616-1619, if applicable. After step 1619, the process returns to step 1611, where the model is loaded, after which process 1600 proceeds to step 1612, where the auto-learner continues to make recommendations regarding alignment conditions until the acceptance criteria are met or the maximum auto-learning iterations are reached. In either case (stopping because the criteria is met or the maximum number of iterations has been performed), when the automated active learning workflow stops at step 1615, the best so far or criteria-matching alignment conditions with corresponding alignment results and performance metrics are made available to downstream workflows. In one embodiment, before process 1600 stops after step 1615, the automated active learning is automatically iterated again and again to improve the alignment quality as determined by the optimization target, and no additional user intervention is expected. Only when process 1600 stops is the batch trajectory data set aligned with the best so far or criteria-matching alignment conditions available to the user.
[0192] The model update or rebuild process of method 1600 begins at step 1616. Model rebuilding as described herein refers to building a machine learning model from scratch again for a given underlying batch dataset using alignment metadata, where information or characteristics of the previous model are not useful in the new model. In contrast, model updating as described herein refers to incrementally adjusting an existing machine learning model to adapt to new labeled observations. Depending on the complexity of the algorithm update and the time taken to rebuild or update the model, the supervised machine learning algorithm that the user selects to build a seed model for learning may offer a "build" or "rebuild" option without supporting an "update" option. By way of illustration, a simple supervised machine learning algorithm such as PLS takes only a few seconds on most computers to build a model. An implementation that supports an "update" option may not be very computationally cheap. Therefore, it makes sense to simplify the implementation and only support the "build" or "rebuild" options, rather than the update option. More complex supervised machine learning algorithms, such as neural networks, take more time to build a model for the same alignment metadata. Thus, if the "update" option is expensive to implement and the time it takes to rebuild such a model is acceptable, the system may be implemented without the "update" option, i.e., support only the "build" or "rebuild" options. Ideally, such an implementation would employ the "update" option if the "update" option is simple and inexpensive to implement and the time it takes to update the model is significantly less than rebuilding the model. However, such an implementation would still allow the "build" or "rebuild" options, since the rebuild option may be necessary if the variation carried by the new observations is too significant from the others.If the variation introduced by a new observation is too large from the dataset without it (e.g., greater than a pre-set condition, such as 3 standard deviations from the dataset), rebuilding such a supervised machine learning model from scratch may be necessary, regardless of whether such an embodiment implements an "update" option. In system implementations that support the "update" option for supervised machine learning, users can apply "rebuild" whenever a newly labeled observation becomes available when configuring alignment settings.
[0193] At step 1616, process 1600 checks whether the seed supervised machine learning model should be rebuilt. In this example, the PLS algorithm is selected to build the seed model during the alignment environment setup, i.e., setup, and the default implementation does not support the "update" option. Thus, a new PLS model is rebuilt whenever there is a newly labeled observation. If the model is to be rebuilt, process 1600 proceeds to step 1619. If the model is not to be rebuilt, process 1600 moves to step 1617.
[0194] In an exemplary embodiment, the step of reconstructing the seed model is similar to the step of initially constructing the seed model. For example, in an embodiment, reconstructing the model includes: (1) loading the updated alignment metadata available in step 1619 if not already loaded; (2) splitting the loaded alignment metadata into a training data set and a validation data set; (3) preprocessing the training metadata, such as centering, scaling, categorizing alignment guidance pseudo variables, and removing outliers, if alignment guidance pseudo variable expansion is enabled; (4) building the seed model with the training data set using a selected supervised machine learning algorithm, such as PLS, neural network, etc.; and (5) validating the seed model and evaluating the model prediction quality using the validation data set, which is preprocessed with the same settings as the training data set.
[0195] At step 1617, process 1600 checks whether the seed supervised machine learning model needs to be updated. In this exemplary implementation, the PLS algorithm is used to build the seed model, and since the "update" option for PLS is not supported in the exemplary system, the model is rebuilt when newly labeled observations become available. In other exemplary implementations of method 1600, if the underlying system implements an "update" option and the variation introduced by the newly labeled observations is not too large (less than a pre-set condition, such as 3 standard deviations from the dataset without it), the seed model may be updated to accommodate the new data. If the model is to be updated, process 1600 proceeds to step 1618. If the model is not to be updated, process 1600 moves to step 1612, where the automated learner makes another recommendation for the next most beneficial alignment condition.
[0196] The process 1600 updates the seed supervised machine learning model with the newly labeled observations at step 1618 and then proceeds to step 1612. However, if it is determined at step 1616 that the model should be rebuilt, the method 1600 automatically rebuilt the seed supervised machine learning model with the newly labeled observations at step 1619 and then proceeds to step 1611 to load the new model into the automated active learning workflow 1600.
[0197] In the implementation of the exemplary implementation described herein, PLS is selected to build a seed model from the alignment metadata data sheet of a given batch dataset, and the seed model is rebuilt if there are newly labeled observations. In one embodiment, rebuilding the model in step 1619 includes (1) loading the updated alignment metadata data sheet available in step 1619 if not already loaded, (2) splitting the loaded metadata data sheet into a training dataset and a validation dataset, (3) preprocessing the training dataset, such as centering, scaling, categorizing alignment guidance pseudo variables, and removing outliers if alignment guidance pseudo variable expansion is enabled, (4) building a seed model with the training dataset using the PLS algorithm, and (5) validating the seed model with the validation dataset to evaluate the model prediction quality, preprocessed with the same settings as the training dataset. In another exemplary embodiment, a neural network is selected to build a seed model from the alignment metadata datasheet of a given batch dataset, and the corresponding "update" option is implemented, but if the newly labeled observation does not vary significantly from past observations (less than a pre-set condition, such as 3 standard deviations from the dataset without it), the seed model can be updated by performing another "fit", where the weights and coefficients are adjusted to accommodate the new data, rather than rebuilding or retraining the model from scratch with all historical and new observations.
[0198] An interactive active learning workflow to recommend alignment conditions
[0199] FIG. 16C illustrates an example implementation of an active learning workflow 1601 with an interactive learner. For an example implementation of the method 1601 described herein, a seed model is constructed using a PLS algorithm. The AspenTech ProMV® optimizer is used as the core of the interactive learner, which identifies the next most informative observation (alignment experiment conditions) that provide conditions for an alignment that can be performed within the maximum allowed alignment time while maximizing the expected alignment total quality score. In contrast to the automated active learning performed in method 1600 of FIG. 16B, the user is at the heart of the interactive active learning process 1601 and is responsible for deciding when / if to perform an alignment experiment to confirm the alignment quality under the alignment conditions proposed by the optimizer. In one embodiment, via a graphical user interface (GUI), the user can directly adjust the optimizer settings, i.e., optimization targets, to move the optimization in the desired direction and perform as many optimization iterations as the user desires before approving the execution of an alignment experiment. After the user approves the alignment experiment conditions proposed by the optimizer (assuming no alignment with these conditions has been performed previously), an alignment experiment is performed with the proposed conditions using the extended online dynamic alignment method. The alignment results are then evaluated using performance metrics to see if the acceptance criteria are met. In an embodiment of method 1601, the interactive learner utilizes a graphical user interface (GUI) to display the best alignment conditions so far, the alignment results, and performance metrics from previously performed alignment experiments. The GUI can also display the aligned trajectories under the alignment conditions side-by-side with their original trajectories to allow visual inspection of the alignment quality of a given batch data set.
[0200] Process 1601 begins at step 1630 with load constraints and settings for alignment. The loaded data may include settings and options necessary to perform the extended online dynamic alignment. Performance metrics, acceptance criteria, and settings and options for the interactive active learning workflow may also be loaded at step 1630. By way of illustration, if the AspenTech ProMV® PLS optimizer is configured as the core of the interactive learner, examples of constraints loaded at step 1630 into the interactive active learning workflow 1601 include: (1) default optimization targets; (2) optimization options (e.g., maximizing predicted total quality score, limiting the maximum allowed time for alignment completion); (3) optimization targets that can be set for individual metrics such as batch maturity score, Q batch maturity Among other options, (3) the difference penalty must be between 0 and 1, the search interval is preferably between 1 and 1.03, alignment hyperparameters such as the batch maturity score , and soft and hard bounds for the performance metrics Q batch maturity >=60, etc., and the hard bounds are enforced and the soft bounds are met as much as possible.
[0201] In step 1631, the process 1601 loads a seed supervised machine learning model. According to an embodiment, the model loaded in step 1632 is automatically constructed based on the alignment metadata datasheet of a given batch dataset. In this exemplary embodiment described herein, the seed model loaded in step 1631 is constructed with a PLS algorithm. It should be noted that in other embodiments, the seed model may be constructed using any other supervised machine learning method known in the art.
[0202] With the seed supervised machine learning model loaded in step 1631 and the configured constraints for the interactive learner's core optimizer loaded in step 1630, process 1601 interactively recommends alignment conditions in step 1632. In an embodiment of method 1601, in step 1632 the user is presented with a graphical user interface (GUI) where the user can directly adjust the optimizer settings, i.e., optimization targets, to move the optimization in a desired direction and perform as many optimization iterations as the user desires before the user approves the alignment experiment to be performed. Once the alignment experiment conditions proposed by the optimizer in step 1632 are approved by the user for execution, interactive recommendation step 1632 is complete and the user approved alignment conditions are the recommendations to be used in future steps of process 1601. In an embodiment, the optimization targets can include, among other options, maximizing a predicted performance metric or portion of the metric and making the alignment take less time than a given maximum allowed time. In the exemplary embodiment described herein, a seed model is built with 100 labeled observations of DS08, and the AspenTech ProMV® PLS optimizer is configured as the core of the interactive learner. Additionally, the interactive learner is configured with the following constraints: (1) maximize predicted total quality score, (2) time smoothness >= 1, (3) difference penalty between 0 and 1, (4) window size >= 1, (5) search interval is preferably between 1 and 1.03, and (6) maximum allowed alignment time < 10 minutes.
[0203] Subsequently, in step 1633, process 1601 checks whether an alignment experiment has been performed using the conditions recommended in step 1633. If an alignment has been performed previously, there is no need to perform an alignment experiment again under the same conditions and the process proceeds directly to step 1635. If an alignment has not been performed previously with the recommended alignment conditions, process 1601 moves to step 1634.
[0204] Step 1601 performs an alignment experiment using the recommended conditions in step 1634. The alignment results can be evaluated using a performance index in step 1634. In an implementation of the exemplary implementation described herein, in step 1634, process 1601 performs alignment by an extended online dynamic alignment method.
[0205] Next, in step 1635, the performance metrics evaluated based on the alignment results determined using the recommended alignment conditions in step 1634 are analyzed to determine whether the results meet the acceptance criteria or if the user wants to stop the interactive learning. If the results meet the acceptance criteria or if the user wants to stop the interactive learning, the process 1601 ends. Once the process 1601 ends, the recommended alignment conditions or the alignment conditions that achieved the best results, the alignment results themselves, and the performance metrics are stored and available for any downstream processes. If it is determined in step 1635 that the alignment results do not meet the acceptance criteria and the user does not want to end the process 1601, the observations labeled in step 1634 are used to update or rebuild the seed model by performing steps 1636 to 1639, if applicable, and the interactive learner can continue to make recommendations regarding the alignment conditions.
[0206] In step 1636, process 1601 checks whether the supervised machine learning model should be rebuilt. The principles used to determine whether the model needs to be rebuilt or updated for interactive active learning are the same as those for automatic active learning described above with respect to FIG. 16B. For example, the complexity of updating the supervised machine learning algorithm, the time it takes to rebuilt or update such a model, and the amount of variation that a newly labeled observation introduces can be considered in determining whether to update or rebuilt the model. In this example, the PLS algorithm is selected to build a seed model when setting up the alignment environment, so that when there is a new labeled observation, a new PLS model is rebuilt. If it is determined in step 1636 that the machine learning model should be rebuilt, process 1601 proceeds to step 1639. If the model is not to be rebuilt, process 1601 moves to step 1637. In step 1637, step 1601 checks whether the supervised machine learning model should be updated. In another example, a neural network may be used to build a seed model, and if the variation introduced by the newly labeled observation is not too large (less than a pre-set condition, such as 3 standard deviations from the dataset without it), the seed model may be updated. Updating the model may include performing another run of "model fitting", adjusting the coefficients and weights of the existing model to fit the new data. If updating the model, process 1601 proceeds to step 1638; otherwise, method 1601 moves to step 1632.
[0207] Subsequently, in step 1638, the supervised machine learning model is updated with the newly labeled observations, after which the process 1601 proceeds to step 1632. If in step 1636 it is determined that the model needs to be rebuilt, the process proceeds to step 1639, where the supervised machine learning model is automatically rebuilt with the newly labeled observations. After rebuilding the model in step 1639, the process proceeds to step 1631, where the newly rebuilt model is loaded, and the process 1601 continues with the new model in the interactive active learning workflow 1601.
[0208] Guided learning process for recommending alignment criteria
[0209] FIG. 16D illustrates an exemplary implementation of a guided learning process 1602 that may be implemented in an embodiment. In the exemplary embodiment described in FIG. 16D, a seed model is constructed using a PLS algorithm on the alignment metadata datasheet of a given batch data set. For the method 1602, a variety of different PLS-based model analyzers, explorers, and / or optimizers may be used to extract insights and perform iterative in-situ alignment experiments to determine the impact direction of variable adjustments or customizations on the alignment results. The guided learning process 1602 can access the results of previously performed alignments, including the best alignment results available from alignment experiments (labeled observations) previously performed on the batch data set. The available results include each observation, alignment condition, and performance metrics. This allows the user to make trade-offs among metrics to select alignment conditions with actionable alignment results. During the guided learning process 1602, the user can repeatedly traverse different paths as many times as desired. Further details of the paths and functionality that may be implemented in the method 1602 are described below.
[0210] The process 1602 begins at step 1660 with loading settings for the guided learning process. The data loaded at step 1660 may include any settings and options required to perform the guided learning process 1602. The loaded data may include constraints and / or settings for the Model Explorer, Model Analyzer and Model Optimizer, settings and options required to perform the extended online dynamic alignment, performance metrics, and acceptance criteria, among other examples. Examples of constraints loaded at step 1660 include: (1) optimization targets such as maximizing the predicted total quality score, making sure the alignment time is less than the maximum allowed alignment time, (2) soft and hard bounds for alignment hyperparameters and performance metrics such as the batch maturity score, that the difference penalty must be between 0 and 1, the search interval is preferably between 1 and 1.03, Q batch maturity >=60, etc., and (3) the maximum number of iterations the auto-learner will learn until an acceptable alignment condition is found, among other examples.
[0211] Subsequently, in step 1661, the process 1602 loads a seed supervised machine learning model. In this example, the model is built with a PLS algorithm. After the model is loaded into the guided learning process 1602 in step 1661, the user can apply various PLS-based model analyzers, model explorers, and model optimizers to extract alignment process insights of the underlying batch dataset for a given alignment method. Several guided options 1662-1665 are included in the process 1602 (among other available examples) and the user can select and implement the following steps 1662-1665.
[0212] For example, if the user proceeds to step 1662, the importance of variables, e.g., hyperparameters, to alignment quality and the impact of performance metrics on seed model quality are evaluated. FIG. 17 shows an example plot 1770, where a PLS VIP (variable importance in projection) analysis is performed on a seed model built for DS08. In plot 1770, for example, the hyperparameter "time smoothness" 1771 appears to have little impact on alignment quality. Evaluation of performance metrics determines how, for example, including or excluding changes in performance metrics affect alignment results. In another example, after excluding performance metrics "batch maturity score" and "phase ID score" from the seed supervised machine learning model, the Q of the model for DS08 is evaluated. 2 This illustrates that the value increased by 0.172. 2 is a measure of how well the parameters can predict future data (beyond the data used to train the model), and its value ranges between 0 and 1. So, in this example, improvement is important.
[0213] Returning to FIG. 16D, after analyzing at step 1662, process 1602 proceeds to step 1666. At step 1666, variations to non-significant hyperparameters and performance indicators can be eliminated. In such an embodiment, non-significant hyperparameters and performance indicators can be removed in response to a user's instruction. If a non-significant hyperparameter is removed, it is no longer used in preparing future alignment experiments. To illustrate, if the non-significant hyperparameter "temporal smoothness" is removed, the temporal smoothness is set to have its default value and the value of temporal smoothness does not change. This can reduce the total number of alignment experiments that must be prepared if all hyperparameters are changed. The user can also exclude undesirable performance indicators from the seed model to improve the predictive quality of the model. For example, the user can indicate that "batch maturity score" and "phase ID score" are to be excluded from the model. Note that step 1666 is optional and it is not necessary to eliminate non-significant hyperparameters and performance indicators.
[0214] Subsequently, after step 1666, the method 1602 proceeds to step 1670. In step 1670, the process 1602 updates the alignment environment, i.e., settings. These settings may include the included and excluded hyperparameter lists and performance index lists updated in step 1666, customizations to the performance indexes and acceptance criteria made in step 1663, customizations to the alignment guidance pseudovariable time series generating function made in step 1664, and adjustments to the hyperparameter ranges, options, or constraints made in step 1665. In step 1670, the previous step was either step 1666 or step 1669 (acceptance criteria not met). After updating the alignment environment in step 1670, the process 1602 proceeds to step 1671.
[0215] In step 1671, process 1602 checks whether the user wants to stop the guided learning process. If yes, the guided learning process ends. If the user does not want to end process 1602, the method proceeds to step 1672. In step 1672, process 1602 checks whether the seed supervised machine learning model should be rebuilt. If the machine learning model is to be rebuilt, method 1602 proceeds to step 1675. If the model is not to be rebuilt, method 1602 moves to step 1673. The principles used to decide whether to rebuilt or update the model for guided learning (method 1602) may be the same as described above for active learning (method 1600 described with respect to FIG. 16B). For example, conditions that may be considered when deciding to update or rebuild the model include the complexity of updating the algorithm, the time it takes to rebuild or update the model, and the amount of variation that a newly labeled observation brings. In this example, the PLS algorithm is selected to build the seed model when setting up the alignment environment, and therefore, if there is a newly labeled observation, a new PLS model is rebuilt.
[0216] Step 1673 checks whether the seed supervised machine learning model needs to be updated. If the model needs to be updated, the method proceeds to step 1674. If the model does not need to be updated, the user can select one of four actions: 1662, 1663, 1664, or 1665. If, at step 1673, it is determined that the model should be updated, then, at step 1674, the model is updated and then process 1602 proceeds to steps 1662, 1663, 1664, or 1665.
[0217] In step 1675, the process 1602 automatically reconstructs the supervised machine learning model and proceeds to step 1661 to load the newly reconstructed model and continue with the guided process 1602.
[0218] Returning immediately after step 1661, one of multiple options is selected and the user can select step 1663. In step 1663, the user can also adjust or customize the performance indicators and alignment acceptance criteria after exploring the seed model with various model analyzers. For example, in the default definition of the total quality score (12), the batch maturity score and the phase ID score are treated equally. However, if these factors should have different weights for a given batch process, the user can change the acceptance criteria in step 1663 and measure the batch maturity score and the phase ID score independently. Additionally, the user can modify the definition of the total quality score to apply different coefficients but still use the "total quality score" as the acceptance criteria. The user can also change the default definition of each performance indicator in step 1663 according to the user's domain expertise and process insights.
[0219] After customizing the performance index and / or the acceptance criteria in step 1663, the process 1602 moves to step 1667. If the user changes either the performance index definition or the acceptance criteria definition in step 1663, it may be necessary to re-evaluate the previous alignment results for all alignment experiments performed on a given batch data set according to the changed definition. These results are still available, and therefore there is no need to re-run the alignment experiments under these conditions. Instead, since evaluating the performance index is quick, in step 1667 the process 1602 re-evaluates all previously labeled observations and, based on the re-evaluation, identifies the best acceptance criteria-based observation to date. The process 1602 then moves to step 1669.
[0220] In step 1669, the process 1602 checks whether the observation (either the best acceptance criteria so far from step 1667 or the newly labeled criteria by the in situ alignment in step 1668) satisfies the current acceptance-based criteria. If the acceptance criteria are not met, the process 1602 moves to step 1670. If the acceptance criteria are met, the process 1602 proceeds to step 1676. In both steps 1670 and 1676, the alignment environment, i.e., the stored settings and conditions for performing the alignment, are updated. If the method 1602 updates the alignment environment in step 1676 (after the acceptance criteria are met), the process 1602 proceeds to step 1677 where alignment conditions are recommended, after which the process 1602 ends. In such a scenario, the alignment results and associated performance metrics are stored and therefore available for any downstream processes.
[0221] Returning immediately to step 1661, where one of a number of options is selected, the user may select step 1664. In step 1664, the user may customize the alignment guidance pseudovariable generator function definition or provide their own definition for the function that generates the monotonic time series based on the relative index per phase. After customization in step 1664, the process proceeds to step 1668.
[0222] At step 1668, process 1602 performs an alignment experiment to (1) ascertain the impact on the alignment results of modified and / or new user-provided generator functions, or (2) ascertain insights gained regarding the impact on the alignment results caused by adjustments to hyperparameter ranges, options, or constraints performed at step 1665 (described below). In one embodiment, the method used for this alignment is the same as the method used to build the seed model at step 408 of process 440. In addition to performing the alignment experiment at step 1668, the alignment results are evaluated by a performance metric at step 1668. Process 1602 then proceeds to step 1669 to compare the results to an acceptance criterion.
[0223] Returning immediately after step 1661, once one of the options has been selected, the user may select step 1665. In step 1665, the user may use insights gained from the various model analyzers to adjust alignment hyperparameter ranges, options, or constraints. FIG. 18 shows an exemplary plot 1880 generated by the model analyzer that may be considered in step 1665. In the exemplary plot 1880, the user applies a score plot analysis of T1 vs. T2 on the PLS seed model. In the plot 1880, each triangle represents a labeled observation (alignment experiment performed) and the color represents the total quality score evaluated for the alignment results under that condition for DS08. In the plot 1880, two clusters 1881a and 1881b were selected to perform a contribution analysis. 1) a cluster 1881a with less ideal performance, e.g., observation 84, with a total quality score of about 66, and (2) a cluster 1881b with more ideal performance, e.g., observations 64, 83, and 98, with a total quality score of about 80.
[0224] Plot 1990 of Figure 19 shows the results of the contribution analysis, which may also be considered in step 1665 of Figure 16D. Plot 1990 reveals that, for example, among other insights, reducing the window size 1991, increasing the difference penalty 1992, and increasing the search interval 1993 may improve the total quality score.
[0225] 16D, in step 1665, the results of such an analysis, e.g., plots 1880 and 1990, may be used by the user to adjust the hyperparameter setting ranges and their options or constraints for future alignment experiments. After adjusting the hyperparameter ranges, options, or constraints in step 1665, process 1602 proceeds to step 1668.
[0226] Exemplary alignment quality improvement in industrial multi-phase batch processes
[0227] The DS08 batch is a relatively simple batch, and the default settings of the alignment hyperparameters of the online dynamic alignment method perform reasonably well without the extensions provided by the embodiments of the present invention. Figure 20A in plot 2020a shows the evolution of batch maturity, and Figure 20B in plot 2020b shows the evolution of the unaligned phase ratio as a flame graph of a DS08 alignment experiment run with the default settings of the hyperparameters of the online dynamic alignment method. In Figures 20A-B, the x-axis shows the batch index from 0 to 70, the y-axis shows the sampling point index of the batch, and the color indicates the batch maturity percentage in Figure 20A, and the degree of phase ID predicted mismatch ratio in Figure 20B.
[0228] FIG. 20A shows the batch maturity percentage at each sampling point for each of these 71 batches. Plot 2020a shows a smooth gradation of colors, indicating that the alignment process for these batches proceeds smoothly. FIG. 20B shows the Phase ID prediction mismatch ratio at each sampling point for each of these 71 batches. In plot 2020b, all batches except one show a dark blue color in most places, indicating that there is little Phase ID prediction mismatch for most sampling points of these batches.
[0229] DS04, which contains 91 batches, is from another 4-phase industrial batch process and is more complex than DS08. Plot 2100 in FIG. 21 shows a typical batch of DS04, each with 54 trajectory variables, whose phase ID tag time series, trend line 2120, shows phases 1, 2, 3, and 4. Performing alignment on DS04 batch data using default hyperparameter settings and online dynamic alignment methods suffers from problems recently observed in other industrial applications. These errors include jumps in batch maturity predictions and non-smooth progression. Plot 2220a in FIG. 22A shows the batch maturity progression problems, and plot 2330a in FIG. 23A shows errors in phase ID predictions that occur when performing alignment on DS04 batches with default settings. However, DS04 alignment results are significantly improved using embodiments of the present invention. Specifically, when alignment is performed using the hyper-parameter settings recommended by the active learning workflow, and when the guided learning process described herein is applied to the online dynamic alignment method and augmented with alignment guidance pseudo-variables. Plots 2220b in Figure 22B and 2330b in Figure 23B show these improvements for batch maturity and phase ID prediction, respectively.
[0230] FIG. 22A-B shows the batch maturity percentage at each sampling point for each of the 91 batches of DS04. The x-axis provides the batch index from 0 to 90, the y-axis is the batch sampling point index, and the color indicates the batch maturity percentage. For batch maturity, the smoother the gradation of the shades, the better the alignment proceeds. An abrupt change in color indicates a dramatic change in batch maturity, often resulting in a lower batch maturity score. FIG. 22A shows in plot 2220a the batch maturity percentage at each sampling point for each of the 91 batches when using the online dynamic alignment method with the default values of the hyperparameters. Nearly half of these 91 batches show an abrupt change in color. This means that the alignment process for these batches proceeds less smoothly. Also, the maturity percentage (color) of almost one-third of these 91 batches jumps from less than 65 to almost 100. This means that the alignment process of these batches has a large jump in maturity prediction because the batch alignment is ongoing. Figure 22B shows in plot 2220b the batch maturity percentage at the sampling points of each of these 91 batches when using an embodiment, i.e., the alignment guidance pseudo-variable expansion online dynamic alignment method with hyper-parameter settings determined using the functionality described herein. Most of the 91 batches show a smooth progression of colors, which means that the real-time alignment process of these batches is progressing smoothly.
[0231] 23A-B show the Phase ID prediction mismatch ratio at each sampling point for each of the 91 batches of DS04. The x-axis gives the batch index from 0 to 90, the y-axis gives the batch sampling point index, and the color indicates the degree of Phase ID prediction mismatch ratio. For phase mismatch ratios, dark blue indicates that no errors were observed, while warmer colors indicate that errors were present during the evolution of the batch.
[0232] FIG. 23A shows, in plot 2330a, the phase ID prediction mismatch ratio at each sampling point of 91 batches when using the online dynamic alignment method with default settings of hyperparameters. There are three batches that show warmer color bars near the middle of the batch and blue at the end. This means more severe phase ID prediction mismatch near the middle of the batch, then less severe later in the batch. Some other batches show some degree of phase ID prediction mismatch, shown by the lighter blue color. FIG. 23B shows, in plot 2330b, the phase ID prediction mismatch ratio at each sampling point for each of these 91 batches when using an embodiment of the present invention. The batches from FIG. 23A that have warmer colors earlier no longer have a phase ID prediction mismatch issue, as shown by the fact that the warmer colors are no longer present during the batch evolution. Overall, in FIG. 23B, all but three batches show dark blue in most places, indicating that there is little phase ID prediction mismatch for most sampling points of these batches.
[0233] The embodiments provide a comprehensive system to address several issues observed using online dynamic batch alignment methods in recent practice in industrial applications. Errors that the embodiments address include errors in phase ID prediction, non-smooth progress of batch maturity estimation, batches not reaching 100% maturity, lack of robustness to noisy industrial batch data, and difficulty in selecting alignment hyperparameters and settings when default hyperparameter settings do not perform well. The embodiments described herein provide dedicated performance metrics to quantify alignment experiment results. The embodiments specify alignment acceptance criteria using results that quantify alignment results. This allows the embodiments to employ supervised machine learning to explore the effect of alignment hyperparameter settings on these alignment performance metrics.
[0234] In embodiments, alignment experiments performed on alignment metadata data sheets (labeled observations) can be efficiently prepared using either low discrepancy sequence (LDS) approaches such as Sobol sequences or other similar methods, or design of experiments (DOE) approaches such as D-optimal design or other similar methods. In certain circumstances, alignment conditions for alignment experiments can also be generated randomly or uniformly using a brute force approach. By using a seed supervised machine learning model automatically constructed based on the metadata data sheets of a given batch data set, an automatic and interactive active learning workflow and guided learning process can be used in embodiments to recommend alignment experiment conditions with acceptable alignment results for any given alignment method. Also, alignment guidance pseudo variables and alignment guidance only variables can be included in the batch data to enhance any given alignment method by reducing alignment uncertainty, thereby improving alignment quality. Embodiments may also include an alignment environment library to facilitate setting up, customizing, and modifying the current alignment environment and generate consistent alignment results.
[0235] Embodiments of the present invention extend the functionality of U.S. Patent Application No. 15 / 967,099, entitled "Computer System and Method For Automated Batch Data Alignment In Batch Process Modeling, Monitoring And Control," with implicitly generated time series for alignment guidance pseudo variables and explicitly specified alignment guidance only process variables to correct alignment issues previously observed with online dynamic alignment methods alone. Dedicated performance metrics are employed in embodiments to measure batch trajectory alignment quality, enabling any machine learning workflow.
[0236] According to an embodiment, instead of using a manual trial-and-error approach to facilitate hyperparameter selection for the augmented alignment method, two active learning workflows are used in the embodiment, an automated active learning workflow and an interactive active learning workflow. Guided learning can be used to prepare another run of machine learning. An alignment environment library can be included to manage the settings of hyperparameters for the active learning workflow, facilitate alignment environment setup, and generate consistent alignment results.
[0237] The functionality of U.S. Patent Application Serial No. 15 / 967,099 is improved by embodiments that use implicitly generated time series for alignment guidance pseudo variables and / or explicitly specified alignment guidance only process variables. The use of these variables incorporates advanced batch alignment research and / or subject matter expert (SME) domain knowledge expertise to correct problems in the online dynamic alignment method. Embodiments resolve errors in phase ID prediction and batch maturity progression.
[0238] Pseudo variables can be included in the embodiment to provide alignment guidance for the actual batch trajectory alignment. According to the embodiment, a dedicated time series generator function generates batch trajectories of pseudo variables that can be configured or customized by the user in the alignment environment. The generator functions that can be utilized in the embodiment include any monotonic function, such as "step", "sawtooth", "sigmoid", or any user-provided monotonic function. The input to the generator function is the relative index of the current observation in each batch phase. In other words, the batch trajectory generated for each alignment guidance pseudo variable is monotonic in each batch phase. In the embodiment, the trajectories automatically generated for the pseudo variables are merged together with the trajectories of the aligned batch process variables to which the online dynamic alignment is applied. Trajectories generated by different functions may have different effects on the alignment quality. After alignment, the trajectories of the pseudo variables can be automatically excluded from the aligned trajectory dataset before applying the dataset for model building, analysis, and prediction.
[0239] If the batch trajectory alignment quality is not satisfactory, users can utilize their domain knowledge to incorporate additional process variables that are non-significant to the batch process itself, but can provide meaningful guidance on the batch trajectory alignment. These variables are called "alignment guidance only process variables." After alignment, trajectories of process variables that are explicitly designated as alignment guidance only can be automatically excluded from the aligned trajectory dataset before applying the dataset for model building, analysis, and prediction. This reduces unnecessary computing efforts. Models built on the aligned trajectory dataset will not degrade even if non-significant process variables are not explicitly designated as alignment guidance only.
[0240] Embodiments can employ dedicated performance metrics to measure batch trajectory alignment quality. These metrics enable an active learning workflow. The metrics evaluate the batch maturity score (smoothness of maturity progression), phase ID score (error in batch phase ID prediction), and total quality score (a composite quality measure). The time it takes to perform the alignment process can be considered in embodiments.
[0241] As mentioned above, active learning is a special case of supervised machine learning and is well motivated in many modern machine learning problems where unlabeled data is readily available, but labels are very time-consuming or expensive to prepare. The active learning workflow in the embodiments attempts to work with smaller sized training datasets by actively selecting valuable observational data points. Rather than adjusting these settings using a tedious and time-consuming manual trial-and-error approach when batch trajectory alignment quality is not satisfactory, the embodiments use two active learning workflows to determine the settings: (1) automatic active learning, and (2) interactive active learning.
[0242] In one embodiment, the automated active learning workflow includes some of the following automated steps: (1) loading selected alignment hyperparameters, maximal sequences, etc., from the alignment environment; (2) applying low discrepancy alignment methods (LDS) to these hyperparameters to generate a smaller set of settings as observations of the X variables, thereby providing better uniformity in higher dimensions without a larger set of hyperparameter variations; (3) for each set of alignment hyperparameter settings, running an extended online dynamic alignment and labeling the aligned trajectory quality indicators as observations of the Y variables; (4) preparing the X / Y observation set to build a model of a supervised machine learning algorithm (such as a projection onto latent structures (PLS) multivariate statistical model) that can be configured in the alignment environment; and (5) applying a model analyzer with constraints (such as a PLS model optimizer with hard or soft bounds) that is configured in the alignment environment and recommends settings of the alignment hyperparameters to maximize the alignment quality of the predicted batch trajectories.
[0243] According to an embodiment, if the batch trajectory alignment quality is not satisfactory after using the automatic workflow, an interactive active learning workflow can be implemented. The interactive active learning workflow is based on the supervised machine learning model built during the automatic active learning. The interactive active learning workflow can include some of the following automated steps: (1) loading settings, constraints or references from the alignment environment, (2) exploiting the potential impact of hyperparameter settings (general ranges or inside / outside options) on the predicted alignment quality, (3) selecting settings for alignment hyperparameters by trade-off between quality metrics, and (4) optionally running an extended online dynamic alignment under the trade-off settings of hyperparameters.
[0244] In one embodiment, if further exploratory experimentation is required, a user, such as a subject matter expert, can interactively utilize the supervised machine learning model that was built, rebuilt, or updated during a previous workflow to gain insights into setting hyperparameters and batch trajectory alignment quality metrics. The user can trim and / or modify the hyperparameter list and adjust hyperparameter ranges or options to prepare for another run of machine learning.
[0245] An alignment environment library may be implemented in embodiments to manage hyperparameter settings for the active learning workflow in an extended online dynamic alignment process. The alignment environment may include any of a variety of settings and configuration information used to implement the embodiments. For example, the environment library may include, among other examples, (1) hyperparameters for the extended online dynamic alignment method, such as time smoothness, sliding window size, difference penalty, search interval, etc.; (2) a list of selected alignment guidance pseudovariable time series monotonic generator functions (including user-defined) if the pseudovariable option is enabled by the user; (3) an optional list of explicitly specified alignment guidance only process variables; (4) a prioritized list of batch trajectory alignment quality metrics (including user-defined) that are evaluated after each extended batch trajectory alignment run; (5) acceptance criteria for alignment quality metrics; (6) a list of hyperparameters and their value ranges / options utilized in automated or interactive active learning or guided learning workflows; (7) array maxima; (8) a list of selected supervised machine learning methods (such as the Projection onto Latent Structures (PLS) multivariate statistical model); and (9) a model analyzer (AspenTech (10) settings used in automated active learning workflows for machine learning methods; (11) a list of selected model analyzers and their settings for interactive active learning; and (12) a list of selected model analyzers and their settings for guided learning.
[0246] An embodiment has a generic alignment environment with default settings. These may include default settings for alignment hyperparameters, pseudovariable options enabled in built-in time series generator functions (e.g., steps), a full list of batch trajectory alignment quality indicators (default definitions), and default acceptance criteria for alignment quality indicators. An embodiment allows a user to customize settings for different batch processes, or even the same process run in different manufacturing plants. A user can customize all tunable settings, provide user-defined functions, and persist these settings to different alignment environments. This allows a user to quickly switch from one alignment environment to another, e.g., a collection of alignment settings, and also allows a user to obtain consistent alignment results when the same alignment environment is applied to the same set of batch trajectories.
[0247] The embodiments provide significant advantages over existing alignment methods: First, the embodiments provide all the advantages of the online dynamic alignment method described in U.S. patent application Ser. No. 15 / 967,099, e.g., the first ever method for aligning batch trajectories in an online fashion for online or offline applications.
[0248] Additionally, embodiments correct alignment issues in industrial batch processes. Among other examples, embodiments correct errors in phase ID prediction, uneven progress in batch maturity, and batches that do not reach 100% maturity.
[0249] Embodiments measure batch trajectory alignment quality and implement performance metrics to objectively and systematically evaluate alignment results, enabling machine learning workflows (automatic and interactive active learning and guided learning). Prior to this, alignment quality could only be visually assessed by experts with domain knowledge.
[0250] The embodiments also facilitate the selection of alignment hyperparameter settings through a learning workflow, instead of the time-consuming and laborious manual trial-and-error approach required by existing methods. The active learning workflow of the embodiments works with a smaller size of the training dataset by actively selecting valuable observational data points. The learning workflow can recommend alignment hyperparameter settings to maximize the predicted batch trajectory alignment quality within given constraints. The interactive workflow allows the user to explore possibilities within and outside typical ranges of hyperparameters and trade-off between predicted alignment quality metrics to select hyperparameter settings. If further exploratory experimentation is required, guided learning can be used to prepare another run of machine learning.
[0251] FIG. 24 is a simplified block diagram of a computer-based system 2440 that can be used to perform automated batch data time alignment according to any type of embodiment of the invention described herein. The system 2440 includes a bus 2443. The bus 2443 serves as an interconnect between the various components of the system 2440. Connected to the bus 2443 is an input / output device interface 2446 for connecting various input and output devices such as a keyboard, mouse, display, speakers, etc. to the system 2440. A central processing unit (CPU) 2442 is connected to the bus 2443 and provides for the execution of computer instructions. A memory 2445 provides volatile storage of data used to execute the computer instructions. A storage device 2444 provides non-volatile storage for software instructions, such as an operating system (not shown). The system 2440 also includes a network interface 2441 for connecting to any of a variety of networks known in the art, including wide area networks (WANs) and local area networks (LANs).
[0252] It should be understood that the exemplary embodiments described herein may be implemented in many different ways. In some examples, the various methods and machines described herein may each be implemented by a physical, virtual, or hybrid general-purpose computer, such as computer system 2440, or a computer network environment, such as computer environment 2550, described herein below in connection with FIG. 25. Computer system 2440 may be transformed into a machine that executes the methods 100, 440, 1020, 1300, 1400a, 1400b, 16, 1600, 1601, 1602 described herein, for example, by loading software instructions into either memory 2445 or non-volatile storage 2444 for execution by CPU 2442. Those skilled in the art should further understand that system 2440 and its various components may be configured to execute any embodiment or combination of embodiments of the invention described herein. Furthermore, the system 2440 may utilize any combination of hardware, software, and firmware modules operatively coupled internally or externally to the system 2440 to implement the various embodiments described herein.
[0253] 25 illustrates a computer network environment 2550 in which an embodiment of the invention may be implemented. In the computer network environment 2550, a server 2551 is linked to clients 2553a-n via a communication network 2552. The environment 2550 may be used to enable the clients 2553a-n, alone or in combination with the server 2551, to implement a network corresponding to the system 2440 and any of the embodiments and methods 100, 440, 1020, 1300, 1400a, 1400b, 16, 1600, 1601, 1602. In a non-limiting example, the computer network environment 2550 provides cloud computing embodiments, software as a service (SAAS) embodiments, and the like.
[0254] The embodiments or aspects thereof may be implemented in the form of hardware, firmware, or software. If implemented in software, the software may be stored on any non-transitory computer-readable medium configured to enable a processor to load the software, or a subset of its instructions. The processor is then configured to execute the instructions to operate or cause an apparatus to operate in the manner described herein.
[0255] Furthermore, firmware, software, routines, or instructions may be described herein as performing certain operations and / or functions of a data processor, but it will be understood that such descriptions contained herein are merely for convenience and that in reality such operations result from a computing device, processor, controller, or other device executing the firmware, software, routines, instructions, etc.
[0256] It should be understood that the flow diagrams, block diagrams, and network diagrams may include more or fewer elements, may be arranged differently, or may be represented differently, but it should also be understood that a particular implementation may dictate that the block diagrams and network diagrams, and several block diagrams and network diagrams illustrating the execution of an embodiment, are implemented in a particular way.
[0257] Accordingly, further embodiments may also be implemented in a variety of computer architectures, physical, virtual, cloud computing, and / or some combination thereof, and thus the data processors described herein are intended for illustrative purposes only and not as limitations of the embodiments.
[0258] All patents, published applications and teachings references mentioned herein are incorporated by reference in their entirety.
[0259] Although exemplary embodiments have been particularly shown and described, it will be understood by those skilled in the art that various changes in form and details can be made therein without departing from the scope of the embodiments contained in the appended claims. The present invention includes the following embodiments. [Aspect 1] 1. A computer-implemented method for performing automated batch data alignment for a batch production industrial process, comprising: selecting a reference batch from batch data for an industrial process; Configuring batch alignment settings; constructing a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters; using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of representative batches representative of the batch data for the industrial process, performing at least one of: (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; performing a batch alignment from the batch data for the industrial process using the one or more alignment hyperparameters and the determined settings for the configured batch alignment settings, such that said performing results in alignment of the batch data of the industrial process in a manner that enables improved modeling of the industrial process. [Aspect 2] You can configure batch alignment settings: selecting a batch alignment method for performing said batch alignment; selecting the one or more alignment hyperparameters and corresponding setting ranges for the one or more alignment hyperparameters for performing at least one of the automated active learning, the interactive active learning, and the guided learning; setting a value for at least one hyperparameter of the one or more alignment hyperparameters; selecting constraints and settings for implementing at least one of the automated active learning, the interactive active learning, and the guided learning; selecting and customizing a performance metric for evaluating alignment results for at least one batch of said representative set of batches during an alignment experiment; setting acceptance criteria for at least one of the automated active learning, the interactive active learning, and the guided learning based on selected performance metrics; and The method of embodiment 1, comprising at least one of: selecting to enable or disable early termination of execution of at least one of the automatic active learning, the interactive active learning, and the guided learning upon meeting an acceptance criterion. [Aspect 3] selecting a batch alignment method for performing the batch alignment on the batch; The method of embodiment 2, comprising selecting a base batch alignment method. Aspect 4 augmenting the selected base batch alignment method with one or more alignment guidance pseudo-variables by performing at least one of: (i) selecting one or more alignment guidance pseudo-variables to be included as process variables of the batch; (ii) selecting one or more generator functions for the one or more alignment guidance pseudo-variables to generate one or more alignment guidance pseudo-variable time series; and (iii) selecting one or more customizations, if any, for the one or more generator functions; The method of embodiment 3, further comprising at least one of: augmenting the selected base batch alignment method with one or more alignment guidance only process variables by selecting one or more alignment guidance only process variables to be included as process variables of the batch. Aspect 5 Constructing the seed model comprises: selecting (i) an alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; determining a set of alignment experiments to perform based on the selected (i) alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; performing each experiment on the determined set of alignment experiments to generate a respective alignment result for the set of representative batches; Quantifying each of the alignment results using a performance metric selected for each experiment; and constructing the seed model based on the respective quantified alignment results and the respective settings for the selected hyper-parameters. Aspect 6 The set of alignment experiments comprises: Low discrepancy sequence processing, Design of experimental treatments, Randomly generated experimental conditions, and The method of embodiment 5, wherein the homogeneity is determined using at least one homogeneous production experimental condition. Aspect 7 performing each experiment in said determined set of alignment experiments; performing each experiment in said determined set sequentially; or 6. The method of embodiment 5, comprising performing each experiment in said determined set in parallel. Aspect 8 Implementing automatic active learning configuring constraints and alignment quality settings for performing the automatic active learning; using the constructed seed model, the configured constraints, and the configured alignment quality settings, automatically determining given settings for the one or more alignment hyper-parameters that maximize an alignment quality score as predicted by the constructed seed model; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; If the results of the experimental batch alignment meet the criteria, The method of claim 1, further comprising: maintaining the given settings for the one or more alignment hyperparameters; and if the results do not meet the criteria, updating or rebuilding the constructed seed model; and repeating (i) the configuring constraints and the alignment quality settings, (ii) the automatically determining the given settings, and (iii) the performing experimental batch alignments. Aspect 9 Implementing the interactive active learning configuring constraints and alignment quality settings for performing the interactive active learning; interactively recommending given settings for the one or more alignment hyper-parameters using the constructed seed model, the configured constraints, and the configured alignment quality settings; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; The results of the experimental batch alignment are based on criteria or user input. maintaining the given settings for the one or more alignment hyperparameters; or updating or rebuilding the constructed seed model, and repeating (i) the configuring constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing experimental batch alignments; The results of the experimental batch alignment are not satisfactory or based on user input, The method of claim 1, further comprising: updating or rebuilding the constructed seed model; and repeating (i) configuring constraints and the alignment quality settings, (ii) interactively recommending the given settings, and (iii) performing an experimental batch alignment. Aspect 10 Implementing the guided learning process includes: Based on user input and the constructed seed model, analyzing the importance of the one or more alignment hyper-parameters and their impact on the alignment quality predicted by the constructed seed model; Customize alignment quality performance indicators and acceptance criteria; Customizing the alignment guidance pseudo-time series generator function; adjusting ranges, options, or constraints of the one or more alignment hyperparameters; and conducting a batch alignment experiment on at least one batch of the set of representative batches using exploratory settings of the one or more alignment hyper-parameters to ascertain an impact of the one or more alignment hyper-parameters on alignment quality. Aspect 11 After performing batch alignment on the batch, determining whether the performed batch alignment meets an acceptance criteria; and If the performed batch alignment does not meet the acceptance criteria, repeating the process until the performed batch alignment meets the acceptance criteria. updating or rebuilding the constructed seed model; using the updated or reconstructed construction seed model, the selected reference batches, the constructed batch alignment settings, and the set of representative batches, performing at least one of: (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; performing the batch alignment on the batch using the updated or reconstructed construction seed model and the settings for the one or more alignment hyper-parameters determined using the configured batch alignment settings; and and iteratively determining whether the batch alignments performed using the settings for the one or more alignment hyper-parameters determined using the updated or reconstructed construction seed model meet the acceptance criteria. Aspect 12 2. The method of embodiment 1, further comprising storing and managing the determined settings for the one or more alignment hyperparameters in an alignment environment library. Aspect 13 storing and managing the determined settings for the one or more alignment hyper-parameters in the alignment environment library; Associating the determined settings of the one or more alignment hyperparameters with the batch data for the industrial process; and categorizing and organizing the determined settings of the one or more alignment hyperparameters based on at least one of an industrial process, a plant, and an operating condition for transfer learning; applying the determined settings of the one or more alignment hyperparameters as a starting point for a new batch dataset. Aspect 14 1. A system for performing automated batch data alignment for a batch production industrial process, comprising: A processor; and a memory in which computer code instructions are stored, the processor and the memory being operable to cause the system to: Selecting a reference batch from batch data for an industrial process; Configure the batch alignment settings, constructing a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters; using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of representative batches representative of the batch data for the industrial process, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; and the system is configured to: perform a batch alignment from the batch data for the industrial process using the one or more alignment hyperparameters and the determined settings for the configured batch alignment settings, such that said performing results in alignment of the batch data of the industrial process in a manner that enables improved modeling of the industrial process. Aspect 15 When configuring a batch alignment setting, the processor and the memory cause the computer code instructions to: selecting a batch alignment method for performing said batch alignment; selecting the one or more alignment hyperparameters and corresponding setting ranges for the one or more alignment hyperparameters for performing at least one of the automated active learning, the interactive active learning, and the guided learning; setting a value for at least one hyperparameter of the one or more alignment hyperparameters; selecting constraints and settings for implementing at least one of the automated active learning, the interactive active learning, and the guided learning; selecting and customizing a performance metric for evaluating alignment results for at least one batch of said representative set of batches during an alignment experiment; setting acceptance criteria for at least one of the automated active learning, the interactive active learning, and the guided learning based on selected performance metrics; and The system of aspect 14, further configured to perform at least one of: selecting to enable or disable early termination of execution of at least one of the automatic active learning, the interactive active learning, and the guided learning upon satisfaction of an acceptance criterion. Aspect 16 When selecting a batch alignment method for performing the batch alignment on the batch, the processor and the memory cause the computer code instructions to: 16. The system of embodiment 15, further configured to allow selection of a base batch alignment method. Aspect 17 The processor and the memory are configured to cause the system to: augmenting the selected base batch alignment method with one or more alignment guidance pseudo-variables by performing at least one of: (i) selecting one or more alignment guidance pseudo-variables to be included as process variables of the batch; (ii) selecting one or more generator functions for the one or more alignment guidance pseudo-variables to generate one or more alignment guidance pseudo-variable time series; and (iii) selecting one or more customizations, if any, for the one or more generator functions; The system of embodiment 16, further configured to perform at least one of the following: augmenting the selected base batch alignment method with one or more alignment guidance only process variables by selecting one or more alignment guidance only process variables to be included as process variables of the batch. Aspect 18 In constructing the seed model, the processor and the memory cause the computer code instructions to: selecting (i) an alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; determining a set of alignment experiments to perform based on the selected (i) alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; performing each experiment on the determined set of alignment experiments to generate a respective alignment result for the set of representative batches; Quantifying each of the alignment results using a performance metric selected for each experiment; and 16. The system of claim 15, further configured to construct the seed model based on the respective quantified alignment results and the respective settings for the selected hyper-parameters. Aspect 19 The processor and the memory are configured to cause the system to: Low discrepancy sequence processing, Design of experimental treatments, Randomly generated experimental conditions, and 20. The system of embodiment 18, further configured to cause the set of alignment experiments to be determined using at least one uniformly generated experimental condition. Aspect 20 In performing each experiment in the set of determined alignment experiments, the processor and the memory cause the computer code instructions to: performing each experiment in said determined set sequentially; or 20. The system of embodiment 18, further configured to cause each experiment in said determined set to be performed in parallel. Aspect 21 In implementing automatic active learning, the processor and the memory are configured to cause the system to: configuring constraints and alignment quality settings for performing said automatic active learning; using the constructed seed model, the configured constraints, and the configured alignment quality settings to automatically determine given settings for the one or more alignment hyper-parameters that maximize an alignment quality score as predicted by the constructed seed model; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; and If the results of the experimental batch alignment meet the criteria, The system of embodiment 14, further configured to maintain the given settings for the one or more alignment hyperparameters, and if the results do not satisfy the criteria, update or rebuild the constructed seed model, and repeat (i) the configuring constraints and the alignment quality settings, (ii) the automatically determining the given settings, and (iii) the performing experimental batch alignments. Aspect 22 In implementing the interactive active learning, the processor and the memory cause the computer code instructions to: configuring constraints and alignment quality settings for performing the interactive active learning; interactively recommending given settings for the one or more alignment hyper-parameters using the constructed seed model, the configured constraints, and the configured alignment quality settings; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; The results of the experimental batch alignment are based on criteria or user input. maintaining the given settings for the one or more alignment hyperparameters; or updating or rebuilding the constructed seed model, and repeating (i) the configuring constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing experimental batch alignments; and The results of the experimental batch alignment are not satisfactory or based on user input, The system of embodiment 14, further configured to update or reconstruct the constructed seed model, and repeat (i) the configuring of constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing of experimental batch alignments. Aspect 23 In executing the guided learning process, the processor and the memory cause the computer code instructions to: Based on user input and the constructed seed model, analyzing the importance of the one or more alignment hyper-parameters and their impact on the alignment quality predicted by the constructed seed model; Customize alignment quality performance indicators and acceptance criteria; Customizing the alignment guidance pseudo-time series generator function; adjusting ranges, options, or constraints of the one or more alignment hyperparameters; and 15. The system of claim 14, further configured to perform at least one of the following: conducting a batch alignment experiment on at least one batch of the set of representative batches using the exploratory settings of the one or more alignment hyper-parameters to ascertain an impact of the one or more alignment hyper-parameters on alignment quality. Aspect 24 After the processor and the memory execute the computer code instructions to cause the system to perform batch alignment on the batches, determining whether the performed batch alignment meets an acceptance criterion; If the performed batch alignment does not meet the acceptance criteria, repeating the process until the performed batch alignment meets the acceptance criteria. updating or rebuilding the constructed seed model; using the updated or reconstructed construction seed model, the selected reference batches, the constructed batch alignment settings, and the set of representative batches, performing at least one of: (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; performing the batch alignment on the batch using the updated or reconstructed construction seed model and the settings for the one or more alignment hyperparameters determined using the configured batch alignment settings; and 15. The system of claim 14, further configured to iteratively determine whether the batch alignments performed using the settings for the one or more alignment hyper-parameters determined using the updated or reconstructed construction seed model meet the acceptance criteria. Aspect 25 The processor and the memory are configured to cause the system to: The system of embodiment 14, further configured to store and manage the determined settings for the one or more alignment hyperparameters in an alignment environment library. Aspect 26 In storing and managing the determined settings of the one or more alignment hyper-parameters in the alignment environment library, the processor and the memory, in accordance with the computer code instructions, cause the system to: associating the determined settings of the one or more alignment hyperparameters with the batch data for the industrial process; categorizing and organizing the determined settings of the one or more alignment hyper-parameters based on at least one of an industrial process, a plant, and an operating condition for transfer learning; 15. The system of claim 14, further configured to apply the determined settings of the one or more alignment hyperparameters as a starting point for a new batch dataset. Aspect 27 1. A non-transitory computer program product for performing automated batch data alignment of a batch production industrial process, the computer program product comprising a computer readable medium having computer code instructions stored thereon, the computer code instructions, when executed by a processor, causing a device associated with the processor to: Selecting a reference batch from batch data for an industrial process; Configure the batch alignment settings, constructing a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters; using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of representative batches representative of the batch data for the industrial process, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; and a non-transitory computer program product configured to cause: performing a batch alignment on a batch from the batch data for the industrial process using the one or more alignment hyperparameters and the determined settings for the configured batch alignment settings, such that said performing results in alignment of the batch data of the industrial process in a manner that enables improved modeling of the industrial process.
Claims
1. 1. A computer-implemented method for performing automated batch data alignment for a batch production industrial process, comprising: selecting a reference batch from batch data for an industrial process; Configuring batch alignment settings; constructing a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters; using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of representative batches representative of the batch data for the industrial process, performing at least one of: (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; performing a batch alignment from the batch data for the industrial process using the one or more alignment hyperparameters and the determined settings for the configured batch alignment settings, such that said performing results in alignment of the batch data of the industrial process in a manner that enables improved modeling of the industrial process.
2. You can configure batch alignment settings: selecting a batch alignment method for performing said batch alignment; selecting the one or more alignment hyperparameters and corresponding setting ranges for the one or more alignment hyperparameters for performing at least one of the automated active learning, the interactive active learning, and the guided learning; setting a value for at least one hyperparameter of the one or more alignment hyperparameters; selecting constraints and settings for implementing at least one of the automated active learning, the interactive active learning, and the guided learning; selecting and customizing a performance metric for evaluating alignment results for at least one batch of said representative set of batches during an alignment experiment; setting acceptance criteria for at least one of the automated active learning, the interactive active learning, and the guided learning based on selected performance metrics; and 2. The method of claim 1, comprising at least one of: selecting to enable or disable early termination of performing at least one of the automated active learning, the interactive active learning, and the guided learning upon meeting an acceptance criterion.
3. selecting a batch alignment method for performing the batch alignment on the batch; The method of claim 2 , comprising selecting a base batch alignment method.
4. augmenting the selected base batch alignment method with one or more alignment guidance pseudo-variables by performing at least one of: (i) selecting one or more alignment guidance pseudo-variables to be included as process variables of the batch; (ii) selecting one or more generator functions for the one or more alignment guidance pseudo-variables to generate one or more alignment guidance pseudo-variable time series; and (iii) selecting one or more customizations, if any, for the one or more generator functions; 4. The method of claim 3, further comprising at least one of: augmenting the selected base batch alignment method with one or more alignment guidance only process variables by selecting the one or more alignment guidance only process variables to be included as process variables for the batch.
5. Constructing the seed model comprises: selecting (i) an alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; determining a set of alignment experiments to perform based on the selected (i) alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; performing each experiment on the determined set of alignment experiments to generate a respective alignment result for the set of representative batches; Quantifying each of the alignment results using a performance metric selected for each experiment; and and constructing the seed model based on the respective quantified alignment results and the respective settings for the selected hyper-parameters.
6. The set of alignment experiments comprises: Low discrepancy sequence processing, Design of experimental treatments, Randomly generated experimental conditions, and The method of claim 5, wherein the method is determined using at least one homogeneous experimental condition.
7. performing each experiment in said determined set of alignment experiments; performing each experiment in said determined set sequentially; or 6. The method of claim 5, comprising performing each experiment in the determined set in parallel.
8. Implementing automatic active learning configuring constraints and alignment quality settings for performing the automatic active learning; using the constructed seed model, the configured constraints, and the configured alignment quality settings, automatically determining given settings for the one or more alignment hyper-parameters that maximize an alignment quality score as predicted by the constructed seed model; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; If the results of the experimental batch alignment meet the criteria, 2. The method of claim 1 , comprising: maintaining the given settings for the one or more alignment hyperparameters; and if the results do not meet the criteria, updating or rebuilding the constructed seed model; and repeating (i) the configuring constraints and the alignment quality settings, (ii) the automatically determining given settings, and (iii) the performing experimental batch alignments.
9. Implementing the interactive active learning configuring constraints and alignment quality settings for performing the interactive active learning; interactively recommending given settings for the one or more alignment hyper-parameters using the constructed seed model, the configured constraints, and the configured alignment quality settings; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; The results of the experimental batch alignment are based on criteria or user input. maintaining the given settings for the one or more alignment hyperparameters; or updating or rebuilding the constructed seed model, and repeating (i) the configuring constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing experimental batch alignments; The results of the experimental batch alignment are not satisfactory or based on user input, 2. The method of claim 1 , comprising: updating or rebuilding the constructed seed model; and repeating (i) the configuring constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing experimental batch alignments.
10. Implementing the guided learning process includes: Based on user input and the constructed seed model, analyzing the importance of the one or more alignment hyper-parameters and their impact on the alignment quality predicted by the constructed seed model; Customize alignment quality performance indicators and acceptance criteria; Customizing the alignment guidance pseudo-time series generator function; adjusting ranges, options, or constraints of the one or more alignment hyperparameters; and 2. The method of claim 1 , comprising at least one of: performing a batch alignment experiment on at least one batch of the set of representative batches using exploratory settings of the one or more alignment hyper-parameters to ascertain an impact of the one or more alignment hyper-parameters on alignment quality.
11. After performing batch alignment on the batch, determining whether the performed batch alignment meets an acceptance criteria; and If the performed batch alignment does not meet the acceptance criteria, repeating the process until the performed batch alignment meets the acceptance criteria. updating or rebuilding the constructed seed model; using the updated or reconstructed construction seed model, the selected reference batches, the constructed batch alignment settings, and the set of representative batches, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; performing the batch alignment on the batch using the updated or reconstructed construction seed model and the settings for the one or more alignment hyper-parameters determined using the configured batch alignment settings; and 2. The method of claim 1 , further comprising iteratively determining whether the batch alignments performed using the settings for the one or more alignment hyper-parameters determined using the updated or reconstructed construction seed model meet the acceptance criteria.
12. The method of claim 1 , further comprising storing and managing the determined settings for the one or more alignment hyperparameters in an alignment environment library.
13. storing and managing the determined settings for the one or more alignment hyper-parameters in the alignment environment library; Associating the determined settings of the one or more alignment hyperparameters with the batch data for the industrial process; and categorizing and organizing the determined settings of the one or more alignment hyperparameters based on at least one of an industrial process, a plant, and an operating condition for transfer learning; and applying the determined settings of the one or more alignment hyper-parameters as a starting point for a new batch dataset.
14. 1. A system for performing automated batch data alignment for a batch production industrial process, comprising: A processor; and a memory in which computer code instructions are stored, the processor and the memory being operable to cause the system to: Selecting a reference batch from batch data for an industrial process; Configure the batch alignment settings, constructing a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters; using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of representative batches representative of the batch data for the industrial process, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; and the system is configured to: perform a batch alignment on a batch from the batch data for the industrial process using the one or more alignment hyperparameters and the determined settings for the configured batch alignment settings, such that the performing results in alignment of the batch data of the industrial process in a manner that enables improved modeling of the industrial process.
15. When configuring a batch alignment setting, the processor and the memory cause the computer code instructions to: selecting a batch alignment method for performing said batch alignment; selecting the one or more alignment hyperparameters and corresponding setting ranges for the one or more alignment hyperparameters for performing at least one of the automated active learning, the interactive active learning, and the guided learning; setting a value for at least one hyperparameter of the one or more alignment hyperparameters; selecting constraints and settings for implementing at least one of the automated active learning, the interactive active learning, and the guided learning; selecting and customizing a performance metric for evaluating alignment results for at least one batch of said representative set of batches during an alignment experiment; setting acceptance criteria for at least one of the automated active learning, the interactive active learning, and the guided learning based on selected performance metrics; and 15. The system of claim 14, further configured to perform at least one of: selecting to enable or disable early termination of performing at least one of the automated active learning, the interactive active learning, and the guided learning upon meeting an acceptance criterion.
16. When selecting a batch alignment method for performing the batch alignment on the batch, the processor and the memory cause the computer code instructions to: The system of claim 15 , further configured to allow for selection of a base batch alignment method.
17. The processor and the memory are configured to cause the system to: augmenting the selected base batch alignment method with one or more alignment guidance pseudo-variables by performing at least one of: (i) selecting one or more alignment guidance pseudo-variables to be included as process variables of the batch; (ii) selecting one or more generator functions for the one or more alignment guidance pseudo-variables to generate one or more alignment guidance pseudo-variable time series; and (iii) selecting one or more customizations, if any, for the one or more generator functions; 17. The system of claim 16, further configured to at least one of: augmenting the selected base batch alignment method with one or more alignment guidance only process variables by selecting one or more alignment guidance only process variables to be included as process variables for the batch.
18. In constructing the seed model, the processor and the memory cause the computer code instructions to: selecting (i) an alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; determining a set of alignment experiments to perform based on the selected (i) alignment method, (ii) hyperparameters associated with the selected alignment method, (iii) respective settings for the selected hyperparameters, and (iv) a minimum number of observations for constructing the seed model; performing each experiment on the determined set of alignment experiments to generate a respective alignment result for the set of representative batches; Quantifying each of the alignment results using a performance metric selected for each experiment; and The system of claim 15 , further configured to construct the seed model based on the respective quantified alignment results and the respective settings for the selected hyper-parameters.
19. The processor and the memory are configured to cause the system to: Low discrepancy sequence processing, Design of experimental treatments, Randomly generated experimental conditions, and 20. The system of claim 18, further configured to cause the set of alignment experiments to be determined using at least one uniformly generated experimental condition.
20. When performing each experiment in the set of determined alignment experiments, the processor and the memory cause the computer code instructions to: performing each experiment in said determined set sequentially; or 20. The system of claim 18, further configured to cause each experiment in the determined set to be performed in parallel.
21. In implementing automatic active learning, the processor and the memory are configured to cause the system to: configuring constraints and alignment quality settings for performing said automatic active learning; using the constructed seed model, the configured constraints, and the configured alignment quality settings to automatically determine given settings for the one or more alignment hyper-parameters that maximize an alignment quality score as predicted by the constructed seed model; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; and If the results of the experimental batch alignment meet the criteria, 15. The system of claim 14, further configured to: maintain the given settings for the one or more alignment hyperparameters, and if the results do not meet the criteria, update or rebuild the constructed seed model, and repeat (i) the configuring constraints and the alignment quality settings, (ii) the automatically determining the given settings, and (iii) the performing experimental batch alignments.
22. In implementing the interactive active learning, the processor and the memory cause the computer code instructions to: configuring constraints and alignment quality settings for performing the interactive active learning; interactively recommending given settings for the one or more alignment hyper-parameters using the constructed seed model, the configured constraints, and the configured alignment quality settings; performing an experimental batch alignment on at least one batch of the set of representative batches using the given settings for the one or more alignment hyperparameters; The results of the experimental batch alignment are based on criteria or user input. maintaining the given settings for the one or more alignment hyperparameters; or updating or rebuilding the constructed seed model, and repeating (i) the configuring constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing experimental batch alignments; and The results of the experimental batch alignment are not satisfactory or based on user input, 15. The system of claim 14, further configured to update or rebuild the constructed seed model, and to repeat (i) the configuring of constraints and the alignment quality settings, (ii) the interactively recommending the given settings, and (iii) the performing of experimental batch alignments.
23. In performing the guided learning process, the processor and the memory cause the computer code instructions to: Based on user input and the constructed seed model, analyzing the importance of the one or more alignment hyper-parameters and their impact on the alignment quality predicted by the constructed seed model; Customize alignment quality performance indicators and acceptance criteria; Customizing the alignment guidance pseudo-time series generator function; adjusting ranges, options, or constraints of the one or more alignment hyperparameters; and 15. The system of claim 14, further configured to at least one of: performing a batch alignment experiment on at least one batch of the representative set of batches using exploratory settings of the one or more alignment hyper-parameters to ascertain an impact of the one or more alignment hyper-parameters on alignment quality.
24. After the processor and the memory, in accordance with the computer code instructions, cause the system to perform batch alignment on the batches, determining whether the performed batch alignment meets an acceptance criterion; If the performed batch alignment does not meet the acceptance criteria, repeating the process until the performed batch alignment meets the acceptance criteria. updating or rebuilding the constructed seed model; using the updated or reconstructed construction seed model, the selected reference batches, the constructed batch alignment settings, and the set of representative batches, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; performing the batch alignment on the batch using the updated or reconstructed construction seed model and the settings for the one or more alignment hyperparameters determined using the configured batch alignment settings; and 15. The system of claim 14, further configured to iteratively determine whether the batch alignments performed using the settings for the one or more alignment hyper-parameters determined using the updated or reconstructed construction seed model meet the acceptance criteria.
25. The processor and the memory are configured to cause the system to: The system of claim 14 , further configured to store and manage the determined settings for the one or more alignment hyper-parameters in an alignment environment library.
26. In storing and managing the determined settings of the one or more alignment hyper-parameters in the alignment environment library, the processor and the memory, in accordance with the computer code instructions, cause the system to: associating the determined settings of the one or more alignment hyperparameters with the batch data for the industrial process; categorizing and organizing the determined settings of the one or more alignment hyper-parameters based on at least one of an industrial process, a plant, and an operating condition for transfer learning; 26. The system of claim 25, further configured to apply the determined settings of the one or more alignment hyperparameters as a starting point for a new batch dataset.
27. 1. A computer program for performing automated batch data alignment of a batch production industrial process, the computer program comprising computer code instructions that, when executed by a processor, cause an apparatus associated with the processor to: Select a reference batch from batch data for an industrial process; Configure the batch alignment settings, constructing a seed model configured to predict alignment quality given settings for one or more alignment hyperparameters; using the selected reference batch, the configured batch alignment settings, the constructed seed model, and a set of representative batches representative of the batch data for the industrial process, performing at least one of (i) automatic active learning, (ii) interactive active learning, and (iii) guided learning to determine settings for the one or more alignment hyper-parameters; and a computer program configured to cause the computer to perform a batch alignment from the batch data for the industrial process using the one or more alignment hyperparameters and the determined settings for the configured batch alignment settings, such that said performing results in alignment of the batch data of the industrial process in a manner that enables improved modeling of the industrial process.
Citation Information
Patent Citations
Method for generating process data
JP1996328640A
Interactive Concept Learning in Image Retrieval
JP2011507099A
Material testing machine
JP2019052997A
Search device
JP2020064479A
Computer System And Method For Automated Batch Data Alignment In Batch Process Modeling, Monitoring And Control
US20190332101A1
