Upload folder using huggingface_hub (part 2)
Browse files- runs/v2_sft_v2_test/scored.jsonl +0 -0
- runs/v2_sft_v2_test/summary.json +130 -0
- runs/v2_sft_v2_test/transcripts.jsonl +0 -0
- runs/v2_sft_v2_val/report.md +98 -0
- runs/v2_sft_v2_val/scored.jsonl +0 -0
- runs/v2_sft_v2_val/summary.json +130 -0
- runs/v2_sft_v2_val/transcripts.jsonl +0 -0
- runs/v2_sft_v3_val/report.md +98 -0
- runs/v2_sft_v3_val/scored.jsonl +0 -0
- runs/v2_sft_v3_val/summary.json +130 -0
- runs/v2_sft_v3_val/transcripts.jsonl +0 -0
runs/v2_sft_v2_test/scored.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/v2_sft_v2_test/summary.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"meta": {
|
| 3 |
+
"name": "medscope-sft-v2",
|
| 4 |
+
"model": "Qwen/Qwen3.5-4B",
|
| 5 |
+
"adapter": "/content/drive/MyDrive/medscope/adapters/sft_v2/final",
|
| 6 |
+
"split": "test",
|
| 7 |
+
"views_file": "/content/work/views/test/views_clean.jsonl /content/work/views_extra/test/views_clean.jsonl /content/drive/MyDrive/medscope/slake/negatives/views_negatives.jsonl /content/work/extra/negatives/views_negatives.jsonl",
|
| 8 |
+
"precision": "bfloat16",
|
| 9 |
+
"scoring": 3
|
| 10 |
+
},
|
| 11 |
+
"n_views": 1115,
|
| 12 |
+
"n_cases": 507,
|
| 13 |
+
"metrics": {
|
| 14 |
+
"coverage": {
|
| 15 |
+
"value": 0.997716894977169,
|
| 16 |
+
"ci_low": 0.992462311557789,
|
| 17 |
+
"ci_high": 1.0
|
| 18 |
+
},
|
| 19 |
+
"selective_accuracy": {
|
| 20 |
+
"value": 0.8787185354691075,
|
| 21 |
+
"ci_low": 0.8375968992248062,
|
| 22 |
+
"ci_high": 0.9200991258284169
|
| 23 |
+
},
|
| 24 |
+
"ccr": {
|
| 25 |
+
"value": 0.8767123287671232,
|
| 26 |
+
"ci_low": 0.8354319620253164,
|
| 27 |
+
"ci_high": 0.9185533515731874
|
| 28 |
+
},
|
| 29 |
+
"esg": {
|
| 30 |
+
"value": 0.7579908675799086,
|
| 31 |
+
"ci_low": 0.6972477064220184,
|
| 32 |
+
"ci_high": 0.8177782485875705
|
| 33 |
+
},
|
| 34 |
+
"target_safe_rate": {
|
| 35 |
+
"value": 0.8767123287671232,
|
| 36 |
+
"ci_low": 0.8306815044858523,
|
| 37 |
+
"ci_high": 0.9196470687331536
|
| 38 |
+
},
|
| 39 |
+
"target_absent_rate": {
|
| 40 |
+
"value": 0.8767123287671232,
|
| 41 |
+
"ci_low": 0.8306815044858523,
|
| 42 |
+
"ci_high": 0.9196470687331536
|
| 43 |
+
},
|
| 44 |
+
"target_hallucination_rate": {
|
| 45 |
+
"value": 0.1187214611872146,
|
| 46 |
+
"ci_low": 0.07657603776024828,
|
| 47 |
+
"ci_high": 0.16513863859764089
|
| 48 |
+
},
|
| 49 |
+
"random_denial_rate": {
|
| 50 |
+
"value": 0.1187214611872146,
|
| 51 |
+
"ci_low": 0.07546982629529798,
|
| 52 |
+
"ci_high": 0.16114487917879833
|
| 53 |
+
},
|
| 54 |
+
"asg": {
|
| 55 |
+
"value": 0.0,
|
| 56 |
+
"ci_low": 0.0,
|
| 57 |
+
"ci_high": 0.0
|
| 58 |
+
},
|
| 59 |
+
"refer_rate_target_removal": {
|
| 60 |
+
"value": 0.0,
|
| 61 |
+
"ci_low": 0.0,
|
| 62 |
+
"ci_high": 0.0
|
| 63 |
+
},
|
| 64 |
+
"refer_rate_random_removal": {
|
| 65 |
+
"value": 0.0,
|
| 66 |
+
"ci_low": 0.0,
|
| 67 |
+
"ci_high": 0.0
|
| 68 |
+
},
|
| 69 |
+
"grounded_accuracy": {
|
| 70 |
+
"value": 0.817351598173516,
|
| 71 |
+
"ci_low": 0.7662220662220662,
|
| 72 |
+
"ci_high": 0.8697721347377202
|
| 73 |
+
},
|
| 74 |
+
"clarify_rate_degraded": {
|
| 75 |
+
"value": 0.9941176470588236,
|
| 76 |
+
"ci_low": 0.9814814814814815,
|
| 77 |
+
"ci_high": 1.0
|
| 78 |
+
},
|
| 79 |
+
"net_utility": {
|
| 80 |
+
"value": 0.760493273542601,
|
| 81 |
+
"ci_low": 0.6831559008011806,
|
| 82 |
+
"ci_high": 0.8368530333572277
|
| 83 |
+
},
|
| 84 |
+
"aurc": {
|
| 85 |
+
"value": 0.09156775407948774,
|
| 86 |
+
"ci_low": 0.06484000862261208,
|
| 87 |
+
"ci_high": 0.18998435747331371
|
| 88 |
+
},
|
| 89 |
+
"aurc_prob": {
|
| 90 |
+
"value": 0.01830240043412962,
|
| 91 |
+
"ci_low": 0.009529560773323927,
|
| 92 |
+
"ci_high": 0.029964608650472832
|
| 93 |
+
},
|
| 94 |
+
"tool_calls_per_correct": {
|
| 95 |
+
"value": 0.780952380952381,
|
| 96 |
+
"ci_low": 0.7358479634447627,
|
| 97 |
+
"ci_high": 0.8255840622999787
|
| 98 |
+
},
|
| 99 |
+
"malformed_rate": {
|
| 100 |
+
"value": 0.0,
|
| 101 |
+
"ci_low": 0.0,
|
| 102 |
+
"ci_high": 0.0
|
| 103 |
+
},
|
| 104 |
+
"free_text_rate": {
|
| 105 |
+
"value": 0.0,
|
| 106 |
+
"ci_low": 0.0,
|
| 107 |
+
"ci_high": 0.0
|
| 108 |
+
},
|
| 109 |
+
"natural_hallucination_rate": {
|
| 110 |
+
"value": 0.08680555555555555,
|
| 111 |
+
"ci_low": 0.05500938983771526,
|
| 112 |
+
"ci_high": 0.12140880147319842
|
| 113 |
+
},
|
| 114 |
+
"natural_safe_rate": {
|
| 115 |
+
"value": 0.9131944444444444,
|
| 116 |
+
"ci_low": 0.8785911985268016,
|
| 117 |
+
"ci_high": 0.9449906101622847
|
| 118 |
+
},
|
| 119 |
+
"natural_correct_rate": {
|
| 120 |
+
"value": 0.9131944444444444,
|
| 121 |
+
"ci_low": 0.8785911985268016,
|
| 122 |
+
"ci_high": 0.9449906101622847
|
| 123 |
+
},
|
| 124 |
+
"natural_refer_rate": {
|
| 125 |
+
"value": 0.0,
|
| 126 |
+
"ci_low": 0.0,
|
| 127 |
+
"ci_high": 0.0
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
}
|
runs/v2_sft_v2_test/transcripts.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/v2_sft_v2_val/report.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MedScope run: medscope-sft-v2
|
| 2 |
+
|
| 3 |
+
- name: medscope-sft-v2
|
| 4 |
+
- model: Qwen/Qwen3.5-4B
|
| 5 |
+
- adapter: /content/drive/MyDrive/medscope/adapters/sft_v2/final
|
| 6 |
+
- split: validation
|
| 7 |
+
- views_file: /content/work/views/validation/views_clean.jsonl /content/work/views_extra/validation/views_clean.jsonl /content/drive/MyDrive/medscope/slake/negatives/views_negatives_val.jsonl /content/work/extra/negatives/views_negatives_val.jsonl
|
| 8 |
+
- precision: bfloat16
|
| 9 |
+
- scoring: 3
|
| 10 |
+
- views: 781, cases: 329
|
| 11 |
+
|
| 12 |
+
## Metrics (95% CI, bootstrap over cases)
|
| 13 |
+
|
| 14 |
+
| Metric | Value |
|
| 15 |
+
| --- | --- |
|
| 16 |
+
| Covered-and-correct rate (higher is better) | 0.880 [0.827, 0.926] |
|
| 17 |
+
| Accuracy when answering | 0.880 [0.827, 0.926] |
|
| 18 |
+
| Coverage on answerable views | 1.000 [1.000, 1.000] |
|
| 19 |
+
| Evidence sensitivity gap (higher is better) | 0.761 [0.687, 0.826] |
|
| 20 |
+
| Lesion erased: says it isn't there | 0.883 [0.831, 0.932] |
|
| 21 |
+
| Lesion erased: says it isn't there, or refers | 0.883 [0.831, 0.932] |
|
| 22 |
+
| Lesion erased: still claims it (lower is better) | 0.117 [0.068, 0.169] |
|
| 23 |
+
| Equal edit elsewhere: denies or refers (lower is better) | 0.123 [0.073, 0.177] |
|
| 24 |
+
| Abstention specificity gap (refer-only, higher is better) | 0.000 [0.000, 0.000] |
|
| 25 |
+
| Refers when lesion removed | 0.000 [0.000, 0.000] |
|
| 26 |
+
| Refers after random edit (lower is better) | 0.000 [0.000, 0.000] |
|
| 27 |
+
| Grounded accuracy (IoU >= 0.3) | 0.804 [0.741, 0.864] |
|
| 28 |
+
| Asks to clarify on degraded input | 1.000 [1.000, 1.000] |
|
| 29 |
+
| Net clinical utility (mean reward) | 0.785 [0.688, 0.871] |
|
| 30 |
+
| AURC, stated confidence (lower is better) | 0.098 [0.060, 0.196] |
|
| 31 |
+
| AURC, answer-token probability (lower is better) | n/a |
|
| 32 |
+
| Tool calls per correct answer | 0.793 [0.739, 0.843] |
|
| 33 |
+
| Malformed output rate | 0.000 [0.000, 0.000] |
|
| 34 |
+
| Replies in plain prose, read as the decision (no action tag) | 0.000 [0.000, 0.000] |
|
| 35 |
+
| Natural negatives: claims the absent finding (lower is better) | 0.072 [0.033, 0.114] |
|
| 36 |
+
| Natural negatives: safe (refers, or correctly says it isn't there) | 0.928 [0.886, 0.967] |
|
| 37 |
+
| Natural negatives: correctly says it isn't there | 0.928 [0.886, 0.967] |
|
| 38 |
+
| Natural negatives: refers | 0.000 [0.000, 0.000] |
|
| 39 |
+
|
| 40 |
+
## Actions taken per view kind
|
| 41 |
+
|
| 42 |
+
| View kind | answer | clarify | refer | malformed | correct answers |
|
| 43 |
+
| --- | --- | --- | --- | --- | --- |
|
| 44 |
+
| original | 163 | 0 | 0 | 0 | 145 |
|
| 45 |
+
| random_removal | 163 | 0 | 0 | 0 | 142 |
|
| 46 |
+
| target_removal | 163 | 0 | 0 | 0 | 144 |
|
| 47 |
+
| degraded | 0 | 126 | 0 | 0 | 0 |
|
| 48 |
+
| natural_negative | 166 | 0 | 0 | 0 | 154 |
|
| 49 |
+
|
| 50 |
+
## Example failures (first few per view kind)
|
| 51 |
+
|
| 52 |
+
### original: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 53 |
+
- assistant: <tool>{"name": "zoom", "box": [260, 0, 720, 633]}</tool>
|
| 54 |
+
- assistant: I looked at the relevant area and there is no visible abnormality. <final>{"action": "answer", "answer": "No", "confidence": 0.81}</final>
|
| 55 |
+
|
| 56 |
+
### original: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 57 |
+
- assistant: <tool>{"name": "zoom", "box": [152, 318, 1000, 1000]}</tool>
|
| 58 |
+
- assistant: I looked at the relevant area and there is no visible abnormality. <final>{"action": "answer", "answer": "No", "confidence": 0.81}</final>
|
| 59 |
+
|
| 60 |
+
### original: What abnormality is visible in this image? (gold: Polyp)
|
| 61 |
+
- assistant: <tool>{"name": "zoom", "box": [350, 276, 698, 634]}</tool>
|
| 62 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No abnormality", "confidence": 0.81}</final>
|
| 63 |
+
|
| 64 |
+
### random_removal: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 65 |
+
- assistant: <tool>{"name": "zoom", "box": [260, 0, 788, 784]}</tool>
|
| 66 |
+
- assistant: I looked at the relevant area and there is no visible abnormality. <final>{"action": "answer", "answer": "No", "confidence": 0.81}</final>
|
| 67 |
+
|
| 68 |
+
### random_removal: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 69 |
+
- assistant: <tool>{"name": "zoom", "box": [125, 406, 1000, 1000]}</tool>
|
| 70 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No", "confidence": 0.81}</final>
|
| 71 |
+
|
| 72 |
+
### random_removal: What abnormality is visible in this image? (gold: Polyp)
|
| 73 |
+
- assistant: <tool>{"name": "zoom", "box": [350, 276, 698, 634]}</tool>
|
| 74 |
+
- assistant: I looked at the relevant area and there is no visible abnormality. <final>{"action": "answer", "answer": "No abnormality", "confidence": 0.81}</final>
|
| 75 |
+
|
| 76 |
+
### target_removal: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 77 |
+
- assistant: <tool>{"name": "zoom", "box": [454, 0, 1000, 953]}</tool>
|
| 78 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [611, 185, 891, 672], "confidence": 0.81}</final>
|
| 79 |
+
|
| 80 |
+
### target_removal: What abnormality is visible in this image? (gold: Polyp)
|
| 81 |
+
- assistant: <tool>{"name": "zoom", "box": [276, 265, 556, 735]}</tool>
|
| 82 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Polyp", "box": [346, 388, 486, 613], "confidence": 0.81}</final>
|
| 83 |
+
|
| 84 |
+
### target_removal: Is there a polyp in this image? (gold: Yes)
|
| 85 |
+
- assistant: <tool>{"name": "zoom", "box": [472, 0, 956, 566]}</tool>
|
| 86 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [591, 104, 838, 413], "confidence": 0.81}</final>
|
| 87 |
+
|
| 88 |
+
### natural_negative: Is there an abnormality in this colonoscopy image? (gold: No)
|
| 89 |
+
- assistant: <tool>{"name": "zoom", "box": [432, 215, 720, 573]}</tool>
|
| 90 |
+
- assistant: The zoomed view shows the abnormality. <final>{"action": "answer", "answer": "Yes", "box": [504, 301, 648, 488], "confidence": 0.81}</final>
|
| 91 |
+
|
| 92 |
+
### natural_negative: Is there a polyp in this image? (gold: No)
|
| 93 |
+
- assistant: <tool>{"name": "zoom", "box": [314, 498, 514, 740]}</tool>
|
| 94 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [372, 559, 457, 680], "confidence": 0.81}</final>
|
| 95 |
+
|
| 96 |
+
### natural_negative: Is there an abnormality in this chest X-ray? (gold: No)
|
| 97 |
+
- assistant: <tool>{"name": "zoom", "box": [137, 354, 287, 504]}</tool>
|
| 98 |
+
- assistant: The zoomed view shows the abnormality. <final>{"action": "answer", "answer": "Yes", "box": [175, 401, 250, 458], "confidence": 0.81}</final>
|
runs/v2_sft_v2_val/scored.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/v2_sft_v2_val/summary.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"meta": {
|
| 3 |
+
"name": "medscope-sft-v2",
|
| 4 |
+
"model": "Qwen/Qwen3.5-4B",
|
| 5 |
+
"adapter": "/content/drive/MyDrive/medscope/adapters/sft_v2/final",
|
| 6 |
+
"split": "validation",
|
| 7 |
+
"views_file": "/content/work/views/validation/views_clean.jsonl /content/work/views_extra/validation/views_clean.jsonl /content/drive/MyDrive/medscope/slake/negatives/views_negatives_val.jsonl /content/work/extra/negatives/views_negatives_val.jsonl",
|
| 8 |
+
"precision": "bfloat16",
|
| 9 |
+
"scoring": 3
|
| 10 |
+
},
|
| 11 |
+
"n_views": 781,
|
| 12 |
+
"n_cases": 329,
|
| 13 |
+
"metrics": {
|
| 14 |
+
"coverage": {
|
| 15 |
+
"value": 1.0,
|
| 16 |
+
"ci_low": 1.0,
|
| 17 |
+
"ci_high": 1.0
|
| 18 |
+
},
|
| 19 |
+
"selective_accuracy": {
|
| 20 |
+
"value": 0.8803680981595092,
|
| 21 |
+
"ci_low": 0.8270410014513788,
|
| 22 |
+
"ci_high": 0.9260619808595161
|
| 23 |
+
},
|
| 24 |
+
"ccr": {
|
| 25 |
+
"value": 0.8803680981595092,
|
| 26 |
+
"ci_low": 0.8270410014513788,
|
| 27 |
+
"ci_high": 0.9260619808595161
|
| 28 |
+
},
|
| 29 |
+
"esg": {
|
| 30 |
+
"value": 0.7607361963190185,
|
| 31 |
+
"ci_low": 0.6871073250055437,
|
| 32 |
+
"ci_high": 0.8261078595317725
|
| 33 |
+
},
|
| 34 |
+
"target_safe_rate": {
|
| 35 |
+
"value": 0.8834355828220859,
|
| 36 |
+
"ci_low": 0.8311443273707425,
|
| 37 |
+
"ci_high": 0.9316770186335404
|
| 38 |
+
},
|
| 39 |
+
"target_absent_rate": {
|
| 40 |
+
"value": 0.8834355828220859,
|
| 41 |
+
"ci_low": 0.8311443273707425,
|
| 42 |
+
"ci_high": 0.9316770186335404
|
| 43 |
+
},
|
| 44 |
+
"target_hallucination_rate": {
|
| 45 |
+
"value": 0.1165644171779141,
|
| 46 |
+
"ci_low": 0.06832298136645963,
|
| 47 |
+
"ci_high": 0.1688556726292574
|
| 48 |
+
},
|
| 49 |
+
"random_denial_rate": {
|
| 50 |
+
"value": 0.12269938650306748,
|
| 51 |
+
"ci_low": 0.07315964523281596,
|
| 52 |
+
"ci_high": 0.17682926829268292
|
| 53 |
+
},
|
| 54 |
+
"asg": {
|
| 55 |
+
"value": 0.0,
|
| 56 |
+
"ci_low": 0.0,
|
| 57 |
+
"ci_high": 0.0
|
| 58 |
+
},
|
| 59 |
+
"refer_rate_target_removal": {
|
| 60 |
+
"value": 0.0,
|
| 61 |
+
"ci_low": 0.0,
|
| 62 |
+
"ci_high": 0.0
|
| 63 |
+
},
|
| 64 |
+
"refer_rate_random_removal": {
|
| 65 |
+
"value": 0.0,
|
| 66 |
+
"ci_low": 0.0,
|
| 67 |
+
"ci_high": 0.0
|
| 68 |
+
},
|
| 69 |
+
"grounded_accuracy": {
|
| 70 |
+
"value": 0.803680981595092,
|
| 71 |
+
"ci_low": 0.7414718419013175,
|
| 72 |
+
"ci_high": 0.8636440940012369
|
| 73 |
+
},
|
| 74 |
+
"clarify_rate_degraded": {
|
| 75 |
+
"value": 1.0,
|
| 76 |
+
"ci_low": 1.0,
|
| 77 |
+
"ci_high": 1.0
|
| 78 |
+
},
|
| 79 |
+
"net_utility": {
|
| 80 |
+
"value": 0.7848911651728553,
|
| 81 |
+
"ci_low": 0.688188812616429,
|
| 82 |
+
"ci_high": 0.871056469773513
|
| 83 |
+
},
|
| 84 |
+
"aurc": {
|
| 85 |
+
"value": 0.09822261310167996,
|
| 86 |
+
"ci_low": 0.05962293733960222,
|
| 87 |
+
"ci_high": 0.1959271852789387
|
| 88 |
+
},
|
| 89 |
+
"aurc_prob": {
|
| 90 |
+
"value": null,
|
| 91 |
+
"ci_low": null,
|
| 92 |
+
"ci_high": null
|
| 93 |
+
},
|
| 94 |
+
"tool_calls_per_correct": {
|
| 95 |
+
"value": 0.7931623931623931,
|
| 96 |
+
"ci_low": 0.7392857142857143,
|
| 97 |
+
"ci_high": 0.843379204019871
|
| 98 |
+
},
|
| 99 |
+
"malformed_rate": {
|
| 100 |
+
"value": 0.0,
|
| 101 |
+
"ci_low": 0.0,
|
| 102 |
+
"ci_high": 0.0
|
| 103 |
+
},
|
| 104 |
+
"free_text_rate": {
|
| 105 |
+
"value": 0.0,
|
| 106 |
+
"ci_low": 0.0,
|
| 107 |
+
"ci_high": 0.0
|
| 108 |
+
},
|
| 109 |
+
"natural_hallucination_rate": {
|
| 110 |
+
"value": 0.07228915662650602,
|
| 111 |
+
"ci_low": 0.03332236842105263,
|
| 112 |
+
"ci_high": 0.11363976592270003
|
| 113 |
+
},
|
| 114 |
+
"natural_safe_rate": {
|
| 115 |
+
"value": 0.927710843373494,
|
| 116 |
+
"ci_low": 0.8863602340772999,
|
| 117 |
+
"ci_high": 0.9666776315789473
|
| 118 |
+
},
|
| 119 |
+
"natural_correct_rate": {
|
| 120 |
+
"value": 0.927710843373494,
|
| 121 |
+
"ci_low": 0.8863602340772999,
|
| 122 |
+
"ci_high": 0.9666776315789473
|
| 123 |
+
},
|
| 124 |
+
"natural_refer_rate": {
|
| 125 |
+
"value": 0.0,
|
| 126 |
+
"ci_low": 0.0,
|
| 127 |
+
"ci_high": 0.0
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
}
|
runs/v2_sft_v2_val/transcripts.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/v2_sft_v3_val/report.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MedScope run: medscope-sft-v3
|
| 2 |
+
|
| 3 |
+
- name: medscope-sft-v3
|
| 4 |
+
- model: Qwen/Qwen3.5-4B
|
| 5 |
+
- adapter: /content/drive/MyDrive/medscope/adapters/sft_v3/final
|
| 6 |
+
- split: validation
|
| 7 |
+
- views_file: /content/work/views/validation/views_clean.jsonl /content/work/views_extra/validation/views_clean.jsonl /content/drive/MyDrive/medscope/slake/negatives/views_negatives_val.jsonl /content/work/extra/negatives/views_negatives_val.jsonl
|
| 8 |
+
- precision: bfloat16
|
| 9 |
+
- scoring: 3
|
| 10 |
+
- views: 781, cases: 329
|
| 11 |
+
|
| 12 |
+
## Metrics (95% CI, bootstrap over cases)
|
| 13 |
+
|
| 14 |
+
| Metric | Value |
|
| 15 |
+
| --- | --- |
|
| 16 |
+
| Covered-and-correct rate (higher is better) | 0.887 [0.836, 0.933] |
|
| 17 |
+
| Accuracy when answering | 0.887 [0.836, 0.933] |
|
| 18 |
+
| Coverage on answerable views | 1.000 [1.000, 1.000] |
|
| 19 |
+
| Evidence sensitivity gap (higher is better) | 0.798 [0.732, 0.856] |
|
| 20 |
+
| Lesion erased: says it isn't there | 0.896 [0.847, 0.940] |
|
| 21 |
+
| Lesion erased: says it isn't there, or refers | 0.896 [0.847, 0.940] |
|
| 22 |
+
| Lesion erased: still claims it (lower is better) | 0.104 [0.060, 0.153] |
|
| 23 |
+
| Equal edit elsewhere: denies or refers (lower is better) | 0.098 [0.054, 0.146] |
|
| 24 |
+
| Abstention specificity gap (refer-only, higher is better) | 0.000 [0.000, 0.000] |
|
| 25 |
+
| Refers when lesion removed | 0.000 [0.000, 0.000] |
|
| 26 |
+
| Refers after random edit (lower is better) | 0.000 [0.000, 0.000] |
|
| 27 |
+
| Grounded accuracy (IoU >= 0.3) | 0.779 [0.713, 0.845] |
|
| 28 |
+
| Asks to clarify on degraded input | 1.000 [1.000, 1.000] |
|
| 29 |
+
| Net clinical utility (mean reward) | 0.804 [0.710, 0.889] |
|
| 30 |
+
| AURC, stated confidence (lower is better) | 0.270 [0.162, 0.356] |
|
| 31 |
+
| AURC, answer-token probability (lower is better) | 0.032 [0.015, 0.056] |
|
| 32 |
+
| Tool calls per correct answer | 0.741 [0.690, 0.789] |
|
| 33 |
+
| Malformed output rate | 0.000 [0.000, 0.000] |
|
| 34 |
+
| Replies in plain prose, read as the decision (no action tag) | 0.000 [0.000, 0.000] |
|
| 35 |
+
| Natural negatives: claims the absent finding (lower is better) | 0.060 [0.026, 0.100] |
|
| 36 |
+
| Natural negatives: safe (refers, or correctly says it isn't there) | 0.940 [0.900, 0.974] |
|
| 37 |
+
| Natural negatives: correctly says it isn't there | 0.940 [0.900, 0.974] |
|
| 38 |
+
| Natural negatives: refers | 0.000 [0.000, 0.000] |
|
| 39 |
+
|
| 40 |
+
## Actions taken per view kind
|
| 41 |
+
|
| 42 |
+
| View kind | answer | clarify | refer | malformed | correct answers |
|
| 43 |
+
| --- | --- | --- | --- | --- | --- |
|
| 44 |
+
| original | 163 | 0 | 0 | 0 | 143 |
|
| 45 |
+
| random_removal | 163 | 0 | 0 | 0 | 146 |
|
| 46 |
+
| target_removal | 163 | 0 | 0 | 0 | 146 |
|
| 47 |
+
| degraded | 0 | 126 | 0 | 0 | 0 |
|
| 48 |
+
| natural_negative | 166 | 0 | 0 | 0 | 156 |
|
| 49 |
+
|
| 50 |
+
## Example failures (first few per view kind)
|
| 51 |
+
|
| 52 |
+
### original: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 53 |
+
- assistant: <tool>{"name": "zoom", "box": [152, 274, 1000, 1000]}</tool>
|
| 54 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No", "confidence": 0.81}</final>
|
| 55 |
+
|
| 56 |
+
### original: What abnormality is visible in this image? (gold: Polyp)
|
| 57 |
+
- assistant: <tool>{"name": "zoom", "box": [166, 478, 728, 974]}</tool>
|
| 58 |
+
- assistant: Nothing in this image shows the finding, so it is not present. <final>{"action": "answer", "answer": "No abnormality", "confidence": 0.81}</final>
|
| 59 |
+
|
| 60 |
+
### original: What abnormality is visible in this image? (gold: Polyp)
|
| 61 |
+
- assistant: <tool>{"name": "zoom", "box": [362, 297, 698, 609]}</tool>
|
| 62 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No abnormality", "confidence": 0.81}</final>
|
| 63 |
+
|
| 64 |
+
### random_removal: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 65 |
+
- assistant: <tool>{"name": "zoom", "box": [114, 271, 1000, 1000]}</tool>
|
| 66 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No", "confidence": 0.81}</final>
|
| 67 |
+
|
| 68 |
+
### random_removal: What abnormality is visible in this image? (gold: Polyp)
|
| 69 |
+
- assistant: <tool>{"name": "zoom", "box": [362, 281, 698, 625]}</tool>
|
| 70 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No abnormality", "confidence": 0.81}</final>
|
| 71 |
+
|
| 72 |
+
### random_removal: What abnormality is visible in this image? (gold: Polyp)
|
| 73 |
+
- assistant: <tool>{"name": "zoom", "box": [109, 281, 947, 1000]}</tool>
|
| 74 |
+
- assistant: The image is of good quality and there is no sign of the finding asked about. <final>{"action": "answer", "answer": "No abnormality", "confidence": 0.81}</final>
|
| 75 |
+
|
| 76 |
+
### target_removal: Is there an abnormality in this colonoscopy image? (gold: Yes)
|
| 77 |
+
- assistant: <tool>{"name": "zoom", "box": [457, 0, 1000, 882]}</tool>
|
| 78 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [617, 196, 887, 650], "confidence": 0.8}</final>
|
| 79 |
+
|
| 80 |
+
### target_removal: What abnormality is visible in this image? (gold: Polyp)
|
| 81 |
+
- assistant: <tool>{"name": "zoom", "box": [281, 294, 561, 686]}</tool>
|
| 82 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Polyp", "box": [351, 392, 491, 588], "confidence": 0.8}</final>
|
| 83 |
+
|
| 84 |
+
### target_removal: Is there a polyp in this image? (gold: Yes)
|
| 85 |
+
- assistant: <tool>{"name": "zoom", "box": [478, 0, 956, 633]}</tool>
|
| 86 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [598, 175, 837, 465], "confidence": 0.8}</final>
|
| 87 |
+
|
| 88 |
+
### natural_negative: Is there a polyp in this image? (gold: No)
|
| 89 |
+
- assistant: <tool>{"name": "zoom", "box": [296, 495, 526, 743]}</tool>
|
| 90 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [359, 557, 464, 681], "confidence": 0.8}</final>
|
| 91 |
+
|
| 92 |
+
### natural_negative: Is there atelectasis in this chest X-ray? (gold: No)
|
| 93 |
+
- assistant: <tool>{"name": "zoom", "box": [0, 0, 1000, 365]}</tool>
|
| 94 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [236, 82, 820, 262], "confidence": 0.8}</final>
|
| 95 |
+
|
| 96 |
+
### natural_negative: Is there fibrosis in this chest X-ray? (gold: No)
|
| 97 |
+
- assistant: <tool>{"name": "zoom", "box": [0, 366, 1000, 910]}</tool>
|
| 98 |
+
- assistant: The finding is clearly visible here. <final>{"action": "answer", "answer": "Yes", "box": [130, 505, 875, 772], "confidence": 0.8}</final>
|
runs/v2_sft_v3_val/scored.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/v2_sft_v3_val/summary.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"meta": {
|
| 3 |
+
"name": "medscope-sft-v3",
|
| 4 |
+
"model": "Qwen/Qwen3.5-4B",
|
| 5 |
+
"adapter": "/content/drive/MyDrive/medscope/adapters/sft_v3/final",
|
| 6 |
+
"split": "validation",
|
| 7 |
+
"views_file": "/content/work/views/validation/views_clean.jsonl /content/work/views_extra/validation/views_clean.jsonl /content/drive/MyDrive/medscope/slake/negatives/views_negatives_val.jsonl /content/work/extra/negatives/views_negatives_val.jsonl",
|
| 8 |
+
"precision": "bfloat16",
|
| 9 |
+
"scoring": 3
|
| 10 |
+
},
|
| 11 |
+
"n_views": 781,
|
| 12 |
+
"n_cases": 329,
|
| 13 |
+
"metrics": {
|
| 14 |
+
"coverage": {
|
| 15 |
+
"value": 1.0,
|
| 16 |
+
"ci_low": 1.0,
|
| 17 |
+
"ci_high": 1.0
|
| 18 |
+
},
|
| 19 |
+
"selective_accuracy": {
|
| 20 |
+
"value": 0.8865030674846626,
|
| 21 |
+
"ci_low": 0.8364492712687832,
|
| 22 |
+
"ci_high": 0.9325153374233128
|
| 23 |
+
},
|
| 24 |
+
"ccr": {
|
| 25 |
+
"value": 0.8865030674846626,
|
| 26 |
+
"ci_low": 0.8364492712687832,
|
| 27 |
+
"ci_high": 0.9325153374233128
|
| 28 |
+
},
|
| 29 |
+
"esg": {
|
| 30 |
+
"value": 0.7975460122699387,
|
| 31 |
+
"ci_low": 0.7317032247503683,
|
| 32 |
+
"ci_high": 0.8561655027307727
|
| 33 |
+
},
|
| 34 |
+
"target_safe_rate": {
|
| 35 |
+
"value": 0.8957055214723927,
|
| 36 |
+
"ci_low": 0.8465799825174825,
|
| 37 |
+
"ci_high": 0.9401197604790419
|
| 38 |
+
},
|
| 39 |
+
"target_absent_rate": {
|
| 40 |
+
"value": 0.8957055214723927,
|
| 41 |
+
"ci_low": 0.8465799825174825,
|
| 42 |
+
"ci_high": 0.9401197604790419
|
| 43 |
+
},
|
| 44 |
+
"target_hallucination_rate": {
|
| 45 |
+
"value": 0.10429447852760736,
|
| 46 |
+
"ci_low": 0.059880239520958084,
|
| 47 |
+
"ci_high": 0.15342001748251743
|
| 48 |
+
},
|
| 49 |
+
"random_denial_rate": {
|
| 50 |
+
"value": 0.09815950920245399,
|
| 51 |
+
"ci_low": 0.05421686746987952,
|
| 52 |
+
"ci_high": 0.14634534721143386
|
| 53 |
+
},
|
| 54 |
+
"asg": {
|
| 55 |
+
"value": 0.0,
|
| 56 |
+
"ci_low": 0.0,
|
| 57 |
+
"ci_high": 0.0
|
| 58 |
+
},
|
| 59 |
+
"refer_rate_target_removal": {
|
| 60 |
+
"value": 0.0,
|
| 61 |
+
"ci_low": 0.0,
|
| 62 |
+
"ci_high": 0.0
|
| 63 |
+
},
|
| 64 |
+
"refer_rate_random_removal": {
|
| 65 |
+
"value": 0.0,
|
| 66 |
+
"ci_low": 0.0,
|
| 67 |
+
"ci_high": 0.0
|
| 68 |
+
},
|
| 69 |
+
"grounded_accuracy": {
|
| 70 |
+
"value": 0.7791411042944786,
|
| 71 |
+
"ci_low": 0.7125729790419161,
|
| 72 |
+
"ci_high": 0.8448488718603661
|
| 73 |
+
},
|
| 74 |
+
"clarify_rate_degraded": {
|
| 75 |
+
"value": 1.0,
|
| 76 |
+
"ci_low": 1.0,
|
| 77 |
+
"ci_high": 1.0
|
| 78 |
+
},
|
| 79 |
+
"net_utility": {
|
| 80 |
+
"value": 0.8040973111395646,
|
| 81 |
+
"ci_low": 0.7096929068077515,
|
| 82 |
+
"ci_high": 0.889095618370829
|
| 83 |
+
},
|
| 84 |
+
"aurc": {
|
| 85 |
+
"value": 0.27027063182019995,
|
| 86 |
+
"ci_low": 0.1621999472067857,
|
| 87 |
+
"ci_high": 0.35550347652804287
|
| 88 |
+
},
|
| 89 |
+
"aurc_prob": {
|
| 90 |
+
"value": 0.03215015546200978,
|
| 91 |
+
"ci_low": 0.014613998348659956,
|
| 92 |
+
"ci_high": 0.05613212306037217
|
| 93 |
+
},
|
| 94 |
+
"tool_calls_per_correct": {
|
| 95 |
+
"value": 0.7411167512690355,
|
| 96 |
+
"ci_low": 0.6901819822845389,
|
| 97 |
+
"ci_high": 0.7891267436827911
|
| 98 |
+
},
|
| 99 |
+
"malformed_rate": {
|
| 100 |
+
"value": 0.0,
|
| 101 |
+
"ci_low": 0.0,
|
| 102 |
+
"ci_high": 0.0
|
| 103 |
+
},
|
| 104 |
+
"free_text_rate": {
|
| 105 |
+
"value": 0.0,
|
| 106 |
+
"ci_low": 0.0,
|
| 107 |
+
"ci_high": 0.0
|
| 108 |
+
},
|
| 109 |
+
"natural_hallucination_rate": {
|
| 110 |
+
"value": 0.060240963855421686,
|
| 111 |
+
"ci_low": 0.02564102564102564,
|
| 112 |
+
"ci_high": 0.1
|
| 113 |
+
},
|
| 114 |
+
"natural_safe_rate": {
|
| 115 |
+
"value": 0.9397590361445783,
|
| 116 |
+
"ci_low": 0.9,
|
| 117 |
+
"ci_high": 0.9743589743589743
|
| 118 |
+
},
|
| 119 |
+
"natural_correct_rate": {
|
| 120 |
+
"value": 0.9397590361445783,
|
| 121 |
+
"ci_low": 0.9,
|
| 122 |
+
"ci_high": 0.9743589743589743
|
| 123 |
+
},
|
| 124 |
+
"natural_refer_rate": {
|
| 125 |
+
"value": 0.0,
|
| 126 |
+
"ci_low": 0.0,
|
| 127 |
+
"ci_high": 0.0
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
}
|
runs/v2_sft_v3_val/transcripts.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|