Skip to content

Conversation

@jonaserb-k
Copy link
Collaborator

@jonaserb-k jonaserb-k commented Jan 14, 2026

Summary

This PR adds native support for the PathMMU Atlas dataset, a multimodal Visual Question Answering (VQA) benchmark for pathology. The implementation enables eva to directly load and evaluate models on expert-validated pathology questions derived from the ARCH Book Set.

Key changes:

  • New PathMMUAtlas dataset class for multimodal VQA evaluation
  • Configuration file for running PathMMU Atlas evaluations
  • Test suite with test assets
  • Added docs for PathMMU Atlas

Dataset Overview

PathMMU Atlas combines:

  • Images: 4,270 pathology images from the ARCH Book Set (educational textbooks)
  • Questions: Expert-validated VQA questions from the PathMMU HuggingFace dataset
Split Samples
val 80
test 799
test_tiny 208

Licenses: CC-BY-ND-4.0 (PathMMU), CC-BY-NC-SA-4.0 (ARCH Book Set)

Files Added/Modified

New Files

  • src/eva/multimodal/data/datasets/multiple_choice/path_mmu_atlas.py - Main dataset implementation
  • configs/multimodal/pathology/online/multiple_choice/path_mmu_atlas.yaml - Evaluation config
  • tests/eva/multimodal/data/datasets/multiple_choice/test_path_mmu_atlas.py - Test suite (21 tests)
  • tests/eva/assets/multimodal/datasets/path_mmu_atlas/ - Test assets (sample images + data.json)

Modified Files

  • src/eva/multimodal/data/datasets/__init__.py - Export PathMMUAtlas
  • src/eva/multimodal/data/datasets/multiple_choice/__init__.py - Export PathMMUAtlas
  • src/eva/core/metrics/defaults/classification/multiclass.py - Minor fix
  • src/eva/vision/data/datasets/classification/__init__.py - Remove duplicate Camelyon16 entry

Testing

  • The dataset has been tested with anthropic/claude-3-7-sonnet-20250219 and works fine. More testing is needed to confirm correct workings of the implementation.

Usage

# Run evaluation on PathMMU Atlas
eva test --config configs/multimodal/pathology/online/multiple_choice/path_mmu_atlas.yaml

# With automatic download
DOWNLOAD_DATA=true eva test --config configs/multimodal/pathology/online/multiple_choice/path_mmu_atlas.yaml

@jonaserb-k jonaserb-k marked this pull request as draft January 14, 2026 15:31
@jonaserb-k jonaserb-k force-pushed the adding-path-mmu-atlas branch from e206f03 to 6662f55 Compare January 14, 2026 16:18
@jonaserb-k jonaserb-k marked this pull request as ready for review January 14, 2026 17:16
@jonaserb-k jonaserb-k force-pushed the adding-path-mmu-atlas branch from 0d15466 to 9a8f612 Compare January 14, 2026 17:23
Copy link
Collaborator

@nkaenzig nkaenzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Left a couple of comments.

Copy link
Collaborator Author

@jonaserb-k jonaserb-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented all changes as requested per PR. I actually removed the whole download.py utilities file since I realised it is too extensive for the actual use case and just implemented everything directly in path_mmu_atlas.py. Also added docs etc.

Copy link
Collaborator

@nkaenzig nkaenzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid work 🚀

…ad.py and implemented it directly in the path_mmu_atlas.py in a simplified form, added docs for path mmu atlas, added cli tests and some other minor changes
@jonaserb-k jonaserb-k force-pushed the adding-path-mmu-atlas branch from ed256f1 to ea85466 Compare January 20, 2026 09:44
@jonaserb-k jonaserb-k enabled auto-merge (squash) January 20, 2026 10:29
@jonaserb-k jonaserb-k force-pushed the adding-path-mmu-atlas branch from 97a2376 to 52ef809 Compare January 20, 2026 11:13
@jonaserb-k jonaserb-k changed the title Adding Path MMU Atlas to Eva and adding download utilites Adding Path MMU Atlas to Eva Jan 20, 2026
@jonaserb-k jonaserb-k merged commit c098904 into main Jan 20, 2026
8 checks passed
@jonaserb-k jonaserb-k deleted the adding-path-mmu-atlas branch January 20, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants