gamemaker1 commited on
Commit
e0feaa0
·
verified ·
1 Parent(s): 10cc56b

add the heads files and the card

Browse files
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model: GSAI-ML/LLaDA-8B-Base
6
+ tags:
7
+ - diffusion-language-model
8
+ - probing
9
+ - fact-updating
10
+ - wikipedia
11
+ library_name: pytorch
12
+ datasets:
13
+ - gamemaker1/wiki-wrong
14
+ ---
15
+
16
+ # DiffusEdit classifiers
17
+
18
+ DiffusEdit updates an article from evidence by editing it in place. A frozen
19
+ masked diffusion language model,
20
+ [LLaDA-8B-Base](https://huggingface.co/GSAI-ML/LLaDA-8B-Base), reads the
21
+ evidence and the article once, with no token masked, and the small
22
+ classifiers in this repository read its hidden states. One classifier labels
23
+ each sentence as kept, edited or dropped. A second one scores each token of
24
+ an edited sentence by how likely it is to be out of date. A third one scores
25
+ pairs of sentences and says whether one sentence has to change because
26
+ another one did. The diffusion model then fills in the tokens that were
27
+ scored as stale, and a reranker chooses among the fills. The model itself is
28
+ never trained. The classifiers hold 12.9M parameters between them.
29
+
30
+ Every classifier was fit on the train split of
31
+ [gamemaker1/wiki-wrong](https://huggingface.co/datasets/gamemaker1/wiki-wrong),
32
+ tuned on its validation split and scored once on its test split. The code
33
+ that trains them and runs the full system is at
34
+ [github.com/gamemaker1/diffusedit](https://github.com/gamemaker1/diffusedit)
35
+ under `code/pipeline`. The fine-tuned editor that the system is compared
36
+ against is at [gamemaker1/t5edit](https://huggingface.co/gamemaker1/t5edit).
37
+
38
+ ## Layout
39
+
40
+ ```
41
+ sentence/ the sentence classifier, KEEP / EDIT / DROP
42
+ staleness/ the token classifier, is this token out of date
43
+ cascade/ the pair classifier, must sentence k change because sentence j did
44
+ reranker/ the gradient-boosted tree that ranks the candidate fills
45
+ ```
46
+
47
+ Each directory holds a `classifier.pt` file and the `metrics.json` that was
48
+ written when it was trained, with its validation and test scores. A token
49
+ classifier directory also holds `sweep.json`, the grid of mask thresholds it
50
+ was tuned over, and the attention classifier holds `eval.json`, its scores
51
+ under the evidence controls described below.
52
+
53
+ ## Input
54
+
55
+ LLaDA-8B-Base at revision `0f2787f2d87eac5eed8a087d5ecd24277e6255b2` runs in
56
+ bfloat16 over the sequence `[BOS] evidence \n\n article`, where the
57
+ evidence passages are written one per line as `title: text` and the article
58
+ follows after a blank line. The forward pass is stopped after the deepest
59
+ block that a classifier needs, and the hidden state of every token is kept at
60
+ blocks 24 and 32 of the 32 blocks. Each state has 4,096 values. The sentence
61
+ classifiers read the mean of the token states of a sentence. The token
62
+ classifiers read the state of each token of an edited sentence, and the
63
+ attention classifier also reads the states of every evidence token.
64
+
65
+ ## The classifiers the system uses
66
+
67
+ | Directory | What it reads | Architecture | Parameters |
68
+ |---|---|---|---|
69
+ | `sentence/linear-block24` | the mean token state of the sentence at block 24 | a linear layer with three outputs | 12.3K |
70
+ | `staleness/attention-block32` | the token state at block 32 and the states of all evidence tokens | four attention heads over the evidence tokens plus one null slot, then a two-layer MLP | 4.5M |
71
+ | `cascade/consequence` | the mean states at block 32 of the repaired sentence j and the candidate sentence k | an MLP with one hidden layer of 512 units on the concatenation of the two states, their product and their absolute difference | 8.4M |
72
+ | `reranker/rerank.pkl` | the logged scores and text features of every candidate fill | a scikit-learn `HistGradientBoostingClassifier` with 200 iterations and 15 leaves per tree | |
73
+
74
+ Block 24 was chosen for the sentence classifier because its validation
75
+ macro-F1 is higher than that of block 32. The thresholds are stored inside
76
+ the checkpoints: the drop gate `tau_d` of the
77
+ sentence classifier, the mask threshold `tau` of the token classifiers and
78
+ the cascade threshold `tau_c` of the pair classifier. Each was chosen on the
79
+ validation split.
80
+
81
+ The evidence controls test whether a classifier reads the evidence or only
82
+ the sentence. The sentence classifier is trained and scored a second time on
83
+ hidden states of the article alone. The attention token classifier is scored
84
+ a second time with its evidence slots emptied, and a third time with each
85
+ article given the evidence of another article. The scores of the controls
86
+ are in the metrics files, and all of them fall well below the scores with
87
+ the right evidence.
88
+
89
+ ## The other classifiers
90
+
91
+ | Directory | What it is |
92
+ |---|---|
93
+ | `sentence/linear-block32` | the sentence classifier on block 32, the final block |
94
+ | `sentence/evidence-mean-block24`, `sentence/evidence-nearest-block24`, `sentence/evidence-attention-block24`, and the same at block 32 | the sentence classifier with a summary of the evidence concatenated to the sentence state. The summary is the mean of the evidence passage states, the state of the nearest passage, or a learned attention over the passages. |
95
+ | `sentence/minilm-baseline` | the same linear classifier over embeddings of the sentence and the evidence from [all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2), with no diffusion model |
96
+ | `staleness/linear-block32` | a linear classifier on the token state alone, the form of the staleness head of Detect, Remask, Repair |
97
+
98
+ The reranker uses two scores that the system logs for every candidate fill.
99
+ One is the mean log-probability that LLaDA-8B-Base gives each token of the
100
+ candidate sentence when that token alone is masked. The other is the
101
+ probability that the fact verifier
102
+ [tals/albert-base-vitaminc-mnli](https://huggingface.co/tals/albert-base-vitaminc-mnli)
103
+ gives to the best evidence passage supporting the candidate sentence.
104
+
105
+ ## Checkpoint format
106
+
107
+ `classifier.pt` is a dictionary saved with `torch.save`. A linear classifier
108
+ holds `state_dict`, the per-feature `mean` and `std` that normalise the
109
+ hidden states, the `layer` it reads and its tuned threshold. The attention
110
+ classifier also holds `ev_mean` and `ev_std` for the evidence states, a
111
+ `config` dictionary with `d`, `dim`, `heads`, `hidden` and `dropout`, and
112
+ `tau_match`, the threshold at which the share of masked tokens equals the
113
+ share of stale tokens. The pair classifier holds `state_dict`, `d`,
114
+ `hidden`, `layer`, `seed` and the paths it was trained from. The reranker is
115
+ a pickle of `{"model", "features", "run"}` written with scikit-learn 1.9.1,
116
+ and it loads only with a compatible scikit-learn.
117
+
118
+ In the code, `classifier.train` defines the sentence classifier,
119
+ `staleness.train` and `staleness.attention` the token classifiers,
120
+ `cascading.train` the pair classifier and `infilling.rerank` the reranker.
121
+ `staleness.attention.Scorer` and `infilling.run` show how the classifiers
122
+ are applied to the hidden states of a new article.
123
+
124
+ ## Licence
125
+
126
+ Apache 2.0. LLaDA-8B-Base keeps its own licence.
cascade/consequence/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bbb9ad72bc699f05329db84ce516283603aafc8d8d8115f46d6c64bda786316
3
+ size 33595057
cascade/consequence/config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "d": 4096,
3
+ "hidden": 512,
4
+ "features": "/home/diffusedit/features/full/train",
5
+ "features_after": "/home/diffusedit/features/full/after_train",
6
+ "pairs": "/home/diffusedit/data/split/links/train/pairs.jsonl",
7
+ "layer": 32,
8
+ "seed": 42,
9
+ "best_val_auroc": 0.9451081101225768,
10
+ "tau_c": 0.35,
11
+ "val_f1": 0.7651331719128329,
12
+ "history": [
13
+ {
14
+ "epoch": 1,
15
+ "train_loss": 1.605,
16
+ "val_loss": 0.892,
17
+ "val_auroc": 0.8385,
18
+ "seconds": 0.6
19
+ },
20
+ {
21
+ "epoch": 2,
22
+ "train_loss": 0.719,
23
+ "val_loss": 0.7097,
24
+ "val_auroc": 0.8862,
25
+ "seconds": 0.3
26
+ },
27
+ {
28
+ "epoch": 3,
29
+ "train_loss": 0.5492,
30
+ "val_loss": 0.6318,
31
+ "val_auroc": 0.9139,
32
+ "seconds": 0.2
33
+ },
34
+ {
35
+ "epoch": 4,
36
+ "train_loss": 0.407,
37
+ "val_loss": 0.5501,
38
+ "val_auroc": 0.9295,
39
+ "seconds": 0.2
40
+ },
41
+ {
42
+ "epoch": 5,
43
+ "train_loss": 0.3096,
44
+ "val_loss": 0.5429,
45
+ "val_auroc": 0.934,
46
+ "seconds": 0.2
47
+ },
48
+ {
49
+ "epoch": 6,
50
+ "train_loss": 0.2175,
51
+ "val_loss": 0.5164,
52
+ "val_auroc": 0.94,
53
+ "seconds": 0.2
54
+ },
55
+ {
56
+ "epoch": 7,
57
+ "train_loss": 0.1577,
58
+ "val_loss": 0.6775,
59
+ "val_auroc": 0.9395,
60
+ "seconds": 0.2
61
+ },
62
+ {
63
+ "epoch": 8,
64
+ "train_loss": 0.1133,
65
+ "val_loss": 0.6663,
66
+ "val_auroc": 0.9369,
67
+ "seconds": 0.2
68
+ },
69
+ {
70
+ "epoch": 9,
71
+ "train_loss": 0.0863,
72
+ "val_loss": 0.7139,
73
+ "val_auroc": 0.9408,
74
+ "seconds": 0.2
75
+ },
76
+ {
77
+ "epoch": 10,
78
+ "train_loss": 0.0585,
79
+ "val_loss": 0.7103,
80
+ "val_auroc": 0.9451,
81
+ "seconds": 0.2
82
+ },
83
+ {
84
+ "epoch": 11,
85
+ "train_loss": 0.0422,
86
+ "val_loss": 0.8489,
87
+ "val_auroc": 0.9381,
88
+ "seconds": 0.2
89
+ },
90
+ {
91
+ "epoch": 12,
92
+ "train_loss": 0.0293,
93
+ "val_loss": 0.7948,
94
+ "val_auroc": 0.9427,
95
+ "seconds": 0.2
96
+ },
97
+ {
98
+ "epoch": 13,
99
+ "train_loss": 0.0217,
100
+ "val_loss": 0.8185,
101
+ "val_auroc": 0.9409,
102
+ "seconds": 0.2
103
+ }
104
+ ],
105
+ "test": {
106
+ "auroc": 0.9314635445435178,
107
+ "precision": 0.6846153846153846,
108
+ "recall": 0.7672413793103449,
109
+ "f1": 0.7235772357723578,
110
+ "pairs": 1106,
111
+ "positives": 232
112
+ }
113
+ }
reranker/rerank.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be614f079b4a9e067000e88f73ee9a9ff8953e9814e8e48869654abc56e5b990
3
+ size 372663
sentence/evidence-attention-block24/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8100db1a546ebdfbc110e0636ed4c436faecd7d7ce8705e253288f146020f32
3
+ size 8558037
sentence/evidence-attention-block24/metrics.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 24,
3
+ "evidence_pool": "attention",
4
+ "tau_d": 0.8,
5
+ "tau_sweep": {
6
+ "0.35": 0.828298657069029,
7
+ "0.4": 0.8294412415816063,
8
+ "0.45": 0.8312405814788989,
9
+ "0.5": 0.8326087682287691,
10
+ "0.55": 0.836397125789707,
11
+ "0.6": 0.8416302551840918,
12
+ "0.65": 0.8416197747592445,
13
+ "0.7": 0.8462487851056104,
14
+ "0.75": 0.8456807273729566,
15
+ "0.8": 0.8493074459752545,
16
+ "0.85": 0.8463061617219833,
17
+ "0.9": 0.8432587703841362,
18
+ "0.95": 0.8388332795419909
19
+ },
20
+ "holdout": null,
21
+ "seed": 42,
22
+ "val": {
23
+ "KEEP": {
24
+ "precision": 0.9388853704876504,
25
+ "recall": 0.8539746543778802,
26
+ "f1": 0.8944193061840121,
27
+ "support": 3472
28
+ },
29
+ "EDIT": {
30
+ "precision": 0.7266454352441614,
31
+ "recall": 0.8692063492063492,
32
+ "f1": 0.791558253830587,
33
+ "support": 1575
34
+ },
35
+ "DROP": {
36
+ "precision": 0.8568019093078759,
37
+ "recall": 0.8671497584541062,
38
+ "f1": 0.8619447779111645,
39
+ "support": 414
40
+ },
41
+ "macro_f1": 0.8493074459752545
42
+ },
43
+ "mean_peak_attention": 0.9990412592887878,
44
+ "max_snippets": 7,
45
+ "test": {
46
+ "KEEP": {
47
+ "precision": 0.9293185419968304,
48
+ "recall": 0.8377142857142857,
49
+ "f1": 0.8811419984973704,
50
+ "support": 3500
51
+ },
52
+ "EDIT": {
53
+ "precision": 0.7236255572065379,
54
+ "recall": 0.8675771971496437,
55
+ "f1": 0.7890899270861462,
56
+ "support": 1684
57
+ },
58
+ "DROP": {
59
+ "precision": 0.8470319634703196,
60
+ "recall": 0.866822429906542,
61
+ "f1": 0.8568129330254041,
62
+ "support": 428
63
+ },
64
+ "macro_f1": 0.8423482862029736
65
+ }
66
+ }
sentence/evidence-attention-block32/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:805ba313395f77ccd26202f337229a16f4eedc615cf6a4fb03484ec5aaaaefef
3
+ size 8558037
sentence/evidence-attention-block32/metrics.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 32,
3
+ "evidence_pool": "attention",
4
+ "tau_d": 0.8,
5
+ "tau_sweep": {
6
+ "0.35": 0.7298850064314643,
7
+ "0.4": 0.7316456397653734,
8
+ "0.45": 0.7333049533335614,
9
+ "0.5": 0.7360107328668105,
10
+ "0.55": 0.7397977717563697,
11
+ "0.6": 0.7425608698297165,
12
+ "0.65": 0.7455891802529716,
13
+ "0.7": 0.7478012758634541,
14
+ "0.75": 0.7473962006624723,
15
+ "0.8": 0.749485474804764,
16
+ "0.85": 0.7455679450274159,
17
+ "0.9": 0.7377530660117978,
18
+ "0.95": 0.7323929227506797
19
+ },
20
+ "holdout": null,
21
+ "seed": 42,
22
+ "val": {
23
+ "KEEP": {
24
+ "precision": 0.8920065252854812,
25
+ "recall": 0.7874423963133641,
26
+ "f1": 0.8364693284381214,
27
+ "support": 3472
28
+ },
29
+ "EDIT": {
30
+ "precision": 0.6355283307810107,
31
+ "recall": 0.7904761904761904,
32
+ "f1": 0.7045840407470287,
33
+ "support": 1575
34
+ },
35
+ "DROP": {
36
+ "precision": 0.6887871853546911,
37
+ "recall": 0.7270531400966184,
38
+ "f1": 0.7074030552291423,
39
+ "support": 414
40
+ },
41
+ "macro_f1": 0.749485474804764
42
+ },
43
+ "mean_peak_attention": 0.9977710247039795,
44
+ "max_snippets": 7,
45
+ "test": {
46
+ "KEEP": {
47
+ "precision": 0.8834537097833224,
48
+ "recall": 0.7688571428571429,
49
+ "f1": 0.8221814848762603,
50
+ "support": 3500
51
+ },
52
+ "EDIT": {
53
+ "precision": 0.6229660622966062,
54
+ "recall": 0.7957244655581948,
55
+ "f1": 0.6988265971316818,
56
+ "support": 1684
57
+ },
58
+ "DROP": {
59
+ "precision": 0.7108433734939759,
60
+ "recall": 0.6892523364485982,
61
+ "f1": 0.6998813760379597,
62
+ "support": 428
63
+ },
64
+ "macro_f1": 0.7402964860153006
65
+ }
66
+ }
sentence/evidence-mean-block24/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad06af92c634246f599a7ce09aa73d144a72f840ab9a338617defe8f1f3d204b
3
+ size 166079
sentence/evidence-mean-block24/metrics.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 24,
3
+ "evidence_pool": "mean",
4
+ "tau_d": 0.85,
5
+ "tau_sweep": {
6
+ "0.35": 0.8183428722238784,
7
+ "0.4": 0.8192790589797915,
8
+ "0.45": 0.8233162695389972,
9
+ "0.5": 0.8272089047865526,
10
+ "0.55": 0.83061106158326,
11
+ "0.6": 0.8351031336768479,
12
+ "0.65": 0.8393451170004237,
13
+ "0.7": 0.8435623918247458,
14
+ "0.75": 0.8457840996717598,
15
+ "0.8": 0.8464422156581833,
16
+ "0.85": 0.8472304045067051,
17
+ "0.9": 0.842217764567989,
18
+ "0.95": 0.8339713535831903
19
+ },
20
+ "val": {
21
+ "KEEP": {
22
+ "precision": 0.9373182552504039,
23
+ "recall": 0.8355414746543779,
24
+ "f1": 0.8835084513476472,
25
+ "support": 3472
26
+ },
27
+ "EDIT": {
28
+ "precision": 0.6987829614604463,
29
+ "recall": 0.8749206349206349,
30
+ "f1": 0.7769946433605865,
31
+ "support": 1575
32
+ },
33
+ "DROP": {
34
+ "precision": 0.9035532994923858,
35
+ "recall": 0.8599033816425121,
36
+ "f1": 0.8811881188118812,
37
+ "support": 414
38
+ },
39
+ "macro_f1": 0.8472304045067051
40
+ },
41
+ "feature_dim": 8192,
42
+ "test": {
43
+ "KEEP": {
44
+ "precision": 0.9342616580310881,
45
+ "recall": 0.8242857142857143,
46
+ "f1": 0.8758348512446873,
47
+ "support": 3500
48
+ },
49
+ "EDIT": {
50
+ "precision": 0.6978723404255319,
51
+ "recall": 0.8764845605700713,
52
+ "f1": 0.7770465912082126,
53
+ "support": 1684
54
+ },
55
+ "DROP": {
56
+ "precision": 0.8484107579462102,
57
+ "recall": 0.8107476635514018,
58
+ "f1": 0.8291517323775388,
59
+ "support": 428
60
+ },
61
+ "macro_f1": 0.8273443916101462
62
+ }
63
+ }
sentence/evidence-mean-block32/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b978263a1441a5ae58ffc7c51fd4e53066ea3782c41d601404fbcdddaeff6737
3
+ size 166079
sentence/evidence-mean-block32/metrics.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 32,
3
+ "evidence_pool": "mean",
4
+ "tau_d": 0.75,
5
+ "tau_sweep": {
6
+ "0.35": 0.7084534052188601,
7
+ "0.4": 0.7104026883780964,
8
+ "0.45": 0.7136435665115465,
9
+ "0.5": 0.7155487530965181,
10
+ "0.55": 0.7243127080925796,
11
+ "0.6": 0.7235142895554829,
12
+ "0.65": 0.7277080313099994,
13
+ "0.7": 0.72918538589756,
14
+ "0.75": 0.7316663725111044,
15
+ "0.8": 0.7265052771748625,
16
+ "0.85": 0.7244618173153458,
17
+ "0.9": 0.7169837089888382,
18
+ "0.95": 0.6986098266480546
19
+ },
20
+ "val": {
21
+ "KEEP": {
22
+ "precision": 0.8952024498128616,
23
+ "recall": 0.7577764976958525,
24
+ "f1": 0.8207767898923725,
25
+ "support": 3472
26
+ },
27
+ "EDIT": {
28
+ "precision": 0.6041765543426673,
29
+ "recall": 0.8082539682539682,
30
+ "f1": 0.6914720260727865,
31
+ "support": 1575
32
+ },
33
+ "DROP": {
34
+ "precision": 0.6819277108433734,
35
+ "recall": 0.6835748792270532,
36
+ "f1": 0.6827503015681545,
37
+ "support": 414
38
+ },
39
+ "macro_f1": 0.7316663725111044
40
+ },
41
+ "feature_dim": 8192,
42
+ "test": {
43
+ "KEEP": {
44
+ "precision": 0.8813617606602476,
45
+ "recall": 0.7322857142857143,
46
+ "f1": 0.7999375780274658,
47
+ "support": 3500
48
+ },
49
+ "EDIT": {
50
+ "precision": 0.5924764890282131,
51
+ "recall": 0.7856294536817102,
52
+ "f1": 0.6755169772785294,
53
+ "support": 1684
54
+ },
55
+ "DROP": {
56
+ "precision": 0.6624203821656051,
57
+ "recall": 0.7289719626168224,
58
+ "f1": 0.6941045606229144,
59
+ "support": 428
60
+ },
61
+ "macro_f1": 0.7231863719763032
62
+ }
63
+ }
sentence/evidence-nearest-block24/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a70e09f3646483509070120755050de206179e557d14054ce6178cd801a40e02
3
+ size 166079
sentence/evidence-nearest-block24/metrics.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 24,
3
+ "evidence_pool": "nearest",
4
+ "tau_d": 0.75,
5
+ "tau_sweep": {
6
+ "0.35": 0.8280369785912546,
7
+ "0.4": 0.8284244030828681,
8
+ "0.45": 0.8310011226606445,
9
+ "0.5": 0.8335599398803938,
10
+ "0.55": 0.8357240173302495,
11
+ "0.6": 0.8396687102605732,
12
+ "0.65": 0.8438812681792848,
13
+ "0.7": 0.8474658102054408,
14
+ "0.75": 0.8488943338645747,
15
+ "0.8": 0.8487771457868224,
16
+ "0.85": 0.8464260839578167,
17
+ "0.9": 0.8476382526866436,
18
+ "0.95": 0.8428036194318898
19
+ },
20
+ "val": {
21
+ "KEEP": {
22
+ "precision": 0.9331651954602774,
23
+ "recall": 0.8525345622119815,
24
+ "f1": 0.8910295003010236,
25
+ "support": 3472
26
+ },
27
+ "EDIT": {
28
+ "precision": 0.7304582210242587,
29
+ "recall": 0.8603174603174604,
30
+ "f1": 0.7900874635568513,
31
+ "support": 1575
32
+ },
33
+ "DROP": {
34
+ "precision": 0.8456221198156681,
35
+ "recall": 0.8864734299516909,
36
+ "f1": 0.8655660377358492,
37
+ "support": 414
38
+ },
39
+ "macro_f1": 0.8488943338645747
40
+ },
41
+ "feature_dim": 8192,
42
+ "test": {
43
+ "KEEP": {
44
+ "precision": 0.9288637079005351,
45
+ "recall": 0.8431428571428572,
46
+ "f1": 0.8839299086416055,
47
+ "support": 3500
48
+ },
49
+ "EDIT": {
50
+ "precision": 0.7296351824087957,
51
+ "recall": 0.8669833729216152,
52
+ "f1": 0.7924016282225238,
53
+ "support": 1684
54
+ },
55
+ "DROP": {
56
+ "precision": 0.8410138248847926,
57
+ "recall": 0.852803738317757,
58
+ "f1": 0.8468677494199536,
59
+ "support": 428
60
+ },
61
+ "macro_f1": 0.8410664287613608
62
+ }
63
+ }
sentence/evidence-nearest-block32/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47ce84c33635ceb17c4905d1090b838ecfa9758e0bfc224433e7f7540a91d8dc
3
+ size 166079
sentence/evidence-nearest-block32/metrics.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 32,
3
+ "evidence_pool": "nearest",
4
+ "tau_d": 0.85,
5
+ "tau_sweep": {
6
+ "0.35": 0.7504911437342106,
7
+ "0.4": 0.7521112436691751,
8
+ "0.45": 0.7546426336402083,
9
+ "0.5": 0.7585509381369135,
10
+ "0.55": 0.7605076347829994,
11
+ "0.6": 0.762778214997697,
12
+ "0.65": 0.7671188466583323,
13
+ "0.7": 0.7707989589361667,
14
+ "0.75": 0.7717645853563595,
15
+ "0.8": 0.7701726729000757,
16
+ "0.85": 0.7718798425204504,
17
+ "0.9": 0.7678025465952784,
18
+ "0.95": 0.7491515700558957
19
+ },
20
+ "val": {
21
+ "KEEP": {
22
+ "precision": 0.9144562334217506,
23
+ "recall": 0.7943548387096774,
24
+ "f1": 0.8501849568434031,
25
+ "support": 3472
26
+ },
27
+ "EDIT": {
28
+ "precision": 0.6462058965683906,
29
+ "recall": 0.8488888888888889,
30
+ "f1": 0.7338090010976948,
31
+ "support": 1575
32
+ },
33
+ "DROP": {
34
+ "precision": 0.7686170212765957,
35
+ "recall": 0.6980676328502415,
36
+ "f1": 0.7316455696202532,
37
+ "support": 414
38
+ },
39
+ "macro_f1": 0.7718798425204504
40
+ },
41
+ "feature_dim": 8192,
42
+ "test": {
43
+ "KEEP": {
44
+ "precision": 0.8999339498018494,
45
+ "recall": 0.7785714285714286,
46
+ "f1": 0.8348651960784313,
47
+ "support": 3500
48
+ },
49
+ "EDIT": {
50
+ "precision": 0.6335912608101957,
51
+ "recall": 0.8266033254156769,
52
+ "f1": 0.7173408915228033,
53
+ "support": 1684
54
+ },
55
+ "DROP": {
56
+ "precision": 0.7648578811369509,
57
+ "recall": 0.6915887850467289,
58
+ "f1": 0.7263803680981594,
59
+ "support": 428
60
+ },
61
+ "macro_f1": 0.7595288185664647
62
+ }
63
+ }
sentence/linear-block24/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8083524b0bda780b7ca8b100a8bce39280726401d1f13b9460f0f3ccb455b40
3
+ size 84159
sentence/linear-block24/metrics.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 24,
3
+ "tau_d": 0.8,
4
+ "tau_sweep": {
5
+ "0.35": 0.8101831919255443,
6
+ "0.4": 0.8114140897972656,
7
+ "0.45": 0.8149619103598357,
8
+ "0.5": 0.8209714092773067,
9
+ "0.55": 0.8293601923061806,
10
+ "0.6": 0.8331783406394381,
11
+ "0.65": 0.8379237670005164,
12
+ "0.7": 0.841049436098379,
13
+ "0.75": 0.843821574117252,
14
+ "0.8": 0.8443022189436068,
15
+ "0.85": 0.8434063414926697,
16
+ "0.9": 0.8355219394066573,
17
+ "0.95": 0.8217890877385421
18
+ },
19
+ "holdout": null,
20
+ "seed": 42,
21
+ "loss": "ce",
22
+ "gamma": null,
23
+ "val": {
24
+ "KEEP": {
25
+ "precision": 0.9393641429039659,
26
+ "recall": 0.8254608294930875,
27
+ "f1": 0.8787367775563389,
28
+ "support": 3472
29
+ },
30
+ "EDIT": {
31
+ "precision": 0.6885572139303483,
32
+ "recall": 0.8787301587301587,
33
+ "f1": 0.7721059972105997,
34
+ "support": 1575
35
+ },
36
+ "DROP": {
37
+ "precision": 0.8975,
38
+ "recall": 0.8671497584541062,
39
+ "f1": 0.8820638820638821,
40
+ "support": 414
41
+ },
42
+ "macro_f1": 0.8443022189436068
43
+ },
44
+ "test": {
45
+ "KEEP": {
46
+ "precision": 0.9224529526281635,
47
+ "recall": 0.8122857142857143,
48
+ "f1": 0.8638711637800061,
49
+ "support": 3500
50
+ },
51
+ "EDIT": {
52
+ "precision": 0.6853080568720379,
53
+ "recall": 0.8586698337292161,
54
+ "f1": 0.7622561939905114,
55
+ "support": 1684
56
+ },
57
+ "DROP": {
58
+ "precision": 0.8476190476190476,
59
+ "recall": 0.8317757009345794,
60
+ "f1": 0.839622641509434,
61
+ "support": 428
62
+ },
63
+ "macro_f1": 0.8219166664266505
64
+ }
65
+ }
sentence/linear-block32/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6082517c5a6be05f717587d205b22161ee20ddd996144d81662e07d26edbd7b
3
+ size 84159
sentence/linear-block32/metrics.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 32,
3
+ "tau_d": 0.7,
4
+ "tau_sweep": {
5
+ "0.35": 0.6943394237676858,
6
+ "0.4": 0.6966648625484937,
7
+ "0.45": 0.699174131563538,
8
+ "0.5": 0.70253575048726,
9
+ "0.55": 0.7055049462478515,
10
+ "0.6": 0.7117083919713286,
11
+ "0.65": 0.7137749625403568,
12
+ "0.7": 0.716626951233481,
13
+ "0.75": 0.711820978231276,
14
+ "0.8": 0.7065285979854902,
15
+ "0.85": 0.7048639721514492,
16
+ "0.9": 0.6857018714241615,
17
+ "0.95": 0.6615082530380287
18
+ },
19
+ "holdout": null,
20
+ "seed": 42,
21
+ "loss": "ce",
22
+ "gamma": null,
23
+ "val": {
24
+ "KEEP": {
25
+ "precision": 0.8841855739925499,
26
+ "recall": 0.7520161290322581,
27
+ "f1": 0.8127626459143971,
28
+ "support": 3472
29
+ },
30
+ "EDIT": {
31
+ "precision": 0.5933852140077821,
32
+ "recall": 0.7746031746031746,
33
+ "f1": 0.6719911870008263,
34
+ "support": 1575
35
+ },
36
+ "DROP": {
37
+ "precision": 0.6371681415929203,
38
+ "recall": 0.6956521739130435,
39
+ "f1": 0.6651270207852193,
40
+ "support": 414
41
+ },
42
+ "macro_f1": 0.716626951233481
43
+ },
44
+ "test": {
45
+ "KEEP": {
46
+ "precision": 0.8632799181725196,
47
+ "recall": 0.7234285714285714,
48
+ "f1": 0.7871910461681952,
49
+ "support": 3500
50
+ },
51
+ "EDIT": {
52
+ "precision": 0.5713638423198912,
53
+ "recall": 0.748812351543943,
54
+ "f1": 0.6481624261115394,
55
+ "support": 1684
56
+ },
57
+ "DROP": {
58
+ "precision": 0.6228813559322034,
59
+ "recall": 0.6869158878504673,
60
+ "f1": 0.6533333333333334,
61
+ "support": 428
62
+ },
63
+ "macro_f1": 0.6962289352043559
64
+ }
65
+ }
sentence/minilm-baseline/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a2253a83d5dd5cc7da1b768b4b117ca595f40b0a7b393a0424f2e536de0d4c
3
+ size 17663
sentence/minilm-baseline/metrics.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "tau_d": 0.6,
4
+ "tau_sweep": {
5
+ "0.35": 0.4757366738562993,
6
+ "0.4": 0.4800737523372757,
7
+ "0.45": 0.4801793559903799,
8
+ "0.5": 0.4831173376340067,
9
+ "0.55": 0.4833452243361714,
10
+ "0.6": 0.4868561852895335,
11
+ "0.65": 0.48247999370014627,
12
+ "0.7": 0.47345108266974206,
13
+ "0.75": 0.46729570781066565,
14
+ "0.8": 0.4614491537820024,
15
+ "0.85": 0.4436141475493189,
16
+ "0.9": 0.4266200564034583,
17
+ "0.95": 0.4007739222377022
18
+ },
19
+ "holdout": null,
20
+ "seed": 42,
21
+ "val": {
22
+ "KEEP": {
23
+ "precision": 0.7619453924914675,
24
+ "recall": 0.5144009216589862,
25
+ "f1": 0.6141678129298486,
26
+ "support": 3472
27
+ },
28
+ "EDIT": {
29
+ "precision": 0.379015860105734,
30
+ "recall": 0.5917460317460318,
31
+ "f1": 0.4620723847297967,
32
+ "support": 1575
33
+ },
34
+ "DROP": {
35
+ "precision": 0.3130699088145897,
36
+ "recall": 0.4975845410628019,
37
+ "f1": 0.3843283582089553,
38
+ "support": 414
39
+ },
40
+ "macro_f1": 0.4868561852895335
41
+ },
42
+ "feature_dim": 768,
43
+ "test": {
44
+ "KEEP": {
45
+ "precision": 0.7552301255230126,
46
+ "recall": 0.5157142857142857,
47
+ "f1": 0.6129032258064516,
48
+ "support": 3500
49
+ },
50
+ "EDIT": {
51
+ "precision": 0.3939047619047619,
52
+ "recall": 0.6140142517814727,
53
+ "f1": 0.479925736829891,
54
+ "support": 1684
55
+ },
56
+ "DROP": {
57
+ "precision": 0.32663316582914576,
58
+ "recall": 0.45560747663551404,
59
+ "f1": 0.3804878048780488,
60
+ "support": 428
61
+ },
62
+ "macro_f1": 0.4911055891714638
63
+ }
64
+ }
staleness/attention-block32/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b2cd724828d97e1f6e0e40581c6beecc57eb4728bb852059534b92c97f5dfb4
3
+ size 17904933
staleness/attention-block32/eval.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "head": "/home/diffusedit/full/heads/staleness_attention/head.pt",
3
+ "features": "/home/diffusedit/features/full/test_tokens",
4
+ "layer": 32,
5
+ "tau": 0.85,
6
+ "tau_match": 0.85,
7
+ "seed": 42,
8
+ "test": {
9
+ "precision": 0.7517290299698528,
10
+ "recall": 0.7466971992249427,
11
+ "f1": 0.7492046659597031,
12
+ "support": 5677,
13
+ "pr_auc": 0.8310112953186035,
14
+ "auroc": 0.9660482450433805,
15
+ "masked": 0.11237321048974991
16
+ },
17
+ "controls": {
18
+ "set": "test",
19
+ "reference": {
20
+ "pr_auc": 0.8310112953186035,
21
+ "auroc": 0.9660482450433805
22
+ },
23
+ "shuffled_evidence": {
24
+ "pr_auc": 0.6253933906555176,
25
+ "auroc": 0.8934536220671628
26
+ },
27
+ "no_evidence": {
28
+ "pr_auc": 0.7176730036735535,
29
+ "auroc": 0.9343921869725395
30
+ }
31
+ }
32
+ }
staleness/attention-block32/metrics.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 32,
3
+ "tau": 0.85,
4
+ "tau_match": 0.85,
5
+ "val_pr_auc": 0.8545193076133728,
6
+ "val_auroc": 0.9714314069844169,
7
+ "val": {
8
+ "precision": 0.7714828897338403,
9
+ "recall": 0.7566660451239977,
10
+ "f1": 0.7640026357902664,
11
+ "support": 5363
12
+ },
13
+ "holdout": null,
14
+ "seed": 42,
15
+ "config": {
16
+ "d": 4096,
17
+ "dim": 256,
18
+ "heads": 4,
19
+ "hidden": 256,
20
+ "dropout": 0.1
21
+ },
22
+ "epochs_run": 7,
23
+ "test": {
24
+ "precision": 0.7517290299698528,
25
+ "recall": 0.7466971992249427,
26
+ "f1": 0.7492046659597031,
27
+ "support": 5677,
28
+ "pr_auc": 0.8310112953186035,
29
+ "auroc": 0.9660482450433805,
30
+ "masked": 0.11237321048974991
31
+ },
32
+ "controls": {
33
+ "set": "test",
34
+ "reference": {
35
+ "pr_auc": 0.8310112953186035,
36
+ "auroc": 0.9660482450433805
37
+ },
38
+ "shuffled_evidence": {
39
+ "pr_auc": 0.6253933906555176,
40
+ "auroc": 0.8934536220671628
41
+ },
42
+ "no_evidence": {
43
+ "pr_auc": 0.7176730036735535,
44
+ "auroc": 0.9343921869725395
45
+ }
46
+ }
47
+ }
staleness/attention-block32/sweep.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tau_match": 0.85,
3
+ "stale_share": 0.11393427103757858,
4
+ "grid": {
5
+ "0.05": {
6
+ "precision": 0.44622625065365173,
7
+ "recall": 0.9546895394368824,
8
+ "f1": 0.608184355882877,
9
+ "support": 5363,
10
+ "masked": 0.243759423494339
11
+ },
12
+ "0.1": {
13
+ "precision": 0.48410029781919495,
14
+ "recall": 0.9395860525825098,
15
+ "f1": 0.6389804717220391,
16
+ "support": 5363,
17
+ "masked": 0.2211340367794037
18
+ },
19
+ "0.15": {
20
+ "precision": 0.5102354145342887,
21
+ "recall": 0.9295170613462614,
22
+ "f1": 0.6588250842529572,
23
+ "support": 5363,
24
+ "masked": 0.2075587958097458
25
+ },
26
+ "0.2": {
27
+ "precision": 0.5313947226709747,
28
+ "recall": 0.9200074585120268,
29
+ "f1": 0.6736755871108684,
30
+ "support": 5363,
31
+ "masked": 0.1972552090883255
32
+ },
33
+ "0.25": {
34
+ "precision": 0.5494838420107719,
35
+ "recall": 0.91310833488719,
36
+ "f1": 0.686094570928196,
37
+ "support": 5363,
38
+ "masked": 0.18933100998401642
39
+ },
40
+ "0.3": {
41
+ "precision": 0.5673526660430309,
42
+ "recall": 0.904717508856983,
43
+ "f1": 0.6973769313690262,
44
+ "support": 5363,
45
+ "masked": 0.1816829890012741
46
+ },
47
+ "0.35": {
48
+ "precision": 0.5836769342711617,
49
+ "recall": 0.8974454596308037,
50
+ "f1": 0.7073260342420458,
51
+ "support": 5363,
52
+ "masked": 0.17518217861652374
53
+ },
54
+ "0.4": {
55
+ "precision": 0.597892888498683,
56
+ "recall": 0.8888681707999254,
57
+ "f1": 0.7149070185962807,
58
+ "support": 5363,
59
+ "masked": 0.16938242316246033
60
+ },
61
+ "0.45": {
62
+ "precision": 0.6141127457362323,
63
+ "recall": 0.8795450307663621,
64
+ "f1": 0.7232444035571911,
65
+ "support": 5363,
66
+ "masked": 0.16317902505397797
67
+ },
68
+ "0.5": {
69
+ "precision": 0.629136400322841,
70
+ "recall": 0.8720865187395115,
71
+ "f1": 0.7309525670078925,
72
+ "support": 5363,
73
+ "masked": 0.1579316407442093
74
+ },
75
+ "0.55": {
76
+ "precision": 0.6457693381736945,
77
+ "recall": 0.8623904531046056,
78
+ "f1": 0.7385229540918162,
79
+ "support": 5363,
80
+ "masked": 0.1521531343460083
81
+ },
82
+ "0.6": {
83
+ "precision": 0.660828025477707,
84
+ "recall": 0.8512026850643296,
85
+ "f1": 0.7440306413495232,
86
+ "support": 5363,
87
+ "masked": 0.14675702154636383
88
+ },
89
+ "0.65": {
90
+ "precision": 0.677331723513432,
91
+ "recall": 0.8368450494126422,
92
+ "f1": 0.7486862957711236,
93
+ "support": 5363,
94
+ "masked": 0.14076608419418335
95
+ },
96
+ "0.7": {
97
+ "precision": 0.6956248032735285,
98
+ "recall": 0.824165578966996,
99
+ "f1": 0.7544593325936673,
100
+ "support": 5363,
101
+ "masked": 0.13498757779598236
102
+ },
103
+ "0.75": {
104
+ "precision": 0.7156280909990109,
105
+ "recall": 0.8094350177139661,
106
+ "f1": 0.7596465132557528,
107
+ "support": 5363,
108
+ "masked": 0.1288691610097885
109
+ },
110
+ "0.8": {
111
+ "precision": 0.7403373155305693,
112
+ "recall": 0.7857542420287152,
113
+ "f1": 0.7623699683401176,
114
+ "support": 5363,
115
+ "masked": 0.120923712849617
116
+ },
117
+ "0.85": {
118
+ "precision": 0.7714828897338403,
119
+ "recall": 0.7566660451239977,
120
+ "f1": 0.7640026357902664,
121
+ "support": 5363,
122
+ "masked": 0.11174608767032623
123
+ },
124
+ "0.9": {
125
+ "precision": 0.8064719478882119,
126
+ "recall": 0.7156442289763192,
127
+ "f1": 0.7583481525390239,
128
+ "support": 5363,
129
+ "masked": 0.10110259056091309
130
+ },
131
+ "0.95": {
132
+ "precision": 0.8637159289822456,
133
+ "recall": 0.644042513518553,
134
+ "f1": 0.7378765221106601,
135
+ "support": 5363,
136
+ "masked": 0.08495676517486572
137
+ }
138
+ }
139
+ }
staleness/linear-block32/classifier.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a8573a27c52986f4ce985e556130d7181ea6d8664d10d41a6b71194fc2f84e6
3
+ size 51391
staleness/linear-block32/metrics.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layer": 32,
3
+ "tau": 0.85,
4
+ "tau_sweep": {
5
+ "0.05": 0.33772333470851446,
6
+ "0.1": 0.39081996434937605,
7
+ "0.15": 0.43068918528306566,
8
+ "0.2": 0.460555133419747,
9
+ "0.25": 0.4871954430137379,
10
+ "0.3": 0.5105906313645621,
11
+ "0.35": 0.5315518351577592,
12
+ "0.4": 0.5517046737412509,
13
+ "0.45": 0.5696653216235462,
14
+ "0.5": 0.5886458528073784,
15
+ "0.55": 0.605126860289779,
16
+ "0.6": 0.6228106468073369,
17
+ "0.65": 0.6386652158142908,
18
+ "0.7": 0.6530486868376594,
19
+ "0.75": 0.6631433449873974,
20
+ "0.8": 0.6711994421199443,
21
+ "0.85": 0.673179896665101,
22
+ "0.9": 0.6635792940207882,
23
+ "0.95": 0.6176160954497601
24
+ },
25
+ "val_pr_auc": 0.753352701663971,
26
+ "val_auroc": 0.9445498534594089,
27
+ "val": {
28
+ "precision": 0.6783415372964786,
29
+ "recall": 0.6680962148051464,
30
+ "f1": 0.673179896665101,
31
+ "support": 5363
32
+ },
33
+ "holdout": null,
34
+ "seed": 42,
35
+ "loss": "bce",
36
+ "gamma": null,
37
+ "test": {
38
+ "precision": 0.6726296958855098,
39
+ "recall": 0.6623216487581469,
40
+ "f1": 0.6674358746782639,
41
+ "support": 5677,
42
+ "pr_auc": 0.7349614500999451,
43
+ "auroc": 0.9397934704786409
44
+ }
45
+ }
staleness/linear-block32/sweep.json ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stale_fraction": 0.11393427103757858,
3
+ "tau_match": 0.85,
4
+ "tau_f05": 0.95,
5
+ "trained_tau": 0.85,
6
+ "grid": [
7
+ {
8
+ "tau": 0.05,
9
+ "precision": 0.20349548722655653,
10
+ "recall": 0.9921685623718068,
11
+ "f1": 0.33772333470851446,
12
+ "f05": 0.24196262107225688,
13
+ "masked_fraction": 0.5555012822151184
14
+ },
15
+ {
16
+ "tau": 0.1,
17
+ "precision": 0.24400649200092742,
18
+ "recall": 0.9811672571322021,
19
+ "f1": 0.39081996434937605,
20
+ "f05": 0.28715497200484585,
21
+ "masked_fraction": 0.45813772082328796
22
+ },
23
+ {
24
+ "tau": 0.15,
25
+ "precision": 0.27659913015805665,
26
+ "recall": 0.9724035055006526,
27
+ "f1": 0.43068918528306566,
28
+ "f05": 0.322794290595328,
29
+ "masked_fraction": 0.40054386854171753
30
+ },
31
+ {
32
+ "tau": 0.2,
33
+ "precision": 0.302880658436214,
34
+ "recall": 0.9606563490583628,
35
+ "f1": 0.460555133419747,
36
+ "f05": 0.3509393349045679,
37
+ "masked_fraction": 0.36136898398399353
38
+ },
39
+ {
40
+ "tau": 0.25,
41
+ "precision": 0.32773055126223594,
42
+ "recall": 0.9489091926160731,
43
+ "f1": 0.4871954430137379,
44
+ "f05": 0.3771026306039274,
45
+ "masked_fraction": 0.3298846483230591
46
+ },
47
+ {
48
+ "tau": 0.3,
49
+ "precision": 0.35119422847937243,
50
+ "recall": 0.9349244825657281,
51
+ "f1": 0.5105906313645621,
52
+ "f05": 0.4013062060796209,
53
+ "masked_fraction": 0.30330777168273926
54
+ },
55
+ {
56
+ "tau": 0.35,
57
+ "precision": 0.3731635651322233,
58
+ "recall": 0.9235502517247809,
59
+ "f1": 0.5315518351577592,
60
+ "f05": 0.42365922504490633,
61
+ "masked_fraction": 0.2819782793521881
62
+ },
63
+ {
64
+ "tau": 0.4,
65
+ "precision": 0.3956124018457055,
66
+ "recall": 0.9112437068804774,
67
+ "f1": 0.5517046737412509,
68
+ "f05": 0.44609767229575537,
69
+ "masked_fraction": 0.26243335008621216
70
+ },
71
+ {
72
+ "tau": 0.45,
73
+ "precision": 0.41779093045521803,
74
+ "recall": 0.8950214432220772,
75
+ "f1": 0.5696653216235462,
76
+ "f05": 0.4676630487733588,
77
+ "masked_fraction": 0.24407809972763062
78
+ },
79
+ {
80
+ "tau": 0.5,
81
+ "precision": 0.4420628977910895,
82
+ "recall": 0.8806638075703898,
83
+ "f1": 0.5886458528073784,
84
+ "f05": 0.4909665481610845,
85
+ "masked_fraction": 0.22697627544403076
86
+ },
87
+ {
88
+ "tau": 0.55,
89
+ "precision": 0.4666329625884732,
90
+ "recall": 0.860525825097893,
91
+ "f1": 0.605126860289779,
92
+ "f05": 0.5136567014669545,
93
+ "masked_fraction": 0.21010813117027283
94
+ },
95
+ {
96
+ "tau": 0.6,
97
+ "precision": 0.49414596783017833,
98
+ "recall": 0.8420660078314376,
99
+ "f1": 0.6228106468073369,
100
+ "f05": 0.5386578878312936,
101
+ "masked_fraction": 0.19415351748466492
102
+ },
103
+ {
104
+ "tau": 0.65,
105
+ "precision": 0.5226786986464023,
106
+ "recall": 0.8208092485549133,
107
+ "f1": 0.6386652158142908,
108
+ "f05": 0.563621930296279,
109
+ "masked_fraction": 0.17892120778560638
110
+ },
111
+ {
112
+ "tau": 0.7,
113
+ "precision": 0.5551638595116856,
114
+ "recall": 0.7928398284542234,
115
+ "f1": 0.6530486868376594,
116
+ "f05": 0.5905719603322315,
117
+ "masked_fraction": 0.16271165013313293
118
+ },
119
+ {
120
+ "tau": 0.75,
121
+ "precision": 0.5879469434832757,
122
+ "recall": 0.760395301137423,
123
+ "f1": 0.6631433449873974,
124
+ "f05": 0.6158818376778326,
125
+ "masked_fraction": 0.14735187590122223
126
+ },
127
+ {
128
+ "tau": 0.8,
129
+ "precision": 0.6302177115730889,
130
+ "recall": 0.7178817825843744,
131
+ "f1": 0.6711994421199443,
132
+ "f05": 0.6459948320413437,
133
+ "masked_fraction": 0.12978266179561615
134
+ },
135
+ {
136
+ "tau": 0.85,
137
+ "precision": 0.6783415372964786,
138
+ "recall": 0.6680962148051464,
139
+ "f1": 0.673179896665101,
140
+ "f05": 0.676267411573742,
141
+ "masked_fraction": 0.11221346259117126
142
+ },
143
+ {
144
+ "tau": 0.9,
145
+ "precision": 0.7404685346807534,
146
+ "recall": 0.6011560693641619,
147
+ "f1": 0.6635792940207882,
148
+ "f05": 0.7076693445717547,
149
+ "masked_fraction": 0.09249856323003769
150
+ },
151
+ {
152
+ "tau": 0.95,
153
+ "precision": 0.8286252354048964,
154
+ "recall": 0.49226179377214246,
155
+ "f1": 0.6176160954497601,
156
+ "f05": 0.7289998343182195,
157
+ "masked_fraction": 0.06768498569726944
158
+ }
159
+ ]
160
+ }