SlideShare une entreprise Scribd logo
1  sur  46
Télécharger pour lire hors ligne
Utility Theory, Minimum Effort,
and Predictive Coding
Fabrizio Sebastiani
Istituto di Scienza e Tecnologie dell’Informazione
Consiglio Nazionale delle Ricerche
56124 Pisa, Italy
DESI V – Roma, IT, 14 June 2013
What I’ll be talking about
A talk about text classification (“predictive coding”), about humans in the
loop, and about how to best support their work
I will be looking at scenarios in which
1 text classification technology is used for identifying documents belonging to a
given class / relevant to a given query ...
2 ... but the level of accuracy that can be obtained from the classifier is not
considered sufficient ...
3 ... with the consequence that one or more human assessors are asked to
inspect (and correct where appropriate) a portion of the classification
decisions, with the goal of increasing overall accuracy.
How can we support / optimize the work of the human assessors?
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 2 / 36
What I’ll be talking about
A talk about text classification (“predictive coding”), about humans in the
loop, and about how to best support their work
I will be looking at scenarios in which
1 text classification technology is used for identifying documents belonging to a
given class / relevant to a given query ...
2 ... but the level of accuracy that can be obtained from the classifier is not
considered sufficient ...
3 ... with the consequence that one or more human assessors are asked to
inspect (and correct where appropriate) a portion of the classification
decisions, with the goal of increasing overall accuracy.
How can we support / optimize the work of the human assessors?
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 2 / 36
What I’ll be talking about
A talk about text classification (“predictive coding”), about humans in the
loop, and about how to best support their work
I will be looking at scenarios in which
1 text classification technology is used for identifying documents belonging to a
given class / relevant to a given query ...
2 ... but the level of accuracy that can be obtained from the classifier is not
considered sufficient ...
3 ... with the consequence that one or more human assessors are asked to
inspect (and correct where appropriate) a portion of the classification
decisions, with the goal of increasing overall accuracy.
How can we support / optimize the work of the human assessors?
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 2 / 36
A worked out example
predicted
Y N
true
Y TP = 4 FP = 3
N FN = 4 TN = 9
F1 =
2TP
2TP + FP + FN
= 0.53
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 3 / 36
A worked out example (cont’d)
predicted
Y N
true
Y TP = 4 FP = 3
N FN = 4 TN = 9
F1 =
2TP
2TP + FP + FN
= 0.53
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 4 / 36
A worked out example (cont’d)
predicted
Y N
true
Y TP = 5 FP = 3
N FN = 3 TN = 9
F1 =
2TP
2TP + FP + FN
= 0.63
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 5 / 36
A worked out example (cont’d)
predicted
Y N
true
Y TP = 5 FP = 2
N FN = 3 TN = 10
F1 =
2TP
2TP + FP + FN
= 0.67
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 6 / 36
A worked out example (cont’d)
predicted
Y N
true
Y TP = 6 FP = 2
N FN = 2 TN = 10
F1 =
2TP
2TP + FP + FN
= 0.75
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 7 / 36
A worked out example (cont’d)
predicted
Y N
true
Y TP = 6 FP = 1
N FN = 2 TN = 11
F1 =
2TP
2TP + FP + FN
= 0.80
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 8 / 36
What I’ll be talking about (cont’d)
We need methods that
given a desired level of accuracy, minimize the assessors’ effort necessary to
achieve it; alternatively,
given an available amount of human assessors’ effort, maximize the accuracy
that can be obtained through it
This can be achieved by ranking the automatically classified documents in
such a way that, by starting the inspection from the top of the ranking, the
cost-effectiveness of the annotators’ work is maximized
We call the task of generating such a ranking Semi-Automatic Text
Classification (SATC)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 9 / 36
What I’ll be talking about (cont’d)
We need methods that
given a desired level of accuracy, minimize the assessors’ effort necessary to
achieve it; alternatively,
given an available amount of human assessors’ effort, maximize the accuracy
that can be obtained through it
This can be achieved by ranking the automatically classified documents in
such a way that, by starting the inspection from the top of the ranking, the
cost-effectiveness of the annotators’ work is maximized
We call the task of generating such a ranking Semi-Automatic Text
Classification (SATC)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 9 / 36
What I’ll be talking about (cont’d)
Previous work has addressed SATC via techniques developed for “active
learning”
In both cases, the automatically classified documents are ranked with the
goal of having the human annotator start inspecting/correcting from the top;
however
in active learning the goal is providing new training examples
in SATC the goal is increasing the overall accuracy of the classified set
We claim that a ranking generated “à la active learning” is suboptimal for
SATC1
1G Berardi, A Esuli, F Sebastiani. A Utility-Theoretic Ranking Method for Semi-Automated Text
Classification. Proceedings of the 35th Annual International ACM SIGIR Conference on Research and
Development in Information Retrieval (SIGIR 2012), Portland, US, 2012.
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 10 / 36
What I’ll be talking about (cont’d)
Previous work has addressed SATC via techniques developed for “active
learning”
In both cases, the automatically classified documents are ranked with the
goal of having the human annotator start inspecting/correcting from the top;
however
in active learning the goal is providing new training examples
in SATC the goal is increasing the overall accuracy of the classified set
We claim that a ranking generated “à la active learning” is suboptimal for
SATC1
1G Berardi, A Esuli, F Sebastiani. A Utility-Theoretic Ranking Method for Semi-Automated Text
Classification. Proceedings of the 35th Annual International ACM SIGIR Conference on Research and
Development in Information Retrieval (SIGIR 2012), Portland, US, 2012.
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 10 / 36
Outline of this talk
1 We discuss how to measure “error reduction” (i.e., increase in accuracy)
2 We discuss a method for maximizing the expected error reduction for a fixed
amount of annotation effort
3 We show some promising experimental results
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 11 / 36
Error Reduction, and How to Measure it
Outline
1 Error Reduction, and How to Measure it
2 Error Reduction, and How to Maximize it
3 Some Experimental Results
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 12 / 36
Error Reduction, and How to Measure it
Error Reduction, and how to measure it
Assume we have
1 class (or “query”) c;
2 classifier h for c;
3 set of unlabeled documents D that we have automatically classified by means
of h, so that every document in D is associated
with a binary decision (Y or N)
with a confidence score (a positive real number)
4 measure of accuracy A, ranging on [0,1]
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 13 / 36
Error Reduction, and How to Measure it
Error Reduction, and how to Measure it
(cont’d)
We will assume that A is
F1 =
2 · Precision · Recall
Precision + Recall
=
2 · TP
(2 · TP) + FP + FN
but any “set-based” measure of accuracy (i.e., based on a contingency table)
may be used
An amount of error, measured as E = (1 − A), is present in the automatically
classified set D
Human annotators inspect-and-correct a portion of D with the goal of
reducing the error present in D
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 14 / 36
Error Reduction, and How to Measure it
Error Reduction, and how to Measure it
(cont’d)
We will assume that A is
F1 =
2 · Precision · Recall
Precision + Recall
=
2 · TP
(2 · TP) + FP + FN
but any “set-based” measure of accuracy (i.e., based on a contingency table)
may be used
An amount of error, measured as E = (1 − A), is present in the automatically
classified set D
Human annotators inspect-and-correct a portion of D with the goal of
reducing the error present in D
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 14 / 36
Error Reduction, and How to Measure it
Error Reduction, and how to Measure it
(cont’d)
We define error at rank n (noted as E(n)) as the error still present in D after
the annotator has inspected the documents at the first n rank positions
E(0) is the initial error generated by the automated classifier
E(|D|) is 0
We define error reduction at rank n (noted as ER(n)) to be
ER(n) =
E(0) − E(n)
E(0)
the error reduction obtained by the annotator who inspects the docs at the
first n rank positions
ER(n) ∈ [0, 1]
ER(n) = 0 indicates no reduction
ER(n) = 1 indicates total elimination of error
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 15 / 36
Error Reduction, and How to Measure it
Error Reduction, and how to Measure it
(cont’d)
We define error at rank n (noted as E(n)) as the error still present in D after
the annotator has inspected the documents at the first n rank positions
E(0) is the initial error generated by the automated classifier
E(|D|) is 0
We define error reduction at rank n (noted as ER(n)) to be
ER(n) =
E(0) − E(n)
E(0)
the error reduction obtained by the annotator who inspects the docs at the
first n rank positions
ER(n) ∈ [0, 1]
ER(n) = 0 indicates no reduction
ER(n) = 1 indicates total elimination of error
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 15 / 36
Error Reduction, and How to Measure it
Error Reduction, and how to Measure it
(cont’d)
0.0 0.2 0.4 0.6 0.8 1.0
Inspection Length
0.0
0.2
0.4
0.6
0.8
1.0
ErrorReduction(ER)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 16 / 36
Error Reduction, and How to Maximize it
Outline
1 Error Reduction, and How to Measure it
2 Error Reduction, and How to Maximize it
3 Some Experimental Results
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 17 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
Problem
How should we rank the documents in D so as to maximize the expected error
reduction?
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 18 / 36
Error Reduction, and How to Maximize it
A worked out example
predicted
Y N
true
Y TP = 4 FP = 3
N FN = 4 TN = 9
F1 =
2TP
2TP + FP + FN
= 0.53
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 19 / 36
Error Reduction, and How to Maximize it
A worked out example (cont’d)
predicted
Y N
true
Y TP = 4 FP = 3
N FN = 4 TN = 9
F1 =
2TP
2TP + FP + FN
= 0.53
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 20 / 36
Error Reduction, and How to Maximize it
A worked out example (cont’d)
predicted
Y N
true
Y TP = 5 FP = 3
N FN = 3 TN = 9
F1 =
2TP
2TP + FP + FN
= 0.63
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 21 / 36
Error Reduction, and How to Maximize it
A worked out example (cont’d)
predicted
Y N
true
Y TP = 5 FP = 2
N FN = 3 TN = 10
F1 =
2TP
2TP + FP + FN
= 0.67
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 22 / 36
Error Reduction, and How to Maximize it
A worked out example (cont’d)
predicted
Y N
true
Y TP = 6 FP = 2
N FN = 2 TN = 10
F1 =
2TP
2TP + FP + FN
= 0.75
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 23 / 36
Error Reduction, and How to Maximize it
A worked out example (cont’d)
predicted
Y N
true
Y TP = 6 FP = 1
N FN = 2 TN = 11
F1 =
2TP
2TP + FP + FN
= 0.80
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 24 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
Problem: how should we rank the documents in D so as to maximize the
expected error reduction?
Intuition 1: Documents that have a higher probability of being misclassified
should be ranked higher
Intuition 2: Documents that, if corrected, bring about a higher gain (i.e., a
bigger impact on A) should be ranked higher
Here, consider that a false positive and a false negative may have different
impacts on A (e.g., when A ≡ Fβ, for any value of β)
Bottom line
Documents that have a higher utility (= probability × gain) should be ranked
higher
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 25 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
Problem: how should we rank the documents in D so as to maximize the
expected error reduction?
Intuition 1: Documents that have a higher probability of being misclassified
should be ranked higher
Intuition 2: Documents that, if corrected, bring about a higher gain (i.e., a
bigger impact on A) should be ranked higher
Here, consider that a false positive and a false negative may have different
impacts on A (e.g., when A ≡ Fβ, for any value of β)
Bottom line
Documents that have a higher utility (= probability × gain) should be ranked
higher
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 25 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
(cont’d)
Given a set Ω of mutually disjoint events, a utility function is defined as
U(Ω) =
ω∈Ω
P(ω)G(ω)
where
P(ω) is the probability of occurrence of event ω
G(ω) is the gain obtained if event ω occurs
We can thus estimate the utility, for the aims of increasing A, of manually
inspecting a document d as
U(TP, TN, FP, FN) = P(FP) · G(FP) + P(FN) · G(FN)
provided we can estimate
If d is labelled with class c: P(FP) and G(FP)
If d is not labelled with class c: P(FN) and G(FN)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 26 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
(cont’d)
Given a set Ω of mutually disjoint events, a utility function is defined as
U(Ω) =
ω∈Ω
P(ω)G(ω)
where
P(ω) is the probability of occurrence of event ω
G(ω) is the gain obtained if event ω occurs
We can thus estimate the utility, for the aims of increasing A, of manually
inspecting a document d as
U(TP, TN, FP, FN) = P(FP) · G(FP) + P(FN) · G(FN)
provided we can estimate
If d is labelled with class c: P(FP) and G(FP)
If d is not labelled with class c: P(FN) and G(FN)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 26 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
(cont’d)
Estimating P(FP) and P(FN) (the probability of misclassification) can be
done by converting the confidence score returned by the classifier into a
probability of correct classification
Tricky: requires probability “calibration” via a generalized sigmoid function to
be optimized via k-fold cross-validation
Gains G(FP) and G(FN) can be defined “differentially”; i.e.,
The gain obtained by correcting a FN is (AFN→TP
− A)
The gain obtained by correcting a FP is (AFP→TN
− A)
Gains need to be estimated by estimating the contingency table on the
training set via k-fold cross-validation
Key observation: in general, G(FP) = G(FN)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 27 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
(cont’d)
Estimating P(FP) and P(FN) (the probability of misclassification) can be
done by converting the confidence score returned by the classifier into a
probability of correct classification
Tricky: requires probability “calibration” via a generalized sigmoid function to
be optimized via k-fold cross-validation
Gains G(FP) and G(FN) can be defined “differentially”; i.e.,
The gain obtained by correcting a FN is (AFN→TP
− A)
The gain obtained by correcting a FP is (AFP→TN
− A)
Gains need to be estimated by estimating the contingency table on the
training set via k-fold cross-validation
Key observation: in general, G(FP) = G(FN)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 27 / 36
Error Reduction, and How to Maximize it
Error Reduction, and how to Maximize it
(cont’d)
Estimating P(FP) and P(FN) (the probability of misclassification) can be
done by converting the confidence score returned by the classifier into a
probability of correct classification
Tricky: requires probability “calibration” via a generalized sigmoid function to
be optimized via k-fold cross-validation
Gains G(FP) and G(FN) can be defined “differentially”; i.e.,
The gain obtained by correcting a FN is (AFN→TP
− A)
The gain obtained by correcting a FP is (AFP→TN
− A)
Gains need to be estimated by estimating the contingency table on the
training set via k-fold cross-validation
Key observation: in general, G(FP) = G(FN)
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 27 / 36
Some Experimental Results
Outline
1 Error Reduction, and How to Measure it
2 Error Reduction, and How to Maximize it
3 Some Experimental Results
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 28 / 36
Some Experimental Results
Some Experimental Results
Learning algorithms: MP-Boost, SVMs
Datasets:
# Cats # Training # Test FM
1 MP-Boost FM
1 SVMs
Reuters-21578 115 9603 3299 0.608 0.527
OHSUMED-S 97 12358 3652 0.479 0.478
Baseline: ranking by probability of misclassification, equivalent to applying
our ranking method with G(FP) = G(FN) = 1
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 29 / 36
Some Experimental Results
0.0 0.2 0.4 0.6 0.8 1.0
Inspection Length
0.0
0.2
0.4
0.6
0.8
1.0
ErrorReduction(ER)Learner: MP-Boost; Dataset: Reuters-21578; Type: Macro
Random
Baseline
Utility-theoretic
Oracle
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 30 / 36
Some Experimental Results
0.0 0.2 0.4 0.6 0.8 1.0
Inspection Length
0.0
0.2
0.4
0.6
0.8
1.0
ErrorReduction(ER) Learner: SVMs; Dataset: Reuters-21578; Type: Macro
Random
Baseline
Utility-theoretic
Oracle
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 31 / 36
Some Experimental Results
0.0 0.2 0.4 0.6 0.8 1.0
Inspection Length
0.0
0.2
0.4
0.6
0.8
1.0
ErrorReduction(ER) Learner: MP-Boost; Dataset: Ohsumed-S; Type: Macro
Random
Baseline
Utility-theoretic
Oracle
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 32 / 36
Some Experimental Results
0.0 0.2 0.4 0.6 0.8 1.0
Inspection Length
0.0
0.2
0.4
0.6
0.8
1.0ErrorReduction(ER) Learner: SVMs; Dataset: Ohsumed-S; Type: Macro
Random
Baseline
Utility-theoretic
Oracle
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 33 / 36
Some Experimental Results
A few side notes
This approach allows the human annotator to know, at any stage of the
inspection process, what the estimated accuracy is at that stage
Estimate accuracy at the beginning of the process, via k-fold cross validation
Update after each correction is made
This approach lends itself to having more than one assessor working in
parallel on the same inspection task
Recent research I have not discussed today :
A “dynamic” SATC method in which gains are updated after each correction
is performed
“Microaveraging” and “Macroaveraging” -oriented methods
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 34 / 36
Some Experimental Results
Concluding Remarks
Take-away message: Semi-automatic text classification needs to be addressed
as a task in its own right
Active learning typically makes use of probabilities of misclassification but does
not make use of gains ⇒ ranking “à la active learning” is suboptimal for SATC
The use of utility theory means that the ranking algorithm is optimized for a
specific accuracy measure ⇒ Choose the accuracy measure the best mirrors
your applicative needs (e.g., Fβ with β > 1), and choose it well!
SATC is important, since in more and more application contexts the accuracy
obtainable via completely automatic text classification is not sufficient; more
and more frequently humans will need to enter the loop
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 35 / 36
Some Experimental Results
Thank you!
Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 36 / 36

