System and method for multi-purpose data management
The system addresses the limitations of existing NLP systems by using contrastive learning to identify and match entities in a representation space, enabling efficient multi-purpose data management tasks without manual labeling, thus enhancing time efficiency and reducing costs.
Patent Information
- Application Number
- JP2023075497
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2023-05-01
- Publication Date
- 2024-09-06
AI Technical Summary
Existing natural language processing systems are limited to specific tasks and require large labeled datasets, necessitating frequent adjustments for format or source changes, lacking techniques for multi-purpose data management without manual labeling.
A system utilizing a processor-executable method that includes contrastive learning techniques to determine entity pairs in a representation space, using a convolutional neural network to identify similar entities and train a machine learning model for various data management tasks like data integration, cleaning, and discovery, without the need for manually labeled data.
Enables efficient, cost-effective multi-purpose data management across various tasks by identifying and matching entities using unlabeled data, improving time efficiency and reducing the need for expensive dedicated machine learning solutions.
Smart Images

Figure 2024121751000001
Abstract
Description
[Technical field]
[0001] REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to Provisional Application No. 63 / 487,249, filed February 27, 2023, the entire contents of which are incorporated by reference herein. [Background technology]
[0002] background
[0002] Natural language processing systems are used to understand information records and perform various tasks. Existing natural language processing systems can only perform specific tasks and require large labeled data sets as training data. Such application-specific systems performing a single task need to be periodically adjusted for changes in data format or data source. There is a need for techniques and systems for multipurpose use that do not involve manual creation of labeled data for various data management tasks. Such techniques and systems can meet the demands of modern natural language systems in a timely and cost-effective manner. Summary of the Invention [Means for solving the problem]
[0003] overview Certain embodiments of the present disclosure relate to a system for data management. The system includes one or more processors executing processor-executable instructions stored in one or more memory devices to perform a method, the method including receiving at least two sets of data and a data management task request, each set of data including a set of entities; determining a location of each entity of the set of entities of each set of data in a representation space, the location in the representation space being determined based on a representative structure of the set of entities of each set of data; and for an entity, determining a corresponding set of representative entity pairs from each of the at least two sets of data, the entities in each of the representative entity pairs being determined to be relatively close in the representation space based on an angle between vector representations of the entities in the entity pair of the representative entity pairs. The method may include determining a set of representative entity pairs; analyzing the set of representative entity pairs to identify a set of candidate pairs, the candidate pairs including an entity pair of the representative entity pairs that is determined to be a most similar entity pair, the most similar entity pair being determined by a closeness of location in a representation space of the entities in each entity pair of the set of representative entity pairs; determining matched entity pairs of the candidate pairs, where a first machine learning model is trained using the candidate pairs by labeling the matched entity pairs; and utilizing the matched pairs to perform the requested data management task.
[0004]
[0004] According to some disclosed embodiments, determining the position of each entity of the set of entities for each set of data in the representation space may include pre-training a second model using a contrastive learning technique, the contrastive learning including a contrastive objective and obtaining at least two sets of data as input, and using the second model to determine a representative structure for each entity of the set of entities for each set of data.
[0005] According to some disclosed embodiments, the second model is a convolutional neural network.
[0006]
[0006] According to some disclosed embodiments, a representative entity pair is determined to be relatively close in representation space based on the angle between vector representations of the entities in the representative entity pair when the angle is greater than a threshold.
[0007]
[0007] According to some disclosed embodiments, a first machine learning model is trained by using the candidate pairs to label a subset of a set of representative entity pairs, where the subset of the set of representative entity pairs are entity pairs for which the similarity between the encoded representations of each entity in each entity pair is above a positive threshold or below a negative threshold.
[0008]
[0008] According to some disclosed embodiments, labeling a subset of the set of representative entity pairs may include labeling a first entity pair having entities determined to be closer to each other with a positive value, such that the entities in the first entity pair are similar to each other, and labeling a second entity pair having entities determined to be farther from each other with a negative value, such that the entities in the second entity pair are dissimilar to each other.
[0009]
[0009] According to some disclosed embodiments, labeling a first entity pair having entities determined to be closer to each other with a positive value may include varying the amount of negative value depending on the amount of distance between the entities in this first entity pair.
[0010]
[0010] According to some disclosed embodiments, labeling a second entity pair having entities determined to be farther away from each other with a negative value may include varying the amount of positive value depending on the amount of distance between the entities in this second entity pair.
[0011] According to some disclosed embodiments, the data management task request includes one of data integration, data cleanup, or data discovery.
[0012]
[0012] According to some disclosed embodiments, determining matched entity pairs among the candidate pairs includes a binary classification of the entity pairs as matched or unmatched.
[0013]
[0013] According to some disclosed embodiments, determining matched entity pairs among the candidate pairs includes a level of match between the entities of each of the matched entity pairs.
[0014]
[0014] According to some disclosed embodiments, pre-training the second model using contrastive learning techniques may include generating training data for the second model using an augmentation operator based on a required data management task, where the augmentation operator generates variants of entities in the at least two sets of data, generating the training data, and training a second model to determine similarities or differences between the entities in the at least two sets of data and variants of the entities in the variants, where training the second model may include encoding the entities and variants of the entities using an embedding model and projecting the encoded entities and variants into a vector space.
[0015]
[0015] According to some disclosed embodiments, the candidate pairs are used to train a first machine learning model including a linear layer based on the requested data management task.
[0016] Certain embodiments of the present disclosure relate to a computer-implemented method of performing a data management task for an entity utilizing a data management system, the method including receiving at least two sets of data and a data management task request, each set of data including a set of entities, determining a location of each entity of the set of entities of each set of data in a representation space, the location in the representation space being determined based on a representative structure of the set of entities of each set of data, and for an entity, determining a set of representative entity pairs from each of the at least two sets of data, the entities in each of the set of representative entity pairs being determined to be relatively close in the representation space based on an angle between vector representations of the entities in the entity pair of the representative entity pairs. The method may include: determining a set of representative entity pairs that are representative of the entity pairs; analyzing the set of representative entity pairs to identify a set of candidate pairs, the candidate pairs including an entity pair of the representative entity pairs that is determined to be a most similar entity pair, the most similar entity pair being determined by a closeness of location in a representation space of the entities in each entity pair of the set of representative entity pairs; determining matched entity pairs of the candidate pairs, the first machine learning model being trained using the candidate pairs by labeling the matched entity pairs; and utilizing the matched pairs to perform the requested data management task.
[0017]
[0017] Certain embodiments of the present disclosure relate to a non-transitory computer-readable medium including instructions executable by one or more processors to enable a system to perform a method of performing a data management task on entities, the method including: receiving at least two sets of data and a data management task request, each set of data including a set of entities; determining a location of each entity of the set of entities of each set of data in a representation space, the location in the representation space being determined based on a representative structure of the set of entities of each set of data; and for an entity, determining a set of representative entity pairs from each of the at least two sets of data, the entities in each of the set of representative entity pairs being determined to be relatively close in the representation space based on an angle between vector representations of the entities in the representative entity pair. The method may include: determining a set of representative entity pairs that are representative of the entity pairs; analyzing the set of representative entity pairs to identify a set of candidate pairs, the candidate pairs including an entity pair of the representative entity pairs that is determined to be a most similar entity pair, the most similar entity pair being determined by a closeness of location in a representation space of the entities in each entity pair of the set of representative entity pairs; determining matched entity pairs of the candidate pairs, the first machine learning model being trained using the candidate pairs by labeling the matched entity pairs; and utilizing the matched pairs to perform the requested data management task.
[0018] BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate several embodiments and, together with the description, serve to explain the disclosed principles. [Brief description of the drawings]
[0019] [Figure 1]
[0019] A block diagram showing exemplary components of a data management system 100 according to an embodiment of the present disclosure. [Figure 2A]
[0020] 1 is a flow diagram of solving an exemplary data integration task of entity matching using the data management system 100 according to an embodiment of the present disclosure. [Figure 2B]
[0021] 1 illustrates a flow diagram of an exemplary data representation model for contrastive pre-training, according to an embodiment of the present disclosure. [Figure 2C]
[0022] 1 illustrates a flow diagram of an example of data flow in a fine tuner, according to an embodiment of the present disclosure. [Figure 3A]
[0023] 1 illustrates an exemplary tabular representation of data management tasks performed between pairs of entities, according to an embodiment of the present disclosure. [Figure 3B] 2 illustrates an exemplary tabular representation of data management tasks performed between pairs of entities according to an embodiment of the present disclosure. [Figure 3C] 2 illustrates an exemplary tabular representation of data management tasks performed between pairs of entities according to an embodiment of the present disclosure. [Figure 4]
[0024] 1 illustrates an exemplary serialization of data by a pre-trained language model according to an embodiment of the present disclosure. [Diagram 5]
[0025] 1 illustrates a schematic diagram of an exemplary distributed system according to some embodiments of the present disclosure. [Figure 6]
[0026] 1 is a flow diagram illustrating an exemplary method for data management using a multi-purpose data management system according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] Detailed Description
[0027] In the following detailed description, numerous details are set forth to provide a thorough understanding of the disclosed exemplary embodiments. It will be appreciated by those skilled in the art that the principles of the exemplary embodiments can be practiced without all specific details. Each disclosed embodiment is illustrative and does not disclose every possible embodiment according to the claims and this disclosure. Well-known methods, procedures, and components have not been described in detail so as not to obscure the principles of the exemplary embodiments. Unless expressly indicated, the exemplary methods and processes described herein are not constrained to a particular order or sequence, nor are they constrained to a particular system configuration. Furthermore, some of the described embodiments or elements thereof may occur or be performed simultaneously, contemporaneously, or in parallel.
[0021]
[0028] As used herein, unless specifically stated otherwise, the term "or" encompasses all possible combinations unless impracticable. For example, if a component is stated to be able to include A or B, the component can include A or B, or A and B, unless specifically stated otherwise or impracticable. As a second example, if a component is stated to be able to include A, B, or C, the component can include A or B or C, or A and B, or A and C, or B and C, or A and B and C, unless specifically stated otherwise or impracticable.
[0022]
[0029] Next, the disclosed embodiments will be described in detail. Examples of the embodiments are illustrated in the accompanying drawings. Unless expressly indicated, transmitting and receiving herein are understood to have a broad meaning, including transmitting or receiving in response to a specific request or without such a specific request. Thus, these terms cover both active and passive forms of transmitting and receiving.
[0023]
[0030] Embodiments described herein provide techniques and techniques for using matching models to perform various data management tasks, such as data integration (e.g., entity matching), data cleaning (e.g., error correction), and data discovery (e.g., column type detection), based on pre-training with unlabeled data using natural language techniques by a computing system.
[0024]
[0031] The described embodiments provide distinct advantages over existing natural language processing techniques. Unlike other processes, the data matching techniques described in the disclosed embodiments can be used for multiple data integration and data preparation tasks with various types of entities. Furthermore, the described embodiments turn these into matching-based problems, allowing available language models such as BERT to solve the data management tasks. By using a transformer language model, the embodiments disclosed herein can determine various relationships between entities. By enabling a single data management framework using a matching-based problem definition, the embodiments disclosed herein can improve the ability to use natural language processing in various industries and personalized situations without the need for time-consuming and expensive dedicated machine learning solutions built for just one data management task.
[0025]
[0032] FIG. 1 is a block diagram illustrating exemplary components of a data management system 100, according to an embodiment of the present disclosure. The data management system 100 may include a processor 110 for creating candidate pairs of entities and checking for matches. In some embodiments, the candidate pairs may be provided by user input, other systems, other data sources, or feedback from the data management system 100 or its components. As shown in FIG. 1, the data management system 100 may include components such as a processor 110 and a matcher 120. The data management system 100 may also include a data store such as a dataset repository 150. The data management system 100 uses the matcher 120 to match entities of various entity types in the dataset repository 150. In some embodiments, the data management system 100 may use data stored in the dataset repository 150 as input for training machine learning (ML) models in the processor 110 and the matcher 120. The data management system 100 may use existing transformer models in the processor 110 and the matcher 120. For example, the data management system 100 may use an existing language model, BERT, to identify matching text-based entities. In some embodiments, the data management system 100 may use the processor 110 to pre-process the entities matched by the matcher 120.
[0026]
[0033] The processor 110 enables downstream modules, such as matcher 120, to manage matching a subset of entity pairs for every possible pair of available entities. The processor 110 includes multiple pre-processors, such as data representation model 111, blocker 112, and sampler 113, to process the input entities and create potential candidate pairs among various combinations of entities to find matched entities. The data management system 100 may include a parser 130 for parsing data into entities, used by the processor 110. In some embodiments, the parser 130 may be used by components of the processor 110 to further optimize the data management system 100.
[0027]
[0034] The data representation model 111 may generate data representations of entity pairings of input entities to help identify entity pairs for use with the matcher 120. The data representation model 111 may be a machine learning model trained using contrastive learning techniques to identify related candidate entity pairings to find matched entities. The data representation model 111 may use unlabeled data to identify related candidate pairs by reviewing the underlying structure of the data in the entities. The data representation model 111 may generate data representations to help identify potential entity pairings with similar entities by indicating the closeness between the entities in the entity pairing. The data management system 100 may transform the data representations to input to other modules in the data management system 100. In some embodiments, the transformations applied to the data representations may replace other modules in the processor 110 and the matcher 120. For example, the data management system 100 may help replace the blocker 112 by identifying the most similar entity pairings as the candidate pairs identified by the data representations of the candidate pairs. In some embodiments, the data representations may be used to train other machine learning models to find matching entities. For example, data management system 100 may help label a subset of the data representations for use as training data for matcher 120.
[0028]
[0035] Blocker 112 may help block entity pairings that will never result in a match and identify candidate entity pairings that are provided as input to matcher 120. Data management system 100 may allow user 170 to configure the blocking function of blocker 112 to limit the number of entity pairs reviewed by matcher 120 for potential entity matching. The blocking function may be a simple rule-based processor that is fast with high recall and avoids only irrelevant matches. For example, in the context of finding matching jobs, blocker 112 may use non-matching “job title” attribute values as its blocking function. In some embodiments, blocker 112 may be configured to include multiple blocking functions to further refine the entity pairs sent to matcher 120 to predict potential matches. For example, blocker 112 may include a Q-gram blocking function applied after the “title” match rule-based blocker function to further refine possible pairs of entities that share commonality with matcher 120 to predict matches. A Q-gram blocking function blocks entity pairs to refine the set of feasible pairs for matching by allowing approximate matching of two sequences within an entity. Approximate matching of two sequences may include allowing the sequences to differ by a subsequence of length Q. If any two sequences of an entity differ by more than a subsequence of length Q, then the pairing of the two entities represented by the two sequences is blocked from ever pairing. A user 170 may configure the data management system 100 to select or define blocking functions for inclusion in the blocker 112.
[0029]
[0036] In some embodiments, the blocking function utilized by blocker 112 may utilize a similarity search of data representations from data repository 150. The blocking function based on similarity search may be an entity similarity function. In some embodiments, the entity similarity function may utilize a filter to find similar entity pairs by identifying the top k most similar pairs, or entity pairs with similarity greater than a threshold. A user 170 may set a threshold value at which to begin finding similar entities.
[0030]
[0037] The sampler 113 may filter entity pairs that are not blocked by the blocker 112. The sampler 113 may filter by matching content that may not be considered in finding matching entities in the entity pairing. The sampler 113 may be configured by the user 170 to select a subset of entities to provide input pairs to the matcher 120. The configuration of the sampler 113 may include the number of certain entity pairs that are considered by the data management system 100 or the number of matches that are expected to be identified by the data management system 100. The sampler 113 may allow multiple filters to be stacked together.
[0031]
[0038] The matcher 120 is a machine learning (ML) model that can help identify matching entities. The matcher 120 may search through candidate pairs of entities present in the dataset repository 150 to find the best matching entities. The matcher 120 may find the best matching entities by scoring each pair of entities and selecting the top percentage of entity pairs with the highest match scores. In some embodiments, the matcher 120 may select matched entities by filtering out entity pairs with low match scores. The matcher 120 may classify entity pairings based on the data management task requested by the user 170. For example, a matcher 120 used for an error correction task may classify entity pairings as either correct corrections or incorrect corrections.
[0032]
[0039] Matcher 120 may be a machine learning model that helps classify entity pairings. As shown in FIG. 1, matcher 120 may include an input layer 121 for setting data for predicting matched entity pairs. Matcher 120 may also include an encoding layer 122, a pooling layer 123, and an output layer 124 for processing the input entity pairs, filtering out relevant information, and presenting match results.
[0033]
[0040] The matcher 120 may be a known language model with modifications, e.g., BERT, Long Former, etc. The modifications may include modifications of existing layers, e.g., the encoding layer 122 may include a classifier to further structure minimally structured job entities with long strings. In some embodiments, the modifications may include the addition of new layers, such as a pooling layer 123 to reduce the number of possible matches and predict the best match. The output layer 124 may present a binary classification of matched entity pairs based on a data management task using a matching-based approach to solving the task. For example, a data management task for data correction may classify matches as true corrections to data in the entity. In another example, the output layer 124 of the matcher 120 used for a column type detection task may identify matching columns based on type.
[0034]
[0041] Matcher 120 may access entity pairs from dataset repository 150 to predict matches. In some embodiments, matcher 120 may receive entity pairs directly to predict matches. A user 170 may provide entity pairs to matcher 120 over network 160, or processor 110 may provide entity pairs to predict matches. In some embodiments, matcher 120 may buffer a set of entity pairs before performing match prediction.
[0035]
[0042] Parser 130 helps convert entities into machine-readable formats. For example, parser 130 may extract entities in HTML and PDF formats into a machine-readable JSON format and provide a hierarchical structure to the content of the entities. Parser 130 does not modify the content structure of the entities, such as the order of the content of the entities, or the content itself. Parser 130 may also convert entities without changing the semantic meaning of the entities.
[0036]
[0043] Parser 130 may use a rule-based processor to convert the content in the entities into a structured format. The hierarchical structure provided to the entities processed by parser 130 may depend on the entity type. For example, address data tends to have a known structure of street address, city, and state for conversion to semi-structured JSON formatted data. Parser 130 may use an example template schema to convert the content of the entities. In some embodiments, parser 130 may generate a schema based on the entities provided. Parser 130 may review multiple entities of the same type to determine a standard schema for converting the entities into semi-structured JSON formatted data. For example, parser 130 may determine which attributes to use as keys and the hierarchical structure of the JSON formatted data based on the available entities and their contents and the order of the contents. Parser 130 may parse the entities and convert the entities for use by matcher 120. Parser 130 may transform entity pairings by replacing certain words with synonyms without compromising the semantic meaning of the entities in the entity pair.
[0037]
[0044] In some embodiments, the parser 130 retrieves data from various data sources (e.g., external job openings on a website) and processes this data into entities that can be used with the rest of the data management system 100. The parser 130 may further comprise the modules of a data extractor 131, a data transformer 132, and a data loader 133. The data extractor 131 and the data transformer 132 may work together to generate the entities that are stored in the dataset repository 150. The data transformer 132 may connect the disparate data extracted from the data sources by the data extractor 131 and store it in the dataset repository 150.
[0038]
[0045] The data extractor 131 retrieves data from various data sources, such as job posting sites such as Indeed.com or Dice.com, job review sites such as glassdoor.com, and social networks such as LinkedIn. Each of these data sources may represent a different type of data source. For example, the data sources may be databases similar to the dataset repository 150. The data sources may represent structured data such as candidate resumes. In some embodiments, the data sources may be flat files such as job postings and job reviews. Additionally, the data sources may include partially overlapping or completely different datasets. In some embodiments, one data source may include information about a job posting, while another data source may include salary information for the position advertised in the job posting, as well as reviews by previous and current employers for positions similar to the position advertised in the job posting. The data extractor 131 may interact with the various data sources, search for relevant data, and provide the data to the data transformer 132.
[0039]
[0046] The data transformer 132 may receive data from the data extractor 131 and process this data into a standard format. In some embodiments, the data transformer 132 may normalize data such as dates, addresses, job titles, etc. For example, a data source for recruitment may include job titles as strings (e.g., engineer, director, manager, etc.), while a data source for job reviews may store job titles as various levels within an organization (e.g., L1, L2, etc.). In this example, the data transformer 132 may correct or normalize the data provided through the data extractor 131 into a consistent format. Thus, the data transformer 132 may effectively clean the data provided through the data extractor 131 such that all data originates from various sources but has a consistent format. In some embodiments, the data transformer 132 may clean the data by combining data from various sources. For example, job review data may include pay ranges for each job title, while recruitment may not include pay ranges. In a second example, data transformer 132 may include missing pay ranges in a job entity generated by parsing a job web page.
[0040]
[0047] Additionally, the data transformer 132 may extract additional data points from the data sent by the data extractor 131. For example, the data transformer 132 may determine if the work is a remote location by extracting separate data fields for the work location and the company location. The data transformer 132 may also perform other linear and non-linear transformations and extractions on categorical and numerical data, such as normalization and diminishing. In some embodiments, the data transformer 132 may anonymize the data extracted by the data extractor 131. The data transformer 132 may anonymize the data to prevent private data from being used to train machine learning models in the data management system 100. The data transformer 132 may provide the transformed or extracted data to the data loader 133. In some embodiments, the data transformer 132 may store the transformed data in the dataset repository 150 for later use by the data loader 133 and other modules of the processor 110.
[0041]
[0048] The data loader 133 may receive the normalized data from the data transformer 132. The data loader 133 may merge the data into various formats depending on the particular requirements of the data management system 100 and store this data in an appropriate storage mechanism, such as the dataset repository 150.
[0042]
[0049] The dataset repository 150 may be a relational database management system (RDBMS) (e.g., Oracle Database, Microsoft SQL Server, MySQL, PostgreSQL, or IBM DB2). An RDBMS may be designed to efficiently return data for entire rows or records from a database in as few operations as possible. An RDBMS may store data by serializing each row of data in a data structure. An RDBMS may store data associated with any category of record contiguously so that data associated with the record can be accessed in a single operation. Additionally, an RDBMS may efficiently enable access to related records stored in disparate tables. For example, an RDBMS may link tables by reference columns, and the RDBMS may join the tables together to retrieve data for the data structure. In some embodiments, the dataset repository 150 may be a non-relational database system (NRDBMS) (e.g., XML, Cassandra, CouchDB, MongoDB, Oracle NoSQL Database, FoundationDB, or Redis). Non-relational database systems can store data using a variety of data structures, such as key-value stores, document stores, graphs, and tuple stores, among others. For example, a non-relational database that uses a document store may combine all of the data associated with a particular identifier into a single document encoded using XML. Dataset repository 150 can also be an in-memory database, such as Memcached. In some embodiments, the contents of dataset repository 150 can reside in both a persistent storage database and an in-memory database, such as can be achieved in Redis.
[0043]
[0050] The data management system 100 can receive requests to predict matches between entities via a network 160. The network 160 can be a local network, the Internet, or the cloud. A user 170 can send a request for matching entities to the data management system 100 via the network 160. The user 170 can interact with the data management system 100 via a user device 180. The user device 180 can be a variety of devices, such as a tablet, laptop, or portable computer using a web browser or installed applications.
[0044]
[0051] The components of the data management system 100 may run on a single computer or may be distributed across multiple computers or processors. The various components of the data management system 100 may communicate over a network (e.g., a LAN or WAN) 160 or the Internet. In some embodiments, each component may run on multiple computer instances or processors. The instances of each component of the data management system 100 may be part of a connected network, such as a cloud network (e.g., Amazon AWS, Microsoft Azure, Google Cloud). In some embodiments, some or all of the components of the data management system 100 run in a virtualized environment, such as a hypervisor or virtual machine.
[0045]
[0052] 2A is a flow diagram of solving an exemplary data integration task of entity matching using the data management system 100 according to an embodiment of the present disclosure. As shown in FIG. 2A, the data management system 100 performs entity matching using two pipelines: an entity matching pipeline 210 at the top end, and a contrastive learning pipeline 220 at the bottom end. The entity matching pipeline 210 is a standard entity matching pipeline and may include a blocker 112 and a matcher 120, and the contrastive learning pipeline 220 includes a data representation model 111 for understanding the representative structure of a dataset from the dataset repository 150. The data representation model 111 is trained on the input entities 201 to learn similar data representations of entities in the input entities 201.
[0046]
[0053] The contrast learning pipeline 220 provides input to modules in the entity matching pipeline 210. The contrast learning pipeline 220 may provide the output of the data representation model 111 as input to modules in the entity matching pipeline 210. For example, the contrast learning pipeline 220 may provide the data representation 221 to the blocker 112 in the entity matching pipeline 210 to identify candidate pairs of entities 211 to find matching entities. In some embodiments, the contrast learning pipeline 220 may transform the output from the data representation model 111. The contrast learning pipeline 220 may transform the output for relatively better performance of the modules in the entity matching pipeline 210. For example, the contrast learning pipeline 220 may transform the data representation 221 by using a pseudo labeler 222 to identify similar data representation entities with high confidence. In another example, the contrast learning pipeline 220 may transform the data representation 221 by using a fine tuner 223. A detailed description of the fine tuner 223 and its components is provided below in the description of Figure 2C. In some embodiments, the pseudo labeler 222 and the fine tuner 223 may be part of the data representation model 111. The data representation model 111 may be a machine learning model having multiple layers, with the pseudo labeler 222 and the fine tuner 223 as output layers of the machine learning model.
[0047]
[0054] The contrastive learning pipeline 220 may improve the performance of the data representation model 111 by improving the quality of the data representation 221. The data management system 100 may evaluate the quality of the data representation 221 generated by the contrastive learning pipeline 220 based on the candidate pairs 211 generated using the data representation 221. The contrastive learning pipeline 220 may improve the quality of the data representation 221 by learning about a transformation-invariant representation of the data in the data representation 221 formed using the input entity 201. To learn the transformation-invariant representation, the contrastive learning pipeline 220 performs transformations of the data in the entity (e.g., the input entity 201). The transformations may include synonym replacement, span deletion, and other transformations that preserve semantic meaning. In some embodiments, the contrastive learning pipeline 220 may achieve a relatively fine-grained transformation by transforming the entities in the input entity 201 using data augmentation techniques. For example, the contrastive learning pipeline 220 may transform a word embedding vector representation of each word in the entity in the input entity 201. These transformations of the entities of the input entities 201 serve to generate multiple closely related entities for contrastive training of the data representation model 111, both directly and at the word embedding level. The data management system may use data augmentation operators to generate entities closely related to the original entities to be used as training data for the data representation model 111. The data augmentation operators selected to generate variants are based on the data management task (e.g., error correction, column type detection, entity matching, etc.).
[0048]
[0055] In some embodiments, the contrast learning pipeline 220 obtains negative examples for training the data representation model 111 to improve the data representation model 111 by learning how to separate different entities in the input entity 201. The contrast learning pipeline 220 identifies different entities in the input entity 201 by training the data representation model 111 on groups of entities in the input entity 201. The contrast learning pipeline 220 may provide the groups as input to identify different entities in each group that may differ only slightly. In some embodiments, the contrast learning pipeline 220 may obtain the groups of entities by k-means. The data identifying different entities in a subset relative to the entire input entity 201 causes the data representation model 111 to learn the minimum difference between each entity in the input entity 201.
[0049]
[0056] The pseudo-labeler 222 helps improve the performance of the matcher 120 by extracting additional similarity knowledge from the data representation 221 and labeling the entities in the input entities 201 that are represented as entity pairs in the data representation 221. In some embodiments, the similarity knowledge is a probabilistic label to be attached to the candidate pairs 211. In some embodiments, the pseudo-labeler 222 may attach probabilistic labels to the sample labeled pairs 212.
[0050]
[0057] The pseudo-labeler 222 may include an embedding model to determine the labels to attach to the data representations 221 to find the most similar or dissimilar subsets of entity pairs. The embedding model used in the pseudo-labeler 222 is a pre-trained embedding model based on an existing language model such as BERT. A detailed description of the pre-trained embedding model is provided below in the discussion of FIG. 2B.
[0051]
[0058] The pseudo labeler 222 extracts similarity knowledge by identifying unlabeled entity pairs in the candidate pairs 211 by measuring the confidence value of the match between the entities in each pair of unlabeled entity pairs. The pseudo labeler 222 measures the confidence value of the matching entities in the candidate pairs 211 by computing the cosine similarity as evaluated by the embedding model. In some embodiments, the pseudo labeler 222 assigns a positive label if the cosine similarity is above a positive threshold and assigns a negative label if the cosine similarity is below a negative threshold.
[0052]
[0059] The data management system 100 may customize values for the thresholds for determining the labels. The data management system 100 may automatically set custom values for the thresholds. In some embodiments, the data management system 100 may set the thresholds based on the data management task to avoid bias when training the machine learning model in the matcher 120. For example, an entity matching or data cleaning task will have many pairs tagged with negative labels since most entities do not match or are already cleaned. In such scenarios, it may be important to have a very low negative threshold to reduce the number of candidate pairs tagged with negative labels. In some embodiments, the data management system 100 may allow user customization of the thresholds. The data management system 100 may use a combination of manually set thresholds for a certain percentage of entities and automatically set remaining thresholds based on heuristics (e.g., hill climbing heuristics) to find the optimal value for the current set of input entities 201.
[0053]
[0060] In some embodiments, the data management system 100 may use the output of the data representation model 111 to replace execution steps of modules in the entity matching pipeline 210. For example, the data representation model 111 may perform a similarity search to identify entity pairs that have similar entities, such as the blocker 112, as candidate pairs. The contrastive learning pipeline 220 may transform the data representation 221 by applying nearest neighbor techniques to find the top k most similar entities in the data representation 221 as candidate pairs 211 to replace the blocker 112.
[0054]
[0061] The data management system 100 handles various data management tasks by formulating the tasks as matching related data items. The data items may include table rows, table columns, or cell values in a table of input entities 201. The data management system 100 may perform multiple data management tasks by customizing binary relationships between pairs of data items. For example, a binary relationship may be whether two entities point to the same real-world entity in an entity match task, whether an entity is a correct candidate correction for an erroneous entity in a data cleaning task, or whether two table columns have the same semantic type in a data discovery task.
[0055]
[0062] The data management system 100 may also update individual modules in the entity matching pipeline 210 based on the data management task. For example, in an entity matching task, the blocker 112 may generate a small set of candidate pairs 211 with high recall, and the matcher 120 may generate matched pairs 213 of the candidate pairs 211 with high recall and high precision. The contrastive learning pipeline 220 provides the transformed required data representation of the data representation 221 for various requirements of the blocker 112 and the matcher 120.
[0056]
[0063] The contrastive learning pipeline 220 may achieve high recall by generating a vector representation of each data item in the data representation 221 and indexing the vectors for fast similarity search using the blocker 112 to identify candidate pairs. In some embodiments, the contrastive learning pipeline 220 may cluster the generated vectors and sample vectors from a single cluster to train the data representation model 221 to improve its recall. The selected sample vectors in a cluster are negative samples of different entity pairs that are relatively difficult to distinguish. The data representation model 221 may be trained using the selected negative samples from within the cluster to learn to identify semantic features in vectors representing entities (e.g., the input entity 201).
[0057]
[0064] 2B illustrates a flow diagram of an exemplary data representation model for contrastive pre-training according to an embodiment of the present disclosure. The data representation model 111 is pre-trained to minimize the distance between pairs of similar entities and maximize the distance between pairs of distinct entities.
[0058]
[0065] The data management system 100 uses data augmentation operators to generate variants of the same entity to learn the data representation model 111 from minimal labeled data to no labeled data. For example, entity 241-2 is a variant of entity 241-1. The data management system 100 may use various data augmentation operators based on the data management task (e.g., entity matching, error correction, column type detection, etc.) to preserve the semantic meaning of the entity (e.g., input entity 201 of FIG. 2A). For example, a data representation model used for an entity matching task may utilize data augmentation operators to remove, replace, swap, or insert tokens, such as words, within an entity. Data augmentation operators associated with an entity matching task may include removing and shuffling spans or entire columns with multiple tokens. For error correction tasks, the data management system 100 may only apply data augmentation operators that can be applied to entire columns, such as cell values, not just one token. For example, a column shuffle operator may be used to shuffle cell values of an entity within a column.
[0059]
[0066] In some embodiments, data management system 100 may use a cutoff operator to apply across rows or columns of a vector representation of an entity (e.g., entities 241-1 through 241-3) generated using a data augmentation operator. The cutoff operator may include a token cutoff, a feature cutoff, or a span cutoff.
[0060]
[0067] A data augmentation operator generates variants of an entity (e.g., entities 241-1 to 241-3) while maintaining semantic meaning. For example, an entity in computer vision is an image, and the variants are obtained by data augmentation operators that rotate, flip, or crop the original image that represents the entity. The data augmentation operator generates pairs of entities (original entity and variants) that are similar to the training data representation model 111 to help it learn to match / distinguish entities. The training data generated by the data augmentation operator may help it learn the data representation model 111 regardless of the labels associated with the data or not, as long as the variants resemble the original entity by maintaining the same semantic meaning. Training the data representation model 111 on such data can identify matching similar variants and the original entity.
[0061]
[0068] The data management system 100 feeds an augmented vector representation of the input entity 201 (as shown in FIG. 2A) to instances of embedding models 242-1 to 242-3. The embedding models 242-1 to 242-3 are encoders designed using transformers. In some embodiments, the data management system 100 uses a pre-trained language model such as BERT as the transformer. As shown in FIG. 2B, the projector instances 243-1 to 243-3 may take the encoded representations of the entity and its variants as input and map them into a space applying a contrastive loss. In some embodiments, the projectors 243-1 to 243-3 may be linear layers. The projectors 243-1 to 243-3 may map into a vector space by generating vector representations of the entities 241-1 to 241-3.
[0062]
[0069] Fine tuner 223 uses pre-trained embedding model instances 242-1 and 242-3 in generating pairwise matching models used in fine tuner 223. Fine tuner 223 processes pairs of entities using embedding models pre-trained with a single entity to capture a data representation (e.g., data representation 221 of FIG. 2A).
[0063]
[0070] FIG. 2C illustrates an example flow diagram of data flow in the fine tuner, according to an embodiment of the present disclosure. The fine tuner 223 may include an embedding model that fine-tunes the similarity results by concatenating input entity pairs of serialized entities. In some embodiments, the fine tuner 223 may also include a learning pipeline (not shown in FIG. 2C), such as gradient descent. A detailed description of entity serialization is provided below in the description of FIG. 4. The fine tuner 223 captures similarities and differences between entities in the input entity pair 250. As shown in FIG. 2C, the fine tuner 223 receives the input entity pair 250 and encodes the individual entities 251-1 and 251-2, as well as the concatenated entity 251-3. The entities 251-1, 251-2, and the concatenated entity pair 251-3 are serialized versions of the entities in the input entity pair 250. As shown in FIG. 2C, the serialized entities 251-1 through 251-3 are input to instances of encoder models 252-1 through 252-3. The encoder models 252-1 through 252-3 generate d-dimensional vector representations of the serialized versions of the individual entities 251-1, 251-2, and the concatenated entity pair 251-3. The fine tuner 223 may include a linear layer 255 specific to the data management task (e.g., columnar detection, error correction, etc.) being processed by the data management system 100. In some embodiments, there may be multiple task-specific linear layers in the fine tuner 223. The linear layer 255 may take as input the concatenated outputs 253-1 through 253-3 of the encoder model instances 252-1 through 252-3. A concatenator 254 may concatenate the encoded outputs 253-1 through 253-3. Concatenator 254 may use vector concatenation to concatenate outputs 253-1 through 253-3 to generate a two-dimensional vector. Linear layer 255 may be a fully connected layer and may include a softmax function that predicts whether an input pair will match, included as prediction 256.The fine tuner 223 may be trained prior to including it in the contrastive training pipeline 220. The fine tuner 223 may be trained by initializing a network of machine learning models formed of an encoder model (e.g., encoder models 252-1 through 252-3) and a linear layer with pre-trained weights. The fine tuner 223 is trained until convergence is achieved.
[0064]
[0071] 3A-3C show exemplary tabular representations of data management tasks performed between pairs of entities according to embodiments of the present disclosure. As shown in FIG. 3A, an entity in table 310 is corrected by performing a match with an entity in table 320. Data management system 100 may perform pairwise matching of entities in tables 310 and 320. When data management system 100 receives a request for a data cleaning task, it skips execution of blocker 112 (as shown in FIG. 1) to identify candidate pairs. In some embodiments, data management system 100 may use alternative methods for generating candidate pairs of entities. Alternative methods may include rule-based methods (e.g., Jaccard similarity) for enumerating feasible candidate pairs. In some embodiments, data management system 100 may use rule-based methods to find textual or syntactic similarity between sequences of text entities. In some embodiments, data management system 100 may use various blocking techniques as alternative methods for generating candidate pairs of entities. For example, various blocking techniques may include rule-based blocking, schema-agnostic blocking, meta-blocking, and other deep learning techniques that utilize recurrent neural network models.
[0065]
[0072] In some embodiments, data representation model 111 may use address, state, and zip code field values in tables 310 and 320 to identify the underlying structure as a physical location address. Data management system 100 may use pseudo labeler 222 (as shown in FIG. 2A ) to label each entity pairing in tables 310 and 320 to identify which entity has the correct address. Data management system 100 may fine-tune the labeled entity pairings to identify corrections to apply to the incorrect entities. Data management system 100 may generate table 320 with feasible corrections to entity 311. Data management system 100 may generate entities 321 and 322 to include in table 320 and perform a match between the entities in tables 310 and 320. Data management system 100 may use the matched entities as the corrected entities. Correcting an entity may include correcting a typo and adding missing data, e.g., a missing city in an address.
[0066]
[0073] The data management system 100 may not perform certain steps when performing an error correction task. For example, the pseudo labeler 222 (as shown in FIG. 2) may not be applied because pseudo labeling is not based on similarity. The blocker 112 (as shown in FIG. 1) may not be used unless there is a large set of candidate entities generated as part of the error correction. For example, if the data management system 100 chooses to replace a typo in a city name in the entity 311 with a large set of city names without considering the state and zip code field values, then a blocker is needed to refine the set of entities shared with the matcher 120 (as shown in FIG. 1) to find the corrected entity (e.g., entity 321).
[0067]
[0074] As shown in FIG. 3B, the entities in table 330 are matched by data management system 100 with entities in table 340. Data management system 100 may find a match between entities 331 and 341 and a mismatch between entities 332 and 342. As shown in FIG. 2A, data management system 100 may use entity matching pipeline 210 and contrastive learning pipeline 220 to perform matching of entities in tables 330 and 340. Data management system 100 may use contrastive learning pipeline 220 to perform transformation of entities to determine matches. For example, data management system 100 may match entities 331 and 341 by rewriting the title field of entity 341, “instance immers spanish dlux2,” to “instant immersion spanish deluxe 2.0” in English. In some embodiments, data management system 100 may transform portions of entities 331 and 341 by formatting the content within entities 331 and 341. For example, the text "dlux2" in entity 341 is formatted to match the text "deluxe 2.0" in entity 331. Data management system 100 does not find a match between entities 332 and 342, and they are ignored in the entity matching task.
[0068]
[0075] 3C, the column types in tables 350 and 360 are identified to find matching columns to detect the column type. Data management system 100 may detect the type of column 355 by performing match semantics on the columns in tables 350 and 360.
[0069]
[0076] The data management system 100 may review all entities 351-353 and 361-363 to identify the types of columns 355-356 and 365-366. The state capital column 355 matches the city column 365, but the state column 356 does not match the city column 365. The data management system 100 may use the data representation model 111 to learn a representation of each column in tables 350 and 360 as a high-dimensional vector. The data management system 100 may then identify candidate columns based on the data representations of the columns in tables 350 and 360 (e.g., data representation 221 of FIG. 2A). The data management system 100 may use a graph parsing algorithm as part of the matcher 120 to find clusters of columns that are predicted to be of the same type. The data management system 100 may train the matcher 120 by applying pseudo labels and fine-tuning the data representation 221. The data management system 100 may use a column parser to identify the type of each column.
[0070]
[0077] FIG. 4 illustrates an exemplary serialization of data by a pre-trained language model according to an embodiment of the present disclosure. The data present in table 410 is serialized by the input layer 121 (shown in FIG. 1) of matcher 120 (shown in FIG. 1), such as table 330 (shown in FIG. 3). The input layer 121 may include a serializer to serialize the data into a string. As shown in FIG. 4, book details entities represented as table rows 411 and 412 may be serialized into serialized entities 421 and 422. A similar layer may also be present in the data representation model 111 as part of the fine-tuned data representation 221 (shown in FIG. 2A).
[0071]
[0078] The data management system 100 may convert each row of the table 410 representing an entity by using special tokens, such as "[COL]" and "[VAL]", to represent the column name and row value within a particular column. A serializer module requests the column name and column value and creates an entity of the form "[COL]<column name> [VAL]<column value>". The data management system 100 may iteratively serialize the columns of each row and append them together to form a serialized entity. For example, serialized entities 421 and 422 represent rows 411 and 412 of the table 410, with all column names and column values within the columns appended together using the special tokens "[COL]" and "[VAL]". The data management system 100 may generate an embedding model for inclusion in the blocker 112, which first serializes and then encodes using a pre-trained language model, e.g., BERT.
[0072]
[0079] The data management system 100 may serialize entity pairs to identify matched entity pairs. The data management system 100 may use a pre-trained language model to assist in pair classification by concatenating multiple entities into a single sequence using special tokens “[CLS]” and “[SEP]”, as shown in serialized entity pairs 423. As shown in entity pairs 423, the data management system 100 prepends the “[CLS]” token to the sequence of tokens and the “[SEP]” token to separate serialized entities. The pairwise matching model used in the matcher 120 is fine-tuned by including a task-specific layer after a transformer layer (e.g., input layer 121 in FIG. 1) to serialize the entities. The task-specific layer may include a fully connected linear layer, and a SoftMax layer for binary classification.
[0073]
[0080] 5 illustrates a schematic diagram of an exemplary distributed system according to some embodiments of the present disclosure. According to FIG. 5, a server 510 of the distributed computing system 500 includes a bus 512 or other communication mechanism for communicating information, one or more processors 516 communicatively coupled to the bus 512 for processing information, and one or more main processors 517 communicatively coupled to the bus 512 for processing information. The processor 516 may be, for example, one or more microprocessors. In some embodiments, the one or more processors 516 include a processor 565 and a processor 566, which are connected via an inter-chip interconnect of the interconnect topology. The main processor 517 may be, for example, a central processing unit ("CPU").
[0074]
[0081] The server 510 can transmit data to or communicate with another server 530 via a network 522. The network 522 can be a local network similar to the network 160 (as shown in FIG. 1), an Internet service provider, the Internet, or any combination thereof. The communication interface 518 of the server 510 can be connected to the network 522 and enable communication with the server 530. Furthermore, the server 510 can be coupled to peripherals 540 via a bus 512, including display devices (e.g., cathode ray tube (CRT), liquid crystal display (LCD), touch screen, etc.) and input devices (e.g., keyboard, mouse, soft keypad, etc.).
[0075]
[0082] The server 510 may be implemented using customized hardwired logic, one or more ASICs or FPGAs, firmware, or program logic that combines with the server to make the server 510 a dedicated machine.
[0076]
[0083] The server 510 further comprises storage 514, which may include memory 561 and physical storage 564 (e.g., hard drive, solid state drive, etc.). The memory 561 may include random access memory (RAM) 562, and read only memory (ROM) 563. The processor 516 and main processor 517 may be communicatively coupled to the storage 514 via a bus 512. The storage 514 may comprise a main memory that may be used to store temporary variables or other intermediate information during execution of instructions executed by the processor 516 and main processor 517. Such instructions, once stored in a non-transitory storage medium accessible to the processor 516 and main processor 517, make the server 510 a dedicated machine customized to perform the operations specified in the instructions. The term "non-transitory medium" as used herein refers to any non-transitory medium that stores data or instructions that cause a machine to operate in a particular manner. Such non-transitory medium may include non-volatile or volatile media. Non-transitory media includes, for example, optical or magnetic disks, dynamic memory, floppy disks, flexible disks, hard disks, solid state drives, magnetic tape or any other magnetic data storage medium, CD-ROMs, any other optical data storage medium, any physical medium with a pattern of holes, RAM, PROMs, and EPROMs, Flash EPROMs, NVRAM, flash memory, registers, cache, any other memory chip or cartridge, and networked versions of these.
[0077]
[0084] Various forms of media may be involved in carrying one or more sequences of one or more instructions to the processor 516 or main processor 517 for execution. For example, the instructions may initially be stored on a magnetic disk or solid state drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to the server 510 can receive the data on the telephone line and use an infrared transmitter to convert the data to an infrared signal. An infrared detector can receive the data carried in the infrared signal and appropriate circuitry can place the data on the bus 512. The bus 512 carries the data to main memory in storage 514, from which the processor 516 or main processor 517 retrieves and executes the instructions.
[0078]
[0085] Data management system 100 (as shown in FIG. 1 ), or one or more of its components, may reside on either server 510 or 530 and may be executed by processor 516 or 517. In some embodiments, components of data management system 100, processor 110, and matcher 120 may be distributed across multiple servers 510 and 530. For example, components 111-113 of processor 110 may be executed on multiple servers.
[0079]
[0086] 6 is a flow diagram illustrating an exemplary method for data management using a general-purpose data management system according to an embodiment of the present disclosure. The steps of method 600 may be performed, for example, by data management system 100 of FIG. 1 executing on computing device 500 of FIG. 5 for illustrative purposes or using its functionality in other ways. It is understood that the illustrated method 600 may be modified to modify the order of steps and to include additional steps.
[0080]
[0087] In step 610, the data management system 100 may receive at least two sets of data and a data management task. Each of the two sets of data includes an entity (e.g., input entity 201 of FIG. 2A). The data management system 100 may identify related candidate pairs and perform binary classification on matching entity pairs in the received data set. The data management system 100 may receive the data set from a data set repository 150 (as shown in FIG. 1) via a network 160 (as shown in FIG. 1). In some embodiments, the data management system 100 may receive the data set directly from a user 170 (as shown in FIG. 1) via a user device 180 (as shown in FIG. 1).
[0081]
[0088] In step 620, the data management system 100 may determine a position of each entity in the representation space based on the representative structure of the set of entities in the dataset received in step 610. The data representation model 111 may be useful for generating a data representation (e.g., data representation 221 of FIG. 2A) based on the position of each entity in the representation space. The data management system 100 may generate a vector representation of each entity as part of determining the position in the representation space.
[0082]
[0089] The data management system 100 may determine the location of an entity (e.g., input entity 201 of FIG. 2A) in the input data in a representation space to create a data representation (e.g., data representation 221 of FIG. 2A) of the entity. The data management system may determine the location of the entity in the representation space by reviewing a representative structure of the entity using a second machine learning model (e.g., data representation model 111 of FIG. 1). The data management system 100 may pre-train the machine learning model using contrastive learning techniques. The contrastive learning techniques may include contrastive objectives. The machine learning model may be a convolutional neural network model, such as an existing language model (e.g., BERT), or a recurrent neural network model, or a transformer model.
[0083]
[0090] In some embodiments, the data management system 100 may construct the representation space by converting each entity in the input dataset (e.g., input entity 201 in FIG. 2A ) into a vector representation. The data management system 100 may use an existing language model, such as BERT, to generate the vector representations of the entities.
[0084]
[0091] The data management system 100 may pre-process entities in a received dataset before determining their location in the representation space. The data management system 100 may pre-process entities and transform them while preserving the semantic meaning of the entities. For example, the data management system 100 may perform span substitutions on entities by substituting words of similar meaning in place of the replaced words. Such span substitutions also help train the data representation model 111 to identify the location of the entities in the representation space.
[0085]
[0092] In step 630, the data management system 100 may determine a set of representative entity pairs, including one entity from each of the two data sets received in step 610. The data management system 100 may generate the representative pairs by indicating a level of closeness between the entities based on the location of the entities in the representation space identified in step 620. The data management system 100 may filter entity pairs whose entities are located too far from each other in the representation space.
[0086]
[0093] In step 640, the data management system 100 may analyze the representative entity pairs to identify candidate pairs (e.g., candidate pair 211 of FIG. 2A). The data management system 100 may identify the representative entity pairs that are the most similar entity pairs for inclusion in the candidate pairs. The data management system 100 may determine the most similar entity pairs using a contrastive learning pipeline 200. The contrastive learning pipeline 200 may review the closeness between the data representations of the entities (e.g., data representation 221 of FIG. 2A) to determine closeness in representation space. In some embodiments, the data management system 100 may perform a nearest neighbor search to identify the most similar entities for inclusion in the candidate pairs 211.
[0087]
[0094] The data management system 100 may determine the similarity between the two entities of an entity pair by determining the distance between the locations of the data representations of the entities in the representation space. The data management system 100 may determine the location closeness between the two entities by determining the cosine angle between the vector representations of the entities in the entity pair. The data management system 100 may use a cosine function to determine the angle and similarity between the entities in the entity pair. The data management system 100 may consider the entities to be most similar when the angle determined by the cosine is greater than a threshold value.
[0088]
[0095] In step 650, the data management system 100 may determine matched entity pairs (e.g., matched pairs 213 in FIG. 2A) for the candidate pairs (e.g., candidate pairs 211 in FIG. 2A). The data management system 100 may use a machine learning model in matcher 120 to identify matched pairs learned using the candidate pairs.
[0089]
[0096] The data management system 100 may train a first machine learning model included in the matcher 120 to identify matched pairs (e.g., matched pairs 213 of FIG. 2A). The data management system 100 may pre-train the first machine learning model using a subset of the candidate pairs (e.g., candidate pairs 211 of FIG. 2A). The data management system 100 may label, e.g., pseudo-label, using a pseudo labeler 222 (as shown in FIG. 2A). In some embodiments, the data management system 100 may label a subset of the entity pairs (e.g., data representation 221 of FIG. 2A) of representative entity pairs. A data subset of the set of representative entity pairs is paired with a high confidence value.
[0090]
[0097] The data management system 100 may assign positive and negative labels to entity pairs based on whether each entity in the entity pair is close, similar, or dissimilar. The data management system 100 may determine a positive and negative value between similar and dissimilar entities based on a similarity function, e.g., a cosine, and use the value to determine the positive and negative labels. The data management system 100 may label a first entity pair whose entities are closer to each other with a positive value when the positive value exceeds a positive threshold. Similarly, the data management system 100 may label a second entity pair whose entities are farther from each other with a negative value when the negative value is below a negative threshold.
[0091]
[0098] In step 660, data management system 100 may utilize the matched pairs (e.g., matched pairs 213 of FIG. 2A) to perform data management tasks. A user (e.g., user 170 of FIG. 1) may submit a data management task request sent over network 160 to apply to the matched entities. For example, a data integration task may be performed by data management system 100 to combine the matching entities. In FIG. 3B, entities 331 and 341 are matches based on matching titles, and the data integration task would result in model and price values to be used with the title field values of entities 331 and 341.
[0092]
[0099] Upon completion of step 660, data management system 100 completes execution of method 600 on computing device 500 (step 699).
[0093]
[0100] Exemplary embodiments have been described above with reference to flowcharts or block diagrams of methods, apparatus (systems), and computer program products. It will be understood that each block of the flowcharts or block diagrams, and combinations of blocks in the flowcharts or block diagrams, can be implemented by a computer program product, or instructions on a computer program product. These computer program instructions can be sent to a processor of a computer, or other programmable data processing device, to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing device, create means for implementing the functions / operations specified in one or more blocks of the flowcharts or block diagrams.
[0094]
[0101] These computer program instructions may also be stored on a computer-readable medium that can instruct one or more hardware processors of a computer, other programmable data processing device, or other apparatus to function in a particular manner, such that the instructions stored on the computer-readable medium form a product including instructions that implement the functions / acts specified in one or more blocks of the flowcharts or block diagrams.
[0095]
[0102] The computer program instructions may also be loaded into a computer, other programmable data processing device, or other apparatus to cause a sequence of operational steps to be executed by the computer, other programmable device, or other apparatus to generate a computer-implemented process, such that the instructions executing on the computer or other programmable device provide a process for implementing the functions / operations specified in one or more blocks of the flowcharts or block diagrams.
[0096]
[0103] Any combination of one or more computer readable media may be utilized. A computer readable medium may be a non-transitory computer readable storage medium. In this document, a computer readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
[0097]
[0104] The program code embodied in the computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, fiber optic cable, RF, IR, or the like, or any suitable combination thereof.
[0098]
[0105] The computer program code for carrying out the operations, e.g., the embodiments, may be written in any combination of one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, or C++, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may run entirely on the user's computer, partly on the user's computer as a standalone software package, partly on the user's computer and partly on a remote computer, or entirely on a remote computer or server. In the latter situation, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider). The computer program code may be compiled into object code that can be executed by a processor, or may be partially compiled into intermediate object code or interpretively executed in an interpreter, just-in-time compiler, or virtual machine environment targeted for the execution of the computer program code.
[0099]
[0106] The flowcharts and block diagrams in the figures illustrate examples of architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of code, which includes one or more executable instructions for implementing the specified logical function. It should also be noted that in alternative implementations, the functions noted in the blocks may be performed out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in the reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts, may be implemented by a special-purpose hardware-based system that performs the specified functions or operations, or a combination of special-purpose hardware and computer instructions.
[0100]
[0107] It is understood that the described embodiments are not mutually exclusive, and that elements, components, materials, or steps described in connection with one exemplary embodiment can be combined with or excluded from other embodiments in any suitable manner to achieve desired design objectives.
[0101]
[0108] In the foregoing specification, the embodiments have been described with reference to numerous specific details that may vary from implementation to implementation. Certain variations and modifications of the described embodiments may be made. Other embodiments may be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The specification and examples are considered to be illustrative only. Additionally, the order of steps shown in the figures is intended to be illustrative only and is not intended to be limited to any particular order of steps. Thus, one skilled in the art can appreciate that steps can be performed in different orders while performing the same method. [Explanation of symbols]
[0102] 100 Data Management System 110, 516, 565, 566 processors 111 Data Representation Model 112 Brocka 113 Sampler 120 Matcha 121 Input Layer 122 coding layer 123 Pool Layer 124 Output layer 130 Parser 131 Data Extractor 132 Data Transformer 133 Data Loader 150 Dataset Repositories 160,522 Network 170 users 180 User Device 200, 220 Contrastive Learning Pipeline 201 Input Entity 210 Entity Matching Pipeline 211 Candidate Pairs 212 sample labeled pairs 213 Matched Pairs 221 Data Representation 222 Pseudo Labeler 223 Fine Tuner 241-1, 241-2, 251-1, 251-2, 311, 321, 322, 331, 332, 341, 342, 351-353, 361-363, 421, 422 Entities 242-1, 242-2, 242-3 Embedded Models 243-1, 243-2, 243-3 Projectors 250 input entity pairs 251-3, 423 entity pair 252-1, 252-2, 252-3 Encoder Models 253-1, 253-2, 253-3 Output 254 Coupler 255 Linear Layer 256 Predictions 310, 320, 330, 340, 350, 360, 410 Tables 355, 356, 365, 366 columns Lines 411 and 412 500 Computing Devices 510 Server 512 Bus 514 Storage device 517 Main Processor 518 Communication Interface 530 Server 540 Peripheral Devices 561 Memory 562 Random Access Memory 563 Read-Only Memory 564 Physical Storage 600 ways 601, 610, 620, 630, 640, 650, 660, 699 steps
Claims
1. one or more memory devices for storing processor-executable instructions; and one or more processors configured to execute instructions to cause the data management system to perform operations, the operations comprising: receiving at least two sets of data and a data management task request, each set of data including a set of entities; determining a position of each entity of a set of entities of each set of data in a representation space, said position in said representation space being determined based on a representative structure of said set of entities of said each set of data; determining, for an entity, a corresponding set of representative entity pairs from each of the at least two sets of data, where entities in each of the set of representative entity pairs are determined to be relatively close in the representation space based on an angle between vector representations of entities in an entity pair of the representative entity pairs; analyzing the set of representative entity pairs to identify a set of candidate pairs, the candidate pairs including an entity pair of the representative entity pairs that is determined to be a most similar entity pair, the most similar entity pair being determined by a location closeness in the representation space of entities in each entity pair of the set of representative entity pairs; determining matched entity pairs of the candidate pairs, wherein a first machine learning model is trained using the candidate pairs by labeling the matched entity pairs; utilizing the matched pairs to perform the requested data management tasks; and A data management system.
2. determining a position of each entity of the set of entities for each set of data in a representation space; pre-training a second model using a contrastive learning technique, the contrastive learning including a contrast objective and acquiring the at least two sets of data as inputs; determining a representative structure for each of the entities in the set of entities for each of the sets of data using the second model; The data management system of claim 1 further comprising:
3. 3. The data management system of claim 2, wherein the second model is a convolutional neural network.
4. The data management system of claim 1 , wherein representative entity pairs are determined to be relatively close in the representation space based on an angle between vector representations of entities in the representative entity pair when the angle is greater than a threshold.
5. 2. The data management system of claim 1, further comprising: training a first machine learning model by labeling a subset of the set of representative entity pairs using the candidate pairs, the subset of the set of representative entity pairs being entity pairs for which a similarity between encoded representations of each entity in each of the entity pairs is above a positive threshold or below a negative threshold.
6. labeling a subset of said set of representative entity pairs; labeling a first entity pair having entities determined to be closer to each other with a positive value, where the entities in the first entity pair are similar to each other; labeling a second entity pair having entities determined to be more distant from each other with a negative value, where the entities within the second entity pair are less similar to each other; The data management system of claim 5 further comprising:
7. labeling a first entity pair having an entity determined to be closer to each other with a positive value; Varying the amount of the negative value depending on the amount of distance between the entities in the first entity pair. The data management system of claim 6 further comprising:
8. labeling a second entity pair having entities determined to be farther from each other with a negative value; Varying the amount of the positive value depending on the amount of distance between the entities in the second entity pair. The data management system of claim 6 further comprising:
9. The data management system of claim 1 , wherein the data management task request comprises one of data integration, data cleanup, or data discovery.
10. The data management system of claim 1 , wherein determining matched entity pairs among the candidate pairs comprises a binary classification of entity pairs as matched or unmatched.
11. The data management system of claim 1 , wherein determining matched entity pairs of the candidate pairs includes a level of match between entities of each of the matched entity pairs.
12. pre-training a second model using a contrastive learning technique; generating training data for the second model using an augmentation operator based on the requested data management tasks, the augmentation operator generating variants of entities in the at least two sets of data; training the second model to determine similarities or differences between entities in the at least two sets of data and variants of the entities in the variants, wherein training the second model includes: encoding an entity and the variants of the entity using an embedding model; and training the second model, further comprising projecting the encoded entities and the variants into a vector space; The data management system of claim 1 further comprising:
13. The data management system of claim 1 , further comprising: a first machine learning model including a linear layer that is trained based on the requested data management task using the candidate pairs.
14. 1. A method performed by a system for performing data management tasks on an entity utilizing the data management system, comprising: receiving at least two sets of data and a data management task request, each set of data including a set of entities; determining a position of each entity of the set of entities of each set of data in a representation space, the position in the representation space being determined based on a representative structure of the set of entities of each set of data; determining, for an entity, a set of representative entity pairs from each of the at least two sets of data, where entities in each of the set of representative entity pairs are determined to be relatively close in the representation space based on an angle between vector representations of entities in an entity pair of the representative entity pairs; analyzing the set of representative entity pairs to identify a set of candidate pairs, the candidate pairs including an entity pair of the representative entity pairs that is determined to be a most similar entity pair, the most similar entity pair being determined by a location closeness in the representation space of entities in each entity pair of the set of representative entity pairs; determining matched entity pairs of the candidate pairs, wherein a first machine learning model is trained using the candidate pairs by labeling the matched entity pairs; utilizing the matched pairs to perform the requested data management tasks; and A method comprising:
15. determining a position of each entity of the set of entities for each set of data in a representation space; pre-training a second model using a contrastive learning technique, the contrastive learning including a contrast objective and acquiring the at least two sets of data as inputs; determining a representative structure for each of the entities in the set of entities for each of the sets of data using the second model; The method of claim 14 further comprising:
16. 15. The method of claim 14, wherein representative entity pairs are determined to be relatively close in the representation space based on an angle between vector representations of entities in the representative entity pair when the angle is greater than a threshold.
17. 15. The method of claim 14, further comprising: using the candidate pairs to label a subset of the set of representative entity pairs to train a first machine learning model, the subset of the set of representative entity pairs being entity pairs for which a similarity between the encoded representations of each entity in each of the entity pairs is above a positive threshold or below a negative threshold.
18. labeling a subset of said set of representative entity pairs; labeling a first entity pair having entities determined to be closer to each other with a positive value, where the entities in the first entity pair are similar to each other; labeling a second entity pair having entities determined to be more distant from each other with a negative value, where the entities within the second entity pair are less similar to each other; 20. The method of claim 17, further comprising:
19. labeling a first entity pair having an entity determined to be closer to each other with a positive value; Varying the amount of the negative value depending on the amount of distance between the entities in the first entity pair.
20. The method of claim 18, further comprising:
20. 1. A non-transitory computer-readable medium comprising instructions executable by one or more processors to cause a system to perform a method for performing a data management task for an entity, the method comprising: receiving at least two sets of data and a data management task request, each set of data including a set of entities; determining a position of each entity of the set of entities of each set of data in a representation space, the position in the representation space being determined based on a representative structure of the set of entities of each set of data; determining, for an entity, a set of representative entity pairs from each of the at least two sets of data, where entities in each of the set of representative entity pairs are determined to be relatively close in the representation space based on an angle between vector representations of entities in an entity pair of the representative entity pairs; analyzing the set of representative entity pairs to identify a set of candidate pairs, the candidate pairs including an entity pair of the representative entity pairs that is a most similar entity pair, the most similar entity pair including determining a location closeness in the representation space of entities in each entity pair of the set of representative entity pairs; determining matched entity pairs of the candidate pairs, wherein a first machine learning model is trained using the candidate pairs by labeling the matched entity pairs; utilizing the matched pairs to perform the requested data management tasks; and A non-transitory computer readable medium comprising:
