yonatanbitton
commited on
Commit
•
2cea302
1
Parent(s):
f46de4e
Update README.md
Browse files
README.md
CHANGED
@@ -75,11 +75,40 @@ ID (int64): 367 - association ID.
|
|
75 |
|
76 |
### Data Splits
|
77 |
There is a single TEST split. In the accompanied paper and code we sample it to create different training sets, but the intended use is to use winogavil as a test set.
|
78 |
-
There are different number of candidates, which creates different difficulty levels:
|
79 |
-
-- With 5 candidates, random
|
80 |
-
-- With 6 candidates, random
|
81 |
-
-- With 10 candidates, random
|
82 |
-
-- With 12 candidates, random
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
## Dataset Creation
|
85 |
|
|
|
75 |
|
76 |
### Data Splits
|
77 |
There is a single TEST split. In the accompanied paper and code we sample it to create different training sets, but the intended use is to use winogavil as a test set.
|
78 |
+
There are different number of candidates, which creates different difficulty levels:
|
79 |
+
-- With 5 candidates, random model expected score is 38%.
|
80 |
+
-- With 6 candidates, random model expected score is 34%.
|
81 |
+
-- With 10 candidates, random model expected score is 24%.
|
82 |
+
-- With 12 candidates, random model expected score is 19%.
|
83 |
+
|
84 |
+
<details>
|
85 |
+
<summary>Why random chance for success with 5 candidates is 38%?</summary>
|
86 |
+
|
87 |
+
It is a binomial distribution probability calculation.
|
88 |
+
|
89 |
+
Assuming N=5 candidates, and K=2 associations, there could be three events:
|
90 |
+
(1) The probability for a random guess is correct in 0 associations is 0.3 (elaborate below), and the Jaccard index is 0 (there is no intersection between the correct labels and the wrong guesses). Therefore the expected random score is 0.
|
91 |
+
(2) The probability for a random guess is correct in 1 associations is 0.6, and the Jaccard index is 0.33 (intersection=1, union=3, one of the correct guesses, and one of the wrong guesses). Therefore the expected random score is 0.6*0.33 = 0.198.
|
92 |
+
(3) The probability for a random guess is correct in 2 associations is 0.1, and the Jaccard index is 1 (intersection=2, union=2). Therefore the expected random score is 0.1*1 = 0.1.
|
93 |
+
* Together, when K=2, the expected score is 0+0.198+0.1 = 0.298.
|
94 |
+
|
95 |
+
To calculate (1), the first guess needs to be wrong. There are 3 "wrong" guesses and 5 candidates, so the probability for it is 3/5. The next guess should also be wrong. Now there are only 2 "wrong" guesses, and 4 candidates, so the probability for it is 2/4. Multiplying 3/5 * 2/4 = 0.3.
|
96 |
+
Same goes for (2) and (3).
|
97 |
+
|
98 |
+
Now we can perform the same calculation with K=3 associations.
|
99 |
+
Assuming N=5 candidates, and K=3 associations, there could be four events:
|
100 |
+
(4) The probability for a random guess is correct in 0 associations is 0, and the Jaccard index is 0. Therefore the expected random score is 0.
|
101 |
+
(5) The probability for a random guess is correct in 1 associations is 0.3, and the Jaccard index is 0.2 (intersection=1, union=4). Therefore the expected random score is 0.3*0.2 = 0.06.
|
102 |
+
(6) The probability for a random guess is correct in 2 associations is 0.6, and the Jaccard index is 0.5 (intersection=2, union=4). Therefore the expected random score is 0.6*5 = 0.3.
|
103 |
+
(7) The probability for a random guess is correct in 3 associations is 0.1, and the Jaccard index is 1 (intersection=3, union=3). Therefore the expected random score is 0.1*1 = 0.1.
|
104 |
+
* Together, when K=3, the expected score is 0+0.06+0.3+0.1 = 0.46.
|
105 |
+
|
106 |
+
Taking the average of 0.298 and 0.46 we reach 0.379.
|
107 |
+
|
108 |
+
Same process can be recalculated with 6 candidates (and K=2,3,4), 10 candidates (and K=2,3,4,5) and 123 candidates (and K=2,3,4,5,6).
|
109 |
+
|
110 |
+
</details>
|
111 |
+
|
112 |
|
113 |
## Dataset Creation
|
114 |
|