Contenu connexe

En vedette (10)

գյուղատնտեսություն
գյուղատնտեսությունգյուղատնտեսություն
գյուղատնտեսություն
 
Graf.excel
Graf.excelGraf.excel
Graf.excel
 
Dv
DvDv
Dv
 
Acceptable Use Policies
Acceptable Use PoliciesAcceptable Use Policies
Acceptable Use Policies
 
Text Quantification
Text QuantificationText Quantification
Text Quantification
 
Shahnawaz Doc.Updates jan2013
Shahnawaz Doc.Updates jan2013Shahnawaz Doc.Updates jan2013
Shahnawaz Doc.Updates jan2013
 
Format. condici
Format. condiciFormat. condici
Format. condici
 
Borang markah final olahraga & sukaneka 2014
Borang markah final olahraga & sukaneka 2014Borang markah final olahraga & sukaneka 2014
Borang markah final olahraga & sukaneka 2014
 
JamesKey_MSN
JamesKey_MSNJamesKey_MSN
JamesKey_MSN
 
Day 1 LTE Technology Overview
Day 1 LTE Technology OverviewDay 1 LTE Technology Overview
Day 1 LTE Technology Overview
 

Similaire à Utility Theory, Minimum Effort, and Predictive Coding

Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...
Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...
Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...
Michelle Love
 
