toolevalxm commited on
Commit
1356fbe
·
verified ·
1 Parent(s): 1f18197

Upload MedVisionAI best checkpoint (epoch_50) with evaluation results

Browse files
Files changed (6) hide show
  1. README.md +48 -48
  2. config.json +2 -11
  3. figures/fig1.png +0 -0
  4. figures/fig2.png +0 -0
  5. figures/fig3.png +0 -0
  6. pytorch_model.bin +0 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- library_name: transformers
4
  ---
5
  # MedVisionAI
6
  <!-- markdownlint-disable first-line-h1 -->
@@ -20,15 +20,15 @@ library_name: transformers
20
 
21
  ## 1. Introduction
22
 
23
- MedVisionAI represents a breakthrough in medical imaging analysis. In this latest version, MedVisionAI has achieved significant improvements in diagnostic accuracy and multi-modal imaging interpretation through advanced transfer learning and domain-specific fine-tuning. The model demonstrates exceptional performance across radiology, pathology, and dermatology imaging benchmarks, approaching human-expert level performance in many categories.
24
 
25
  <p align="center">
26
  <img width="80%" src="figures/fig3.png">
27
  </p>
28
 
29
- Compared to the previous version, the upgraded model shows remarkable improvements in detecting subtle abnormalities. For instance, in the RadBench-2025 evaluation, the model's tumor detection sensitivity increased from 82% in the previous version to 94.3% in the current version. This advancement stems from enhanced attention mechanisms during the diagnostic reasoning process: the previous model processed images in 2K token context windows, whereas the new version utilizes 8K token context for comprehensive analysis.
30
 
31
- Beyond its improved diagnostic capabilities, this version also offers reduced false-positive rates and enhanced support for multi-modal inputs combining imaging with clinical notes.
32
 
33
  ## 2. Evaluation Results
34
 
@@ -36,70 +36,70 @@ Beyond its improved diagnostic capabilities, this version also offers reduced fa
36
 
37
  <div align="center">
38
 
39
- | | Benchmark | RadNet | PathAI | RadNet-v2 | MedVisionAI |
40
  |---|---|---|---|---|---|
41
- | **Core Detection Tasks** | Tumor Detection | 0.823 | 0.845 | 0.861 | 0.818 |
42
- | | Differential Diagnosis | 0.756 | 0.771 | 0.785 | 0.834 |
43
- | | Clinical Correlation | 0.698 | 0.712 | 0.725 | 0.733 |
44
- | **Image Analysis** | Report Interpretation | 0.645 | 0.662 | 0.678 | 0.690 |
45
- | | Symptom Extraction | 0.712 | 0.729 | 0.745 | 0.737 |
46
- | | Abnormality Classification | 0.834 | 0.851 | 0.867 | 0.871 |
47
- | | Diagnostic Confidence | 0.789 | 0.802 | 0.815 | 0.820 |
48
- | **Generation Tasks** | Image Segmentation | 0.678 | 0.695 | 0.712 | 0.750 |
49
- | | Case Documentation | 0.623 | 0.641 | 0.658 | 0.623 |
50
- | | Patient Communication | 0.701 | 0.718 | 0.735 | 0.649 |
51
- | | Findings Summary | 0.756 | 0.773 | 0.789 | 0.770 |
52
- | **Specialized Capabilities**| Multilingual Reports | 0.812 | 0.829 | 0.845 | 0.847 |
53
- | | Medical Knowledge | 0.734 | 0.751 | 0.767 | 0.712 |
54
- | | Protocol Adherence | 0.778 | 0.795 | 0.812 | 0.809 |
55
- | | Patient Safety | 0.892 | 0.908 | 0.923 | 0.893 |
56
 
57
  </div>
58
 
59
  ### Overall Performance Summary
60
- MedVisionAI demonstrates exceptional performance across all evaluated medical imaging benchmark categories, with particularly notable results in detection and safety-critical tasks.
61
 
62
  ## 3. Clinical Integration & API Platform
