Training machine learning systems using custom feature engineering
Automated feature engineering using a language model to synthesize data subsets addresses the inefficiencies and high costs of manual training, improving dataset quality and enhancing machine learning system performance.
Patent Information
- Application Number
- JP2024060063
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-12
- Filing Date
- 2024-04-03
- Publication Date
- 2024-10-25
AI Technical Summary
Developing and training machine learning systems is time-consuming and expensive, requiring significant manual effort and expertise in feature engineering, especially with large datasets.
Automated feature engineering using a language model to generate and synthesize data subsets, which are then added to the dataset to improve the training process, reducing manual effort and costs.
Enhances the efficiency and reduces costs associated with training machine learning systems by automatically generating features that improve dataset quality and enhance the performance of machine learning pipelines.
Smart Images

Figure 2024152651000001_ABST
Abstract
Description
[Technical field]
[0001] The embodiments described in this disclosure relate to training machine learning systems using custom feature engineering. [Background technology]
[0002] Machine learning systems may be used in many technology fields, including, but not limited to, financial technology, e-commerce, social media, gaming, facial recognition, and / or autonomous driving. These machine learning systems may be capable of receiving inputs that may allow the system to learn and adapt to different sets of situations. In many cases, the inputs that a machine learning system may receive may be one or more sets of data.
[0003] The subject matter claimed in this disclosure is not limited to embodiments that solve any disadvantages or that operate only in such environments, rather this background is only provided to illustrate one example technology area where some embodiments described in this disclosure may be practiced. Summary of the Invention [Means for solving the problem]
[0004] In an example embodiment, the system may include one or more processors and one or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, may cause the system to perform one or more operations, the operations may include obtaining a dataset including one or more data subsets. The operations may further include training a language model to determine a relationship between data in the data subsets in the dataset using one or more question-answer pairs. Further operations may include extracting values and titles from each of at least two data subsets in the dataset and determining a question based on the title, the values, and / or a target variable inferred from data included in the dataset. In some embodiments, the operations may further include sending the question to a language model to obtain a vector, the vector may include one or more answers.
[0005] Further, the operations may include determining an action that may be performed using the data that may be included in the at least two data subsets in a dataset based on the vector. The operations may further include synthesizing data related to the target variable by performing the determined action using the data that may be included in the at least two data subsets in a dataset. In some embodiments, the operations may further include adding the synthesized data to one or more new data subsets to the dataset. The operations may further include modifying a machine learning pipeline using the dataset, and in some embodiments, the modified machine learning pipeline may be configured to train one or more machine learning models using the dataset to make predictions using the new data.
[0006] The object and advantages of the embodiments will be realized and attained at least by the elements, features, and combinations particularly pointed out in the claims.
[0007] The foregoing general description and the following detailed description are provided by way of example and are explanatory only and are not restrictive of the invention as claimed. [Brief description of the drawings]
[0008] Example embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings.
[0009] [Figure 1A] FIG. 1 illustrates an example environment for training one or more machine learning systems using an improved dataset.
[0010] [Figure 1B] FIG. 1 illustrates an example environment for training one or more language models.
[0011] [Diagram 2] 1 illustrates a flowchart of an exemplary method for generating a unified dataset to refine a machine learning pipeline.
[0012] [Figure 3A] 4 illustrates the first half of a flowchart of an exemplary method for generating features. [Figure 3B] 4 illustrates a second half of a flowchart of an exemplary method for generating features.
[0013] [Figure 4] 1 shows a flowchart of an example method for modifying a machine learning pipeline using a dataset that includes generated and / or synthesized data subsets.
[0014] [Diagram 5] 1 illustrates a block diagram of an exemplary computing system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Machine learning systems, algorithms, neural networks, and the like are increasingly being used, particularly for tasks involving prediction. As used in this disclosure, a "machine learning system" may include one or more algorithms, computer systems, neural networks, deep learning models, one or more other models, and / or one or more systems corresponding to the foregoing, which may be configured to analyze one or more characteristics corresponding to input data.
[0016] Although the development and / or use of these machine learning systems has increased over time, developing and training machine learning systems has become increasingly difficult and expensive. Often, developing and training a machine learning system can be time consuming and can involve many man hours and / or a lot of specialized expertise from data scientists. In some examples, data scientists may prepare datasets to be used in one or more machine learning pipelines to train one or more machine learning systems to perform a task.
[0017] In some examples, feature engineering may be used to train one or more machine learning systems in collaboration with existing data in one or more datasets. As used in this disclosure, "feature engineering" may refer to any number of operations, such as mathematical and / or grouping operations, that may be designed to augment, reduce, clean, filter, and / or clarify data in a given dataset. For example, "feature engineering" may refer to generating new data to add to a dataset, synthesizing data that corresponds to existing data in a dataset, filtering out noisy data or data that may not be useful for a particular task, and other operations designed to modify a dataset that may be used to train one or more machine learning systems. Additionally, as used in this disclosure, "feature" may refer to one or more attributes and / or variables that may be present in a dataset. In some embodiments, a variable may refer to a collection of similar data and / or information that corresponds to a collection of similar data. In some embodiments, a feature as used herein may be contextualized within a dataset as a single column in the dataset and / or a single column in one or more other data subsets that correspond to the dataset.
[0018] In some instances, feature engineering operations may require significant man-hours, and therefore an automated process may be preferred. However, one or more other automated machine learning algorithms and / or systems may have difficulty identifying relevant features, comparing those relevant features, and generating and / or synthesizing features that may improve a dataset via feature engineering. Thus, manual measures may typically be taken to perform feature engineering on datasets, including large datasets.
[0019] For example, feature engineering may typically be performed by experienced data scientists who may add features to a dataset, remove feature redundancy in the dataset, and / or reduce dimensionality in the dataset. Additionally, datasets that may be used to train machine learning systems may be large (e.g., on the order of thousands or millions of data points or more). Indeed, many applications for machine learning may benefit from training such machine learning systems on large datasets, which may require more time, more specialized expertise, and more money to apply feature engineering functions that can create more effective datasets that can be used to train the machine learning systems.
[0020] One or more embodiments described in this disclosure may reduce costs (e.g., computing, human, and / or monetary costs) associated with performing feature engineering operations using a dataset. Additionally, one or more embodiments described in this disclosure may correspondingly reduce the cost of synthesizing and / or generating one or more datasets used to train a machine learning system by automatically performing a feature engineering process using one or more language models to generate and / or synthesize one or more features. In some embodiments, a dataset including the one or more generated and / or synthesized features may be used to modify a machine learning pipeline, such that the modified machine learning pipeline may be more suitable for training one or more machine learning systems to perform a task.
[0021] In some embodiments, to better perform one or more feature engineering processes, a language model may be trained to find similarities between features in a dataset using one or more question-answer pairs. In some embodiments, the questions in the one or more question-answer pairs may compare data subsets within a particular category in the dataset. In some embodiments, the questions in the one or more question-answer pairs may be generated by determining one or more semantic similarity distributions between features in the dataset. The semantic similarity distributions may indicate one or more domains and / or categories that may describe data contained in one or more features in the dataset. Furthermore, in some embodiments, an answer in the one or more question-answer pairs may be an answer to a question that may be determined and / or deemed correct based on a confidence value corresponding to the question reaching a particular threshold. In some embodiments, the question-answer pairs may be used to train and / or fine-tune one or more language models to analyze relationships between one or more features.
[0022] In some embodiments, one or more questions may be synthesized to elicit answers from the one or more language models to perform one or more feature engineering processes. In some embodiments, the one or more language models may be trained using one or more question-answer pairs. In some embodiments, the one or more language models may be configured to generate answers based on the one or more synthesized questions that may detail one or more relationships between features in a dataset.
[0023] In some embodiments, one or more operations for synthesizing one or more additional features may be determined based on the answer from the one or more language models. The one or more operations may be configured to generate and / or synthesize data corresponding to features, which may then be added to a dataset. In some embodiments, a dataset including the one or more generated and / or synthesized features may be used to modify one or more machine learning pipelines, which may be configured to train one or more machine learning systems to perform one or more tasks.
[0024] According to one or more embodiments of the present disclosure, automatically generating and / or synthesizing features using one or more language models may increase efficiency and / or reduce costs associated with one or more feature engineering processes. Furthermore, in some embodiments, adding the one or more automatically generated and / or synthesized features to a dataset may improve the dataset by including additional data and / or information that may not be present in the dataset without the one or more generated and / or synthesized features. Additionally or alternatively, the one or more generated and / or synthesized features included with data already present in the dataset may add additional context that may clarify one or more features in the dataset, such that a machine learning system may be better equipped to perform one or more tasks based on the dataset including generated and / or synthesized features than a machine learning system trained using the dataset without the generated and / or synthesized features.
[0025] 1A illustrates an example environment 100 for training one or more machine learning models 114 using an improved dataset 112, in accordance with one or more embodiments of the present disclosure. The environment 100 may include a question generation module 104, a language model 106, and a feature engineering module 110, along with the machine learning models 114.
[0026] In some embodiments, the question generation module 104 may be configured to generate and / or synthesize one or more questions based on the data included in the dataset 102. Additionally or alternatively, the language model 106 may be configured to generate one or more answers 108 based on the questions generated and / or synthesized using the question generation module 104. Additionally or alternatively, the feature engineering module 110 may be configured to synthesize data to add to the dataset 102 based on the one or more answers 108 to create an enhanced dataset 112. Additionally or alternatively, the enhanced dataset 112 may be used to train a machine learning model 114.
[0027] In these or other embodiments, the question generation module 104, the language model 106, the feature engineering module 110, and / or the machine learning model 114 may be implemented using hardware including one or more processors, central processing units (CPUs), graphics processing units (GPUs), data processing units (DPUs), parallel processing units (PPUs), microprocessors (e.g., for performing or controlling the execution of one or more operations), field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), accelerators (e.g., deep learning accelerators (DLAs)), and / or other processor types. In some other examples, one or more of these modules may be implemented using a combination of hardware and software. In this disclosure, operations described as being performed by the question generation module 104 and / or the feature engineering module 110 may be implemented by computer readable instructions that may be executed to instruct a corresponding computing system to perform the operations. In these or other embodiments, the question generation module 104, the feature engineering module 110, and / or the machine learning model 114 may be implemented by one or more computing devices, as described in further detail with respect to FIG. 5.
[0028] The data set 102 may include data and / or identifiers corresponding to the data. In some embodiments, the data may include one or more values that may include any number of data types. For example, the data included in the data set 102 may include integers, doubles, floating point numbers, characters, strings, Booleans, and any other data type capable of conveying information.
[0029] In some embodiments, the data included in the dataset 102 may include data associated based on data corresponding to a particular object, concept, or structure. For example, the dataset 102 may include data corresponding to homes and / or properties within a particular geographic area. Continuing with the example, the dataset 102 may include data including property addresses, square footage, floor area, number of neighboring properties, and any other data corresponding to homes and / or properties within a particular geographic area.
[0030] In some embodiments, some of the data in the dataset 102 may represent characteristics of the object, concept, or structure represented by the data. In some embodiments, the dataset 102 may include several data subsets, where each data subset may include a title and any number of values. In these and other embodiments, values representing the same characteristic may be organized into one or more data subsets. For example, if the dataset 102 contained information about homes, the title of a first data subset may be "Total Area" and each of the values may represent the "Total Area" of the corresponding home for that entry in the dataset 102.
[0031] In some embodiments, the values in each of the data subsets may be the same data type or may be different data types. For example, each of the values in each of the data subsets of the dataset 102 may be integers. As an additional example, the values in a first data subset in the dataset 102 may be strings and the values in a second data subset in the dataset 102 may be integers. In some embodiments, a given data subset in the dataset 102 may include different data types. In these and other embodiments, the values in the dataset 102 may include integers, floating point, strings, characters, and / or any other data type that may convey information corresponding to data included in one or more data subsets in the dataset 102.
[0032] In some embodiments, a title in an individual data subset may correspond to a value in the individual data subset. In some embodiments, an individual data subset may not include a title that corresponds to a value. In some embodiments, values included in the data set 102 and / or individual data subsets may include corresponding units, while some values included in the data set 102 may not include units that correspond to values included in the data set 102.
[0033] In some embodiments, data subsets that do not include title or corresponding context information may be filtered out from the data set 102. In some embodiments, one or more additional data subsets may be generated using one or more data subsets that may not include title and / or context information as further described and / or illustrated in this disclosure, such as with respect to Figures 3A and 3B. The data subsets referenced in Figure 1A may include data subsets that have corresponding title and / or context information that corresponds to data stored in the data subsets.
[0034] In some embodiments, each data subset in the dataset 102 may represent a distinct or different feature in the dataset 102. For example, the dataset 102 may include a first data subset and a second data subset, where the first data subset may include values of a first feature and the second data subset may include values of a second feature. Although the example of data subsets is utilized, any data storage or representation technique may be used, such as by storing data associated with features in columns, rows, arrays, vectors, or by using any other data storage technique.
[0035] In some embodiments, the data included in dataset 102 may include additional or descriptive information corresponding to the data and / or features included in dataset 102. In some embodiments, one or more data subsets included in dataset 102 may include descriptions that may provide more information and / or context corresponding to the data in dataset 102 and / or the individual data subsets. Further, a data subset including prices in dollars and cents may include the title "CAR_PRC." Further, a data subset may include descriptions that may include descriptive information, for example, data included in a data subset includes prices of used cars for sale in a particular city.
[0036] In some embodiments, a data subset may include data and / or information that may be categorized as either numerical data or categorical data. As used in this disclosure, numerical data describes data that is expressed as a number. For example, a data subset in a data set may include the total square footage of homes in a neighborhood. Additionally, one or more data subsets that include numerical data may be referred to herein as a numerical data subset.
[0037] In these or other embodiments, as used in this disclosure, categorical data may describe groups and / or categories that are typically represented as characters and / or strings of characters. For example, categorical data may include street names within a particular geographic area. Additionally, one or more data subsets that may include categorical data may be referred to herein as categorical data subsets.
[0038] In these and other embodiments, the dataset 102 may be stored in a comma separated values file type ("CSV"), a hierarchical data format ("HDF"), a JavaScript® Object Notation ("JSON"), a text file ("TXT"), a Structured Query Language ("SQL") database, or any other file type that may allow data subsets and values within the dataset 102 to be stored and organized.
[0039] In some embodiments, the question generation module 104 may be configured to receive and / or otherwise acquire the dataset 102. In some embodiments, the question generation module 104 may be configured to analyze the data included in the dataset 102 to generate and / or synthesize one or more questions for one or more language models (e.g., language model 106). In some embodiments, the question generation module 104 may generate questions to help determine one or more relationships between data included in data subsets within the dataset 102.
[0040] In some embodiments, questions generated and / or synthesized using the question generation module 104 may be generated and / or synthesized to elicit answers from the language model 106. In some embodiments, the question generation module 104 may generate and / or synthesize questions using pairs of data subsets. In some embodiments, the question generation module 104 may determine whether the data subset pairs include two numerical data subsets, two categorical data subsets, or one numerical data subset and one categorical data subset.
[0041] In some embodiments, the question generation module 104 may determine and / or identify that the data subset pair may both include numeric data subsets. In some embodiments, in response to identifying that both data subsets may include numeric data subsets, the question generation module 104 may be configured to select and / or import a question structure from a database of question structures. In some embodiments, the selected and / or imported question structure may be configured to elicit an answer from the language model 106, which may include mathematical operations that may be performed on data that may be stored in the numeric data subsets. For example, the selected and / or imported question structure may seek to compare two numeric data subsets and determine mathematical operations that may be performed on data stored in the numeric data subsets. An exemplary structure for generating a question using the numeric data subsets is shown below: Question: What is the most likely mathematical operation between [numerical data subset 1] and [numerical data subset 2]? [Question: What is the most likely mathematical operation between [numeric data subset 1] and [numeric data subset 2]?]
[0042] In some embodiments, the question generation module 104 may determine and / or identify that the data subset pair may include one numeric data subset and one categorical data subset. In some embodiments, in response to identifying that the data subset pair includes both a numeric data subset and a categorical data subset, the question generation module 104 may select and / or import a question structure from a database of question structures. In some embodiments, the question structure may be configured to elicit an answer 108 from the language model 106, where the answer 108 may include a grouping operation that may be performed on the data stored in the numeric data subset and the categorical data subset. For example, the question structure that may be selected and / or imported may seek to compare the numeric data subset and the categorical data subset and determine a grouping operation that may be performed on the data stored in the numeric data subset and the categorical data subset. An exemplary structure for generating a question using a numeric data subset is shown below: Question: What is the most likely [grouping operation] that may be performed using values of [numerical data subset] for each [categorical data subset] group? [Question: What is the most likely [grouping operation] that could be performed using the values in the [numerical data subset] for each [categorical data subset] group?]
[0043] In some embodiments, the question generation module 104 may determine and / or identify that the data subset pair may both include categorical data subsets. In some embodiments, in response to identifying that the data subset pair includes two categorical data subsets, the question generation module 104 may select and / or import a question structure from a database of question structures. In some embodiments, questions may be compounded to elicit answers that may include grouping operations that may be performed on the data stored in the categorical data subsets. An exemplary structure for generating questions using numerical data subsets is shown below: Question: What is the most likely [grouping operation] that may be performed using values of [categorical data subset 1] for each [categorical data subset 2] group? [Question: What is the most likely [grouping operation] that could be performed using the values in [Category Data Subset 1] for each [Category Data Subset 2] group?]
[0044] In these or other embodiments, the question generation module 104 may generate questions for the language model 106 using one or more target variables, titles, and / or values associated with the dataset 102 to elicit one or more answers 108, which may include actions that may be performed using the data stored in the data subsets being compared.
[0045] In some embodiments, the question generation module 104 may be configured to determine one or more target variables. As used in this disclosure, a "target variable" may refer to a variable that can be inferred from the dataset 102. For example, in the context of a dataset 102 that includes information about housing in a particular city, a target variable may be a variable that can be reasonably inferred using the dataset 102, such as home prices or predicted home prices in a particular city.
[0046] Additionally or alternatively, the target variable may include one or more tasks that one or more machine learning models (e.g., machine learning model 114) may be trained to perform. For example, machine learning model 114 may be tasked with predicting home prices. In response to dataset 102 being used to train machine learning model 114, the target variable may be home prices.
[0047] In some embodiments, the question generation module 104 may receive and / or otherwise obtain target variables based on one or more tasks for the machine learning model 114 to perform. For example, the machine learning model 114 may be tasked with predicting white wine quality. Continuing with the example, the question generation module 104 may obtain the task and a dataset 102, which may include data corresponding to white wines (e.g., pH, sulfur dioxide content, etc.). In these and other embodiments, the question generation module 104 may use the obtained target variables to synthesize and / or generate one or more questions to send to the language model 106.
[0048] In some embodiments, the question generation module 104 may be configured to extract titles corresponding to data subsets in the dataset 102 to synthesize and / or generate one or more questions. In some embodiments, the question generation module 104 may be configured to determine which data subsets to compare based on one or more similarity analyses. For example, the question generation module 104 may be configured to generate a probability distribution using, for example, one or more semantic similarity analyses and / or lexical analyses to determine whether two or more data subsets may be comparable. Continuing with this example, based on a probability distribution indicating that two or more data subsets may be comparable, the question generation module 104 may select two or more data subsets to compare. In some embodiments, the question generation module 104 may be configured to extract titles from the two or more data subsets to generate one or more questions for the language model 106.
[0049] For example, the question generation module 104 may perform one or more semantic similarity analyses on each pair of data subsets in the dataset 102. The semantic similarity analyses may result in a respective probability distribution corresponding to each respective pair of data subsets in the dataset 102. The respective probability distributions indicate the probability that the data subsets in each pair of data subsets are semantically similar and / or comparable. Continuing with this example, the question generation module 104 may compare the probability that the pair of data subsets are related as determined by the semantic similarity analysis. In response to the comparison of the pair of data subsets satisfying a threshold, the pair of data subsets may be used to generate and / or synthesize the one or more questions.
[0050] In some embodiments, the threshold may be determined based on one or more heuristic analyses. In some embodiments, a probability corresponding to a confidence rate of greater than 90% may be determined to generate a synthesis question that compares data subsets that are significantly similar. In some embodiments, comparing semantically similar data subsets may correspond to more accurate answers 108 from the language model 106, better synthesized data to add to the dataset 102, and better trained machine learning models 114. These are further described and illustrated in this disclosure, for example, with respect to FIGS. 1A and 1B.
[0051] For example, in the context of a dataset 102 that includes data and / or information corresponding to real estate in a particular city, the question generation module 104 may determine that a data subset that includes data corresponding to a first floor area and a second floor area is semantically similar and therefore may be usable in one or more generated and / or synthesized questions.
[0052] In some embodiments, by determining whether the data subsets may be semantically similar, the question generation module 104 may not generate and / or synthesize questions corresponding to each data subset and / or pair of data subsets in the dataset 102, thereby improving computation time, power, and processing time in training one or more machine learning models 114 and improving the effectiveness of the enhanced dataset 112.
[0053] In some embodiments, one or more titles corresponding to the data subset may be added to one or more question structures, which may be selected and / or imported using the question generation module 104. Exemplary question structures are shown below: Question: “What is the most likely relationship between [Title 1] and [Title 2]? [Question: "What is the most likely relationship between [Title 1] and [Title 2]?"] Here, Title 1 and Title 2 may correspond to the titles of a first and second data subset, respectively, in a pair of data subsets in dataset 102 .
[0054] In some embodiments, the question generation module 104 may be configured to provide additional context to a question structure that may be selected and / or imported using the question generation module 104. In some embodiments, the additional context may include using one or more sample values included in the data subset pair. An example question structure is shown below: Question: “What is the most likely relationship between [Title 1] with sample value [X] and [Title 2] with sample value [Y]?” [Question: "What is the most likely relationship between [Title 1] with sample value [X] and [Title 2] with sample value [Y]?"] where X is the sample value corresponding to the data subset having the first title and Y is the sample value corresponding to the data subset having the second title.
[0055] In some embodiments, the question generation module 104 may generate one or more numerical comparison directed questions when the data subsets being compared each include a numerical value. In some embodiments, in response to the data subsets being compared including a numerical value, the question generation module 104 may be configured to generate and / or synthesize one or more questions and determine one or more mathematical operations for comparing the data included in the data subsets. The mathematical operations may include one or more of addition, subtraction, multiplication, division, summation, standard deviation, skew, etc.
[0056] For example, in the context of housing data at a particular location, a first data subset may include data indicating the total square footage of the homes at the particular location. Continuing with this example, a second data subset may include values indicating the total price corresponding to one or more homes at that particular location. Additionally, the question generation module 104 may be configured to identify that the values in the data subsets being compared may include numerical values. The question generation module 104 may further be configured to generate and / or synthesize one or more questions that may elicit answers 108 from the language model 106 to determine an operation to perform using the data in the dataset 102. The question generation module 104 may be configured to select and / or import a question structure that may include, for example, “What is the most likely mathematical operation between [Title 1] and [Title 2]?”
[0057] In some embodiments, the question generation module 104 may generate one or more questions directed to one or more categorical comparisons when the data subsets being compared include values having categorical data types. In some embodiments, in response to the data subsets being compared including categorical values and / or a mix of categorical and numerical values, the question generation module 104 may be configured to generate and / or synthesize one or more questions to determine one or more grouping operations for comparing the data included in the data subsets.
[0058] In some embodiments, the grouping operation may depend on whether the values corresponding to the data subsets being compared may include numerical and categorical values or only categorical values. In some embodiments, comparisons made using data subsets that include both categorical and numerical values may include a mathematical grouping operation such as one or more of sum, standard deviation, skew, maximum, minimum, average, median, etc. In some embodiments, comparisons made using data subsets that include only categorical values may include a mathematical grouping operation such as, for example, most common value, least common value, etc.
[0059] For example, the question generation module 104 may be configured to identify two data subsets, a first data subset including numerical values and a second data subset including categorical values. The first data subset may include values corresponding to parcel areas in square feet, and the second data subset may include values corresponding to street groups that may be categorized by name. Furthermore, the target variable may be home prices or predicted home prices. Continuing with this example, the question generation module 104 may be configured to generate one or more questions corresponding to the first data subset and the second data subset to determine whether one or more grouping operations may be useful in determining one or more target variables. The question generation module 104 may select and / or import a question structure corresponding to comparing the numerical data subset with the categorical data subset. The selected and / or imported question structures may include, for example, the following: Question: To predict [target variable], are the [mathematical grouping operation] values of [numerical data subset] for each [categorical data subset] group useful? Question: Is the value of [mathematical grouping operation] of [numerical data subset] for each [categorical data subset] group useful for predicting [target variable]?
[0060] Additionally, the question generation module 104 may be configured to add additional data and / or information corresponding to the numerical and categorical data subsets. Questions including additional data corresponding to the numerical and categorical data subsets may include, for example, the following: Question: “to predict house price, are the minimum values of lot size for each street group useful?” Question: "Is the minimum lot size for each street group useful for predicting house prices?" Here, the "minimum" value may be an example of a mathematical grouping operation that may be performed using the numerical data subset and the categorical data subset.
[0061] As an additional example, a first data subset may include categorical values and a second data subset may include categorical values. The first data subset may include road types and access corresponding to residential areas in a city and the second data subset may include neighborhood groups corresponding to residential areas in the city. Continuing with this example, if the target variable is again home prices, the question generation module 104 may be configured to select and / or import a question structure that may be designed to compare the categorical data subsets. The question structure may include, for example, the following: Question: To predict [target variable], is the [categorical grouping operation] [categorical data subset] for each [categorical data subset] group useful? [Question: Is the [category grouping operation] [category data subset] useful for predicting the [target variable] for each [category data subset] group?]
[0062] Additionally, the question generation module 104 may be configured to add additional data and / or information corresponding to the category data subset. A question including additional data corresponding to the category data subset may include, for example: Question: “to predict house price, is the most common road type access for each neighborhood group useful?” [Question: "Is the most common road type and access for each neighborhood group useful for predicting home prices?"] Here, "most general" may be an example of a grouping operation that may be performed using the data contained in the categorical data subset.
[0063] In some embodiments, one or more improvements can be made to the questions generated and / or synthesized using the question generation module 104 that can improve the accuracy of the answers 108 generated using the language model 106. In some embodiments, the one or more improvements to the questions can include, for example, replacing a data subset name with an expanded data subset name, providing one or more potential answers 108 along with the generated and / or synthesized question, and / or training the language model 106 to answer the one or more generated and / or synthesized questions.
[0064] In some embodiments, the question generation module 104 may be configured to generate one or more questions that may replace the data subset title with additional descriptive information corresponding to the data subset. In some embodiments, the one or more data subset names may include abbreviations and / or titles that may not typically be descriptive. Thus, in some embodiments, including additional descriptive information corresponding to the data subsets being compared may provide additional context for the language model 106. In some embodiments, providing additional context along with one or more generated and / or synthesized questions may elicit a more accurate answer 108 to the question than an answer 108 elicited using only the title corresponding to the data subset in the dataset 102.
[0065] For example, the question generation module 104 may compare a first data subset that may include a first title, "HSE_REMOD," to a second data subset that includes a second title, "HSE_YR." Continuing with this example, the first data subset may include an additional data subset description that may include, at least in part, "the year of a house remodel," and the second data subset may include additional information that may include, at least in part, "the year the house was built." Further, instead of the question generation module 104 generating the question, "What is the most likely mathematical operation between HSE_REMOD and HSE_YR?", the question may be, "What is the most likely mathematical operation between the year of the house remodel and the year the house was built." The second question may include more context, which may enable the language model 106 to be better able to answer the question accurately than a question that does not include the additional information.
[0066] In some embodiments, the question generation module 104 may be configured to generate one or more questions, which may provide one or more potential answers along with the generated and / or synthesized question. In some embodiments, providing the one or more potential answers to the language model 106 may increase the likelihood that the language model 106 may correctly or more accurately predict an answer 108 that corresponds to the generated and / or synthesized question.
[0067] For example, continuing with the context in which the first data subset includes the year of a house remodel and the second data subset includes information corresponding to the year the house was built, the question may be, "what is the most likely mathematical operation between the year of a house remodel and the year a house was built?". Further, the question may further include several potential answers to the question, e.g., "addition, subtraction, multiplication, or division." Overall, the question that may be sent to the language model 106 may include, "what is the most likely mathematical operation between the year of a house remodel and the year a house was built, Addition, subtraction, multiplication, or division?", where the language model 106 may be configured to make a decision between the provided potential answers.
[0068] In some embodiments, the question generation module 104 may be configured to generate one or more question-answer pairs that may train the language model 106 to answer one or more generated and / or synthesized questions. In some embodiments, one or more question-answer pairs may be generated and / or synthesized to indicate one or more potential questions corresponding to one or more potential answers. In some embodiments, by training the language model 106 using one or more example question-answer pairs, the language model 106 may be better suited to accurately answer one or more other questions for which an answer may not be given. In some embodiments, one or more example question-answer pairs may be generated and / or synthesized to train the language model 106 based on each domain of the potential answers 108 (e.g., addition, subtraction, multiplication, division, maximum, minimum, summation, standard deviation, skew, most common value, least common value, and other arithmetic and grouping operations that may be performed on values included in the dataset 102).
[0069] In some embodiments, the example question-answer pairs may be used as context to be sent along with additional questions to the language model 106. In some embodiments, the question-answer pairs may be sent independently of the additional questions to pre-train the language model 106 to answer questions generated using the question generation module 104 more accurately than the language model 106 could be configured to answer questions without training. In these and other embodiments, training the language model 106 using one or more example question-answer pairs may be further described and illustrated in this disclosure, such as, for example, with respect to FIG. 1B .
[0070] In some embodiments, the one or more questions generated using question generation module 104 may be sent to language model 106. In some embodiments, language model 106 may be configured and / or trained to answer one or more generated and / or synthesized questions.
[0071] In these and other embodiments, the language model 106 may include pre-trained large-scale language models, such as Generative Pre-trained Transformer ("GPT3"), Bidirectional Encoder Representations from Transformers ("BERT"), Robustly Optimized Bidirectional Encoder Representations from Transformers ("RoBERTa"), Text-to-Text Transfer Transformer ("T5"), and other language models designed to receive synthesized questions and provide answers 108, which may include one or more operations that may be performed using data stored in a data subset within the dataset 102.
[0072] In some embodiments, the language model 106 may be configured to generate one or more answers 108 to the synthesized question. In some embodiments, the one or more generated answers 108 may be selected from a discrete number of potential answers. In some embodiments, synthesizing a question that may compare data subsets in the dataset 102 may include a discrete number of mathematical operations that may be capable of being performed on data in the numeric data subsets. For example, the mathematical operations performed may include addition, subtraction, multiplication, division, etc. Additionally or alternatively, the generated answers 108 may include only two options, e.g., true or false, yes or no, etc.
[0073] In some embodiments, the generated answer(s) 108 may include more nuance than a discrete number of answers 108. For example, in the context of determining white wine quality, a question that may be sent to the language model 106 may be synthesized, including "to predict white wine quality, are the skewness values of density in each of the sulphate groups useful?" Continuing with this example, the language model 106 may generate answers 108 that may include more than "yes" or "no." The answers 108 may include "No, however, the percentages of each sulphate group are useful in predicting white wine quality."
[0074] In some embodiments, the one or more generated answers 108 may include one or more vectors, matrices, arrays, tensors, and / or other collections of values that may indicate a probability distribution corresponding to the one or more answers 108 to the generated and / or synthesized questions. In some embodiments, the language model 106 may generate a probability distribution for each of the possible answers 108 to the generated and / or synthesized questions, or at least the one or more answers 108 that the language model 106 may recognize as possible answers 108 to the synthesized questions.
[0075] In some embodiments, the one or more generated answers 108 may be interpreted and / or used by the feature engineering module 110 to synthesize and / or generate additional value that may be added to the dataset 102. In some embodiments, the feature engineering module 110 may be configured to perform one or more operations to synthesize data in the dataset 102 based on the one or more generated answers 108 being correct. In some embodiments, the one or more generated answers 108 may be deemed correct based on a confidence value satisfying a threshold, where the confidence value may be determined based on one or more probability distributions corresponding to the one or more answers 108.
[0076] In some embodiments, the threshold that can be met can be determined based on the accuracy and / or size of the model. For example, the T5-11b model is better able to consistently meet a higher threshold confidence rate than the T5-3b model. In some embodiments, the opposite may be true, and smaller models may be better able to consistently generate answers 108 and higher corresponding confidence rates than larger language models.
[0077] In some embodiments, the threshold may be determined based on the amount of computing power, storage, time, processing power, etc. that may be available. For example, the computing time and processing power may be very high. In this example, the threshold may be set relatively low, e.g., 50%, which may result in more answers being processed, more actions being performed, and more data subsets being generated, which may result in a larger data set to use to modify the machine learning pipeline. In some embodiments, the opposite may be true, and the threshold may be set high, e.g., 99%, which may result in fewer answers 108 that may be considered correct, fewer actions being performed, and fewer new data subsets being added to the data set 102.
[0078] In some embodiments, the threshold may be determined based on one or more heuristic analyses. In some embodiments, it may be determined that the language model 106 can determine a mostly correct answer 108 with a certain threshold, e.g., 85% or greater confidence. In these and other embodiments, synthesizing one or more questions using one or more heuristic analyses to generate one or more answers 108 may be further described and / or illustrated in this disclosure, such as, for example, with respect to Figures 3A and 3B.
[0079] In some embodiments, the feature engineering module 110 may be configured to determine one or more actions to perform based on a majority of the possible answers 108 generated using the language model 106. In some embodiments, the language model 106 may provide multiple answers 108 for a single question. Additionally, the feature engineering module 110 may determine which action to perform using the data stored in the data subset pair based on a majority of the answers 108 indicating the same action.
[0080] In some embodiments, the feature engineering module 110 may be configured to perform one or more actions using the answers 108 to determine one or more actions to perform using data stored in one or more data subsets of the dataset 102. In some embodiments, the language model 106 may be configured to answer one or more questions regarding the categorical data subsets, and the answers 108 may include "yes" or "no." Additionally or alternatively, the answers 108 may include explanations, e.g., "no, but...", "yes, but...", etc. In these or other embodiments, the feature engineering module 110 may be configured to perform one or more lexical analyses and / or sentiment analyses to determine whether one or more grouping operations proposed using the one or more questions may be useful in determining the target variables.
[0081] In some embodiments, lexical analysis may be performed to determine whether one or more words, such as “yes” or “no”, are present in the answer 108. In some embodiments, sentiment analysis may be performed to determine whether the answer 108 was positive or negative. In some embodiments, the answer 108 may include, for example, the word “yes”, but may include additional information such that the overall sentiment of the answer is negative. In some embodiments, using sentiment analysis may allow the feature engineering module 110 to make a more accurate determination based on the answer 108, as compared to, for example, one or more lexical analyses.
[0082] For example, in the context of a dataset containing data related to passengers of the Titanic, a question may be compounded using the numeric data subsets “number of spouses / siblings” and “age,” respectively. Continuing with this example, the target variable for dataset 102 may be survival rate, and the compounded question may seek to determine whether a correlation may exist between the target variable and the numeric data subset through a grouping operation, where the grouping operation is a minimum. The compounded question may be, “To predict Titanic survival rate, are the minimum values of Age for The question may be, “Is the minimum value of age for each number of spouses / siblings group useful?” Further, the language model may respond, “No, however, a maximum value may be useful.” Continuing with this example, feature engineering module 110 may be configured to perform a lexical analysis to determine whether to generate a new data subset by determining a minimum value of age for each number of spouses / siblings group based on whether the answers include “yes” or “no.” Additionally or alternatively, feature engineering module 110 may be configured to perform one or more sentiment analyses to determine whether the answers were, overall, “positive” or “negative” to the synthesized question.
[0083] In some embodiments, the feature engineering module 110 may determine one or more operations to perform on existing data in the dataset 102. In some embodiments, the feature engineering module 110 may perform the one or more determined operations to synthesize data that can be added to the dataset 102 based on one or more generated answers 108.
[0084] For example, the data set 102 may include a first data subset and a second data subset that may be compared. The first data subset may include a first title "1stFlrSF" corresponding to the area of the first floor of the house, and the second data subset may include a second title "2ndFlrSF" corresponding to the area of the second floor of the house. Continuing with the example, the question generation module 104 may synthesize a question corresponding to the first and second data subsets. The question may be "What is the most likely mathematical operation between 1stFlrSF and 2ndFlrSF to predict the price of the house? Addition, subtraction, multiplication or division?". Further, the question may be sent to the language model 106, which may generate a vector including a probability distribution corresponding to each of the potential answers 108 - addition, subtraction, multiplication and division. The language model 106 may indicate that the mathematical operation to be performed is addition with a confidence value corresponding to a 95% confidence rate that the threshold for performing the action may be met. In response to the answer 108 and the corresponding confidence value, the feature engineering module 110 may perform an addition operation using the first data subset and the second data subset. The feature engineering module 110 may generate a new data subset having the combined data by adding together the data in the first data subset and the data in the second data subset to create a data subset that may be represented using the title "1stFlrSF+2ndFlrSF." Continuing with this example, the feature engineering function 110 may add the data subset and the corresponding data to the dataset 110. The dataset 102 with the added combined data may be described in this disclosure as an enhanced dataset 112.
[0085] In some embodiments, the feature engineering module 110 may be configured to generate an enhanced dataset 112, where the enhanced dataset 112 may include the dataset 102 and one or more additional data subsets including data synthesized using the dataset 102. Additionally or alternatively, the enhanced dataset 112 may include fewer data subsets than the dataset 102. In some embodiments, the enhanced dataset 112 may be used to train one or more machine learning models 114 to perform one or more tasks.
[0086] The machine learning model 114 may be any suitable system, apparatus, or device configured to be trained using the improved dataset 112 to perform a given task. In some embodiments, the machine learning model 114 may be configured to receive and / or otherwise acquire the improved dataset 112, which may have been generated using the feature engineering module 110. In some embodiments, the improved dataset 112 may be used to train the machine learning model 114 to complete a given task. In some embodiments, the given task may include making a prediction, identifying relationships, or any other task that may be performed using one or more machine learning models 114.
[0087] As an example, the machine learning model 114 may include an algorithm configured to predict the price of a home. In this example, the machine learning model 114 may obtain an enhanced dataset 112 that may have a first data subset having values representing "location" and a second data subset having values representing "last sale price." The enhanced dataset 112 may be used to train the machine learning model 114 to perform its target function of predicting the price of a given home based on other data, such as location and last sale price.
[0088] In another example, the machine learning model 114 may include an algorithm configured to predict the price of a home. Continuing with this example, the machine learning model 114 may receive the enhanced dataset 112, which may have a first data subset having values that represent a "location" and a second data subset having values that represent a "last sale price," as shown in the example above with respect to the enhanced dataset 112. In addition, the enhanced dataset 112 may include a third data subset having values that may represent an "area," and a fourth data subset having values that represent a "price per square foot," which may be generated by the feature engineering module 110. The enhanced dataset 112 may be used to train the machine learning model 114 to predict the price of a given home. Continuing with this example, in response to the additional feature “price per square foot” being added to dataset 102 when generating enhanced dataset 112, a machine learning model 114 that may obtain enhanced dataset 112 may be able to predict the price of a given home with greater accuracy than if machine learning model 114 had been trained using only the data contained in dataset 102.
[0089] Modifications, additions, or omissions may be made to Figure 1 without departing from the scope of the present disclosure. For example, the amount of data included in dataset 102, the number of questions generated using question generation module 104, the number of language models 106 and / or answers 108 generated using language models 106, and the number of features in enhanced dataset 112 may vary.
[0090] 1B illustrates an example environment 150 for training and / or fine-tuning one or more language models 106, in accordance with one or more embodiments of the present disclosure. The environment 150 may include a language training module 116, a language model 106, and a question generation module 104.
[0091] In these or other embodiments, environment 150 may be the same as environment 100. Additionally, dataset 102, question generation module 104, and language model 106 may be the same as and / or similar to those described with respect to FIG. 1A.
[0092] In some embodiments, the dataset 102 may include one or more different datasets. In some embodiments, a dataset 102 may be a dataset 102 used to generate and / or synthesize one or more new features using the language model 106 (e.g., using the question generation module 104) that is different from another dataset 102 that may be used to generate one or more question-answer pairs 118 using the language training module 116. In some embodiments, the dataset 102 used to generate the question-answer pairs 118 using the language training model 116 and the one used to generate and / or synthesize one or more new features using the language model 106 may be the same.
[0093] In these or other embodiments, the language training module 116 may be implemented using hardware including one or more processors, central processing units (CPUs), graphics processing units (GPUs), data processing units (DPUs), parallel processing units (PPUs), microprocessors (e.g., for performing or controlling the execution of one or more operations), field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), accelerators (e.g., deep learning accelerators (DLAs)), and / or other processor types. In some other examples, one or more of these modules may be implemented using a combination of hardware and software. In this disclosure, the operations described as being performed by the language training module 116 may be implemented by computer readable instructions that may be executed and that may instruct a corresponding computing system to perform the operations. In these or other embodiments, the language training module 116 may be implemented by one or more computing devices, such as those described in further detail with respect to FIG. 5.
[0094] In some embodiments, the language training module 116 may be configured to receive and / or otherwise acquire the dataset 102. In some embodiments, the language training module 116 may be configured to analyze one or more characteristics of the data stored in the dataset 102, one or more features or data subsets that may be included in the dataset 102, and / or additional information corresponding to the data stored in the dataset 102. For example, the dataset 102 may include additional information explaining that the dataset 102 includes data corresponding to traffic accidents in a particular city during a particular time. Continuing with this example, the language training module 116 may be configured to analyze the data included in the dataset 102 with the additional context that the data stored in the dataset 102 may relate to traffic accidents in a particular city at a particular time.
[0095] In some embodiments, the language training module 116 may be configured to generate one or more question-answer pairs 118 using the data stored in the dataset 102. In some embodiments, the language training module 116 may be configured to generate and / or synthesize one or more question-answer pairs 118 based on target variables and data types corresponding to the data stored in the dataset 102.
[0096] In some embodiments, the language training module 116 can generate and / or synthesize one or more question-answer pairs 118 that may not be associated with the dataset 102. In some embodiments, the language training module 116 can obtain, generate, and / or synthesize one or more question-answer pairs 118 that do not include data stored in the dataset 102, but that may be similar to data in the dataset 102.
[0097] In some embodiments, the language training module 116 may be configured to generate and / or synthesize one or more questions using the data stored in the dataset 102. Additionally, the language training module 116 may be configured to generate one or more answers corresponding to the one or more generated and / or synthesized questions. In some embodiments, the one or more questions and corresponding answers may be configured to train and / or fine-tune the language model 106 to better understand and / or answer the questions synthesized and / or generated using the question generation module 104.
[0098] In some embodiments, the language training module 116 may be configured to perform one or more similarity analyses to determine which data subsets and / or features corresponding to the dataset 102 may be used in the question answer pairs 118. For example, the language training module 116 may be configured to generate a probability distribution, e.g., using one or more semantic similarity analyses and / or lexicographical analyses, to determine whether two or more data subsets in the dataset 102 may be comparable. Continuing with this example, based on the probability distribution indicating that two or more data subsets may be comparable, the language training module 116 may be configured to extract titles, values, descriptive information, and / or any other information corresponding to the data subsets to generate and / or synthesize one or more questions and one or more corresponding answers for the question answer pairs 118.
[0099] For example, the language training module 116 may perform one or more semantic similarity analyses on each pair of data subsets in the dataset 102. The semantic similarity analyses may result in a respective probability distribution corresponding to each respective pair of data subsets in the dataset 102. The respective probability distribution may indicate a probability that the data subsets in each pair of data subsets are semantically similar and / or comparable. Continuing with the example, the language training module 116 may determine that the pair of data subsets may correspond to a probability that meets a threshold that the pair of data subsets are related based on the semantic similarity analysis. In response to the probability meeting the threshold, the pair of data subsets may be used to generate and / or synthesize one or more questions.
[0100] In some embodiments, the data subsets selected for the question answer pair 118 may be selected in response to the data subset being the most comparable data subset compared to other data subset pairs in the dataset 102. For example, the language training module 116 may compare data and / or information corresponding to each of the data subsets in the dataset 102. Continuing with the example, the language training module 116 may extract information from three data subset pairs to generate and / or synthesize three question answer pairs 118. Continuing with the example, the language training module 116 may select the three data subset pairs that may have the highest three semantic similarity scores, which may indicate that the three data subset pairs are the three most comparable data subset pairs in the dataset 102.
[0101] In some embodiments, the language training module 116 may be configured to generate and / or synthesize one or more question-answer pairs 118 based on possible answers that may be used by the language model 106. In some embodiments, the language training module 116 may compare data subsets that include numerical data. In some embodiments, in response to identifying that the data included in the data subsets being compared may include numerical data, the language training module 116 may include one or more answers in the question-answer pairs 118 that may correspond to one or more mathematical operations that may be performed using the numerical data in the data subsets. The mathematical operations may include, for example, addition, subtraction, multiplication, division, etc.
[0102] For example, the language training module 116 may identify that the data set 102 may include one or more data subsets that may include numerical data. Continuing with this example, in response to identifying that the data included in the one or more data subsets may include numerical data, the language training module 116 may generate and / or synthesize one or more question-answer pairs 118 that may include question structures selected and / or imported using one or more databases. Questions may be synthesized using information corresponding to the comparable data subsets and the selected question structures that correspond to the numerical data subsets. The question-answer pairs 118 may be as follows: "Question: What is the most likely mathematical operation between [numerical data subset 1] and [numerical data subset 2]? Answer: Addition.” [Question: What is the most likely mathematical operation between [numeric data subset 1] and [numeric data subset 2]? Answer: Addition.]
[0103] In some embodiments, the language training module 116 may compare data subsets that include categorical data. In some embodiments, in response to identifying that the data included in the data set may include categorical data, the language training module 116 may select and / or import one or more question structures drafted for comparing the categorical data subsets. Further, a question may be synthesized using the selected question structure and data corresponding to the categorical data subsets. Furthermore, in some embodiments, one or more answers in the question-answer pair 118 may correspond to one or more grouping operations that may be performed using the categorical data in the data subsets. Grouping operations include, for example, summation, standard deviation, skew, maximum, minimum, average, median, most common value, least common value, and the like. For example, the question-answer pair 118 may be as follows: "Question: To predict [target variable] are the maximum values of [data subset to be acted on] for each [data subset to be grouped] group Is it useful? Answer: Yes” [Question: Is the maximum value of [operated data subset] for each [grouped data subset] group useful for predicting [target variable]? Answer: Yes.]
[0104] In some embodiments, the question-answer pairs 118 may be generated and / or synthesized to provide examples to the language model 106 and train and / or fine-tune the language model 106 to recognize one or more questions synthesized using the question generation module 104. Additionally, training and / or fine-tuning the language model 106 using one or more question-answer pairs 118 may enhance the ability of the language model 106 to more easily and accurately answer questions generated and / or synthesized using the question generation module 104. In some embodiments, the question-answer pairs 118 may include examples of questions that elicit answers for each of the possible mathematical and / or grouping operations.
[0105] For example, in the context of a dataset 102 including data corresponding to computer programs, code, associated documentation and data, etc., the question generation module 104 may be configured to generate example question-answer pairs 118 for one or more mathematical domains (e.g., addition, subtraction, multiplication, and division). The example question-answer pairs 118 corresponding to each listed mathematical domain are depicted using the following representation: Question 1: What is the most likely mathematical operation between the number of bugs and the number of issues? Addition, subtraction, multiplication, division? Solution 1: Addition Question 2: What is the most likely mathematical operation between the total lines of code and the line that has the problem. Addition, subtraction, multiplication, division? Answer 2: Subtraction Question 3: What is the most likely mathematical operation between PERCENT COMMENTS and NUMBER OF LINES? Addition, subtraction, multiplication, division. Solution 3: Multiplication Question 4: What is the most likely mathematical operation between PARAMETER COUNT and NUMBER OF LINES? Addition, subtraction, multiplication, division. Solution 4: Division
[0106] In some embodiments, the question-answer pairs 118 may be used to train and / or fine-tune the language model 106 to better recognize questions and more accurately generate and / or synthesize answers to questions.
[0107] In some embodiments, one or more question-answer pairs 118 may be transmitted along with one or more questions generated and / or synthesized using the question generation module 104. The one or more question-answer pairs 118 may serve as additional context for the language model 106 to more accurately answer questions generated and / or synthesized using the question generation module 104.
[0108] In some embodiments, the language model 106 may use the one or more question-answer pairs 118 to better answer questions generated and / or synthesized using the question generation module 104. In some embodiments, the language model 106 may be configured to use the question-answer pairs 118 to generate one or more improved answers 120 to train and / or fine-tune the language model 106 to answer questions generated and / or synthesized using the question generation module 104.
[0109] In some embodiments, the improved answers 120 may include one or more answers that may be generated with increased confidence using the language model 106. In some embodiments, the improved answers 120 may include answers that may be correct answers to questions generated and / or synthesized using the question generation module 104 more frequently than answers 108 that were generated and / or synthesized without using the question-answer pairs 118.
[0110] Modifications, additions, or omissions may be made to Figure 1B without departing from the scope of the present disclosure, such as the amount of data included in the dataset 102, the number of questions generated using the question generation module 104, the number of language models 106, the number of question-answer pairs 118 generated using the language training module 116, and / or the number of improved answers 120 that may be generated using the language models 106.
[0111] 2 illustrates a flowchart of an example method 200 for generating a unified dataset to refine a machine learning pipeline, according to one or more embodiments of the present disclosure. Method 200 may be performed by any suitable system, apparatus, or device, including the question generation module 104, the language module 106, and the feature engineering module of FIG. 1A, and / or the language training module 116 of FIG. 1B. Method 200 may include one or more blocks 202, 204, 206, 208, 210, and 212. Although illustrated with discrete blocks, steps and operations associated with one or more of the blocks of method 200 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.
[0112] In some embodiments, the method 200 may include block 202. In block 202, one or more new data subsets may be generated using data that has been synthesized using one or more mathematical operations and / or grouping operations. In some embodiments, one or more actions that may be performed on the data included in the dataset may be determined using one or more answers received from one or more language models and / or otherwise obtained. In some embodiments, performing one or more actions may generate and / or synthesize data that may be included in one or more new data subsets. As used in this disclosure, a "new data subset" may refer to a data subset that is distinct from a data subset that was originally included in a dataset (e.g., dataset 102). A new data subset may be generated using data that may have been synthesized using data that was originally included in the dataset. In these or other embodiments, generating questions to elicit answers from a language model to determine one or more actions to perform using data included in dataset 102 may be further described and / or illustrated in this disclosure, such as with respect to FIG. 1A and FIG. 1B.
[0113] At block 204, the one or more new data subsets may be combined with the data subsets included in the original dataset. In some embodiments, the combination of the new data subsets and the data subsets included in the original dataset may be referred to as an enhanced dataset. In these and other embodiments, the enhanced datasets described herein may be similar to the enhanced dataset 112 described and / or illustrated in this disclosure, such as, for example, with respect to Figures 1A and 1B.
[0114] At block 206, one or more pre-processing operations may be performed using one or more data subsets included in the enhanced data set. In some embodiments, the pre-processing operations may include comparing data included in one or more of the data subsets to data included in one or more other data subsets included in the enhanced data set. In some embodiments, each of the data subsets may be compared to each of the other data subsets in the enhanced data set.
[0115] In some embodiments, the data included in the data subsets may be compared using one or more comparison metrics. In some embodiments, the one or more comparison metrics may be configured to determine how data included in one or more data subsets is related to data included in one or more other data subsets. In some embodiments, the one or more comparison metrics may include mutual information analysis, Pearson correlation coefficient, chi-square, Analysis of Variance (ANOVA), F-measure, and other comparison metrics that may be configured to compare data included in the data subsets stored in the enriched dataset.
[0116] For example, one or more mutual information analyses may be used to compare the data subsets stored in the enhanced dataset. Reference to a mutual information analysis may include one or more statistical measures corresponding to data shared between two data subsets. Continuing with this example, data included in each of the data subsets stored in the enhanced dataset may be compared to each of the other data subsets stored in the enhanced dataset. Further, each data subset pair may be assigned a value that may indicate the amount of overlapping information between the data included in the two data subsets. In some embodiments, the one or more pairs of data subsets that may have been compared using one or more mutual information analyses may be categorized, rank-ordered, or otherwise labeled according to the mutual information scores corresponding to the one or more pairs of data subsets.
[0117] At block 208, one or more data subset pairs may be selected based on the one or more preprocessing operations. In some embodiments, one or more data subset pairs may be selected based on a comparison metric score that meets a certain threshold. In some embodiments, the threshold may include selecting one or more data subset pairs based on a percentile corresponding to the comparison metric score. In some embodiments, a percentage of the data subset pairs may be selected in response to the comparison metric score being in the top 1, 5, 10, 15, 20, 25, 30, or some other percentage of the comparison metric scores compared to all of the data subset pairs stored in the enhanced dataset. In some embodiments, the threshold may be determined based on an amount of computational power, memory, time, processing power, etc. that may be available. In some embodiments, the threshold may be determined automatically based on a percentage of the data subsets included in the original dataset. In some embodiments, it may be determined that one or more new data subsets may be determined up to a threshold percentage of the data subsets in the original dataset (e.g., 60, 70, 80, 90, 100%, or some other percent). For example, if the original dataset may include 400 original data subsets, it may be determined that no more than 75% of the number of data subsets included in the original dataset should be generated as new data subsets (e.g., no more than 300 new data subsets). In some embodiments, data subset pairs that may not have met a certain threshold may be filtered out of the enhanced dataset.
[0118] At block 210, the original data subsets may be restored to an enhanced dataset. In some embodiments, reference to the original data subsets may refer to the data subsets that were included in the dataset prior to synthesizing and / or generating new data to add to the dataset. In some embodiments, the enhanced dataset that includes the original data subsets and the new data subsets that may have met certain thresholds using one or more comparison metrics may be referred to as an integrated dataset. In some embodiments, the integrated dataset may include only the original data subsets. In some embodiments, the integrated dataset may include all of the data subsets included in the enhanced dataset. In some embodiments, the integrated dataset may include more data subsets than the original dataset but fewer data subsets than the enhanced dataset.
[0119] At block 212, the machine learning pipeline may be modified using the integrated dataset. In some embodiments, the machine learning pipeline may be configured to train one or more machine learning models to perform one or more tasks. In some embodiments, modifying the machine learning pipeline using the integrated dataset may improve the performance of one or more machine learning models trained using the machine learning pipeline. For example, a machine learning model trained using the integrated dataset may be better at predicting and / or inferring one or more characteristics corresponding to new data than a machine learning model trained using one or more other datasets (e.g., dataset 102 and / or enhanced dataset 112 described and / or illustrated with respect to FIGS. 1A and 1B ).
[0120] Modifications, additions, or omissions may be made to method 200 without departing from the scope of the present disclosure. For example, the operations of method 200 may be performed in a different order. Additionally or alternatively, two or more operations may be performed simultaneously. Furthermore, the outlined operations and actions are provided only as examples, and some of the operations and actions may be optional, combined into fewer operations and actions, or expanded into additional operations and actions without detracting from the essence of the described embodiments.
[0121] 3A-3B illustrate a flowchart of an example method 300 for generating a data subset in accordance with one or more embodiments of the present disclosure. The method 300 may be performed by any suitable system, apparatus, or device, including the question generation module 104, the language module 106, and the feature engineering module 110 of FIG. 1A, and / or the language training module 116 of FIG. 1B. The method 300 may include one or more blocks 302, 304, 306, 308, 310, 312, 314, 316, 318, 320, and 322. Although shown in discrete blocks, steps and operations associated with one or more of the blocks of the method 300 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.
[0122] At block 302, one or more data subsets stored in the data set may be identified. In some embodiments, the data subsets may include data subsets without corresponding titles. Additionally or alternatively, one or more data subsets may be identified based on one or more corresponding titles may not provide sufficient information to determine a context corresponding to the data stored in the data subset. Furthermore, the identified data subset may not include additional information or identifiers that may provide a context corresponding to the data subset. For example, a data subset may include a title "A" and several numeric entries corresponding to the title. Continuing with the example, the title "A" may not describe anything related to the numeric entries, and further, the data subset may not indicate other information or context corresponding to the data subset. In response to the data subset not including a context corresponding to the data stored in the data subset, the data subset may be identified and / or selected.
[0123] In some embodiments, it may be determined that all of the data subsets stored in the dataset may include titles and / or sufficient context to synthesize one or more questions to elicit answers from the language model. In these or other embodiments, the dataset including titles and / or sufficient context corresponding to each data subset may proceed to generate new data to be stored in new data subsets as further described and illustrated in this disclosure, such as with respect to Figures 1A, 1B, and 2.
[0124] At block 304, one or more data subset pairs may be selected from the data subsets identified at block 302. In some embodiments, the one or more data subset pairs may be selected by pairing each of the data subsets identified at block 302 with each of the other data subsets identified at block 302.
[0125] In some embodiments, one or more data subset pairs may be selected based on one or more similarity indices, functions, metrics, etc. that may assess the similarity between the data stored in one or more data subset pairs. In some embodiments, one or more techniques may be used to assess the amount of similarity associated with the data subset pairs, including, for example, correlation analysis (e.g., Pearson correlation coefficient), distance metrics (e.g., Euclidean distance, Manhattan distance, cosine distance, etc.), clustering techniques (e.g., K-means clustering, hierarchical clustering, density-based clustering, etc.), mutual information techniques, and other data comparison techniques that may determine the similarity between the data stored in one or more data subset pairs. In some embodiments, the data subset pairs may be selected based on one or more similarity analyses, for example, based on a particular similarity score. In some embodiments, the data subset pairs may be selected based on corresponding data similarity scores being above a certain percentage. For example, the data subset pairs may be selected based on corresponding similarity scores being in the top 5, 10, 20, 25, 30, 35, or some other percent of similarity scores compared to the similarity scores corresponding to each of the other data subset pairs identified in block 302.
[0126] At block 306, a data subset type may be determined for one or more data subsets in the data subset pair selected at block 304. In some embodiments, a data subset type may be determined for each of the data subsets in each of the data subset pairs. In some embodiments, each of the data subsets may be determined to be a numeric data subset or a categorical data subset based on the data stored in each of the data subsets. In some embodiments, the data subset pair may include two numeric data subsets, two categorical data subsets, or one numeric data subset and one categorical data subset. If the data subset pair includes two numeric data subsets, the method may proceed to block 308. If the data subset pair includes at least one categorical data subset type, the method may proceed to block 312.
[0127] At block 308, it may be determined whether the data types corresponding to both numeric data subsets may be the same numeric data type. In some embodiments, the data types corresponding to each of the numeric data subsets may be detected to determine whether the data types corresponding to the data stored in the numeric data subsets are the same. In some embodiments, the data types may include integer, floating point, double precision, long, short, byte, and any other data type that may correspond to numeric data. In some embodiments, if the numeric data types corresponding to each of the numeric data subsets are not the same, the data subset pair may be discarded or may not be considered for generating and / or synthesizing new data for otherwise adding to the data set. In some embodiments, if the data types corresponding to each data subset of the data subset pair may be the same, the method may proceed to block 324, described and shown with respect to FIG. 3B.
[0128] At block 310, one or more new data subsets may be generated and / or combined using one or more grouping operations. In some embodiments, the one or more grouping operations may be determined based on a data subset type corresponding to the data subset pair. In some embodiments, it may be determined that the data subset pair may include both a numerical data subset and a categorical data subset. In some embodiments, it may be determined that the data subset pair may include two categorical data subsets.
[0129] In some embodiments, one or more new data subsets may be generated using one or more grouping operations using data subset pairs that include both numerical and categorical data subsets. In some embodiments, the grouping operations may include numerical grouping operations. The numerical grouping operations may include, for example, sum, standard deviation, skew, maximum, minimum, average, median, and other grouping operations that may be performed using both the data corresponding to the numerical data subsets and the data corresponding to the categorical data subsets.
[0130] In some embodiments, one or more new data subsets may be generated using one or more grouping operations using data subset pairs including categorical data subsets. In some embodiments, the grouping operation may include a categorical grouping operation. The categorical grouping operation may include, for example, unique values, most common values, frequency, percentages, entropy, and other grouping operations that may be performed using data corresponding to the categorical data subsets. In these or other embodiments, the categorical grouping operation may be the same as those described in this disclosure, for example, with respect to FIGS. 1A, 1B, and 2. In some embodiments, a data subset generated and / or synthesized using one or more grouping operations may be referred to herein as a “new data subset.” In some embodiments, the method may continue with the new data subset at block 312.
[0131] At block 312, the new data subset may be added to the machine learning pipeline. In some embodiments, the new data subset may be added to a dataset (e.g., dataset 102), and the dataset may be used to modify the machine learning pipeline, which may be configured to train one or more machine learning models. In some embodiments, one or more of the new data subsets may be filtered out of the dataset used to modify the machine learning pipeline, e.g., using one or more processes described and / or illustrated in this disclosure, such as, for example, a process corresponding to the integrated dataset of FIG. 2. In some embodiments, after adding the new data subset to the dataset, the method may end.
[0132] In some embodiments, the method 300 may include a block 314 that may correspond to FIG. 3B. In block 314, it may be determined whether the overlap of the data ranges may exceed a threshold. In some embodiments, the overlap of the data ranges may be detected and / or determined to determine whether the overlap of the data ranges corresponding to the data of the numerical data subset pair exceeds a threshold. In some embodiments, the overlap of the data ranges may correspond to the overlap of the data included in the numerical data subset pair(s) selected and filtered in blocks 304, 306, and / or 308, for example. In some embodiments, the overlap of the data ranges may be determined using the data subset pair, which may include a first numerical data subset and a second numerical data subset. Further, the overlap of the data ranges may be determined by identifying a first data range corresponding to the data included in the first numerical data subset and by identifying a second data range corresponding to the data included in the second numerical data subset. The first data range and the second data range may then be compared to determine the area of overlap or lack thereof of data.
[0133] In some embodiments, it may be determined that overlapping data ranges corresponding to the numeric data subset pairs may exceed a threshold. In some embodiments, the threshold may be based on one or more heuristic analyses. For example, it may be determined that data corresponding to two numeric data subsets having data range overlaps of less than a certain percentage, such as 50, 65, 75, or some other percentage, may not be as useful in synthesizing new data, or may not be as useful in synthesizing new data as data subset pairs that include data range overlaps of more than a certain percentage, such as 50, 65, 75, or some other percentage. In some embodiments, one or more machine learning models may be deployed to learn the threshold from past data. In some embodiments, a reinforcement learning algorithm (e.g., included in and / or executed in conjunction with one or more machine learning models) may be used to gradually learn which thresholds may be insignificant or insignificant relative to one or more other thresholds when training one or more machine learning models to make predictive decisions regarding one or more target variables. In some embodiments, using new data that is less relevant or irrelevant may result in less accurate predictions using a machine learning model than predictions that may be made by a machine learning model that may have been trained using relevant data. For example, a reinforcement learning algorithm may be configured to learn that one or more thresholds that include less than a certain percentage of overlap in data ranges may result in less relevant new data being synthesized to train one or more machine learning models compared to one or more other thresholds that include more than a certain percentage of overlap in data ranges, such as 50, 60, 75, or some other percent. In some embodiments, the threshold may be simplified as a binary indicator to indicate whether the data ranges overlap. In some embodiments, the threshold may be determined based on the amount of computational power, memory, time, processing power, etc. that may be available.In some embodiments, if the numerical data subset pair includes an overlap of data ranges that is less than a threshold, the numerical data subset pair may be discarded, filtered out, and / or otherwise not considered for generating and / or synthesizing new data for addition to the data set. In some embodiments, if the numerical data subset pair includes an overlap of data ranges that is greater than a threshold, the method may proceed to block 316.
[0134] At block 316, it may be determined whether the data range difference may be less than a threshold. In some embodiments, the data range difference may be detected and / or determined to determine whether the data range difference corresponding to the data in the numeric data subset pair may be less than a threshold. In some embodiments, the data range difference between the data included in the numeric data subset pair may be determined. In some embodiments, the data range difference may refer to the extent to which the data included in the first numeric data subset and the data included in the second numeric data subset do not share a common value. In some embodiments, the data range difference may refer to determining a unique value for each of the numeric data subsets in the numeric data subset pair.
[0135] In some embodiments, it may be determined that the data range difference may be less than a certain threshold. In some embodiments, the threshold may be based on one or more heuristic analyses. For example, it may be determined that data corresponding to two numerical data subsets having a data range difference exceeding a certain percentage, such as 10, 20, 30, or some other percentage, may not be useful in synthesizing new data or may not be as useful in synthesizing new data as data subset pairs that include a data range difference less than a certain percentage, such as 10, 20, 30, or some other percentage. In some embodiments, one or more machine learning models may be deployed to learn and / or determine the threshold from past data. In some embodiments, a reinforcement learning algorithm (e.g., included in and / or performed in association with one or more machine learning models) may be used to gradually learn which thresholds may result in the synthesis of new data that may not be significant or may not be significant compared to one or more other thresholds when training one or more machine learning models to make predictive decisions regarding one or more target variables. In some embodiments, using new data that is less relevant or irrelevant may result in less accurate predictions using a machine learning model than predictions that may be made by a machine learning model that may have been trained using relevant data. For example, a reinforcement learning algorithm may be configured to learn that one or more thresholds that include a data range difference of more than a certain percentage may result in synthesizing new data that is less relevant for training one or more machine learning models, compared to one or more other thresholds that include a data range difference of less than a certain percentage, such as 10, 20, 30, or some other percent. In some embodiments, the thresholds may be simplified as binary indicators to indicate whether a data range difference exists between data corresponding to two numeric data subsets.In some embodiments, the threshold may be determined based on the amount of computational power and / or time to determine the data range difference. Additionally, the threshold may be determined based on the size of the dataset including the one or more new data subsets. In some embodiments, if the numeric data subset pair includes a data range difference that exceeds the threshold, the numeric data subset pair may be discarded, filtered out, and / or otherwise not considered for generating and / or synthesizing new data for adding to the dataset. In some embodiments, if the numeric data subset pair includes a data range difference that is less than the threshold, the method may proceed to block 318.
[0136] At block 318, it may be determined whether the data distribution similarity may exceed a threshold. In some embodiments, data distribution similarity may be detected and / or determined to determine whether the data distribution similarity corresponding to the data of the numerical data subset pair may exceed a threshold. In some embodiments, the data distribution similarity may be determined between the data stored in the numerical data subset pair. In some embodiments, one or more data distribution similarity metrics and / or scores may be used to determine the similarity between the data included in the numerical data subset pair. For example, one or more of mutual information analysis, Pearson correlation coefficient, chi-square, analysis of variance (ANOVA), F-measure, Kolmogorov-Smirnov test (ks test), and other comparison metrics that may be configured to compare the data included in the numerical data subsets stored in the numerical data subset pair.
[0137] In some embodiments, it may be determined that the data distribution similarity may exceed a certain threshold. In some embodiments, the threshold may be based on one or more heuristic analyses. For example, it may be determined that data corresponding to two numerical data subsets having a data distribution similarity below a certain percentage, such as 60, 65, 70, 75, 80, or some other percentage, may not be useful in synthesizing new data or may not be as useful in synthesizing new data as data subset pairs that include a data range difference that exceeds a certain percentage, such as 60, 65, 70, 75, 80, or some other percentage. In some embodiments, a machine learning model may be deployed to learn the threshold from past data. In some embodiments, a reinforcement learning algorithm (e.g., included in and / or performed in association with one or more machine learning models) may be used to gradually learn which thresholds may result in the synthesis of new data that may not be significant or may not be significant compared to one or more other thresholds when training one or more machine learning models to make predictive decisions regarding one or more target variables. In some embodiments, using less relevant or irrelevant new data may result in less accurate predictions using a machine learning model than predictions that may be made by a machine learning model that may have been trained using relevant data. For example, a reinforcement learning algorithm may be configured to learn that one or more thresholds that include distribution similarity below a certain percentage may result in synthesizing less relevant new data for training one or more machine learning models compared to one or more other thresholds that include distribution similarity above a certain percentage, such as 60, 65, 70, 75, 80, or some other percent. In some embodiments, the thresholds may be determined based on the amount of computational power, memory, time, processing power, etc. that may be available.In some embodiments, if the numeric data subset pair includes a data distribution similarity below a threshold, the numeric data subset pair may be discarded or otherwise not considered for generating and / or synthesizing new data for addition to the data set. In some embodiments, if the numeric data subset pair includes a data distribution similarity above a threshold, the method may proceed to block 320.
[0138] At block 320, one or more new numeric data subsets may be generated and / or combined using one or more mathematical operations. In some embodiments, the mathematical operations may include, for example, addition, subtraction, multiplication, division, and other mathematical operations that may be performed using data corresponding to the numeric data subset pairs. In these or other embodiments, the mathematical grouping operations may be the same as those described in this disclosure, such as, for example, with respect to FIGS. 1A, 1B, and 2. In some embodiments, the data subsets generated and / or combined using one or more mathematical operations may be referred to herein as "new numeric data subsets."
[0139] At block 322, the new numerical data subset may be added to the machine learning pipeline. In some embodiments, the new numerical data subset may be added to a dataset (e.g., dataset 102), and the dataset may be used to modify the machine learning pipeline, which may be configured to train one or more machine learning models. In some embodiments, the dataset may include both a new numerical data subset and a new categorical data subset, which may be added to the dataset at block 312, for example.
[0140] In some embodiments, one or more of the new numerical data subsets may be filtered out from the dataset used to modify the machine learning pipeline, e.g., using one or more processes described and / or illustrated in this disclosure, such as, for example, a process corresponding to the integrated dataset of FIG. 2.
[0141] 4 illustrates a flowchart of an example method 400 of modifying a machine learning pipeline using a dataset including a generated and / or synthesized data subset according to one or more embodiments described herein. The method 400 may be performed by any suitable system, apparatus, or device, including the question generation module 104, the language module 106, and the feature engineering module of FIG. 1A, and / or the language training module 116 of FIG. 1B. The method 400 may include one or more blocks 402, 404, 406, 408, 410, 412, 414, 416, and 418. Although shown as discrete blocks, steps and operations associated with one or more of the blocks of the method 400 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.
[0142] In some embodiments, method 400 may include block 402. In block 402, a dataset may be obtained, which may include one or more data subsets. In some embodiments, the dataset may be similar to dataset 102 further described and / or illustrated in this disclosure, such as, for example, with respect to FIGS. 1A and 1B.
[0143] At block 404, a language model may be trained to determine relationships between data included in the data subsets stored in the dataset. In some embodiments, the language model may be trained and / or fine-tuned using one or more question-answer pairs. In some embodiments, the one or more question-answer pairs may be generated by generating one or more semantic similarity distributions that may correspond to information between the data subsets in the dataset. Further, one or more domains for the data subsets may be determined based on the one or more semantic similarity distributions satisfying a threshold. In some embodiments, one or more question-answer pairs may be generated that correspond to one or more domains, and questions of the question-answer pairs may compare data subsets in the same domain.
[0144] At block 406, values and titles are extracted from each of at least two of the data subsets in the dataset. In some embodiments, the dataset may include or be similar to dataset 102, which is described further in this disclosure, such as with respect to Figures 1A and 1B.
[0145] At block 408, a question may be determined based on the title, the values, and the target variables. In some embodiments, the target variables may be inferred from data included in the dataset. In some embodiments, the target variables may be tasks that a machine learning model may be configured to perform. In these and other embodiments, determining a question based on the title, the sample values, and / or the target variables may be further described and / or illustrated in this disclosure, such as with respect to FIGS. 1A and 1B.
[0146] At block 410, the question may be sent to a language model to obtain a vector. In some embodiments, the vector that may be obtained from the language model may include one or more answers. In some embodiments, the one or more answers may include "yes" or "no", with each answer including a corresponding probability distribution. In some embodiments, the one or more probability distributions may indicate whether yes or no is a correct answer to the determined question. In some embodiments, the one or more answers may include a probability distribution that is included as part of a sentiment analysis that indicates whether one or more of the multiple answers are positive or negative. In these and other embodiments, sending the question to the language model and receiving and / or obtaining the one or more answers may be further described and / or illustrated in this disclosure, such as with respect to FIGS. 1-3B.
[0147] At block 412, it may be determined that an operation may be performed using data included in at least two data subsets in the dataset. In some embodiments, the operation may be determined based on vectors received from the language model. In some embodiments, the determined operation may include one or more grouping operations, where the grouping operation may be configured to analyze data that may be combined from the at least two data subsets. For example, the grouping operation may include one or more of maximum, minimum, skew, sum, standard deviation, unique values, or most common values. In some embodiments, the determined operation may include one or more mathematical operations that generate new data corresponding to the dataset when a mathematical operation may be performed on values in the two data subsets in the dataset. For example, the one or more mathematical operations may include one or more of subtraction, addition, multiplication, or division.
[0148] At block 414, data that may be related to the target variable may be synthesized. In some embodiments, the data may be synthesized by performing the determined action using data included in at least two data subsets in the dataset. In some embodiments, the new data may be synthesized based on a confidence in an answer to a question meeting a threshold.
[0149] At block 416, the combined data may be added to one or more new data subsets to the data set. In some embodiments, the one or more new data subsets may include one or more new categorical and / or numerical data subsets as described further in this disclosure, e.g., with respect to Figures 1A, 1B, and 2.
[0150] At block 418, the machine learning pipeline may be modified using the dataset. In some embodiments, the modified machine learning pipeline may be configured to train one or more machine learning models using the dataset such that the machine learning models may make one or more predictions using the new data.
[0151] Modifications, additions, or omissions may be made to method 400 without departing from the scope of the present disclosure. For example, the operations of method 400 may be performed in a different order. Additionally or alternatively, two or more operations may be performed simultaneously. Furthermore, the outlined operations and actions are provided only as examples, and some of the operations and actions may be optional, combined into fewer operations and actions, or expanded into additional operations and actions without detracting from the essence of the described embodiments.
[0152] FIG. 5 illustrates a block diagram of an exemplary computing system 502 in accordance with at least one embodiment of the present disclosure. The computing system 502 may be configured to implement or direct one or more suitable operations described in the present disclosure. For example, the computing system 502 may be used in various elements of the above disclosure (e.g., the question generation module 102, the feature engineering module 110, the language model 106, the machine learning model 114, the language training module 116, and / or other systems capable of performing one or more operations or actions in the disclosed embodiments). In some embodiments, the computing system 502 may be used to control operations related to generating new data corresponding to a new data subset for a dataset. In these and other embodiments, the computing system 502 may be used to train a machine learning model using a dataset including the new data subset. The computing system 502 may include a processor 550, a memory 552, and a data storage 554. The processor 550, the memory 552, and the data storage 554 may be communicatively coupled.
[0153] In general, the processor 550 may include any suitable computer, computing entity, or processing device, including various computer hardware or software modules, and may be configured to execute instructions stored on any applicable computer-readable storage medium. For example, the processor 550 may include a microprocessor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or any other digital or analog circuitry configured to interpret and / or execute program instructions and / or process data. Although shown as a single processor in FIG. 5, the processor 550 may include any number of processors configured to individually or collectively perform or direct the execution of any number of operations described in this disclosure. In addition, one or more of the processors may reside on one or more different electronic devices, such as different servers.
[0154] In some embodiments, processor 550 may be configured to interpret and / or execute program instructions and / or process data stored in memory 552, data storage 554, or memory 552 and data storage 554. In some embodiments, processor 550 may fetch program instructions from data storage 554 and load the program instructions into memory 552. After the program instructions are loaded into memory 552, processor 550 may execute the program instructions.
[0155] Memory 552 and data storage 554 may include computer-readable storage media that carry or store computer-executable instructions or data structures. For example, such computer-readable storage media may include tangible or non-transitory computer-readable storage media, including random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory devices (e.g., solid-state memory devices), or any other non-transitory storage medium that may be used to store specific program code in the form of computer-executable instructions or data structures and that may be accessed by a general-purpose or special-purpose computer. In these and other embodiments, the term "non-transitory" as described in this disclosure should be construed to exclude only those types of transitory media that were found to be outside the scope of patentable subject matter in the Federal Court decision of In re Nuijten, 500 F.3d 1346 (Fed. Cir. 2007).
[0156] Combinations of the above may also be included within the scope of computer-readable storage media.Computer-executable instructions may include, for example, instructions and data configured to cause processor 550 to perform a certain operation or group of operations.
[0157] Modifications, additions, or omissions may be made to computing system 502 without departing from the scope of the present disclosure. For example, in some embodiments, computing system 502 may include any number of other components not explicitly shown or described.
[0158] The embodiments described in this disclosure may be implemented using computer-readable media carrying or storing computer-executable instructions or data structures. Such computer-readable media may be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, such computer-readable media may include non-transitory computer-readable storage media, including random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory devices (e.g., solid-state memory devices), or any other storage medium that may be used to carry or store desired program code in the form of computer-executable instructions or data structures and that can be accessed by a general-purpose or special-purpose computer. Combinations of the above may also be included within the scope of computer-readable media.
[0159] Computer-executable instructions may include, for example, instructions and data that cause a general purpose computer, a special purpose computer, or a special purpose processing device (e.g., one or more processors) to perform a certain function or group of functions. Although the subject matter has been described in language specific to structural features and / or methodological steps, it will be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or steps described above. Rather, the specific features and steps described above are recited as example forms of implementing the claims.
[0160] As used in this disclosure, terms used in this disclosure, particularly in the appended claims (e.g., the body of the appended claims), are generally intended as "open" terms (e.g., the term "including" should be interpreted as "including, but not limited to," the term "having" should be interpreted as "having at least," the term "including" should be interpreted as "including, but not limited to," etc.).
[0161] Furthermore, if a specific number of claim recitations to be introduced is intended, such intent is expressly stated in the claim, and in the absence of such a statement, no such intent exists. For example, as an aid to understanding, the following appended claims may include the use of the introductory phrases "at least one" and "one or more" to introduce claim recitations. However, the use of such phrases should not be construed as meaning that the introduction of a claim recitation with the indefinite article "a" or "an" limits any particular claim that includes such an introduced claim recitation to an embodiment that includes only one such recitation, even if the same claim includes the introductory phrases "one or more" or "at least one" and an indefinite article such as "a" or "an" (e.g., "a" and / or "an" should be construed to mean "at least one" or "one or more"). The same applies to the use of definite articles used to introduce claim recitations.
[0162] In addition, even if a particular number of introduced claim recitations is explicitly recited, one of ordinary skill in the art will recognize that such recitation should be interpreted to mean at least the recited number (e.g., the recitation "two recitations" without other modifiers means at least two recitations, or more than two recitations). Furthermore, when idiomatic expressions similar to "such as at least one of A, B, and C" or "such as one or more of A, B, and C" are used, such constructions are generally intended to include A only, B only, C only, both A and B, both A and C, both B and C, or A, B, and C, etc.
[0163] Additionally, any disjunctive phrase presenting two or more alternative terms, whether in the present document, claims, or drawings, should be understood to contemplate the possibility of including one of the terms, either of the terms, or both terms. For example, the phrase "A or B" should be understood to include the possibilities of "A" or "B" or "A and B."
[0164] All examples and conditional language described in this disclosure are intended for educational purposes to aid the reader in understanding the disclosure and the concepts contributed by the inventor to advance the art, and should be construed as not being limited to such specifically described examples and conditions. Although the embodiments of the present disclosure have been described in detail, various changes, substitutions, and alterations can be made without departing from the spirit and scope of the present disclosure.
[0165] The following supplementary notes are further disclosed regarding the embodiments including the above examples. (Appendix 1) one or more processors; one or more non-transitory computer-readable storage media configured to store instructions; wherein the instructions, in response to being executed, cause the system to perform an operation, the operation being: obtaining a dataset comprising a plurality of data subsets; training a language model to determine relationships between data in a data subset within the obtained dataset using the one or more question-answer pairs; extracting values and titles from each of at least two data subsets within the data set; determining a question based on the title, the values, and a target variable inferred from data contained in the dataset; sending the question to the language model to obtain a vector, the vector including a plurality of answers; determining an action to be performed using the data contained in the at least two data subsets within the data set based on the vector; synthesizing data related to the target variable by performing a determined action using the data included in the at least two data subsets in the data set; adding the combined data to one or more new data subsets to the data set; and modifying a machine learning pipeline using the dataset, the modified machine learning pipeline being configured to train one or more machine learning models using the dataset to make predictions using new data. system. (Appendix 2) The one or more question and answer pairs: generating a plurality of semantic similarity distributions corresponding to information between data subsets in the dataset; determining one or more domains for the data subset within the data set based on the plurality of semantic similarity distributions satisfying a threshold; generating one or more question-answer pairs corresponding to the one or more domains, where questions in the question-answer pairs compare data subsets having the same domain; 2. The system of claim 1, (Appendix 3) 2. The system of claim 1, wherein the one or more new data subsets are synthesized based on a confidence in the answer to the question satisfying a threshold. (Appendix 4) 2. The system of claim 1, wherein the determined action includes one or more grouping operations, the grouping operations configured to analyze combined data from the at least two data subsets. (Appendix 5) 5. The system of claim 4, wherein the grouping operation includes one or more of maximum, minimum, skew, average, sum, standard deviation, unique values, or most common values. (Appendix 6) 2. The system of claim 1, wherein the determined action includes one or more mathematical operations that, when performed on the values in the two data subsets within the dataset, generate new data corresponding to the dataset. (Appendix 7) 7. The system of claim 6, wherein the one or more mathematical operations include one or more of subtraction, addition, multiplication, or division. (Appendix 8) 2. The system of claim 1, wherein each of the plurality of answers includes a probability distribution, the plurality of answers being either yes or no, and the probability distribution indicating whether the yes or the no is a correct answer to the determined question. (Appendix 9) 2. The system of claim 1, wherein each of the plurality of answers includes a probability distribution, the probability distribution including a sentiment analysis indicating whether one or more of the plurality of answers is positive or negative. (Appendix 10) The dataset including the added synthetic data is a second dataset and the dataset without the added synthetic data is a first dataset, and the operations include: generating a plurality of comparison scores corresponding to data in a plurality of pairs of data subsets in the second dataset, the plurality of comparison scores reflecting an overlap of similarity distributions between data in one data subset and data in another data subset of the plurality of pairs of data subsets in the second dataset; filtering out one or more pairs of data subsets from the second data set based on one or more corresponding comparison scores of the plurality of comparison scores not meeting a threshold; generating a third data set by recovering one or more data subsets that were filtered out from the second data set and that were present in the first data set; and training one or more machine learning models using the third dataset. 2. The system of claim 1. (Appendix 11) One or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause a system to perform operations, the operations including: obtaining a dataset comprising a plurality of data subsets; training a language model to determine relationships between data in a data subset within the obtained dataset using the one or more question-answer pairs; extracting values and titles from each of at least two data subsets within the data set; determining a question based on the title, the values, and a target variable inferred from data contained in the dataset; sending the question to the language model to obtain a vector, the vector including a plurality of answers; determining an action to be performed using the data contained in the at least two data subsets within the data set based on the vector; synthesizing data related to the target variable by performing a determined action using the data included in the at least two data subsets in the data set; adding the combined data to one or more new data subsets to the data set; and modifying a machine learning pipeline using the dataset, the modified machine learning pipeline being configured to train one or more machine learning models using the dataset to make predictions using new data. One or more non-transitory computer-readable storage media. (Appendix 12) The one or more question and answer pairs: generating a plurality of semantic similarity distributions corresponding to information between data subsets in the dataset; determining one or more domains for the data subset within the data set based on the plurality of semantic similarity distributions satisfying a threshold; generating one or more question-answer pairs corresponding to the one or more domains, where questions in the question-answer pairs compare data subsets having the same domain; 12. One or more non-transitory computer-readable storage media as recited in claim 11, generated by executing (Appendix 13) 12. The one or more new data subsets are synthesized based on a confidence level of the answer to the question satisfying a threshold. (Appendix 14) 12. The one or more non-transitory computer-readable storage media of claim 11, wherein the determined action includes one or more grouping operations, the grouping operations configured to analyze combined data from the at least two data subsets. (Appendix 15) 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the grouping operation includes one or more of maximum, minimum, skew, average, sum, standard deviation, unique value, or most common value. (Appendix 16) 12. The one or more non-transitory computer-readable storage media of claim 11, wherein the determined actions include one or more mathematical operations that, when performed on the values in the two data subsets within the data set, generate new data corresponding to the data set. (Appendix 17) 17. The one or more non-transitory computer-readable storage media of claim 16, wherein the one or more mathematical operations include one or more of subtraction, addition, multiplication, or division. (Appendix 18) 12. The one or more non-transitory computer-readable storage media of claim 11, wherein each of the plurality of answers includes a probability distribution, the plurality of answers being either yes or no, and the probability distribution indicating whether the yes or the no is a correct answer to the determined question. (Appendix 19) 12. The one or more non-transitory computer-readable storage media of claim 11, wherein each of the plurality of answers includes a probability distribution, the probability distribution including a sentiment analysis indicating whether one or more of the plurality of answers is positive or negative. (Appendix 20) The dataset including the added synthetic data is a second dataset and the dataset without the added synthetic data is a first dataset, and the operations include: generating a plurality of comparison scores corresponding to data in a plurality of pairs of data subsets in the second dataset, the plurality of comparison scores reflecting an overlap of similarity distributions between data in one data subset and data in another data subset of the plurality of pairs of data subsets in the second dataset; filtering out one or more pairs of data subsets from the second data set based on one or more corresponding comparison scores of the plurality of comparison scores not meeting a threshold; generating a third data set by recovering one or more data subsets that were filtered out from the second data set and that were present in the first data set; and training one or more machine learning models using the third dataset. 12. One or more non-transitory computer-readable storage media as described in claim 11. [Explanation of symbols]
[0166] 102 Datasets 104 Question Generation Module 106 Language Models 108 answers 110 Features Engineering Module 112 Improvement Dataset 114 Machine Learning Models 116 Language Training Models 118 Questions and Answers 120 Improved Answers 202 Generate and / or synthesize new data subsets using mathematical and / or grouping operations 204 Combine the new data subset with a data subset from the original dataset 206 Perform pre-processing operations 208 Selecting relevant data subsets based on preprocessing actions 210 Recovering the original data subsets to generate a unified data set 212 Fixing machine learning pipelines using unified datasets 302 Identify data subsets without titles or context 304 Select pairs of data subsets 306 Data Subset Types Detected 308 Same numeric data type? 310 Generate new data subsets using one or more grouping operations 312 Adding a new data subset to a machine learning pipeline 314 Does the overlap of data ranges exceed a threshold? 316 Data range difference below threshold? 318 Does the data distribution similarity exceed a threshold? 320 Use numerical operations to generate new numerical features 322 added to machine learning pipeline 402 Retrieve a dataset containing one or more data subsets 404 Training a language model to determine relationships between data in a data subset in the obtained dataset. 406 Extract values and titles from each of at least two data subsets in a dataset 408 Determine questions based on title, value and target variable 410 Send the question to the language model and get vectors 412 Using data based on vectors to determine what action to take 414 Synthesize data by executing determined actions 416 Adding Synthesized Data to a Dataset 418 Modifying the machine learning pipeline using the dataset 502 Computing Systems 550 Processor 552 Memory 554 Data Storage
Claims
1. one or more processors; one or more non-transitory computer-readable storage media configured to store instructions; wherein the instructions, in response to being executed, cause the system to perform an operation, the operation being: obtaining a dataset comprising a plurality of data subsets; training a language model to determine relationships between data in a data subset within the obtained dataset using the one or more question-answer pairs; extracting values and titles from each of at least two data subsets within the data set; determining a question based on the title, the values, and a target variable inferred from data contained in the dataset; sending the question to the language model to obtain a vector, the vector including a plurality of answers; determining an action to be performed using the data contained in the at least two data subsets within the data set based on the vector; synthesizing data related to the target variable by performing a determined action using the data included in the at least two data subsets in the data set; adding the combined data to one or more new data subsets to the data set; and modifying a machine learning pipeline using the dataset, the modified machine learning pipeline being configured to train one or more machine learning models using the dataset to make predictions using new data. system.
2. The one or more question and answer pairs include: generating a plurality of semantic similarity distributions corresponding to information between data subsets in the dataset; determining one or more domains for the data subset within the data set based on the plurality of semantic similarity distributions satisfying a threshold; generating one or more question-answer pairs corresponding to the one or more domains, where questions in the question-answer pairs compare data subsets having the same domain; The system of claim 1 , wherein the system is generated by executing:
3. The system of claim 1 , wherein the one or more new data subsets are synthesized based on a confidence level of the answer to the question satisfying a threshold.
4. The system of claim 1 , wherein the determined action comprises one or more grouping operations, the grouping operations configured to analyze combined data from the at least two data subsets.
5. The system of claim 4 , wherein the grouping operation includes one or more of maximum, minimum, skew, average, sum, standard deviation, unique values, or most common values.
6. 2. The system of claim 1, wherein the determined actions include one or more mathematical operations that, when performed on the values in the two data subsets within the data set, generate new data corresponding to the data set.
7. The system of claim 6 , wherein the one or more mathematical operations include one or more of subtraction, addition, multiplication, or division.
8. 2. The system of claim 1, wherein each of the plurality of answers includes a probability distribution, the plurality of answers being either yes or no, and the probability distribution indicating whether the yes or the no is a correct answer to the determined question.
9. 10. The system of claim 1, wherein each of the plurality of answers includes a probability distribution, the probability distribution including a sentiment analysis indicating whether one or more of the plurality of answers is positive or negative.
10. The dataset including the added synthetic data is a second dataset and the dataset without the added synthetic data is a first dataset, and the operations include: generating a plurality of comparison scores corresponding to data included in a plurality of pairs of data subsets in the second dataset, the plurality of comparison scores reflecting an overlap of similarity distributions between data included in one data subset and data included in another data subset of the plurality of pairs of data subsets in the second dataset; filtering out one or more pairs of data subsets from the second data set based on one or more corresponding comparison scores of the plurality of comparison scores not meeting a threshold; generating a third data set by recovering one or more data subsets that were filtered out from the second data set and that were present in the first data set; and training one or more machine learning models using the third dataset. The system of claim 1 .
11. One or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause a system to perform operations, such as: obtaining a dataset comprising a plurality of data subsets; training a language model to determine relationships between data in a data subset within the obtained dataset using the one or more question-answer pairs; extracting values and titles from each of at least two data subsets within the data set; determining a question based on the title, the values, and a target variable inferred from data contained in the dataset; sending the question to the language model to obtain a vector, the vector including a plurality of answers; determining an action to be performed using the data contained in the at least two data subsets within the data set based on the vector; synthesizing data related to the target variable by performing a determined action using the data included in the at least two data subsets in the data set; adding the combined data to one or more new data subsets to the data set; and modifying a machine learning pipeline using the dataset, the modified machine learning pipeline being configured to train one or more machine learning models using the dataset to make predictions using new data. One or more non-transitory computer-readable storage media.
12. The one or more question and answer pairs include: generating a plurality of semantic similarity distributions corresponding to information between data subsets in the dataset; determining one or more domains for the data subset within the data set based on the plurality of semantic similarity distributions satisfying a threshold; generating one or more question-answer pairs corresponding to the one or more domains, where questions in the question-answer pairs compare data subsets having the same domain; 12. The one or more non-transitory computer-readable storage media of claim 11 generated by executing:
13. 12. The one or more non-transitory computer-readable storage media of claim 11, wherein the one or more new data subsets are synthesized based on a confidence level of the answer to the question satisfying a threshold.
14. 12. The one or more non-transitory computer-readable storage media of claim 11, wherein the determined action includes one or more grouping operations, the grouping operations configured to analyze combined data from the at least two data subsets.
15. 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the grouping operation includes one or more of maximum, minimum, skew, average, sum, standard deviation, unique value, or most common value.
16. 12. The one or more non-transitory computer-readable storage media of claim 11, wherein the determined actions include one or more mathematical operations that, when performed on the values in the two data subsets within the data set, generate new data corresponding to the data set.
17. 17. The one or more non-transitory computer-readable storage media of claim 16, wherein the one or more mathematical operations include one or more of subtraction, addition, multiplication, or division.
18. 12. The one or more non-transitory computer-readable storage media of claim 11, wherein each of the plurality of answers includes a probability distribution, the plurality of answers being either yes or no, and the probability distribution indicating whether the yes or the no is a correct answer to the determined question.
19. 12. The one or more non-transitory computer-readable storage media of claim 11, wherein each of the plurality of answers includes a probability distribution, the probability distribution including a sentiment analysis indicating whether one or more of the plurality of answers is positive or negative.
20. The dataset including the added synthetic data is a second dataset and the dataset without the added synthetic data is a first dataset, and the operations include: generating a plurality of comparison scores corresponding to data included in a plurality of pairs of data subsets in the second dataset, the plurality of comparison scores reflecting an overlap of similarity distributions between data included in one data subset and data included in another data subset of the plurality of pairs of data subsets in the second dataset; filtering out one or more pairs of data subsets from the second data set based on one or more corresponding comparison scores of the plurality of comparison scores not meeting a threshold; generating a third data set by recovering one or more data subsets that were filtered out from the second data set and that were present in the first data set; and training one or more machine learning models using the third dataset.
12. One or more non-transitory computer-readable storage media as recited in claim 11.