DOJProposal7.doc
DOJProposal7.docDOJProposal7.doc
DOJProposal7.doc
butest
 
On Machine Learning and Data Mining
On Machine Learning and Data MiningOn Machine Learning and Data Mining
On Machine Learning and Data Mining
butest
 
DOJProposal7.doc
DOJProposal7.docDOJProposal7.doc
DOJProposal7.doc
butest
 
Hybrid Approach for Brain Tumour Detection in Image Segmentation
Hybrid Approach for Brain Tumour Detection in Image SegmentationHybrid Approach for Brain Tumour Detection in Image Segmentation
Hybrid Approach for Brain Tumour Detection in Image Segmentation
ijtsrd
 
Computational model for artificial learning using formal concept analysis
Computational model for artificial learning using formal concept analysisComputational model for artificial learning using formal concept analysis
Computational model for artificial learning using formal concept analysis
Aboul Ella Hassanien
 

Similaire à Utility Theory, Minimum Effort, and Predictive Coding (20)

Machine Learning and Automatic Text Classification: What's Next?
Machine Learning and Automatic Text Classification: What's Next?Machine Learning and Automatic Text Classification: What's Next?
Machine Learning and Automatic Text Classification: What's Next?
 
Self-organisation of Knowledge in Socio-technical Systems: A Coordination Per...
Self-organisation of Knowledge in Socio-technical Systems: A Coordination Per...Self-organisation of Knowledge in Socio-technical Systems: A Coordination Per...
Self-organisation of Knowledge in Socio-technical Systems: A Coordination Per...
 