63
- We offer HIPAA-compliant API endpoints and clinical integration services. Please check our official website for compliance documentation and integration guides.
64
 
65
  ## 4. How to Run Locally
66
 
67
- Please refer to our clinical deployment repository for information about running MedVisionAI in healthcare environments.
68
 
69
- Compared to previous versions, the deployment recommendations for MedVisionAI have the following changes:
70
 
71
- 1. GPU with minimum 24GB VRAM is recommended for optimal inference speed.
72
- 2. Multi-image batch processing is now supported for radiology workflows.
73
 
74
- The model architecture of MedVisionAI-Lite is optimized for edge deployment while maintaining diagnostic accuracy above 95% of the full model.
75
 
76
- ### System Configuration
77
- We recommend using the following clinical context prompt:
78
- ```
79
- You are MedVisionAI, an AI assistant for medical imaging analysis.
80
- Current examination date: {exam_date}
81
- Patient context: {patient_context}
 
 
 
82
  ```
83
 
84
- ### Confidence Thresholds
85
- We recommend setting the diagnostic confidence threshold to 0.85 for clinical alerts.
86
 
87
- ### Input Formats
88
- For DICOM image analysis, use the following template:
89
  ```
90
- image_template = \
91
- """[modality]: {modality}
92
- [body_region]: {body_region}
93
- [clinical_indication]: {indication}
94
- [image_data_begin]
95
- {encoded_image}
96
- [image_data_end]
97
- {diagnostic_question}"""
98
  ```
99
 
100
  ## 5. License
101
- This code repository is licensed under the [Apache 2.0 License](LICENSE). The use of MedVisionAI models is subject to additional healthcare compliance requirements detailed in our clinical deployment guide.
102
 
103
  ## 6. Contact
104
- For clinical partnerships and integration support, contact us at clinical@medvisionai.health
105
- For research collaborations: research@medvisionai.health
 
1
  ---
2
  license: apache-2.0
3
+ library_name: timm
4
  ---
5
  # MedVisionAI
6
  <!-- markdownlint-disable first-line-h1 -->
 
20
 
21
  ## 1. Introduction
22
 
23
+ MedVisionAI represents a breakthrough in medical imaging analysis. In this latest version, MedVisionAI has dramatically enhanced its diagnostic accuracy and multi-modality support by incorporating advanced attention mechanisms and leveraging large-scale clinical imaging datasets during pre-training. The model demonstrates exceptional performance across various medical imaging benchmarks, including X-ray analysis, CT segmentation, and pathology grading.
24
 
25
  <p align="center">
26
  <img width="80%" src="figures/fig3.png">
27
  </p>
28
 
29
+ Compared to the previous version, this upgrade shows remarkable improvements in detecting subtle abnormalities. For example, in the RSNA Pneumonia Detection Challenge, the model's sensitivity increased from 78% in the previous version to 91.3% in the current version. This advancement stems from improved feature extraction: the previous model processed images at 224x224 resolution, whereas the new version operates at 512x512 resolution with hierarchical feature fusion.
30
 
31
+ Beyond diagnostic accuracy improvements, this version also offers enhanced explainability through attention maps and reduced false positive rates in screening applications.
32
 
33
  ## 2. Evaluation Results
34
 
 
36
 
37
  <div align="center">
38
 
39
+ | | Benchmark | ModelA | ModelB | ModelA-v2 | MedVisionAI |
40
  |---|---|---|---|---|---|
