The present invention relates to machine learning and, more particularly, to improving the outcome of machine learning efforts.
Massive labelled datasets are used to train machine learning and/or deep learning algorithms in order to produce artificial intelligence models. The desired models tend to become more complex and/or trained in a more complex and thorough manner, which leads to an increase in the quality and quantity of the data required. Crowdsourcing is an effective way to get input from humans in order to label large datasets. The human labelers from the crowd may mark-up or annotate the data to show a target that artificial intelligence model will is expected to predict. Therefore, the data used to train artificial intelligence models needs to be structured and labeled correctly. Several techniques are used to measure the quality of the labeling such as comparing the suggested labels with labels from a gold standard that are considered correct. Another technique is sample review in which a random sample of the labeled data is selected to be reviewed by a more experienced worker. Yet another well known technique is based on consensus which means that several labelers are assigned to perform the same labeling task and the correct label is the label returned by the majority of labelers.
As the datasets grow larger and larger, improving the production of labels is expected to bring advantages in terms of cost of the labelling process, quality of the resulting labelled datasets, and required time to produce the labelled datasets. The present invention addresses such needs.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
A system of one or more computers can be configured to perform particular operations or actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One or more computer programs can be configured to perform particular operations or actions by virtue of including instructions that, when executed by data processing apparatus, cause the apparatus to perform the actions. One general aspect includes a method for improving quality of a dataset for which a labeling task is to be completed. The method repeats a loop comprising: inferring, for each of the labeler identifiers in the dataset, an estimated proficiency value; inferring a predicted uncertainty value of correctness of the label for at least a subset of the raw data items; and receiving a trusted evaluation value of correctness for one or more labels of the subset of the raw data items for which the predicted uncertainty is inferred. The method repeats the loop until the highest predicted uncertainty value in the dataset is below a threshold value. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
Implementations may include one or more of the following features. The method may include inferring, for the labeling task to be completed, an estimated difficulty value. The method may include replacing a portion of the subset of labels having associated therewith the highest predicted uncertainty values with random labels of the dataset prior to requiring the trusted evaluation. The method may include requiring a trusted evaluation for each label of a subset of labels having associated therewith the highest predicted uncertainty values. The method may include inserting into the dataset the trusted evaluation of each label for which the trusted evaluation is received. The method may include complete computing until financial resources or time resources are exhausted. The method may include communicating a subset of labels associated to a subset of data items to trusted evaluators. The method may include quantifying proficiency of a labeler by computing correctness evaluation from experts compared to an initial submission from the labeler. Crowd-sourced vetting may be combined with trusted vetting to improve the quality of the dataset. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
One general aspect includes a labeling system configured for improving quality of a dataset. The labeling system also includes a memory module for storing a running list of items being labeled; a processor module configured to repeat a loop: infer, for each of the labeler identifiers in the dataset, an estimated proficiency value; infer a distribution for the degree of randomness in the correctness of the labels; infer at least one predicted uncertainty value of correctness of the label for at least a subset of the raw data items; and receive a trusted evaluation value of correctness for one or more labels of the subset of the raw data items for which the predicted uncertainty is inferred. The system repeats the loop until the highest uncertainty is below a threshold value. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
Implementations may include one or more of the following features. The processor module may further be for inferring, for the labeling task to be completed, an estimated difficulty value. The processor module may further be for replacing a portion of the subset of labels having associated therewith the highest predicted uncertainty values with random labels of the dataset prior to requiring a trusted evaluation. The processor module may further be for selectively requiring a trusted evaluation for each label of a subset of labels having associated therewith the highest predicted uncertainty values. The processor module may further be for inserting into the dataset the trusted evaluation of each label for which the trusted evaluation is received. The labeling system may include a network interface module for interfacing with a plurality of remote trusted evaluators. The labeling system may include a network interface module for communicating a subset of labels associated to a subset of data items to trusted evaluators. The labeling system may include a network interface module for communicating trusted evaluation of labels associated to raw data items to the processor module. The processor module may further complete computing until financial resources or time resources are exhausted. The processor module may further be for quantifying proficiency of a labeler by computing correctness evaluation from experts compared to an initial submission from the labeler. The processor module may further be for combining crowd-sourced vetting with trusted vetting to improve the quality of the dataset. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
Further features and exemplary advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the appended drawings, in which:
Crowdsourcing is an effective way to mobilize human cognitive abilities to handle computer-hard tasks such as transcription, sentiment analysis and image recognition. In general, the resulting crowd-sourced datasets are used to train artificial intelligence and therefore, needs to be large, of high quality and fast to produce. Consequently, during the process of producing labelled datasets the three components that are expected to be optimized are the cost of the labelling process, the quality of the resulting labelled datasets, and the required time to produce the labelled datasets. In general, a trade-off between cost, quality, and time has to be made as producing high quality labelled datasets can get highly expensive and time consuming. Beside, one can decide to rapidly produce high quality labelled datasets but then the production costs will, in all likelihood, be high as well. The present invention provides an improved alternative to optimize the cost, quality, and time during the production of labelled datasets by asking experts to vet some portions of the crowd-sourced labels in the datasets. Expert vetting is often slow and challenging mainly because experts are rare. Additionally, expert vetting is time and financial resources consuming. The rarity of experts creates limitations in their availability which makes it even more challenging to expertly vet large sets of data.
Embodiments of the present invention provides a method and a system for combining trusted vetting with crowd-sourced labeling. One goal is to produce a dataset of higher quality that may be used, for instance, for training artificial intelligence algorithms. In some embodiments, an expert has to vet only a selected portion of the crowd-sourced labels while improving overall quality of a dataset. In this exemplary embodiment, a strategy may be developed to reduce the size of the portion of the dataset that is expertly vetted.
In accordance with a first set of embodiments, a method and a system are provided for improving quality of a dataset while minimizing resource consumption associated to production of the dataset. The dataset contains raw data items for which a labeling task is to be completed (e.g., a sentence for which a translation is to be completed). Each labelling task may regroup one or more annotation requests. Therefore, each data item may have associated therewith one or more annotation requests. The dataset also comprises for each data item, for each annotation request one or more labels representing answers to the annotation request. The dataset also comprises a unique labeler identifier for each labeler.
A labeler is the entity producing the labels of one or more data items (e.g., a person that provides a translation). The labeler can be a person or group of persons or a system or group of systems. As explained above, for each labeler, a corresponding labeler identifier is included in the dataset. A unique labeler identifier does not only provide the exemplary advantages of facilitating data treatment, retrieving, and storing but also help in reducing potential bias in the expert's vetting.
In a preferred set of embodiments, the labeler may be asked to produce answers for a first annotation request for a plurality of data items of the dataset, and then to produce answers for a second annotation request for a plurality of data items of the dataset, and so on.
A labelling task is associated to a data item and might comprise one or more annotation requests, or sub tasks, as exemplified with reference to
During the labeling task, a labeler is asked to produce one or more labels for a selection of data items that need to be labeled. A plurality of labelers may produce different correct labels to answer one task. This is due to the fact that the correct label is not necessarily unique and a data item may admit several labels. Additionally, the difficulty of the each labeling task may be different and is not a directly observable quantity. An example of a typical labeling task would be translating or paraphrasing a phrase or a paragraph. In general, there are many potential correct translations or paraphrases. In this example, the difficulty can occur because of the language structure, cultural references, polysemy, etc. Thus, the difficulty of the labeling task cannot be easily measured but is manifested implicitly in the labeling task's ensuing labels.
Each labeler may have a different proficiency that is not a directly observable and/or measurable quantity. The labeler proficiency may vary depending on the task to be performed as a labeler may have an affinity with certain types of tasks. In the previous example, the labeler proficiency may vary depending on the labeler's experience, the difficulty of the translation or paraphrasing task, the competence of the labeler in the specific field of the phrase or paragraph it relates to, etc. The labeler proficiency may be inferred for each labeler.
The label provided by the labeler may not represent a correct label or the best label to the labeling task. In the context of the present invention, trusted evaluators are made available for vetting a subset of the labels. The trusted evaluator is considered as an infallible source for judging and deciding on the correctness of labels. For instance, the trusted evaluator is able to provide a trusted evaluation value of correctness of labels. For the purpose of the example, the trusted evaluator's trusted evaluation value is not to be doubted. Said differently, the trusted evaluation value is explicitly considered correct. The trusted evaluator may be a human expert or group of experts, or an expert system or group of expert systems (e.g., AI-based). In the previous example, the trusted evaluator may be a translation expert.
The trusted evaluation value of correctness may be added to the dataset once it is provided by the trusted evaluators.
The trusted evaluation value of correctness of labels provided by the trusted evaluator can be represented by several data types. Primitive data types such as Boolean and numeric values are examples of data types of the trusted evaluation value. The trusted evaluation value can also be represented by non-primitive data types such as symbols.
The difficulty of the labeling task and the labeler proficiency may explain, at least partially, the correctness of the labels of the labeling task thereat. Besides, randomness may be partially responsible for the correctness of the labeling task's ensuing labels.
Generally, one could explain the context of the described embodiments as combining expert vetting with crowd-sourced labeling for producing a high quality dataset taking into account the proficiency of the labeler and the difficulty of the labeling task.
Reference is now made to the drawings in which
A person skilled in the art will already recognize that a plurality of steps of the method 200 (e.g., 208, 211, 210, etc.) may be performed in different order without affecting the teachings of the present invention.
In the case of the present invention, inference of a value of interest from a dataset amounts to deducing an estimated value that approximates the value of interest using a probabilistic data analysis of the dataset.
In the previous example, the labeling task may relate to a translation of a text where the trusted evaluator is a translation expert, the labelers are translators (each having a translator identifier) and the labels are translations of the text. In this example, the labelling task is not composed with a plurality of annotation requests. Table 1 presents an exemplary dataset to be discussed with regards to method 200 of
The method 200 begins once the translators have translated the text in the dataset (i.e., when the labelers have provided the label). The method 200 may begin with receiving 209 a trusted evaluation value of correctness of translations of a subset of the data items (e.g., text). In the example of Table 1, the received trusted evaluation value of correctness of translations is provided by the translation expert. A distribution for the degree of randomness in the correctness of the labels is inferred 208 based on the trusted evaluation value of correctness of labels using a Bayesian machine learning model. The following discussion is meant to illustrate how this is achieved.
The labeler w from the labeler crowd W fulfils labelling task T_i by providing their j-th solution y_{iwj} to the task instance x_i. For instance, y_{iwj} is the j-th French translation provided by the labeler w of the English sentence x_i as it appears in the i-th translation task T_i. Optionally, the vetting provider w′ from the vetting provider crowd W′ fulfils labelling task T_{iwj}′ by providing a true/false decision y_{iwjw}′ for whether or not the given label y_{iwj} is a correct solution to the task instance x_i of task T_i. The *observed* data that serves as an input for the model comprises:
The task of the AI model is to predict the expectation value E {iwj} and the uncertainty H_{iwj} of the *unobserved* trusted true/false decisions c_{iwj} for whether or not the given label y_{iwj} is a correct solution to the task instance x_i of task T_i. The AI model acts as a classification model, a clustering model, or a mix of both, depending on which trusted correctness labels c_{iwj} are observed and which are not.
When the uncertainty $H_{iwj}$ satisfies the active learning criterion (e.g., is among the top-k highest uncertainties), a trusted expert fulfils the labelling task G_{iwj}′ by providing the ground-truth true/false decision c_{iwj} for whether or not the given label y_{iwj} is a correct solution to the task instance x_i of task T_i. The new trusted decisions c_{iwj} are admitted to the set of *observed* data and the prediction calculations are repeated.
As an example, here is provided a simple implementation of the A model based on Item Response Theory.
Let the latent parameters of an AI model L be:
In a simple Bayesian invocation of the L model, the trusted true/false decisions c_{iwj} can be generated according to a Bernoulli distribution,
c_{iwj}alpha_w,mu alpha,beta_i˜Bernoulli(logit{circumflex over ( )}{−1}(alpha_w+mu_alpha−beta_i)).
Similarly, the trusted correctnesses c_{iwjw}′ of the provided correctness decisions y_{iwjw′}′ can also be generated according to a Bernoulli distribution,
c_{iwjw′}′ alpha_{w′}′,mu_alpha′,beta_{iwj}′ Bernoulli(logit{circumflex over ( )}{−1}(alpha_{w′}′+mu_alpha′−beta_{iwj}′)).
Furthermore, alpha_w, mu_alpha, beta_i, alpha_{w}′, mu_alpha′, and beta_{iwj}′ can be generated according to suitable prior distributions that can have additional latent parameters.
Full Bayesian posterior predictive inference for the L model can be implemented by modelling the joint generation of both labeled and unlabeled data. Standard Bayesian inference algorithms (e.g., Markov Chain Monte-Carlo) can be used to estimate both, the posterior distribution of the latent model parameters (alpha_w, mu_alpha, beta_i, alpha_{w′}′, mu_alpha′, and beta_{iwj}′) and the posterior distribution over the unobserved true/false decisions c_{iwj}. Thus, both the observed and the unobserved data contribute to the estimation of the unobserved decisions c_{iwj}.
For the sake of example, consider that labels provided by labelers are not random. An estimated proficiency value is inferred 210 for each translator identifier present in the dataset. Based on the expert's evaluation of Table 1, one can note that the labelers associated with the labeler identifiers 1, 3, and 2 are proficient in translating color, nature, and human-related texts, respectively. One may also note that the proficiency of the labelers associated with the labeler identifiers 1 and 3 regarding nature and human related-texts, respectively, is not yet known. Indeed, the labelers did not yet produce any related translation. The method 200 infers 211 an estimated difficulty value for each phrase of the dataset. In order to simplify the present example, the estimated difficulty value is set, hypothetically, to the same value for every data item. The method 200 also infers 212 a predicted uncertainty value of correctness of the translation. At the first iteration, the labeler identifier 1 provided two human-related translations of which only one was found to be true. The predicted uncertainty associated with labeling task ID 13, which is a human-related text to be translated by labeler identifier 1, is then 1/2. Similarly, at the first iteration, the labeler identifier 2 provided three color-related translations of which two were found to be true. The predicted uncertainty associated with labeling task ID 5, which is a color-related text to be translated by labeler identifier 2, is then 1/3. The labeler identifier 3 did not translate a human-related text at the first iteration and is asked to produce a human-related text translation for the task ID 15. The method 200, may decide to associate a predicted uncertainty value of correctness of the label of 1 to the task ID 15 (e.g., to increase the chances for the labeling task ID15 to be expertly vetted). The group of paragraph having associated therewith the highest predicted uncertainty values may be obtained (e.g., 10 worst predicted uncertainty value). A trusted evaluation value of correctness of one or more of these paragraphs is obtained 213. The method 200 is then repeated 214 until the highest predicted uncertainty value in the dataset is below a threshold value. In this example, each task ID is associated to a data item and vice versa. Consequently, it is implied that the method 200 infers an uncertainty value for each label of each labeler.
In the previous example, only one task was to be performed and the data items have been grouped into three groups (i.e., nature, human, and color). For each labeler, for each data item of a given group, a predicted uncertainty have been computed. The efficiency of labeler ID 3 may be considered to be 3/5 as he produced five labels and three of whom were correct.
A person skilled in the art will already recognize that the estimated proficiency value, the estimated difficulty value and the predicted uncertainty value of correctness represent probability distributions for the labeler proficiency, the labeling task difficulty, and the uncertainty of correctness of the label.
In addition or alternatively, the embodiment may also allow for a fraction of the labels with the highest predicted uncertainty values to be replaced with a random set of labels of the dataset before being vetted by the trusted evaluators. The random set of labels may contain labels previously vetted or non-vetted by the trusted evaluators.
The threshold value on highest predicted uncertainty value can be a preset value (e.g., 0.15 representing a probability between 0 and 1). It can also refer to an average predicted uncertainty value or a variation of the average predicted uncertainty value between different iterations of the repeated steps of the method 200. A person skilled in the art will recognize that the ways of setting the threshold value do not affect the teachings of the present invention.
The method 200 can, alternatively or in addition, admit different exit conditions. Examples of exit conditions include conditions related to resource consumption associated to the production of the dataset. The resources may be financial resources, time resources or of any other type. In the case of human experts providing the trusted evaluation values, the cost associated with each labeling task is an example of a financial resource. The cost can be direct such as the hourly fee of the expert or indirect such as the energy cost of the production of a dataset. The time required to a human expert to vet a subset of the dataset is an example of a time resource that is directly related to the production of the dataset. In the case where the expert is an expert system, a typical example of financial resources can be the indirect costs of acquisition and maintenance of the system.
The method 200 can be used in cases where the labeling task varies for different data items. For example, a translation can be required for a first subset of the dataset and a paraphrasing task can be required for a second subset of the dataset. The method 200 can also be used in cases where a plurality of labeling tasks are required for each data item. An example would be translating and paraphrasing a first subset of the dataset, translating a second subset and paraphrasing a third subset.
A person skilled in the art will already recognize that there are many labeling tasks that can be supported by the present invention. Examples of labeling tasks include: translating a text, answering a question, grading or giving a qualitative evaluation, transcription, content moderation, data categorization and/or classification, search relevance where the labeler is asked to return relevant results on the first search, etc. Optical character recognition is an example of a transcription task where the labeler is given an image containing some form of text and is asked to replicate the text contained in the image in form of a sequence of characters. An example of classification task is a task where the labeler is asked to specify the class to which a data point belongs.
In another embodiment, vetting providers are introduced to perform an evaluation of the correctness of the labels provided by the labelers. The vetting providers are labelers performing the same task as the trusted evaluators. The vetting providers are introduced to overcome limitations created by the unavailability of experts, as vetting providers are amply available. In such an example, one could explain the context as combining expert vetting with crowd-sourced vetting and crowd-sourced labeling for improving quality of a dataset. The dataset contains raw data items for which a labeling task is to be completed (e.g., a sentence for which a translation is to be completed). Each labelling task may regroup one or more annotation requests. Therefore, each data item may have associated therewith one or more annotation requests. The dataset also comprises for each data item and each annotation request one or more labels representing answers to the annotation request. The dataset also comprises a unique labeler identifier for each labeler.
A labeler is the entity producing the labels of one or more data items (e.g., a person that provides a translation). The labeler can be a person or group of persons or a system or group of systems. As explained above, for each labeler, a corresponding labeler identifier is included in the dataset. A labeler identifier may not only provide the exemplary advantages of facilitating data treatment, retrieving, and storing but also help in reducing potential bias in the expert's vetting. The dataset also comprises vetting provider identifier, also referred to as provider identifier, permitting to retrieve the entity making the vetting associated with a label.
The label provided by the labeler may not represent a correct label or the best label to the labeling task. In the context of the present invention, trusted evaluators are made available for vetting a subset of the labels. The trusted evaluator is considered as an infallible source for judging and deciding on the correctness of labels. For instance, the trusted evaluator is able to provide a trusted evaluation value of correctness of labels. For the purpose of the example, the trusted evaluator's trusted evaluation value is not to be doubted. Said differently, the trusted evaluation value is explicitly considered correct. The trusted evaluator may be a human expert or group of experts, or an expert system or group of expert systems (e.g., AI-based).
In the previous example, the trusted evaluator may be a translation expert. In addition to the trusted evaluators, the vetting crowd produces vetted evaluation value of correctness of the labels provided by the labelers. The vetted evaluation values of correctness are not as trusted as the trusted evaluation as the vetted evaluation values of correctness may not represent a correct vetting or the best vetting to the labeling task. In the context of the present invention, the vetted evaluation values of correctness are considered to be fallible evaluation of correctness of labels. Said differently, the vetted evaluation values of correctness may be incorrect. Contrarily to the trusted evaluators, the crowd-sourced vettings may be biased. The vetting provider may be a human or group of humans, or a system or group of systems. In the example of a translation task, the vetting provider may be a translator or a group of translators.
The vetted evaluation value of correctness and the trusted evaluation value of correctness may be added to the dataset once they are provided by the vetting providers and the trusted evaluators.
The vetting providers may comprise labelers with lower estimated proficiency value from the labeling crowd. The benefit of using labelers with lower estimated proficiency value is to minimize initial uncertainty value for correctness of the labels by preventing unqualified labelers from labeling the data items. Another way of forming the vetting providers may be by getting labelers to vet labels produced by their labeling group. In this case, a statistical association between initial labeling tasks and the vetting tasks can affect the quality of the vetting process. The correlation between the initial labeling tasks and the vetting tasks is taken into account in the present invention. A person skilled in the art will already recognize that the different ways of forming the vetting providers do not affect the teachings of the present invention.
During vetting, a vetting provider is asked to produce a vetted evaluation value of correctness for each label that needs to be vetted. The difficulty of vetting is potentially different for each label and is not a directly observable quantity. An example of a typical vetting would be evaluating a translation of a phrase or a paragraph previously translated. A person skilled in the art will already recognize that there are many potential correct translations and depending on the phrase or the paragraph, the difficulty of vetting a translation can be different. In this example, the difficulty can occur because of the language structure, cultural references, polysemy, etc. Thus, the difficulty of vetting cannot be easily measured but is manifested implicitly in the agreement of the vetted evaluation value of correctness with the trusted evaluation value of correctness.
The provider identifier proficiency may vary depending on the data item on which the labeling task is to be performed and on the label produced by the labeler. Thus, the provider identifier proficiency is not necessarily a directly observable quantity but it is manifested implicitly in the agreement of the vetted evaluation value of correctness with the trusted evaluation value of correctness. In the example of a paragraph translation task, the provider identifier proficiency may vary depending on the provider identifier's experience, the difficulty of the translation task, the competence of the vetting provider in the specific field of the paragraph it relates to, etc. The vetting proficiency may be inferred for each vetting provider.
Another source of variation in the provider identifier proficiency is the proficiency of the labeler. For example, if the first labeler produces a label of high quality, a vetting provider may be overwhelmed or outmatched and may produce a wrong or a random vet.
The trusted evaluation value of correctness of labels and the vetted evaluation value of correctness can be represented by several data types. Primitive data types such as Boolean and numeric values are examples of the data type of the trusted evaluation value and the vetted evaluation value of correctness. The trusted evaluation value and the vetted evaluation value of correctness can also be represented by non-primitive data types such as symbols.
The difficulty of the labeling task and vetting for each of the data items, the labeler proficiency and the vetting provider proficiency may explain, at least partially, the correctness of the vetting results. Besides, randomness may be partially responsible for the correctness of the vetting results.
In a preferred set of embodiments, the vetting providers primarily vet the most uncertain labels.
Reference is now made to the drawings in which
A person skilled in the art will already recognize that a plurality of steps of the method 300 (e.g., 302, 303, 304, etc.) may be performed in different order without affecting the teachings of the present invention.
In cases where vetting providers are formed by getting labelers to vet labels produced by their labeling group. The correlation between the initial labeling tasks and the vetting tasks is taken into account during step 304 of the method 300 where a distribution for the degree of randomness in the correctness of the vettings is inferred.
The distribution for the degree of randomness in the correctness of the labels is inferred based on the vetted evaluation value of correctness of labels using a Bayesian machine learning model. Likewise, a distribution for the degree of randomness in the correctness of the vetting results is inferred based on the trusted evaluation value of correctness of vettings using a Bayesian machine learning model. A person skilled in the art will already recognize that the estimated proficiency values and the estimated difficulty values represent probability distributions.
In addition or alternatively, the embodiment may also allow for a fraction of the labels with the highest predicted uncertainty values to be replaced with a random set of labels of the dataset before being vetted by the vetting providers. The random set of labels may contain labels previously vetted or non-vetted by the vetting providers. Likewise, a fraction of the vettings with the highest predicted uncertainty values is replaced with a random set of vettings of the dataset before being vetted by the trusted evaluators. The random set may contain vettings previously vetted or non-vetted by the trusted evaluators.
The threshold value on highest predicted uncertainty value can refer to a preset value (e.g., 0.15). It can also refer to an average uncertainty value or a variation of the average uncertainty value between different iterations of the repeated steps of the method 300. A person skilled in the art will recognize that the ways of setting the threshold value do not affect the teachings of the present invention.
The method 300 can, in addition or alternatively, admit different exit conditions. Examples of exit conditions include conditions related to resource consumption associated to the production of the dataset. The resources may be financial resources, time resources or other types of resources. In the case of human experts providing the trusted evaluation values, the cost associated with each labeling task is an example of a financial resource. The cost can be direct such as the hourly fee of the expert or indirect such as the energy cost of the production of a dataset. The time required to a human expert to vet a subset of the dataset is an example of a time resource that is directly related to the production of the dataset. In the case where the expert is an expert system, a typical example of financial resources can be the indirect costs of acquisition and maintenance of the system.
The method 300 can be used in cases where the labeling task vary for different data items. For example, a translation can be required for a first subset of the dataset and a paraphrasing task can be required for a second subset of the dataset. The method 300 can also be used in cases where a plurality of labeling tasks are required for each data item. An example would be translating and paraphrasing a first subset of the dataset, translating a second subset and paraphrasing a third subset.
A person skilled in the art will already recognize that there are many labeling tasks that can be performed by the present invention. Examples of labeling tasks include: translating a text, answering a question, providing a solution to a problem, grading or giving a qualitative evaluation, transcription, content moderation, data categorization, search relevance where the labeler is asked to return relevant results on the first search etc.
The labeling system 2100 may comprise a storage system 2300 for storing and accessing long-term or non-transitory data and may further log data while the labeling system is being used.
In the depicted example of
Likewise, even though explicit mentions of the memory module 2160 and/or the processor module 2120 are not made throughout the description of the present examples, persons skilled in the art will readily recognize that such modules are used in conjunction with other modules of the network node 2170 to perform routine as well as innovative steps related to the present invention.
The processor module 2120 may represent a single processor with one or more processor cores or an array of processors, each comprising one or more processor cores. The memory module 2160 may comprise various types of memory (different standardized or kinds of Random Access Memory (RAM) modules, memory cards, Read-Only Memory (ROM) modules, programmable ROM, etc.). The network interface module 2170 represents at least one physical interface that can be used to communicate with other network nodes. The network interface module 2170 may be made visible to the other modules of the labeling system 2100 through one or more logical interfaces. The actual stacks of protocols used by the physical network interface(s) and/or logical network interface(s) 2210 of the network interface module 2170 do not affect the teachings of the present invention. The variants of processor module 2120, memory module 2160 and network interface module 2170 usable in the context of the present invention will be readily apparent to persons skilled in the art.
A bus 2180 is depicted as an example of means for exchanging data between the different modules of the labeling system 2100. The present invention is not affected by the way the different modules exchange information. For instance, the memory module 2160 and the processor module 2120 could be connected by a parallel bus, but could also be connected by a serial connection or involve an intermediate module (not shown) without affecting the teachings of the present invention.
The labeling system 2100 allows a labeler or group of labelers to perform a labeling task on a dataset stored in the local 2300B, 2300C or remote storage system 2300A. In the case of a dataset stored in a remote data storage 2300A, the network interface module 2170 provides the labeler and the vetting provider with access to the dataset through a network 2200. The ensuing labels and vettings may be added to the dataset and may be stored in a memory module 2160 as they are produced. A trusted evaluation value of correctness of the label and a vetted evaluation value of the correctness of the vetting are received (e.g., 213 and 309) for fractions of the dataset. The trusted evaluation is provided by trusted evaluators located in trusted evaluator's workstation that can be remote trusted evaluator workstation 2400 from the labeling system 2100 or at the same location (not shown). Likewise, the vetted evaluation is provided by vetting provider identifiers located in a vetting provider's workstation (not shown). An estimated difficulty value and an estimated proficiency value are inferred (e.g., 210, 211, 303, 304, 307 and 308), for each data item, using Bayesian machine learning algorithms by the processor module 2120. The estimated values may refer to estimated values related to the labeling task or the vetting. Then, the processor module 2120 infers (e.g., 305, 312 and 212) a predicted uncertainty value of correctness of each data item. The predicted uncertainty value of correctness can refer to predicted uncertainty value of correctness of the labeling task or the vetting. The labels presenting the highest uncertainty values are then communicated to the trusted evaluator, optionally, through a network 2200 and a trusted evaluation of theses labels is received (e.g., 213 and 309). Additionally, a vetted evaluation value of correctness is received (e.g., 306) for the vettings presenting the highest uncertainty values. The depicted steps are repeated (e.g., 311 and 214) until the highest uncertainty value is below a threshold value. The highest predicted uncertainty value might be related to the predicted uncertainty values of the translation or it can refer to the predicted uncertainty values of vetting.
Various network links may be implicitly or explicitly used in the context of the present invention. While a link may be depicted as a wireless link, it could also be embodied as a wired link using a coaxial cable, an optical fiber, a category 5 cable, and the like. A wired or wireless access point (not shown) may be present on the link between. Likewise, any number of routers (not shown) may be present and part of the link, which may further pass through the Internet.
The present invention is not affected by the way the different modules exchange information between them. For instance, the memory module and the processor module could be connected by a parallel bus, but could also be connected by a serial connection or involve an intermediate module (not shown) without affecting the teachings of the present invention.
A method is generally conceived to be a self-consistent sequence of steps leading to a desired result. These steps require physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic/electromagnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It is convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, parameters, items, elements, objects, symbols, characters, terms, numbers, or the like. It should be noted, however, that all of these terms and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. The description of the present invention has been presented for purposes of illustration but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments were chosen to explain the principles of the invention and its practical applications and to enable others of ordinary skill in the art to understand the invention in order to implement various embodiments with various modifications as might be suited to other contemplated uses.