Size-Based Disciplines for Job Scheduling in Data-Intensive Scalable Computin...
Size-Based Disciplines for Job Scheduling in Data-Intensive Scalable Computin...Size-Based Disciplines for Job Scheduling in Data-Intensive Scalable Computin...
Size-Based Disciplines for Job Scheduling in Data-Intensive Scalable Computin...
 
A N E XTENSION OF P ROTÉGÉ FOR AN AUTOMA TIC F UZZY - O NTOLOGY BUILDING U...
A N  E XTENSION OF  P ROTÉGÉ FOR AN AUTOMA TIC  F UZZY - O NTOLOGY BUILDING U...A N  E XTENSION OF  P ROTÉGÉ FOR AN AUTOMA TIC  F UZZY - O NTOLOGY BUILDING U...
A N E XTENSION OF P ROTÉGÉ FOR AN AUTOMA TIC F UZZY - O NTOLOGY BUILDING U...
 
Daniel Samaan: ChatGPT and the Future of Work
Daniel Samaan: ChatGPT and the Future of WorkDaniel Samaan: ChatGPT and the Future of Work
Daniel Samaan: ChatGPT and the Future of Work
 
Grouping techniques for facing Volume and Velocity in the Big Data
Grouping techniques for facing Volume and Velocity in the Big DataGrouping techniques for facing Volume and Velocity in the Big Data
Grouping techniques for facing Volume and Velocity in the Big Data
 
