Problemadvanced
Truth discovery
Also called data fusion, resolving conflicts between sources.
Find the true value of each object from sources that conflict, and estimate how reliable each source is at the same time, without labels. A vote is the baseline.
- Time
- O(k n) worst
- Where
- k = the number of iterations; n = the number of claims
- Model
- Word RAM
Truth discovery takes claims from many sources about the same objects, such as the authors of a book listed by many shops, and finds the true value of each object when the sources disagree and no labels are known. The main idea is a loop: a source that often gives the values that look true is reliable, and a value that reliable sources give looks true. So the problem asks for two unknowns at once, the truths and the reliability of each source. The page TruthFinder gives one algorithm in full, with its equations and code; this page states the problem, the baseline vote, the limits of what any method can know without labels, and the other families of methods. Truth discovery comes after entity resolution: the claims must first be grouped by the object they describe.
In plain words
Ten web sites list the author of a book, and they give three different names. You could take the name that most sites give. But some sites are careful and others copy errors from each other, so counting is not enough. You want to give more weight to careful sites. You do not know which sites are careful, but you can guess: a site that agrees with the likely answers on many books is probably careful. Truth discovery methods turn this guess into a computation that finds the answers and the weights of the sites together.
Definition
Input. A set of sources, a set of objects, and a set of claims : source says that object has value . Each source claims at most one value for an object, and covers only some objects. is the number of claims.
Output. For each object a value , and for each source a reliability , a number that says how often is right.
Goal. Make equal to the true value for as many objects as possible. The truth is not in the input, so this goal can be measured only on labelled objects. Each method fixes a model or a principle that turns the goal into something it can compute.
Variants
- Single truth or several. Most methods assume one true value for each object. Lists such as the authors of a book can also be read as several true values.
- Categorical or numeric. For numbers, the output is a value that need not be claimed, and the loss is a distance.
- Similar values. Values such as "J. Smith" and "John Smith" can support each other, as in TruthFinder.
- Copying sources. Sources that copy from each other are not independent evidence, and some methods detect the copying.
- Long tail. Many sources make very few claims, so their reliability cannot be estimated well.
- Streams. Claims arrive over time, and the truths and reliabilities must be updated.
- Crowdsourcing. The sources are workers who label items, and the problem is to aggregate the labels.
Examples
Vote and weighted vote. Three sources and three books, with values x, y:
| source | b1 | b2 | b3 |
|---|---|---|---|
| A | x | x | x |
| B | y | y | |
| C | x | x |
The vote picks x for b2 and b3 and has a tie for b1. Source A agrees with the vote on b2 and b3, and B disagrees on b2, so a method that weights sources picks x for b1. TruthFinder does this, as its page shows step by step.
A larger case. On data generated as on the TruthFinder page (200 objects, 4 good sources and 20 poor ones that often share a wrong value, Python seed 42), the vote is right on 63% of the objects and TruthFinder on 73%. This is a measurement on that data.
Known algorithms
- Vote. Take the value that most sources claim. It needs one pass, time with a hash table, and treats all sources as equal.
- Iterative methods. TruthFinder computes the trust of each source from the confidence of its facts and the confidence from the trust, in a loop, with support between similar facts. Its loop of two scores that feed each other is like that of HITS for hubs and authorities. All are heuristics; their loop is a fixed-point iteration without a general proof of convergence.
- Probabilistic models. The latent class model of Dawid and Skene gives each source an error rate and fits the truths and the rates by maximum likelihood with expectation maximization. Dong, Berti-Equille and Srivastava add the probability that one source copies another. EM finds only a local maximum.
- Optimization methods. Write the problem as the minimization of a sum over sources of a weight times the loss of the source against the truths, with a constraint on the weights, and minimize it by turns over the truths and the weights.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| TruthFinder | O(k n d) worst · average | O(n) extra | deterministicnot exactnot externalnot in placeofflineiterative | 1 language |
Bounds
Without an assumption the truths cannot be identified. Theorem. Take binary values , and a model in which source is right with probability on each object, independently. The model with truths and accuracies gives the same distribution of claims as the model with truths and accuracies . Proof. In the first model, claims with probability . In the second model, is right with probability , and the right value is . So every claim has the same probability in both models, and they are independent in both. So no method can tell the two apart from the claims alone. Every method assumes something more, usually that most sources, or most of the weight, are better than random. TruthFinder, for example, starts with the trust 0.9 for every source.
Cost. Each claim must be read, so every method takes time. The iterative methods take for each iteration when the similarity between values is not used, and the number of iterations is measured, not bounded.
Reductions
Known reliabilities give a weighted vote. Theorem. Suppose each object has possible values, source is right with probability , it picks each wrong value with probability , the sources are independent, and the prior on the true value is uniform. Then the most likely true value of is the one with the largest sum of the weights over the sources that claim it. Proof. The probability of the claims on given the truth is . Divide by the value , which does not depend on , and take logarithms. This is the same sum as in a naive Bayes classifier, and by Bayes' theorem it gives the posterior when the prior is not uniform. So, once reliabilities are fixed, the truths are a weighted vote. The methods differ in how they estimate the reliabilities.
To EM on a latent class model. With the truths as hidden variables, the probabilistic form is a mixture model. Its E-step is the weighted vote above, and its M-step sets each to the expected fraction of claims of that are right.
From entity resolution. The input needs the claims grouped by object, which is the output of entity resolution on the records of the sources.
Applications
- Web data integration. Book authors, flight times, stock data and other values that many web sites report differently.
- Knowledge bases. Choose the facts to keep when many extractors and sources give different values for the same property.
- Crowdsourcing. Combine the labels of many workers into one label for each item, with an error rate for each worker.
- Sensor data. Combine readings of the same quantity from sensors of different quality.
References
- Xiaoxin Yin, Jiawei Han and Philip S. Yu, Truth discovery with multiple conflicting information providers on the web, Proceedings of the 13th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2007, pages 1048 to 1052, the statement of the problem (websites, facts, objects and the trustworthiness of websites), Section 3 (TruthFinder), Section 4 (the book author data)
- Yaliang Li and others, A survey on truth discovery, ACM SIGKDD Explorations Newsletter 17(2), 2015, the general principle (reliable sources give true values more often), the families of methods, and the variants for numeric data, copying, long-tail sources and streams
- Xin Luna Dong, Laure Berti-Equille and Divesh Srivastava, Integrating conflicting data: the role of source dependence, PVLDB 2(1), 2009, pages 550 to 561, the accuracy model of sources and the detection of copying between sources
- A. Philip Dawid and Allan M. Skene, Maximum likelihood estimation of observer error-rates using the EM algorithm, Journal of the Royal Statistical Society, Series C (Applied Statistics) 28(1), 1979, pages 20 to 28, the latent class model of observers with error rates, fitted with EM
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag VPHGA7 Edit this page History Report an error Markdown