Skip to content
Back to skills

Mammography Linear Eval

ASecurity

Evaluates self-supervised learning models for breast cancer detection on screening mammography using a linear evaluation protocol on whole images derived from tiled patches. The protocol extracts fixed encoder features from image patches, pools them using attention-based or average pooling, and trains a linear classifier for final prediction. Use when the user wants to benchmark on Screening mammography dataset, or asks about evaluating this task. Reports linear evaluation.

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

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill mammography-linear-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mammography Linear Eval?

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

Security grade badge for Mammography Linear Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-mammography-linear-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-mammography-linear-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: mammography-linear-eval
description: Evaluates self-supervised learning models for breast cancer detection on screening mammography using a linear evaluation protocol on whole images derived from tiled patches. The protocol extracts fixed encoder features from image patches, pools them using attention-based or average pooling, and trains a linear classifier for final prediction. Use when the user wants to benchmark on Screening mammography dataset, or asks about evaluating this task. Reports linear evaluation.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2203.08812
  bibtex_key: [REDACTED]
  confidence: medium
---

# mammography-linear-eval

> Self-Supervised Deep Learning to Enhance Breast Cancer Detection on Screening Mammography — Miller et al. (2022) (arXiv:2203.08812, 2022)

## What this evaluates

Evaluates self-supervised learning models for breast cancer detection on screening mammography using a linear evaluation protocol on whole images derived from tiled patches. The protocol extracts fixed encoder features from image patches, pools them using attention-based or average pooling, and trains a linear classifier for final prediction.

## Datasets

- **Screening mammography dataset** — total ?; splits: (unstated)

## Metrics

- `linear evaluation` **(primary)** — range: [0, 1]
  - Accuracy of a linear classifier trained on fixed encoder features extracted via tiled-patch pretraining and attention-based pooling.

## Input / output format

**Input**: Tiled patches of whole mammogram images for pretraining; whole mammogram images for linear evaluation.

**Output**: Classification prediction from a linear classifier applied to pooled image embeddings.

## Scoring recipe

```python
def evaluate(image, encoder, classifier, pooling='MIP'):
    patches = split_into_patches(image)
    H = [encoder(patch) for patch in patches]
    if pooling == 'MIP':
        z = weighted_average(H, attention_scores(H))
    else:
        z = average(H)
    return classifier(z)
```

## Common pitfalls

- Cropping augmentations may remove localized cancer lesions, hurting performance.
- Large batch sizes are critical for SSL success but restricted by mammogram resolution and GPU memory.
- Global average pooling dilutes signals from localized lesions compared to attention-based pooling.

## Evidence (verbatim from paper)

> A classic way to test an SSL method is to train an encoder and then evaluate a linear classifier using the features extracted by the encoder with its parameters fixed, known as linear evaluation.

## Citation

```bibtex
@misc{miller2022selfsupervised,
  title={Self-Supervised Deep Learning to Enhance Breast Cancer Detection on Screening Mammography},
  author={Miller et al. (2022)},
  year={2022},
  note={arXiv:2203.08812}
}
```

- arXiv: 2203.08812

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.