DEFENSE
DEFENSEDEFENSE
DEFENSE
 
Frankie Rybicki slide set for Deep Learning in Radiology / Medicine
Frankie Rybicki slide set for Deep Learning in Radiology / MedicineFrankie Rybicki slide set for Deep Learning in Radiology / Medicine
Frankie Rybicki slide set for Deep Learning in Radiology / Medicine
 
Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...
Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...
Intra Cranial Pressure ( Icp ) Measurements Are Taken Via...
 
“Towards Multi-Step Expert Advice for Cognitive Computing” - Dr. Achim Rettin...
“Towards Multi-Step Expert Advice for Cognitive Computing” - Dr. Achim Rettin...“Towards Multi-Step Expert Advice for Cognitive Computing” - Dr. Achim Rettin...
“Towards Multi-Step Expert Advice for Cognitive Computing” - Dr. Achim Rettin...
 
A Clustering Method for Weak Signals to Support Anticipative Intelligence
A Clustering Method for Weak Signals to Support Anticipative IntelligenceA Clustering Method for Weak Signals to Support Anticipative Intelligence
A Clustering Method for Weak Signals to Support Anticipative Intelligence
 
Probabilistic Modular Embedding for Stochastic Coordinated Systems
Probabilistic Modular Embedding for Stochastic Coordinated SystemsProbabilistic Modular Embedding for Stochastic Coordinated Systems
Probabilistic Modular Embedding for Stochastic Coordinated Systems
 
DOJProposal7.doc
DOJProposal7.docDOJProposal7.doc
DOJProposal7.doc
 
On Machine Learning and Data Mining
On Machine Learning and Data MiningOn Machine Learning and Data Mining
On Machine Learning and Data Mining
 
IRJET- Survey for Amazon Fine Food Reviews
IRJET- Survey for Amazon Fine Food ReviewsIRJET- Survey for Amazon Fine Food Reviews
IRJET- Survey for Amazon Fine Food Reviews
 
Semantic-Driven Design and Management of KDD Processes
Semantic-Driven Design and Management of KDD ProcessesSemantic-Driven Design and Management of KDD Processes
Semantic-Driven Design and Management of KDD Processes
 
final seminar
final seminarfinal seminar
final seminar
 
DOJProposal7.doc
DOJProposal7.docDOJProposal7.doc
DOJProposal7.doc
 
Hybrid Approach for Brain Tumour Detection in Image Segmentation
Hybrid Approach for Brain Tumour Detection in Image SegmentationHybrid Approach for Brain Tumour Detection in Image Segmentation
Hybrid Approach for Brain Tumour Detection in Image Segmentation
 
Computational model for artificial learning using formal concept analysis
Computational model for artificial learning using formal concept analysisComputational model for artificial learning using formal concept analysis
Computational model for artificial learning using formal concept analysis
 

Dernier

Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 

Dernier (20)

Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 

