Skip to content
Back to skills

Xai Clip Medical Seg Eval

ASecurity

Evaluates the computational efficiency and explanation fidelity of an ROI-guided perturbation framework for medical image segmentation. It measures how effectively the method reduces computation while preserving segmentation accuracy and explanation quality compared to full occlusion baselines. Use when the user wants to benchmark on FLARE22, SAROS, CHAOS, or asks about evaluating this task. Reports Dice coefficient.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongo

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill xai-clip-medical-seg-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xai Clip Medical Seg Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xai Clip Medical Seg Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-xai-clip-medical-seg-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-xai-clip-medical-seg-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xai-clip-medical-seg-eval
description: Evaluates the computational efficiency and explanation fidelity of an ROI-guided perturbation framework for medical image segmentation. It measures how effectively the method reduces computation while preserving segmentation accuracy and explanation quality compared to full occlusion baselines. Use when the user wants to benchmark on FLARE22, SAROS, CHAOS, or asks about evaluating this task. Reports Dice coefficient.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2602.07017
  bibtex_key: [REDACTED]
  confidence: high
---

# xai-clip-medical-seg-eval

> XAI-CLIP: ROI-Guided Perturbation Framework for Explainable Medical Image Segmentation in Multimodal Vision-Language Models — Alzubaidi et al. (2026) (arXiv:2602.07017, 2026)

## What this evaluates

Evaluates the computational efficiency and explanation fidelity of an ROI-guided perturbation framework for medical image segmentation. It measures how effectively the method reduces computation while preserving segmentation accuracy and explanation quality compared to full occlusion baselines.

## Datasets

- **FLARE22** — total ?; splits: train (-1), val (-1)
- **SAROS** — total ?; splits: test (-1)
- **CHAOS** — total ?; splits: test (-1)

## Metrics

- `Wall-clock latency ($T$)` — range: seconds
  - Elapsed time required to process a single 2D slice end to end.
- `FLOPs` — range: other
  - Floating-point operations per slice, computed using ptflops by aggregating operations from ROI extraction and the N_patch MedSAM forward passes.
- `ROI-reduction ratio ($\rho$)` — range: [0, 1]
  - Fraction of the full patch grid that requires computation, defined as $\rho = N_{\text{patch}}/N_{\text{patch}}^{\text{full}}$, where lower values indicate more effective pruning.
- `Dice coefficient` **(primary)** — range: [0, 1]
  - Overlap between the baseline MedSAM segmentation and the segmentation obtained under selective occlusion, serving as a fidelity measure.
- `Intersection-over-Union (IoU)` — range: [0, 1]
  - Overlap between the baseline MedSAM segmentation and the segmentation obtained under selective occlusion, serving as a fidelity measure.

## Input / output format

**Input**: 2D axial CT or MRI slices extracted from NIfTI volumes (middle slices selected).

**Output**: Segmentation mask and explanation/saliency map generated via ROI-guided occlusion perturbation.

## Scoring recipe

```python
# predictions: pred_mask, explanation_map
# gold: ground_truth_mask
# N_patch: dynamically counted occlusion patches evaluated
# N_patch_full: total patches in full grid

dice = 2 * np.sum(pred_mask & gold_mask) / (np.sum(pred_mask) + np.sum(gold_mask))
iou = np.sum(pred_mask & gold_mask) / np.sum(pred_mask | gold_mask)
reduction_ratio = N_patch / N_patch_full
latency = end_time - start_time
flops = ptflops.compute_flops(model, input_slice)
```

## Common pitfalls

- Processing full 3D volumes instead of extracting 2D middle axial slices as specified.
- Using a static patch count for the ROI-reduction ratio instead of dynamically recording N_patch within the perturbation loop.
- Comparing perturbed segmentation against ground truth instead of against the baseline MedSAM segmentation for fidelity metrics.

## Evidence (verbatim from paper)

> We assess computational efficiency and explanation fidelity using five complementary metrics. Wall-clock latency ($T$) measures the elapsed time required to process a single 2D slice end to end. Floating-point operations (FLOPs) quantify the computational cost per slice and are computed using ptflops by aggregating the operations incurred during ROI extraction and the $N_{\text{patch}}$ MedSAM forward passes executed as part of the perturbation process. Here, $N_{\text{patch}}$ denotes the number of occlusion patches actually evaluated and is recorded dynamically within the perturbation loop. The ROI-reduction ratio, defined as $\rho\=N_{\text{patch}}/N_{\text{patch}}^{\text{full}}$, captures the fraction of the full patch grid that requires computation, with lower values indicating more effective pruning. Finally, dice coefficient and Intersection-over-Union (IoU) are used to quantify the overlap between the baseline MedSAM segmentation and the segmentation obtained under selective occlusion, serving as fidelity measures to ensure that computational gains do not compromise explanatory reliability.

## Citation

```bibtex
@misc{alzubaidi2026xai_clip,
  title={XAI-CLIP: ROI-Guided Perturbation Framework for Explainable Medical Image Segmentation in Multimodal Vision-Language Models},
  author={Alzubaidi et al. (2026)},
  year={2026},
  note={arXiv:2602.07017}
}
```

- arXiv: 2602.07017

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.