41
+ | **Diagnostic Imaging** | X-Ray Classification | 0.821 | 0.835 | 0.842 | 0.800 |
42
+ | | Tumor Detection | 0.756 | 0.771 | 0.783 | 0.769 |
43
+ | | CT Segmentation | 0.689 | 0.705 | 0.718 | 0.796 |
44
+ | **Specialized Analysis** | MRI Analysis | 0.734 | 0.749 | 0.761 | 0.750 |
45
+ | | Pathology Grading | 0.692 | 0.708 | 0.721 | 0.678 |
46
+ | | Retinal Screening | 0.803 | 0.819 | 0.828 | 0.864 |
47
+ | | Bone Fracture | 0.768 | 0.782 | 0.795 | 0.783 |
48
+ | **Detection Tasks** | Ultrasound Detection | 0.645 | 0.661 | 0.673 | 0.640 |
49
+ | | Skin Lesion | 0.712 | 0.728 | 0.741 | 0.695 |
50
+ | | Mammography | 0.778 | 0.793 | 0.805 | 0.842 |
51
+ | | Organ Localization | 0.701 | 0.718 | 0.729 | 0.769 |
52
+ | **Advanced Capabilities** | Cardiac Imaging | 0.723 | 0.738 | 0.751 | 0.685 |
53
+ | | Brain Anomaly | 0.681 | 0.697 | 0.709 | 0.665 |
54
+ | | Lung Nodule | 0.745 | 0.761 | 0.773 | 0.782 |
55
+ | | Safety Compliance | 0.812 | 0.801 | 0.825 | 0.800 |
56
 
57
  </div>
58
 
59
  ### Overall Performance Summary
60
+ MedVisionAI demonstrates strong performance across all evaluated medical imaging benchmark categories, with particularly notable results in diagnostic imaging and specialized analysis tasks.
61
 
62
  ## 3. Clinical Integration & API Platform
63
+ We offer a clinical integration interface and API for healthcare providers to integrate MedVisionAI. Please check our official documentation for HIPAA-compliant deployment details.
64
 
65
  ## 4. How to Run Locally
66
 
67
+ Please refer to our code repository for more information about running MedVisionAI locally.
68
 
69
+ Compared to previous versions, the usage recommendations for MedVisionAI have the following changes:
70
 
71
+ 1. DICOM input format is now natively supported.
72
+ 2. Multi-GPU inference is available for high-resolution 3D volume processing.
73
 
74
+ The model architecture of MedVisionAI-Lite is optimized for edge deployment, sharing the same preprocessing pipeline as the main MedVisionAI model.
75
 
76
+ ### Preprocessing Configuration
77
+ We recommend using the following preprocessing configuration for optimal results.
78
+ ```python
79
+ preprocessing_config = {
80
+ "target_spacing": [1.0, 1.0, 1.0], # mm
81
+ "intensity_normalization": "z-score",
82
+ "window_center": 40,
83
+ "window_width": 400
84
+ }
85
  ```
86
 
87
+ ### Inference Settings
88
+ We recommend setting the confidence threshold $\tau$ to 0.7 for clinical screening applications.
89
 
90
+ ### Input Format Requirements
91
+ For DICOM input, please ensure the following metadata fields are present:
92
  ```
93
+ Required DICOM Tags:
94
+ - PatientID (anonymized)
95
+ - StudyDate
96
+ - Modality
97
+ - PixelSpacing
98
+ - SliceThickness (for 3D volumes)
 
 
99
  ```
100
 
101
  ## 5. License
102
+ This code repository is licensed under the [Apache License 2.0](LICENSE). The use of MedVisionAI models is subject to additional clinical validation requirements. The model supports research use and requires FDA clearance for clinical deployment.
103
 
104
  ## 6. Contact
105
+ If you have any questions, please raise an issue on our GitHub repository or contact us at support@medvisionai.health.
 
config.json CHANGED
@@ -1,13 +1,4 @@
1
  {
2
  "model_type": "vit",
3
- "architectures": [
4
- "ViTForImageClassification"
5
- ],
6
- "hidden_size": 768,
7
- "num_attention_heads": 12,
8
- "num_hidden_layers": 12,
9
- "image_size": 512,
10
- "patch_size": 16,
11
- "num_channels": 3,
12
- "num_labels": 14
13
- }
 
1
  {
2
  "model_type": "vit",
3
+ "architectures": ["ViTForImageClassification"]
4
+ }
 
 
 
 
 
 
 
 
 
figures/fig1.png CHANGED
figures/fig2.png CHANGED
figures/fig3.png CHANGED
pytorch_model.bin CHANGED
Binary files a/pytorch_model.bin and b/pytorch_model.bin differ