Utility Theory, Minimum Effort, and Predictive Coding

  • 1. Utility Theory, Minimum Effort, and Predictive Coding Fabrizio Sebastiani Istituto di Scienza e Tecnologie dell’Informazione Consiglio Nazionale delle Ricerche 56124 Pisa, Italy DESI V – Roma, IT, 14 June 2013
  • 2. What I’ll be talking about A talk about text classification (“predictive coding”), about humans in the loop, and about how to best support their work I will be looking at scenarios in which 1 text classification technology is used for identifying documents belonging to a given class / relevant to a given query ... 2 ... but the level of accuracy that can be obtained from the classifier is not considered sufficient ... 3 ... with the consequence that one or more human assessors are asked to inspect (and correct where appropriate) a portion of the classification decisions, with the goal of increasing overall accuracy. How can we support / optimize the work of the human assessors? Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 2 / 36
  • 3. What I’ll be talking about A talk about text classification (“predictive coding”), about humans in the loop, and about how to best support their work I will be looking at scenarios in which 1 text classification technology is used for identifying documents belonging to a given class / relevant to a given query ... 2 ... but the level of accuracy that can be obtained from the classifier is not considered sufficient ... 3 ... with the consequence that one or more human assessors are asked to inspect (and correct where appropriate) a portion of the classification decisions, with the goal of increasing overall accuracy. How can we support / optimize the work of the human assessors? Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 2 / 36
  • 4. What I’ll be talking about A talk about text classification (“predictive coding”), about humans in the loop, and about how to best support their work I will be looking at scenarios in which 1 text classification technology is used for identifying documents belonging to a given class / relevant to a given query ... 2 ... but the level of accuracy that can be obtained from the classifier is not considered sufficient ... 3 ... with the consequence that one or more human assessors are asked to inspect (and correct where appropriate) a portion of the classification decisions, with the goal of increasing overall accuracy. How can we support / optimize the work of the human assessors? Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 2 / 36
  • 5. A worked out example predicted Y N true Y TP = 4 FP = 3 N FN = 4 TN = 9 F1 = 2TP 2TP + FP + FN = 0.53 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 3 / 36
  • 6. A worked out example (cont’d) predicted Y N true Y TP = 4 FP = 3 N FN = 4 TN = 9 F1 = 2TP 2TP + FP + FN = 0.53 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 4 / 36
  • 7. A worked out example (cont’d) predicted Y N true Y TP = 5 FP = 3 N FN = 3 TN = 9 F1 = 2TP 2TP + FP + FN = 0.63 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 5 / 36
  • 8. A worked out example (cont’d) predicted Y N true Y TP = 5 FP = 2 N FN = 3 TN = 10 F1 = 2TP 2TP + FP + FN = 0.67 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 6 / 36
  • 9. A worked out example (cont’d) predicted Y N true Y TP = 6 FP = 2 N FN = 2 TN = 10 F1 = 2TP 2TP + FP + FN = 0.75 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 7 / 36
  • 10. A worked out example (cont’d) predicted Y N true Y TP = 6 FP = 1 N FN = 2 TN = 11 F1 = 2TP 2TP + FP + FN = 0.80 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 8 / 36
  • 11. What I’ll be talking about (cont’d) We need methods that given a desired level of accuracy, minimize the assessors’ effort necessary to achieve it; alternatively, given an available amount of human assessors’ effort, maximize the accuracy that can be obtained through it This can be achieved by ranking the automatically classified documents in such a way that, by starting the inspection from the top of the ranking, the cost-effectiveness of the annotators’ work is maximized We call the task of generating such a ranking Semi-Automatic Text Classification (SATC) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 9 / 36
  • 12. What I’ll be talking about (cont’d) We need methods that given a desired level of accuracy, minimize the assessors’ effort necessary to achieve it; alternatively, given an available amount of human assessors’ effort, maximize the accuracy that can be obtained through it This can be achieved by ranking the automatically classified documents in such a way that, by starting the inspection from the top of the ranking, the cost-effectiveness of the annotators’ work is maximized We call the task of generating such a ranking Semi-Automatic Text Classification (SATC) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 9 / 36
  • 13. What I’ll be talking about (cont’d) Previous work has addressed SATC via techniques developed for “active learning” In both cases, the automatically classified documents are ranked with the goal of having the human annotator start inspecting/correcting from the top; however in active learning the goal is providing new training examples in SATC the goal is increasing the overall accuracy of the classified set We claim that a ranking generated “à la active learning” is suboptimal for SATC1 1G Berardi, A Esuli, F Sebastiani. A Utility-Theoretic Ranking Method for Semi-Automated Text Classification. Proceedings of the 35th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR 2012), Portland, US, 2012. Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 10 / 36
  • 14. What I’ll be talking about (cont’d) Previous work has addressed SATC via techniques developed for “active learning” In both cases, the automatically classified documents are ranked with the goal of having the human annotator start inspecting/correcting from the top; however in active learning the goal is providing new training examples in SATC the goal is increasing the overall accuracy of the classified set We claim that a ranking generated “à la active learning” is suboptimal for SATC1 1G Berardi, A Esuli, F Sebastiani. A Utility-Theoretic Ranking Method for Semi-Automated Text Classification. Proceedings of the 35th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR 2012), Portland, US, 2012. Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 10 / 36
  • 15. Outline of this talk 1 We discuss how to measure “error reduction” (i.e., increase in accuracy) 2 We discuss a method for maximizing the expected error reduction for a fixed amount of annotation effort 3 We show some promising experimental results Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 11 / 36
  • 16. Error Reduction, and How to Measure it Outline 1 Error Reduction, and How to Measure it 2 Error Reduction, and How to Maximize it 3 Some Experimental Results Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 12 / 36
  • 17. Error Reduction, and How to Measure it Error Reduction, and how to measure it Assume we have 1 class (or “query”) c; 2 classifier h for c; 3 set of unlabeled documents D that we have automatically classified by means of h, so that every document in D is associated with a binary decision (Y or N) with a confidence score (a positive real number) 4 measure of accuracy A, ranging on [0,1] Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 13 / 36
  • 18. Error Reduction, and How to Measure it Error Reduction, and how to Measure it (cont’d) We will assume that A is F1 = 2 · Precision · Recall Precision + Recall = 2 · TP (2 · TP) + FP + FN but any “set-based” measure of accuracy (i.e., based on a contingency table) may be used An amount of error, measured as E = (1 − A), is present in the automatically classified set D Human annotators inspect-and-correct a portion of D with the goal of reducing the error present in D Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 14 / 36
  • 19. Error Reduction, and How to Measure it Error Reduction, and how to Measure it (cont’d) We will assume that A is F1 = 2 · Precision · Recall Precision + Recall = 2 · TP (2 · TP) + FP + FN but any “set-based” measure of accuracy (i.e., based on a contingency table) may be used An amount of error, measured as E = (1 − A), is present in the automatically classified set D Human annotators inspect-and-correct a portion of D with the goal of reducing the error present in D Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 14 / 36
  • 20. Error Reduction, and How to Measure it Error Reduction, and how to Measure it (cont’d) We define error at rank n (noted as E(n)) as the error still present in D after the annotator has inspected the documents at the first n rank positions E(0) is the initial error generated by the automated classifier E(|D|) is 0 We define error reduction at rank n (noted as ER(n)) to be ER(n) = E(0) − E(n) E(0) the error reduction obtained by the annotator who inspects the docs at the first n rank positions ER(n) ∈ [0, 1] ER(n) = 0 indicates no reduction ER(n) = 1 indicates total elimination of error Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 15 / 36
  • 21. Error Reduction, and How to Measure it Error Reduction, and how to Measure it (cont’d) We define error at rank n (noted as E(n)) as the error still present in D after the annotator has inspected the documents at the first n rank positions E(0) is the initial error generated by the automated classifier E(|D|) is 0 We define error reduction at rank n (noted as ER(n)) to be ER(n) = E(0) − E(n) E(0) the error reduction obtained by the annotator who inspects the docs at the first n rank positions ER(n) ∈ [0, 1] ER(n) = 0 indicates no reduction ER(n) = 1 indicates total elimination of error Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 15 / 36
  • 22. Error Reduction, and How to Measure it Error Reduction, and how to Measure it (cont’d) 0.0 0.2 0.4 0.6 0.8 1.0 Inspection Length 0.0 0.2 0.4 0.6 0.8 1.0 ErrorReduction(ER) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 16 / 36
  • 23. Error Reduction, and How to Maximize it Outline 1 Error Reduction, and How to Measure it 2 Error Reduction, and How to Maximize it 3 Some Experimental Results Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 17 / 36
  • 24. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it Problem How should we rank the documents in D so as to maximize the expected error reduction? Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 18 / 36
  • 25. Error Reduction, and How to Maximize it A worked out example predicted Y N true Y TP = 4 FP = 3 N FN = 4 TN = 9 F1 = 2TP 2TP + FP + FN = 0.53 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 19 / 36
  • 26. Error Reduction, and How to Maximize it A worked out example (cont’d) predicted Y N true Y TP = 4 FP = 3 N FN = 4 TN = 9 F1 = 2TP 2TP + FP + FN = 0.53 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 20 / 36
  • 27. Error Reduction, and How to Maximize it A worked out example (cont’d) predicted Y N true Y TP = 5 FP = 3 N FN = 3 TN = 9 F1 = 2TP 2TP + FP + FN = 0.63 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 21 / 36
  • 28. Error Reduction, and How to Maximize it A worked out example (cont’d) predicted Y N true Y TP = 5 FP = 2 N FN = 3 TN = 10 F1 = 2TP 2TP + FP + FN = 0.67 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 22 / 36
  • 29. Error Reduction, and How to Maximize it A worked out example (cont’d) predicted Y N true Y TP = 6 FP = 2 N FN = 2 TN = 10 F1 = 2TP 2TP + FP + FN = 0.75 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 23 / 36
  • 30. Error Reduction, and How to Maximize it A worked out example (cont’d) predicted Y N true Y TP = 6 FP = 1 N FN = 2 TN = 11 F1 = 2TP 2TP + FP + FN = 0.80 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 24 / 36
  • 31. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it Problem: how should we rank the documents in D so as to maximize the expected error reduction? Intuition 1: Documents that have a higher probability of being misclassified should be ranked higher Intuition 2: Documents that, if corrected, bring about a higher gain (i.e., a bigger impact on A) should be ranked higher Here, consider that a false positive and a false negative may have different impacts on A (e.g., when A ≡ Fβ, for any value of β) Bottom line Documents that have a higher utility (= probability × gain) should be ranked higher Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 25 / 36
  • 32. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it Problem: how should we rank the documents in D so as to maximize the expected error reduction? Intuition 1: Documents that have a higher probability of being misclassified should be ranked higher Intuition 2: Documents that, if corrected, bring about a higher gain (i.e., a bigger impact on A) should be ranked higher Here, consider that a false positive and a false negative may have different impacts on A (e.g., when A ≡ Fβ, for any value of β) Bottom line Documents that have a higher utility (= probability × gain) should be ranked higher Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 25 / 36
  • 33. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it (cont’d) Given a set Ω of mutually disjoint events, a utility function is defined as U(Ω) = ω∈Ω P(ω)G(ω) where P(ω) is the probability of occurrence of event ω G(ω) is the gain obtained if event ω occurs We can thus estimate the utility, for the aims of increasing A, of manually inspecting a document d as U(TP, TN, FP, FN) = P(FP) · G(FP) + P(FN) · G(FN) provided we can estimate If d is labelled with class c: P(FP) and G(FP) If d is not labelled with class c: P(FN) and G(FN) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 26 / 36
  • 34. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it (cont’d) Given a set Ω of mutually disjoint events, a utility function is defined as U(Ω) = ω∈Ω P(ω)G(ω) where P(ω) is the probability of occurrence of event ω G(ω) is the gain obtained if event ω occurs We can thus estimate the utility, for the aims of increasing A, of manually inspecting a document d as U(TP, TN, FP, FN) = P(FP) · G(FP) + P(FN) · G(FN) provided we can estimate If d is labelled with class c: P(FP) and G(FP) If d is not labelled with class c: P(FN) and G(FN) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 26 / 36
  • 35. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it (cont’d) Estimating P(FP) and P(FN) (the probability of misclassification) can be done by converting the confidence score returned by the classifier into a probability of correct classification Tricky: requires probability “calibration” via a generalized sigmoid function to be optimized via k-fold cross-validation Gains G(FP) and G(FN) can be defined “differentially”; i.e., The gain obtained by correcting a FN is (AFN→TP − A) The gain obtained by correcting a FP is (AFP→TN − A) Gains need to be estimated by estimating the contingency table on the training set via k-fold cross-validation Key observation: in general, G(FP) = G(FN) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 27 / 36
  • 36. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it (cont’d) Estimating P(FP) and P(FN) (the probability of misclassification) can be done by converting the confidence score returned by the classifier into a probability of correct classification Tricky: requires probability “calibration” via a generalized sigmoid function to be optimized via k-fold cross-validation Gains G(FP) and G(FN) can be defined “differentially”; i.e., The gain obtained by correcting a FN is (AFN→TP − A) The gain obtained by correcting a FP is (AFP→TN − A) Gains need to be estimated by estimating the contingency table on the training set via k-fold cross-validation Key observation: in general, G(FP) = G(FN) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 27 / 36
  • 37. Error Reduction, and How to Maximize it Error Reduction, and how to Maximize it (cont’d) Estimating P(FP) and P(FN) (the probability of misclassification) can be done by converting the confidence score returned by the classifier into a probability of correct classification Tricky: requires probability “calibration” via a generalized sigmoid function to be optimized via k-fold cross-validation Gains G(FP) and G(FN) can be defined “differentially”; i.e., The gain obtained by correcting a FN is (AFN→TP − A) The gain obtained by correcting a FP is (AFP→TN − A) Gains need to be estimated by estimating the contingency table on the training set via k-fold cross-validation Key observation: in general, G(FP) = G(FN) Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 27 / 36
  • 38. Some Experimental Results Outline 1 Error Reduction, and How to Measure it 2 Error Reduction, and How to Maximize it 3 Some Experimental Results Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 28 / 36
  • 39. Some Experimental Results Some Experimental Results Learning algorithms: MP-Boost, SVMs Datasets: # Cats # Training # Test FM 1 MP-Boost FM 1 SVMs Reuters-21578 115 9603 3299 0.608 0.527 OHSUMED-S 97 12358 3652 0.479 0.478 Baseline: ranking by probability of misclassification, equivalent to applying our ranking method with G(FP) = G(FN) = 1 Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 29 / 36
  • 40. Some Experimental Results 0.0 0.2 0.4 0.6 0.8 1.0 Inspection Length 0.0 0.2 0.4 0.6 0.8 1.0 ErrorReduction(ER)Learner: MP-Boost; Dataset: Reuters-21578; Type: Macro Random Baseline Utility-theoretic Oracle Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 30 / 36
  • 41. Some Experimental Results 0.0 0.2 0.4 0.6 0.8 1.0 Inspection Length 0.0 0.2 0.4 0.6 0.8 1.0 ErrorReduction(ER) Learner: SVMs; Dataset: Reuters-21578; Type: Macro Random Baseline Utility-theoretic Oracle Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 31 / 36
  • 42. Some Experimental Results 0.0 0.2 0.4 0.6 0.8 1.0 Inspection Length 0.0 0.2 0.4 0.6 0.8 1.0 ErrorReduction(ER) Learner: MP-Boost; Dataset: Ohsumed-S; Type: Macro Random Baseline Utility-theoretic Oracle Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 32 / 36
  • 43. Some Experimental Results 0.0 0.2 0.4 0.6 0.8 1.0 Inspection Length 0.0 0.2 0.4 0.6 0.8 1.0ErrorReduction(ER) Learner: SVMs; Dataset: Ohsumed-S; Type: Macro Random Baseline Utility-theoretic Oracle Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 33 / 36
  • 44. Some Experimental Results A few side notes This approach allows the human annotator to know, at any stage of the inspection process, what the estimated accuracy is at that stage Estimate accuracy at the beginning of the process, via k-fold cross validation Update after each correction is made This approach lends itself to having more than one assessor working in parallel on the same inspection task Recent research I have not discussed today : A “dynamic” SATC method in which gains are updated after each correction is performed “Microaveraging” and “Macroaveraging” -oriented methods Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 34 / 36
  • 45. Some Experimental Results Concluding Remarks Take-away message: Semi-automatic text classification needs to be addressed as a task in its own right Active learning typically makes use of probabilities of misclassification but does not make use of gains ⇒ ranking “à la active learning” is suboptimal for SATC The use of utility theory means that the ranking algorithm is optimized for a specific accuracy measure ⇒ Choose the accuracy measure the best mirrors your applicative needs (e.g., Fβ with β > 1), and choose it well! SATC is important, since in more and more application contexts the accuracy obtainable via completely automatic text classification is not sufficient; more and more frequently humans will need to enter the loop Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 35 / 36
  • 46. Some Experimental Results Thank you! Fabrizio Sebastiani (ISTI-CNR Pisa (Italy)) Utility Theory, Minimum Effort, and Predictive Coding DESI V – Roma, IT, 14 June 2013 36 / 36