Systems and methods for generating datasets for model retraining
By assembling synthetic data sets and using the MATHOR module to evaluate similarities, the problem of knowledge transfer between models in machine learning is solved, and resource-efficient model training and adaptability improvement are achieved.
Patent Information
- Application Number
- CN202080035557.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-13
- Filing Date
- 2020-05-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-05-14
AI Technical Summary
In machine learning and deep learning, developing new models to adapt to different tasks or problems requires a lot of resources, and existing models often cannot be directly applied to new types of tasks, resulting in waste of resources and low efficiency.
Generate synthetic datasets by assembling multiple synthetic datasets and using the Model-agnostic Tensor Homogeneity Evaluator (MATHOR) module, evaluate dataset similarity, and select or generate new datasets to train new models, leveraging existing The knowledge of the model is transferred and learned, reducing the need for training from scratch.
It achieves efficient transfer of knowledge between different tasks, reduces resource consumption and model training time, improves the adaptability and accuracy of the model, and reduces the complexity of new model development.
Smart Images

Figure CN114144770B_ABST
Abstract
Description
[0001] Cross-reference(s) to related application(s)
[0002] This application claims priority to U.S. Application No. 62 / 847,621 filed on May 14, 2019 and U.S. Application No. 15 / 931,369 filed on May 13, 2020, the entire contents of which are hereby incorporated by reference. Technical Field
[0003] The technology described herein relates to processing and / or preparing a data set for retraining or training a model. More particularly, the technology described herein relates to transfer learning techniques for machine learning and more particularly deep learning. Background Art
[0004] Machine learning and deep learning can give computers the ability to "learn" a specific task without explicitly programming the computer for that task. This can be achieved by developing a model (e.g., a mathematical model) based on initial data and then using the model to evaluate new data. For example, a model can be developed to automatically recognize and distinguish between pictures containing dogs and pictures containing cats.
[0005] One problem in machine learning (and deep learning in particular) is that developing such models can be resource intensive (e.g., in terms of time, computing power, dataset size, etc.). And for each new task or problem, a new model may need to be developed to solve that specific task or problem. A model used to identify dogs may not be as useful for identifying horses or cats. Thus, when dealing with new types of tasks (e.g., identifying cats versus identifying dogs), it may be necessary to develop entirely new models. However, generating (e.g., training) entirely new models can be a resource intensive process.
[0006] Thus, it will be appreciated that in machine learning and deep learning, new and improved techniques, systems, and processes are continually sought. Such techniques may include new and improved techniques in the field of developing models. For example, by preparing or otherwise organizing a data set that can be used to develop a new model, the new model can be trained based on an already existing model. Summary of the invention
[0007] A computer system is provided and programmed to assemble multiple synthetic data sets and blend those synthetic data sets into a synthetic data set. An evaluator then determines whether an existing model should be associated with the synthetic data set or a new model should be trained using the synthetic data set.
[0008] This Summary is provided to introduce a selection of concepts that will be further described in the Detailed Description below. This Summary is neither intended to identify key features or essential features of the claimed subject matter nor to be used to limit the scope of the claimed subject matter; rather, this Summary is intended to provide an overview of the subject matter described in this document. Therefore, it will be appreciated that the above-described features are merely examples, and other features, aspects, and advantages of the subject matter described herein will become apparent from the following Detailed Description, the accompanying drawings, and the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] These and other features and advantages will be better and more fully understood by reference to the following detailed description of example non-limiting illustrative embodiments taken in conjunction with the accompanying drawings, in which:
[0010] Figure 1 is an illustration of a computer system configured to handle a plurality of different models that have been generated by using machine and / or deep learning techniques, according to certain example embodiments;
[0011] Figure 2 is an illustration of a computer system configured to select or generate at least one data set and / or model according to certain example embodiments;
[0012] Figure 3 According to some example embodiments Figure 2 Flowchart of the synthetic retraining dataset generator shown in;
[0013] Figure 4 According to some example embodiments, Figure 3 Block diagram of the Learned Oracle with Model-Agnostic Tensor Homogeneity Evaluator (MATHOR) module shown in ;
[0014] Figure 5 shows examples of data sets that may be processed using MATHOR according to certain example embodiments;
[0015] Figure 6 According to some example embodiments, Figure 4 The MATHOR process provided in the MATHOR module;
[0016] Figure 7 Shows that it can be used as Figure 6 Example density estimation curve calculated as part of the MATHOR procedure;
[0017] Figure 8 The diagram shows Figure 6 The sample-level similarity check performed during the MATHOR process shown in ;
[0018] Fig. 9 FIG. 1 illustrates some exemplary embodiments of the present invention. Figure 4 Learning Oracle for dataset selection module;
[0019] Fig. 10A According to some example embodiments Figure 2 Block diagram of the model evaluator;
[0020] Fig. 10B How can some example embodiments be used? Figure 2 a block diagram of an example implementation of a system; and
[0021] Fig.11 An example computing device is shown that can be used in some embodiments to implement the features described herein. DETAILED DESCRIPTION
[0022] In the following description, specific details such as specific nodes, functional entities, techniques, protocols, etc. are set forth for purposes of explanation rather than limitation in order to provide an understanding of the technology. It will be clear to those skilled in the art that other embodiments may be practiced in addition to the specific details described below. In other instances, detailed descriptions of well-known methods, devices, techniques, etc. are omitted so as not to obscure the description with unnecessary details.
[0023] Sections are used in this detailed description merely to guide the reader to the general subject matter of each section; as will be seen below, the descriptions of many features span multiple sections, and the headings should not be construed as affecting the meaning of the description included in any section.
[0024] Overview
[0025] A computer system is provided and is programmed to assemble or otherwise generate a dataset from a plurality of frames and to select (or generate) a model for the assembled or otherwise generated dataset. The system uses frames labeled (e.g., by a user or other process) as input to generate different synthetic datasets, and then uses a neural network to adapt a user-defined retraining problem to mix the different synthetic datasets. In some examples, the system allows the "knowledge" contained in the first model to be transferred to a new second model generated. In some examples, the knowledge is represented as a dataset (e.g., which can be an optimally generated / selected dataset synthesized from a plurality of different synthetic datasets). The second model can be used to solve a different (but potentially related) problem than the problem already solved by the first model. For example, a model for detecting dogs in an image (a first model) can be used to generate a new model for detecting cats (a second model).
[0026] Figure 1Examples of computer systems that process data by using different models (and therefore can be used to process different tasks) are shown. Figure 2 is a block diagram of the model retraining system. Figure 3 The diagram shows Figure 2 A synthetic retraining dataset generator is a part of the retraining system of . The synthetic retraining dataset generator includes, among other modules, a Model-Agnostic Tensor Homogeneity Evaluator (MATHOR) module. Figure 4-9 Illustrated are different aspects of the MATHOR process implemented in the module and used to determine the similarity between two datasets. Fig. 10A yes Figure 2 Block diagram of the model evaluator shown in . Fig. 10B An example implementation of the techniques discussed herein is shown. Fig.11 An example of a computing device that may be used to implement the features described herein is shown.
[0027] In many places in this document, software modules, engines, generators, evaluators, extractors, processes, and actions are described as being performed by software. This is done for ease of description; it should be understood that whenever software is described in this document as performing any action, the action is actually performed by the underlying hardware elements (such as processors and memory devices) according to the instructions that comprise the software. Additional details on this are given elsewhere, particularly below. Fig.11 provided in the description.
[0028] Figure 1 Description
[0029] Figure 1 is a block diagram of a computer system 100 configured to process a plurality of different models that have been generated using machine and / or deep learning, according to certain example embodiments.
[0030] It will be appreciated that deep learning can be viewed as a subfield of machine learning. As used herein, and unless otherwise indicated, aspects discussed herein related to “machine learning” may also be applied to “deep learning”, and vice versa.
[0031] Computer system 100 stores machine learning models, including models 104 and 110, for processing (e.g., classifying) data contained in database 102 (or other data storage medium). Examples of computer system 100 include combining Fig.111 . In some examples, computer system 100 is comprised of multiple different instances of computing device 1100. In some examples, computer system 100 may be a cloud-based computer system that includes many different nodes (e.g., each node is an instance of computing device 1100). In some examples, each model processed by computer system 100 is processed within its own virtual environment (e.g., a virtual machine or virtual container, such as a virtual container created and / or managed by Kubernetes).
[0032] Figure 1 The computer system 100 shown in includes two different machine learning models, a model 104 for detecting huskies and a model 110 for detecting labradors. Other types of models may also be included depending on the nature of the task to be answered or solved. For example, a model may be generated to help identify irregular or fraudulent market activity from data provided by an automated computer system operating a matching platform or exchange. In some examples, the system 100 may use one model, or may use many different models to classify data (e.g., one model may be used to classify Labradors and huskies).
[0033] Computer system 100 includes a database of data 102 (e.g., images or other data). The system is programmed to take the data contained in database 102 (e.g., images, time series data, etc.) and process the data using models 104 and 110. This would result in, for example, identifying those images that contain a husky 106 and those that contain a labrador 112. Database 102 may also include data that is provided in "real time." An example of "real time" data may be a market data feed provided from an electronic trading system. This data may be supplied to system 100 and then used against a model. Another example may be a video stream (or periodically provided images) to be processed against a model of system 100.
[0034] In some examples, the models used by system 100 may be stored in a database and retrieved for use based on the nature of a particular task. An example of such a database is Figure 2 For example, if the task is to identify huskies in 10,000 new images, a model for detecting huskies can be obtained from a database of models (perhaps by using Figure 2 The model evaluator 200 of FIG. 200 is dynamically retrieved and used to classify / analyze the 10,000 images. However, if the nature of the task is to analyze market conditions to detect fraudulent activity, the model for such a task can be retrieved from the model database 202. In some examples, the results of the MATHOR process (e.g., similar to Figure 6The results described in () determine which model to use to classify unclassified data (e.g., data that has not yet been classified using a model). As discussed in more detail below, the MATHOR process can provide a measure of how similar or different two data sets are. Such a measure can then be used to select a model. In other words, if the unclassified data set is similar to an already classified data set associated with an existing model, the existing model can be selected to classify the unclassified data.
[0035] In some instances, a task may not have a corresponding model for that particular task. For example, there may not be a model for detecting fraudulent activity in the stock market, or there may not be a model for detecting a Labrador in an image. In some examples, a model must be generated so that a particular task can be performed. In some example embodiments, a new model may be generated using conventional techniques for generating models using machine learning. For example, by using a neural network, etc. However, it will be appreciated that generating a new model may be a relatively resource-intensive task. When the size of the training data set is relatively small, the generation of the model may be even more difficult. For example, if there are relatively few pictures of Labradors in a picture database for training purposes, it may be difficult to develop an accurate / useful model for identifying a Labrador.
[0036] In some example embodiments, computer system 100 may include model retraining system 108. In some examples, model retraining system 108 may be its own computer system and separate from computer system 100. For example, system 108 and 100 may be provided on separate nodes of a cloud-based computing environment. Model retraining system 108 is programmed to generate or develop new models for handling new and / or different tasks. Model retraining system 108 may have access to the same data sources (e.g., database 102) as models 104 and 110. For example, model retraining system 108 may have access to daily collections of new images, real-time market data feeds from an electronic matching platform, or other data.
[0037] The model retraining system 108 can be combined with Fig.11 The model retraining system 108 may be implemented on one or more computing devices 1100 described herein. The model retraining system 108 may allow for the generation of new models from existing models and / or data without the need to train new models from scratch, or provide smarter training (e.g., which may be more efficient than traditional brute force methods). Such techniques may therefore save resources (time, computing power, acquisition of training data sets, etc.) that may be required to generate and / or select new models.
[0038] Figure 2 Description
[0039] Figure 2Can be included in Figure 1 An illustration of components in the model retraining system 108 shown in . According to certain example embodiments, the model retraining system 108 may be configured to select or generate at least one data set for generating a new training model. Figure 2 Each module or other component shown in can be implemented on a computer system (eg, computing device 1100 ) that is programmed to generate or train a new model based on an existing model and a corresponding data set.
[0040] In some instances, Figure 2 The description and operation of the modules in are described in conjunction with examples for identifying dogs within images and / or identifying deception within market data. For the dog example, a model 104 for detecting huskies is stored in the model database 202. However, a model 110 for detecting labradors is now desired. The model retraining system 108 will use the already generated model 104 to generate a new model 110, which is trained with a data set that is itself built using machine learning techniques. For the deception example, there is a model for detecting deception in the commodity market. Now a model for detecting deception in the stock market is desired. Both of these examples are discussed in conjunction with the features described herein. It will be appreciated that the techniques described herein can be applied to other areas where models can be used to analyze or classify different types of data.
[0041] The process begins by selecting an initial model (e.g., model 104) from among the models stored in the model database 202. This is done by the model evaluator module 200. Fig. 10A The details of the model evaluator module are described in more detail. In some examples, Figure 2 The processing shown in occurs in a loop (e.g. Figure 2 ). Therefore, the selection process of the model by the model evaluator 200 during the "first" iteration may be different from subsequent iterations. For example, during the first or initial iteration, the model may be manually selected by the user, may be randomly selected from the models stored in the model database, or may be trained from scratch.
[0042] Model database 202 can store many different models, all of which have been developed for different (e.g., dozens, hundreds or even thousands) tasks. The selected model can be the model that the user (or model evaluator 200) thinks is "closest" to the problem they are solving. Therefore, if database 202 contains models for identifying different dog breeds and models for predicting weather, the user can (given the task of identifying Labrador in the picture) select one of the models for identifying dog breeds and use the model as a starting point. By performing the MATHOR process discussed below, it is possible (at least indirectly) to achieve the determination of how close the model is to the given problem. Therefore, in some examples, the selection of the model can be a manual process (driven by the user in the case of manual selection of the model by the user), a semi-manual process (e.g., the user selects one of the multiple options selected by the system) or an automated (the computing system automatically selects the model without direct user input).
[0043] As the process being performed by the system 108 progresses (e.g., with each iteration), the model evaluator 200 may also rank or score the models (and / or the data sets associated with each model) in relation to the objective. Thus, for example, the different models contained in the database 202 may be scored based on how well they perform at, for example, identifying a Labrador in relation to a given data set. As noted above, in relation to Fig. 10A Details of the model evaluator and its functionality are discussed.
[0044] In any case, the model evaluator 200 selects a model and serves the model to the model serving module 204. The model serving module 204 then executes the model against the dataset provided by the dataset extractor module 205.
[0045] The dataset provided by the dataset extractor 205 can be a dataset consisting of previously unclassified data (or data that has not yet been processed against the model selected by the model evaluator 200). Returning to our dog example, the dataset provided by the dataset extractor 205 can be a collection of pictures, etc. The model serving module 204 uses the provided model (the model used to identify huskies) to identify Labrador dogs within the dataset provided by the dataset extractor 205. In other words, the provided model is used to run initial predictions against the dataset provided by the dataset extractor 205 (e.g., new and previously unclassified images). The initial prediction includes attempting to classify / identify the Labrador dog using the provided model. Each frame (e.g., each image, or other "frame" of data being evaluated by the model) is classified according to the model provided by the model serving module.
[0046] Naturally, the nature of the task being performed may indicate to the model serving model 204 the nature of the dataset being served by the dataset extractor 205. For example, if a model is being developed to detect fraudulent market activity, the dataset may be time series market data, etc. It will also be appreciated that the dataset provided from the dataset extractor 205 should be different data than the data originally used to train the model provided from the model evaluator 200. Thus, if the model for Husky was trained using dataset A, the dataset extractor 205 should provide a different dataset B (e.g., from a different set of pictures). Similarly, in the context of detecting fraudulent market activity, the dataset used to train the model may be from a first time period (e.g., the first quarter of 2018), while the dataset provided by the dataset extractor 205 may be from another time period (e.g., the second quarter of 2018). In some examples, the datasets may come from different sources (e.g., one from a commodity market and another from a stock market, and / or one from a first exchange and another from a second exchange).
[0047] Once predictions are performed by processing the dataset against the model, the detected frames are verified and / or labeled using the frame verification and labeling module 206. In some examples, this can be a manual process where a human (e.g., a data scientist) goes through the classified frames (e.g., images) and labels and / or verifies the predictions made by the model serving module 204. In some instances, the verification and / or labeling can be an automated process. In some examples, the module 206 can be partially automated where a human will be used to verify and / or label some (but not all) of the data that has been processed via the model serving module 204. In any case, the detection frames generated by the model serving module 204 are verified, and those verified and / or labeled frames are stored to the detection storage device 208.
[0048] In some examples, the frame verification and marking module 206 can employ the techniques described in U.S. Provisional Application No. 62 / 689,545 (Atty Dkt No. 4010-446), the entire contents of which are hereby incorporated by reference. In particular, the windows mentioned in the '545 application can be frames that are being verified and / or marked. Thus, the frames discussed herein can be, for example: spatial in nature (e.g., images or portions of images), temporal in nature (e.g., time frames as in the '545 application), contextual in nature (e.g., different chapters of a document, each sentence of a book, etc.), etc. In fact, a frame can be any portion of a data set that can be separated or isolated from other data within the data set.
[0049] The verified and / or labeled frames (e.g., the processing results from 204 and the verification and / or labeling from 206) are then stored to the detection frame storage 208. A reference to the model that originally classified the frame / image / etc. is also stored so that the model that originally classified can be referenced later. This reference (the link between the labeled / verified dataset and the model) can allow the MATHOR results (generating dataset metrics) discussed below to rate how well a particular model performs at handling a given task.
[0050] After the data frames are stored in the storage device 208, the process then continues to generate one or more new data sets. These new data sets can be based on the frames stored in the storage device 208. The new data sets can be used to train a new model (e.g., a model for a target task, such as identifying a Labrador in a picture). The process can operate to intelligently construct data sets that will be used for training / retraining. Intelligent construction of data sets will use machine learning to optimally (e.g., perform better than at least randomly selected data) select data to be included in the data set for training. It will be appreciated that constructing data sets for training in this manner can reduce the training time required for a new model and / or increase the accuracy of the model (e.g., reduce the error rate of the model ultimately constructed).
[0051] The detection frames stored in the detection frame storage device 208 are supplied to the synthetic retraining data set generator 210. This is combined with at least Figure 3-9 A more detailed description is given. The output from the generator 210 is a retraining dataset (final synthetic dataset 308). The output retraining dataset can be regarded as a dataset constructed by the generator 210 to achieve the defined goal. Returning to the dog example, the generated dataset can be a model designed to effectively generate identification Labradors (and potentially Huskies as well). It will be appreciated that the generated dataset is different from training a model using only all detection frames contained in the storage device 208, or randomly selecting frames to train such a model. Instead, the retraining dataset can be regarded as the product of a machine learning process that produces the retraining dataset (e.g., it is produced by the synthetic retraining dataset generator 210).
[0052] The retrained datasets generated from the synthetic retrained dataset generator 210 are then stored to the storage device 212. In certain example embodiments, the datasets stored in the storage device 212 are all paired with corresponding models (e.g., the model used to generate initial predictions in the model service module 204). In certain example embodiments, the retrained datasets can also be applied to the trainer 214 to generate a model (e.g., an h5 file), which is then passed back to the model evaluator 200 that evaluates the recently created model. In other words, the dataset created using the generator 210 can then be used to train a new model (e.g., a model for identifying Labrador). The newly created model can be evaluated by the model evaluator 200. In combination Fig. 10A The evaluation process is discussed in more detail. The newly created model can then be served to the model serving module 204, and the cycle can continue. In some examples, the model evaluator 200 can determine that the new model does not need to be trained. Instead, the model evaluator can determine that an already existing model stored in the model database 202 will perform within a defined error threshold for a given task based on the data set output from the generator 210. In other words, the model evaluator 200 can not only rate the newly trained model, but also determine when an already existing model may be sufficient for a given task.
[0053] Figure 3 Description: Synthetic retraining dataset generator
[0054] Figure 3 According to some example embodiments Figure 2 Flowchart of the synthetic retraining dataset generator 210 shown in .
[0055] The synthetic retraining dataset generator 210 is designed to generate synthetic datasets to be used for retraining / training purposes. As part of this process, the synthetic retraining dataset generator 210 initially creates multiple synthetic datasets using a number of different dataset generation techniques. The techniques can produce synthetic datasets that include different combinations of validation frames stored in the detection frame storage 208.
[0056] exist Figure 3In some examples, the frame set 300 includes those detection frames from the detection frame storage 208 that are relevant (or potentially relevant) to the creation of a new dynamic, customized and / or synthetic data set. In some example embodiments, the frame set 300 includes those frames that are used for the task or problem to be solved, and in some instances, may be the result of multiple different classification predictions due to the use of multiple different models. In some examples, the frame set 300 includes frames that have been classified using the model service module 204 and then subsequently verified and / or labeled via the module 206 (as discussed above). In some example embodiments, all frames associated with the same model (the model provided by the model service module 204) are included in the frame set 300.
[0057] The synthetic retraining dataset generator 210 includes a dataset generation module 302 that includes different dataset generation techniques. These techniques are used to generate a plurality of synthetic datasets 304. The synthetic datasets 304 are then passed to a learning oracle 306 with a MATHOR module for processing. The learning oracle 306 with a MATHOR module uses the synthetic datasets 304 in combination with previously generated retraining datasets (e.g., reference datasets) stored in the retraining database 212 to generate a final synthetic dataset 308, which is then stored in the retraining database 212 (along with other previously stored synthetic datasets).
[0058] The dataset generation techniques included in module 302 may include one or more of the following techniques to generate a synthetic dataset. A first technique may be to randomly select frames from the frame set 300. A second technique may be to select those frames in which the model tested by the model service module 204 is wrong (e.g., when the model classification from 204 is inconsistent with the label from module 206). For example, if the model classifies the picture as having a Labrador when in fact the animal is a wolf. A third technique may be to select some sample portions that correctly identify one characteristic (e.g., those samples that correctly identify huskies) and some sample portions that correctly identify the second characteristic (e.g., samples that correctly identify Labradors). Other techniques may also be used to generate synthetic datasets. In fact, some may be very specific in nature. As an example of the specificity that may be involved in the data generation of a synthetic dataset, the dataset may consist of a picture of a husky with snow in the background that is incorrectly identified. As another example, the frames of the synthetic dataset may be based on the specific characteristics of the frame. For example, only those frames that fall within a specific time frame (assuming that the frames are time series in nature) can be included in the dataset. In some example embodiments, the frame for the data set may be based on certain characteristics of the data features (e.g., sparsity, distribution, etc. . . ). Therefore, the data set generator module 302 may generate a plurality of different synthetic data sets 304. In some examples, the number of generated data sets may be, for example, at least 10 different synthetic data sets.
[0059] Once the synthetic datasets 304 are generated, they are passed to a learning oracle 306 having a MATHOR module which is used to produce a final synthetic dataset 308 .
[0060] Figure 4-9 Description: Learn Oracle with MATHOR
[0061] Figure 4 According to some example embodiments Figure 3 Block diagram of a learning Oracle 306 with a MATHOR module as shown in FIG. Figure 5 shows how an example dataset can be processed using MATHOR. Figure 6 It shows that it can be Figure 4 The Learn MATHOR module uses the MATHOR process. Figure 7 Included are graphical examples showing geometric proximity between data sets. Figure 8 is a block diagram of how a score measuring similarity between samples can be generated. Fig. 9 Is from Figure 4 Block diagram of a learning oracle for dataset selection.
[0062] MATHOR is an acronym and stands for Model-Agnostic Tensor Homogeneity Evaluator. The technology behind MATHOR - as the name implies - is model-agnostic in nature and allows for the evaluation of similarity or dissimilarity of tensors. A tensor can be thought of as a structure that holds N-dimensional data. For example, while a vector can be held in one dimension (e.g., a 1-dimensional tensor), a tensor refers to a more flexible way of describing N-dimensional data. A tensor can also include additional attributes, properties, etc. that are not just the data contained in the tensor. For the sake of this article, a tensor may also be referred to as a dataset.
[0063] Examples of tensors are Figure 5 Shown graphically in . Figure 5 The tensors in are used for data related to market activity, and the task to be solved is to identify whether fraud is occurring within the market. Additional discussion of how fraud can be identified is found in U.S. Provisional Application No. 62 / 689,545, the entire contents of which are hereby incorporated by reference.
[0064] Figure 5 The datasets 502 and 512 in are composed of many different samples, where each sample includes multiple features (e.g., individual characteristics of the sample) across multiple time steps (e.g., time periods). A time step can be a specific time window within the overall time series dataset, and in some instances, the windows may overlap in time. The nature of the features included in the dataset may vary based on the nature of the task addressed by the model. For example, the features included in a dataset for image recognition may be different from the features included in a dataset for spoofing detection. Figure 5 In the example shown in , the first data set 502 is a reference data set and contains samples that have been identified as containing fraud (506) and samples that have been identified as not containing fraud (504). The reference data set 502 can be stored in the retraining database 212 and supplied from the retraining database 212. The reference data set 502 can be selected as a data set that has been processed by the model serving the model service module 204.
[0065] Figure 5 The other dataset in is dataset 512. This is a "new" dataset and can be combined with Figure 3 One of the synthetic datasets 304 that have been generated. Dataset 512 is similarly split into a dataset 514 in which deception is not predicted and a dataset 514 in which deception is predicted. Naturally, the dataset can be split in other ways depending on the nature of the task. For example, if a model for identifying Labradors is being developed (as discussed elsewhere herein), the dataset can be separated between those instances (e.g., images) in which Labradors are found and those instances (e.g., images) in which Labradors are not found.
[0066] In general, the processes performed by MATHOR (such as combining Figure 6 The MATHOR process may be used to determine how similar (and / or different) two tensors are (e.g., a reference tensor of a synthetically generated tensor). The output from the MATHOR process may be, for example, a similarity measure, a score, or (one or more) other metrics. Thus, MATHOR may be used to score how similar a reference dataset is to each synthetic dataset 304.
[0067] return Figure 4 , the learning oracle with MATHOR module 306 includes a learning MATHOR module 402 and a learning oracle for a dataset selection module 404. The modules 402 and 404 work together to produce a final synthetic dataset 308.
[0068] Study MATHOR Module 402 (in Figure 6 ) is a learning oracle for metric selection and uses a neural network to assign weights (e.g., priorities) to metrics provided by MATHOR that correspond to problem classifications. Module 402 takes the synthetic dataset 304 as input and at least one reference dataset provided by the dataset extractor 406. The reference dataset can be a dataset that has been associated with a model provided by the model service module 204. The learning MATHOR module 402 generates weighted metrics based on the MATHOR processing. These metrics can be considered as data about which features of the synthetic dataset are considered to be more influential or relevant to the specific problem solved by the model associated with the reference dataset.
[0069] The generated weighted metrics are passed to the learning oracle for dataset selection 404 , which then uses a neural network to generate optimal subsets from various synthetic datasets based on the similarity information produced by the learned MATHOR module 402 .
[0070] The learned MATHOR module 402 will now be discussed in more detail. The learned MATHOR module 402 includes a MATHOR process 600 for performing MATHOR and a separate step for weighting the MATHOR results using the output of the MATHOR in a neural network.
[0071] The MATHOR process 600 generates metrics (e.g., feature metrics) about two different data sets 602. The process is performed on each of the synthetic data sets and the reference data sets supplied from the data set extractor 406. Thus, if there are 10 generated synthetic data sets (e.g., A1-A10), each of those data sets is run through the MATHOR process with the provided reference data set. Examples of such data sets are data sets 502 (the reference data set) and 512 (the newly generated synthetic data set).
[0072] Once the data sets are obtained, a feature-level similarity check (e.g., process) is performed on those data sets at 604. Specifically, as part of 604, a geometric proximity table can be generated for each feature and each sample in the data set (e.g., each row is each sample, and the column is each feature). A density estimation curve can then be calculated for each feature based on the geometric proximity table data.
[0073] Figure 7 An example density estimation curve 702 for features across samples within a given data set is shown. Density estimation curves are calculated for each feature of the corresponding data sets (e.g., 504, 506, 514, and 516). Examples of these calculations are shown in graph 704. In graph 704, the left graph of graph 704 shows a new data set 512, whose density estimation curve indicates a positive identification of fraud on the left, and a positive identification of non-fraud on the right side of the left-hand double-sided curve. The double graph on the right similarly shows the identification of fraud on the left, and the positive identification of non-fraud on the right.
[0074] From a number of different density estimation curves (eg, 4), geometric similarity can be computed based on one or more proximity metrics. The following is an example metric that can be used to measure pairwise geometric proximity of density curves.
[0075] Equation 1:
[0076]
[0077] in yes Relative to v The Radon-Nikodym derivative of .
[0078] Equation 2:
[0079]
[0080] Equation 3:
[0081]
[0082] Among them, if the object j andk For variables i If the comparison is invalid due to missing data, then ,otherwise .
[0083] Equation 4:
[0084] .
[0085] One or more of the above equations may be used. Other equations for calculating proximity may also be used.
[0086] For a useful feature (e.g., a feature that will be useful in training a model), the similarity between classes within an individual dataset should be less than a first threshold, and the similarity of the same classes across datasets should be greater than a second threshold. Features that meet these parameters can be considered separable and / or usable features.
[0087] In certain example embodiments, the data from the feature-level similarity check at 604 is then normalized at 606. For example, this may involve a 100 to 1 reduction in the size of the data set.
[0088] At 610, features are selected using a rule-based approach. In certain example embodiments, feature selection using this approach is designed to select features with a separability greater than a threshold amount. This can be achieved by defining one or more criteria that a feature must meet in order to be selected at 610. In certain example embodiments, the number of criteria may be two or more. Example criteria may be, for example, selecting those features with a maximum cosine distance of X and / or filtering based on a similarity score generated from a feature similarity check at 604 / 606. In certain examples, the criteria may be determined by, for example, a data scientist or other user who executes / supervises the MATHOR process (or the retraining process as a whole).
[0089] In some examples, certain features may be automatically suggested based on the nature of the underlying task to be performed. For example, certain features / criteria associated with image classification may be suggested based on previously analyzed images. Similarly, certain features or criteria that tend to provide greater separability may be suggested for time series data. As noted above, two (or more) different criteria may be provided, and only those features that meet both criteria may be selected for future use in developing a retraining dataset. In other examples, one criterion may be used, or three or more criteria may be used.
[0090] Next, at 612, the dimensionality of the tensor (data set) may be reduced. This may serve to reduce or decrease the complexity, noise, and / or dimensionality of the tensor. An example reduction process may be higher order singular value decomposition (HOSVD). This process may be useful in denoising complex data streams (e.g., such as market data for detecting fraud).
[0091] After reducing the dimensionality of the data set, the MATHOR process 600 then performs a sample-level similarity check at 614. Figure 8 illustratively shown in . The sample level similarity check 614 measures the sample similarity within each individual data set and across data sets. This includes two separate checks. The first is a homogeneity check 802, and the second is a heterogeneity check 804. The homogeneity check is used to measure how similar the same classes are across different data sets, while the heterogeneity check is used to measure how dissimilar different classes are within the same data set. In certain example embodiments, the homogeneity check and the heterogeneity check are determined based on geometric morphological metrics calculated from the data sets.
[0092] For example, and referring to the dog example discussed herein, homogeneity checking is used to check how similar the Labrador images are in two different datasets (502 and 512). In contrast, heterogeneity checking is used to check how dissimilar the Husky and Labrador images are within a given dataset (e.g., 516 vs 514).
[0093] These two checks are then used to generate a score 615 (e.g., a quality assessment result) or metric. In certain example embodiments, the quality assessment result or score may include multiple components or fragments. Therefore, the score may be more complex and / or more detailed than a simple integer. Instead, it may be or be based on various metrics (e.g., characteristics) of the individual synthetic data sets generated using the MATHOR process 600.
[0094] Once the MATHOR process 600 is completed, the output from the process (e.g., metric data 615) is provided to an input data generator 622. The metric data is then passed to a data preprocessing step 624, which performs a data cleaning process (e.g., processing NaNs, null values, missing values, etc.). Then at 626, the metric data is processed by a neural network. This results in a derived score 628, which effectively weights the metrics generated by the MATHOR process 600. The weights can be used to influence or determine which features within the synthetic data set are more influential. Higher weighted features will correspondingly cause their data sets to be weighted higher (e.g., by the learning Oracle of the data set selection module 404). In certain example embodiments, the metrics generated from the MATHOR process are processed by a neural network to determine or otherwise generate a score for how similar each synthetic data set is relative to a reference data set. Therefore, a data set similarity score can be generated by processing the metrics with a neural network.
[0095] Consider an example where a synthetic data set has features x, y, and z. The MATHOR process 600 will obtain metrics for the synthetic data set (e.g., how similar it will be to the reference data set) as well as metrics of how individual features behave within the synthetic data set. Then, at 626, the metrics from MATHOR are fed into a neural network that can generate weights for features x, y, z. This can result in, for example, x being weighted as much as twice as much as Y and 50% more than Z. More specifically, at 626, the results of the neural network processing (e.g., the derived score 628) can prioritize the metrics obtained by MATHOR and infer features associated therewith. In other words, the neural network processing can result in information being obtained about which metrics are important and which are not.
[0096] Go to Fig. 9, the derived scores 628 are provided to another machine learning process in the form of a learning oracle 404 of the dataset selection module. Here, the input data generator 902 collects all the derived metrics 628 for each synthetic dataset 304. Therefore, if there are 10 different synthetic datasets generated initially (e.g., from 302), there may be 10 different derived scores / metrics 628. The input data generator 902 collects those multiple scores for the various synthetic datasets. This dataset is then passed to data preprocessing 904, which performs data cleaning on the data to ensure that it is ready for the neural network at 906 (e.g., remove NaNs, handle null values, zero values, etc.). The neural network 906 is then run with all the weighted metric data from each synthetic dataset to produce the final synthetic dataset 304. This includes weighting the individual synthetic datasets (based on the metrics associated with those datasets), and then blending the multiple synthetic datasets into the final dataset 308 produced by the neural network 906. Thus, neural network 906 is programmed to produce an optimal (eg, within a defined error threshold) selection from each of the various synthetic data sets to produce data set 308 .
[0097] In certain example embodiments, the architecture of a model associated with a reference data set (reference model) is used for neural network 906. More specifically, the weights associated with the reference model are stripped, and the architecture of the reference model is then trained using data from a corresponding synthetic data set. This training will then generate weights for corresponding instances of neural network 906. The generated weights can then be compared to the weights of the reference model, thereby generating a training similarity score. The training similarity score and the data set similarity score can then be used to generate a synthetic data set from the initially generated synthetic data set.
[0098] Fig. 10A Description of - Model Evaluator
[0099] Fig. 10A According to some example embodiments Figure 2 The model evaluator 200 is used to compare the performance of the models in the model database 202 using the final synthetic data set 308 based on the user-provided metrics to make one or more of the following determinations: 1) make a decision about retraining; 2) make a decision about the retrained base model; 3) rank the performance of the models; and / or 4) determine which model (existing or newly generated) to associate with the synthetic data set 308.
[0100] When the model evaluator 200 evaluates the model(s), it will create a test data set 1002. This is used as a holdout data set to test the performance of the model. In certain example embodiments, the test data set 1002 corresponds to a reference data set used during the MATHOR process 600. This test data set can be used as a comparison point to see how the synthetic data set 308 performs.
[0101] The model manager 1010 is configured to supply models to the predictor 1006. The model selected by the model manager 1010 may be a model that is already associated with the reference dataset 1002 (e.g., as noted above, each reference dataset may be associated with a corresponding model). In some examples, the model supplied to the predictor 1006 may be selected based on the properties of the final synthesized dataset.
[0102] The predictor 1006 will then run both the synthetic dataset 308 (eg, generated from the synthetic retraining dataset generator 210 ) and the reference dataset 1002 through the supplied model to generate predictions for both datasets (eg, whether a Labrador is in the picture, whether deception was detected, etc.).
[0103] The predictor 1006 will then generate a metric (e.g., a confusion matrix, f-score, precision, recall, etc.) that quantifies how well the model performs at classifying the reference data set 1002. For example, a confusion matrix can be used to describe the performance of the model. The output from the predictor 1006 can include metrics about the performance of the model and the two data sets run against the model. The output is then supplied to the comparator 1008.
[0104] The comparator 1008 takes as input the performance metrics from the predictor 1006 and judges the performance of the model based on the user-provided evaluation metrics 1004. The evaluation metrics may be those metrics that the user (or perhaps another automated process) deems meaningful for the performance of the synthetic dataset, etc. If the performance of the final synthetic dataset 308 relative to the model is within a provided threshold amount, then the model (which has been associated with the reference dataset 1002) may be deemed suitable for handling the desired task (e.g., determining instances of deception or identifying Labradors, etc.).
[0105] Based on the results of the comparator 1008, the model manager will select a model and link the model to the synthetic dataset 308, which is now one of the multiple datasets that are part of the retraining database 212. If the model used by the predictor 1006 is deemed to perform well enough (e.g., based on the user-provided evaluation metrics 1004 and the processing of the comparator 1008), then the model is selected. On the other hand, if the model is deemed not to perform well enough, then the model and the synthetic dataset 308 will be passed to the trainer 214, which will generate a new model (e.g., by training the model using the synthetic dataset 308). Once the new model is trained, it is stored in the model database 202 and will also be linked to the synthetic dataset 308 stored in the retraining database 212. Thus, the synthetic dataset will become a new reference dataset that can be used in the future with an associated model (which may or may not be newly generated).
[0106] Fig. 10B Description: Example implementation
[0107] The following is an example use case of the transfer learning techniques discussed in this article. The example involves evaluating market manipulation performed in electronic trading platforms (e.g., futures markets, stock markets, bond markets, etc.). Fig. 10B According to some example embodiments, how can Figure 2 A block diagram of an example implementation of a system to detect different types of market manipulation.
[0108] In modern markets, market manipulation or fraudulent activity can be difficult to detect. Such activities include insider trading and other fraud and trading manipulation. Such manipulation can include manipulating prices and volumes through trading, order book manipulation, price changes, and obviously erroneous trading, etc. The difficulty in discovering certain types of fraudulent activity is partly related to the speed at which electronic market places (such as the NASDAQ stock exchange) operate (e.g., faster than humans can actually process) and the amount of data they process on a daily basis (e.g., millions or billions of transactions, each of which has tens, hundreds, or even thousands of different parameters and values).
[0109] The problem with using models to detect such activity is that there are many different types of manipulation and many different types of markets (or sub-markets). The difficulty of these problems can be even more complicated due to the nature of the data that the markets process. The data used can be unlabeled, different problems may have unique characteristics that need to be solved, and so on. Given all of these factors, developing models can take a lot of resources. Therefore, the techniques herein allow the use of artificial intelligence and / or machine learning to reduce, for example, model development time by transferring knowledge between, for example, markets and / or events and allowing the model to be continuously enhanced (e.g., detection quality) by using analyst feedback during the machine learning process.
[0110] Go to Fig. 10B , systems 1050 (collectively referred to as systems 1050A, 1050B, 1050C, and 1050D) are example detection systems, which may be, for example, model retraining system 108 and / or computer system 100. Each system 1050 may be the same computing instance (e.g., computing device 1100) or may be a different instance (e.g., separate computing devices 1100). Different types of data are supplied to the systems 1050, depending on the needs of a given problem or task. Each system is also supplied with a model that will be used in classifying the data at the disposal of the system or data that is otherwise (potentially) related to the problem or task to be solved.
[0111] exist Fig. 10B , an initial deception model 1054 is supplied to the system 1050A along with the generic market data 1052. The data and model are passed to the supervisory system 1056 (which may be the model serving component 204 and the dataset extractor 205), which will perform initial classification based on applying the data 1052 to the model 1054 and produce detected events 1058 (e.g., detection frames). At 1060, the detected events are passed to the analyst. The analyst then validates and / or labels the detected events (e.g., as discussed in conjunction with the frame validation and labeling module 206). Based on the labeling, a new model is then generated at 1062. This may be the result of processing performed, for example, by the synthetic retraining dataset generator 210 and the model evaluator 200 (which may train a new model based on the initially supplied model 1054). The system 1050A may continue to loop and update the model 1054 as the analyst 1060 applies new data and performs new labels / validation.
[0112] At some point, one or more new tasks may be desired, which in this example involve U.S. stock market data 1066 and / or U.S. options market data 1074. At this point, the knowledge contained in model 1054 (or an updated version thereof) and / or the dataset associated therewith may undergo a transfer learning 1064 process. Specifically, deception model 1068 (e.g., a deception model based on deception model 1054) may be used by system 1050B to classify U.S. stock market data 1066. Similarly, deception model 1072 (e.g., a version derived from model 1054) may be used to classify U.S. options market data 1074 using system 1050. The process of classifying new types of data may result in the weights of the model(s) being fine-tuned to specifically handle data from more specific data sources. Thus, the pre-trained model (from model 1054) can be used with new market data, which can then result in fine-tuning of model 1054, thereby producing a new model (e.g., model 1072) that is better able to detect deception that may exist in those new types of markets.
[0113] Just as new types of data can be used (e.g., options data vs. stock market data), new models can also be developed for the same or different market data to address other types of market manipulation or fraudulent activity. For example, once the spoofing model 1068 is developed specifically for U.S. stocks to address spoofing in the U.S. stock market, transfer learning can be used to develop new models for new but potentially related types of market manipulation or fraudulent activity.
[0114] For example, a model 1070 may be generated for detecting so-called pump and dump manipulation. This model may initially be identical to the spoof model 1068. However, after system 1050D processes it using stock market data 1066, labeling and validation performed by analysts of the system will help retrain a new model that handles pump and dump scenario identification.
[0115] Therefore, the technology of this article can allow the use of machine learning to develop models to detect market manipulation and other types of fraudulent activities that may occur in electronic trading platforms. It is not necessary to start with a general model to develop a new model. Instead, existing models and the knowledge in those models (together with the reference data sets associated therewith) can be used to develop yet other models to solve new tasks. New tasks can include new problems with the same data source, new data sources for the same problem, or new data sources with new problems.
[0116] Fig.11 Description
[0117] Fig.11is a block diagram of an example computing device 1100 (which may also be referred to as, for example, a "computing device," "computer system," or "computing system") in accordance with some embodiments. In some embodiments, computing device 1100 includes one or more of: one or more processors 1102; one or more memory devices 1104; one or more network interface devices 1106; one or more display interfaces 1108; and one or more user input adapters 1110. Additionally, in some embodiments, computing device 1100 is connected to or includes a display device 1112. As will be explained below, these elements (e.g., processor 1102, memory device 1104, network interface device 1106, display interface 1108, user input adapter 1110, display device 1112) are hardware devices (e.g., electronic circuits or combinations of circuits) configured to perform various different functions of computing device 1100.
[0118] In some embodiments, each or any of the processors 1102 is or includes, for example, a single-core or multi-core processor, a microprocessor (e.g., which may be referred to as a central processing unit or CPU), a digital signal processor (DSP), a microprocessor associated with a DSP core, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) circuit, or a system on a chip (SOC) (e.g., an integrated circuit including a CPU and other hardware components such as memory, network interface, etc.). Processor 1102 is an example of a hardware processor. In some embodiments, each or any of the processors 1102 uses an instruction set architecture such as x86 or an advanced RISC machine (ARM). In some instances, each, any, or all of the processors 1102 within a computing device may be referred to as (e.g., collectively referred to as) a processing system. In some examples, a processing system may span multiple computing devices (e.g., as a distributed processing system).
[0119] In some embodiments, each or any of the memory devices 1104 is or includes random access memory (RAM) (such as dynamic RAM (DRAM) or static RAM (SRAM)), flash memory (based on, for example, NAND or NOR technology), a hard disk, magneto-optical media, optical media, cache memory, registers (e.g., to hold instructions), or other types of devices that provide volatile or non-volatile storage of execution data and / or instructions (e.g., software executed on or by the processor 110). The memory devices 1104 are examples of non-transitory computer-readable storage means.
[0120] In some embodiments, each or any of the network interface devices 1106 includes one or more circuits (such as a baseband processor and / or a wired or wireless transceiver) and implements layer one, layer two, and / or higher layers for one or more wired communication technologies (such as Ethernet (IEEE 802.3)) and / or wireless communication technologies (such as Bluetooth, WiFi (IEEE 802.11), GSM, CDMA2000, UMTS, LTE, LTE-Advanced (LTE-A), and / or other short-range, medium-range, and / or long-range wireless communication technologies). A transceiver may include circuits for a transmitter and a receiver. The transmitter and receiver may share a common housing and may share some or all of the circuits in the housing to perform transmission and reception of wireless or wired signals. In some embodiments, the transmitter and receiver of a transceiver may not share any common circuits and / or may be in the same or separate housings.
[0121] In some embodiments, each or any of the display interfaces 1108 is or includes one or more circuits that receive data from the processor 1102, generate corresponding image data based on the received data (e.g., via a discrete GPU, an integrated GPU, a CPU performing graphics processing, etc.), and / or output the generated image data to a display device 112 that displays the image data (e.g., a high-definition multimedia interface (HDMI), a display port interface, a video graphics array (VGA) interface, a digital video interface (DVI), etc.). Alternatively or additionally, in some embodiments, each or any of the display interfaces 1108 is or includes, for example, a video card, a video adapter, or a graphics processing unit (GPU).
[0122] In some embodiments, each or any of the user input adapters 1110 is or includes one or more circuits that receive and process input from one or more user input devices ( Fig.11 ), the one or more user input devices (not shown) Fig.11 1100) is included in the computing device 1100, attached to the computing device 1100, or otherwise communicates with the computing device 1100, and outputs data to the processor 1102 based on the received input data. Alternatively or additionally, in some embodiments, each or any one of the user input adapters 1110 is or includes, for example, a PS / 2 interface, a USB interface, a touch screen controller, etc.; and / or the user input adapter 1110 facilitates the input from the user input device ( Fig.11 ), the user input device ( Fig.11 (not shown) such as a keyboard, a mouse, a touch pad, a touch screen, etc.
[0123] In some embodiments, display device 1112 may be a liquid crystal display (LCD) display, a light emitting diode (LED) display, or other type of display device. In embodiments where display device 1112 is a component of computing device 1100 (e.g., the computing device and the display device are included in a unified housing), display device 1112 may be a touch screen display or a non-touch screen display. In embodiments where display device 1112 is connected to computing device 1100 (e.g., external to computing device 1100 and communicating with computing device 1100 via wired and / or wireless communication technology), display device 1112 is, for example, an external monitor, projector, television, display screen, etc.
[0124] In various embodiments, the computing device 1100 includes one or two or three or four or more of each or any of the above elements (e.g., processor 1102, memory device 1104, network interface device 1106, display interface 1108, and user input adapter 1110). Alternatively or additionally, in some embodiments, the computing device 1100 includes one or more of the following: a processing system including the processor 1102; a memory or storage system including the memory device 1104; and a network interface system including the network interface device 1106.
[0125] In various embodiments, the computing device 1100 can be arranged in many different ways. As just one example, the computing device 1100 can be arranged so that the processor 1102 includes: a multi-core (or single-core) processor; a first network interface device (which implements, for example, WiFi, Bluetooth, NFC, etc.); a second network interface device that implements one or more cellular communication technologies (e.g., 3G, 4G LTE, CDMA, etc.); a memory or storage device (e.g., RAM, flash memory, or hard disk). The processor, the first network interface device, the second network interface device, and the memory device can be integrated as part of the same SOC (e.g., an integrated circuit chip). As another example, the computing device 1100 can be arranged so that: the processor 1102 includes two, three, four, five or more multi-core processors; the network interface device 1106 includes a first network interface device that implements Ethernet and a second network interface device that implements WiFi and / or Bluetooth; and the memory device 1104 includes RAM and flash memory or a hard disk.
[0126] As previously noted, whenever a software module, software process, or other software element is described in this document as performing any action, the action is actually performed by the underlying hardware element according to the instructions comprising the software module. Consistent with the foregoing, in various embodiments, each or any combination of the model retraining system 108, database 102, model evaluator 200, model service 204, dataset extractor 205, frame verification and labeling 206, detection frame storage 208, synthetic retraining dataset generator 210, retraining dataset storage 212, trainer 214, model database 202, dataset generation method module, learning oracle with MATHOR module 306, learning MATHOR module 402, learning oracle for dataset selection 404, dataset extractor 406, predictor 1006, comparator 1008, and model manager 1010, each of which will be individually referred to as a "component" for clarity in the remainder of this paragraph. Figure 5 In such an embodiment, the following applies to each component: (a) Fig.11The elements of the computing device 1100 shown in 1100 (i.e., one or more processors 1102, one or more memory devices 1104, one or more network interface devices 1106, one or more display interfaces 1108, and one or more user input adapters 1110), or a suitable combination or subset of the foregoing) are configured, adapted and / or programmed to implement each or any combination of the actions, activities, or features described herein, as performed by the components and / or by any software modules described herein as included within the components; (b) alternatively or additionally, to the extent that one or more software modules are present within the components described herein, in some embodiments, such software modules (and any data as handled and / or used by the software modules, etc., as described herein) are stored in the memory device 1104 (e.g., in various embodiments, (c) alternatively or additionally, to the extent that components described herein process and / or otherwise handle data, in some embodiments, such data is stored in the memory device 1104 (e.g., in a volatile memory device such as RAM or instruction registers and / or in a non-volatile memory device such as flash memory or a hard disk), and all actions described herein as being performed by software modules are performed by the processor 1102 in appropriate conjunction with other elements in and / or connected to the computing device 1100 (i.e., network interface device 1106, display interface 1108, user input adapter 1110, and / or display device 1112); (c) alternatively or additionally, to the extent that components described herein process and / or otherwise handle data, in some embodiments, such data is stored in the memory device 1104 (e.g., in some embodiments, stored in a volatile memory device such as RAM and / or in a non-volatile memory device such as flash memory or a hard disk). (d) Alternatively or additionally, in some embodiments, the memory device 1102 stores instructions that, when executed by the processor 1102, cause the processor 1102 to perform, as appropriate, in conjunction with other elements in and / or connected to the computing device 1100 (i.e., the memory device 1104, the network interface device 1106, the display interface 1108, the user input adapter 1110, and / or the display device 512) in and / or connected to the computing device 1100, each or any combination of the actions described herein performed by the component and / or any software module described herein as included within the component.
[0127] Consistent with the foregoing paragraphs, as an example, in an embodiment where an instance of the computing device 1100 is used to implement the model retraining system 108, the memory device 1104 can store the detection frames in the detection frame storage 208, and the models can be stored in the model database 202, and / or store data described herein as processed and / or otherwise handled by the synthetic retraining dataset generator 210 and / or the model evaluator 200. The processor 1102 can be used to operate the synthetic retraining dataset generator (and the components and processes described therein) to generate a synthetic dataset, the model evaluator 200 (and the components and processes described therein) to select or train a model from the synthetic dataset, the model service module 204 to run predictions on the model with the dataset provided by the dataset extractor 205, and so on.
[0128] Fig.11 The hardware configurations shown in and described above are provided as examples, and the subject matter described herein can be used in conjunction with a variety of different hardware architectures and elements. For example: In many of the figures in this document, individual function / action blocks are shown; in various embodiments, the functions of those blocks may be implemented using: (a) individual hardware circuits, (b) using application specific integrated circuits (ASICs) that are specifically configured to perform the described functions / actions, (c) using one or more digital signal processors (DSPs) that are specifically configured to perform the described functions / actions, (d) using the above referenced Fig.11 described hardware configurations, (e) via other hardware arrangements, architectures and configurations, and / or via a combination of the techniques described in (a) to (e).
[0129] Technical advantages of the described subject matter
[0130] Certain example embodiments allow for the generation of a dataset that can be used to retrain (or train) a model in a more resource-efficient manner.
[0131] In certain example embodiments, techniques are provided for determining how similar two data sets are to each other with respect to a model (e.g., via the MATHOR process discussed above). Such techniques can be used to generate (e.g., more efficiently) a data set for selecting and / or retraining a model. As an example, a standard method for training a model may require 2,500 detected frames, which have about 20 positive frames. The techniques herein may be able to operate with approximately 75 detected frames and about 25 positive frames. Thus, the amount of data required for retraining purposes can be reduced. For example, by at least 25% or even 50% or more. Such techniques may be beneficial for situations where there are relatively few occurrences in a data set.
[0132] In certain example embodiments, techniques are provided for developing models that aid in identifying market manipulation. For example, techniques that aid in identifying market participants that engage in deceptive activity. The techniques may allow knowledge associated with a first data set (e.g., a commodity market) to be transferred to a second data set (e.g., a stock market).
[0133] In certain example embodiments, the technology herein can be applied to a language translation model, which helps to develop a language translation model in a more resource-efficient manner. For example, an English to Spanish translation model can be used to generate or develop a model that translates from English to Portuguese. For example, there may be fewer books with English and Portuguese translations, and therefore the translation model for developing / training an English-Portuguese model may be more difficult than an English-Spanish model (which may have more books). In addition, generating English and Portuguese may be a resource-intensive task. The technology herein can be used to help select Portuguese books (or which parts of those books) that will contribute to the development of an English to Portuguese model by using an English to Spanish translation model as a starting point.
[0134] The technical features described herein may therefore improve verifiability, reliability, speed, and other technical aspects related to machine learning and developing models using machine learning.
[0135] Selected term
[0136] Whenever a given item is described in this document as being present in “some embodiments,” “various embodiments,” “certain embodiments,” “certain example embodiments,” “some example embodiments,” “exemplary embodiments,” or whenever any other similar language is used, it should be understood that the given item is present in at least one embodiment, although not necessarily in all embodiments. Consistent with the foregoing, whenever an action is described in this document as “may,” “can,” or “may” be performed, a feature, element, or component “may,” “can,” or “may” be included in a given context or applicable to a given context, a given item “may,” “can,” or “may” possess a given property, or whenever any similar phrases involving the terms “may,” “can,” or “may” are used, it should be understood that the given action, feature, element, component, property, etc. is present in at least one embodiment, although not necessarily in all embodiments. Unless expressly stated otherwise, the terms and phrases used in this document and variations thereof should be interpreted as open-ended, not restrictive. As an example of the foregoing: "and / or" includes any and all combinations of one or more of the associated listed items (e.g., a and / or b means a, b, or a and b); the singular forms "a," "an," and "the" should be interpreted as meaning "at least one," "one or more," etc.; the term "example" is used to provide an example of the subject matter being discussed, rather than an exhaustive or limiting list thereof; the terms "include" and "comprising" (as well as other permutations and other variations thereof) specify the presence of the associated listed items, but do not exclude the presence or addition of one or more other items; and if an item is described as "optional," such description should not be understood to indicate that the other items are also not optional.
[0137] As used herein, the term "non-transitory computer-readable storage medium" includes registers, cache memory, ROM, semiconductor memory devices (such as D-RAM, S-RAM or other RAM), magnetic media (such as flash memory, hard disk, magneto-optical media), optical media (such as CD-ROM, DVD or Blu-ray disc), or other types of devices for non-transitory electronic data storage. The term "non-transitory computer-readable storage medium" does not include transitory propagating electromagnetic signals.
[0138] Describes additional applications of the topic
[0139] Although including but not limited to reference Figure 1-10 process steps, algorithms, etc. may be described or claimed in a particular sequential order, but such a process may be configured to work in a different order. In other words, any order or sequence of steps that may be explicitly described or claimed in this document does not necessarily indicate a requirement to perform the steps in that order; rather, the process steps described herein may be performed in any possible order. In addition, some steps may be performed simultaneously (or in parallel) despite being described or implied as not occurring simultaneously (e.g., because one step is described after the other steps). In addition, a process illustrated by its depiction in the accompanying drawings does not imply that the illustrated process excludes other variations and modifications thereto, does not imply that the illustrated process or any of its steps are necessary, and does not imply that the illustrated process is preferred.
[0140] Although various embodiments have been shown and described in detail, the claims are not limited to any specific embodiment or example. None of the above descriptions should be interpreted as implying that any specific element, step, scope or function is necessary. All structural and functional equivalents of the elements of the above-described embodiments known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be included. In addition, it is not necessary for the device or method to solve each and all problems that the present invention seeks to solve because it is included by the present invention. Any embodiment, feature, element, component or step in this document is not intended to be dedicated to the public.
Claims
1. A computer system, include: A non-transitory computer-readable memory configured to store: Reference model; and a reference data set associated with the reference model; A processing system comprising at least one hardware processor, the processing system being configured to: generating a plurality of synthetic datasets derived from the labeled detection image frames; For each synthetic data set of the plurality of synthetic data sets, generating a plurality of feature metrics for a plurality of features from the each synthetic data set, wherein the feature metrics are generated based on a reference data set; generating, using a first neural network, a dataset similarity score for each of the plurality of synthetic datasets relative to a reference dataset based on the determined plurality of feature metrics, wherein each of the dataset similarity scores indicates how similar a given synthetic dataset is to the reference dataset; generating a training similarity score for each of the plurality of synthetic data sets by training a neural network architecture of a reference model using the corresponding synthetic data set; as well as A synthetic dataset is generated by combining data from the plurality of synthetic datasets based on the training similarity scores and the dataset similarity scores.
2. The system of claim 1 , wherein the processing system is further configured to: selecting, from each of the plurality of synthetic data sets, features having a separability greater than a threshold amount, The plurality of feature metrics for each of the plurality of synthetic data sets are generated based on the selected features.
3. The system of claim 1 , wherein the processing system is further configured to: performing a feature-level similarity process between each of the plurality of synthetic datasets and a reference dataset, in, Based on the performed feature-level similarity processing, a plurality of feature metrics for each of the plurality of synthetic data sets are generated.
4. The system of claim 3, wherein the processing system is further configured to: For each feature of each of the plurality of synthetic data sets, a density estimation curve with respect to a reference data set is calculated, wherein the plurality of feature metrics for each of the plurality of synthetic data sets are generated from the calculated density estimation curves for the features in the plurality of synthetic data sets.
5. The system of claim 4, wherein the processing system is further configured to: A geometric similarity is calculated for each feature of each of the plurality of synthetic data sets based on the corresponding calculated density estimation curve.
6. The system of claim 1, wherein the processing system is further configured to: performing a sample-level similarity check including a homogeneity check measuring how similar the same classes are between one of the plurality of synthetic datasets and a reference dataset, and a heterogeneity check measuring how dissimilar different classes are within the same synthetic dataset, The plurality of feature metrics for each of the plurality of synthetic data sets are generated based on density estimation curves calculated for features in the plurality of synthetic data sets.
7. The system according to claim 1, in, The processing system is further configured to execute a model-independent tensor homogeneity evaluator process to calculate the plurality of feature metrics.
8. The system of claim 1, wherein the processing system is further configured to: Testing performance on synthetic datasets against a reference model; and Based on a determination that the test performance of the synthetic data set is within a threshold amount, an association between the synthetic data set and the reference model is stored.
9. The system of claim 8, wherein the processing system is further configured to: Based on a determination that the test performance on the synthetic data set is outside a threshold amount, training a new model using the synthetic data set; and Store the association between the synthetic dataset and the new model.
10. A method implemented on a computer system, the method include: storing the reference model and a reference data set associated with the reference model to a non-transitory storage medium; generating a plurality of synthetic datasets derived from the labeled detection image frames; For each synthetic data set of the plurality of synthetic data sets, generating a plurality of feature metrics for a plurality of features from the synthetic data set, wherein the feature metrics are generated based on a comparison with a reference data set; generating, using a first neural network, a dataset similarity score for each of the plurality of synthetic datasets relative to a reference dataset based on the determined plurality of feature metrics, wherein each of the dataset similarity scores indicates how similar a given synthetic dataset is to the reference dataset; generating a training similarity score for each of the plurality of synthetic data sets by training a neural network architecture of a reference model using the corresponding synthetic data set; and A synthetic dataset is constructed by combining data from the plurality of synthetic datasets based on the training similarity scores and the dataset similarity scores.
11. The method according to claim 10, further comprising: include: Features having a separability greater than a threshold amount are selected from each of the plurality of synthetic data sets, wherein a plurality of feature metrics for each of the plurality of synthetic data sets are generated based on those selected features.
12. The method according to claim 10, further comprising: include: A feature-level similarity process is performed between each of the plurality of synthetic data sets and a reference data set, wherein a plurality of feature metrics for each of the plurality of synthetic data sets are generated based on the performed feature-level similarity process.
13. The method according to claim 10, further comprising: include: For each feature of each of the plurality of synthetic data sets, calculating a density estimation curve with respect to a reference data set, The plurality of feature metrics for each of the plurality of synthetic data sets are generated based on density estimation curves calculated for features in the plurality of synthetic data sets.
14. The method according to claim 10, further comprising: include: A geometric similarity is calculated for each feature of each of the plurality of synthetic data sets based on the corresponding calculated density estimation curve.
15. The method according to claim 10, further comprising: include: performing a sample-level similarity check including a homogeneity check measuring how similar the same classes are between one of the plurality of synthetic datasets and a reference dataset, and a heterogeneity check measuring how dissimilar different classes are within the same synthetic dataset, The plurality of feature metrics for each of the plurality of synthetic data sets are generated based on density estimation curves calculated for features in the plurality of synthetic data sets.
16. The method according to claim 10, further comprising: include: A model-independent tensor homogeneity evaluator process is performed to calculate the plurality of feature metrics.
17. The method according to claim 10, further comprising: include: Testing performance on synthetic datasets against reference models; and Based on a determination that the test performance of the synthetic data set is within a threshold amount, an association between the synthetic data set and the reference model is stored.
18. The method according to claim 10, further comprising: include: A determination based on the test performance of the synthetic dataset being outside of a threshold amount by training a new model using the synthetic dataset; and Store the association between the synthetic dataset and the new model.
19. A non-transitory computer-readable storage medium configured to store computer-executable instructions for use with a computer system, the stored computer-executable instructions comprising instructions for causing the computer system to perform operations, the operations include: storing the reference model and a reference data set associated with the reference model to a non-transitory storage medium; generating a plurality of synthetic datasets derived from the labeled detection image frames; For each synthetic data set of the plurality of synthetic data sets, generating a plurality of feature metrics for a plurality of features from the synthetic data set, wherein the feature metrics are generated based on a comparison with a reference data set; generating, using a first neural network, a dataset similarity score for each of the plurality of synthetic datasets relative to a reference dataset based on the determined plurality of feature metrics, wherein each of the dataset similarity scores indicates how similar a given synthetic dataset is to the reference dataset; generating a training similarity score for each of the plurality of synthetic data sets by training a neural network architecture of a reference model using the corresponding synthetic data set; and A synthetic dataset is constructed by combining data from the plurality of synthetic datasets based on the training similarity scores and the dataset similarity scores.
20. The non-transitory computer readable storage medium of claim 19, wherein the operations further include: selecting, from each of the plurality of synthetic data sets, features having a separability greater than a threshold amount, The plurality of feature metrics for each of the plurality of synthetic data sets are generated based on the selected features.
Citation Information
Patent Citations
Computer-implemented identification of related items
CN106796600A
Multi-stage deep transfer learning method for multi-source data mining
CN108846444A
Distributed machine learning system, apparatus, and method
CN109716346A
Identifying transfer models for machine learning tasks
CN110503204A
Training a machine learning-based network traffic analyzer using a prototype dataset
EP3346667A1
