PathBind-VQA reproducibility: missing source-ID crosswalk and preprocessing scripts
Hi, thank you for releasing PathBind. I am trying to reconstruct the benchmark from the official manifests and would appreciate help with the VQA source-ID mappings.
Versions and what I checked
- Hugging Face
Mikezcy/PathBind:6d2fadfa0e607dbcc00d634940dd3d92928b8672. - The public
ChyaZhang/PathBindcode repository:a8837efd4542d172c37f52617507c8a636d6f688. Its manifests match this HF release. - The current HF main branch, available branches/tags, the automatic Parquet conversion, and the code repository do not appear to provide an additional source crosswalk. The converted VQA Parquet has the same rows and five columns as the TSV.
- I downloaded and verified the complete releases of all six upstream repositories. I can reconstruct all 600 PTA and 500 Grounding samples. Conservative source matching currently reconstructs 498/1,500 VQA rows: 448 PathMMU, 25 Quilt-VQA, and 25 MedXpert-Path.
1. PathMMU: image IDs do not uniquely identify questions
For 730 manifest rows, the 12-character source identifier matches one upstream image filename, but that image has multiple distinct question/options/answer records. The manifest index also has a ::ordinal suffix, but I could not find the preprocessing or ordering rule that maps this suffix to a particular QA record.
Could you provide that rule or the preprocessing code, including split order, handling of test_tiny, and any deduplication? An image-level match alone does not establish the intended question.
2. OmniMed-Bright: the original question IDs appear to be lost
All 102 OmniMed rows share the same source_sample_id and the same index. The upstream BRIGHT Challenge QA file instead contains 890 individually identified questions. I have also obtained the authorized current BRACS ROI release and verified the images for all 890 upstream QA records, so the remaining problem for these PathBind rows is the question mapping.
Could you provide a row-level mapping to the original BRIGHT question IDs and clarify whether the exact duplicate manifest rows are intentional? Because index itself is duplicated, a corrected manifest or an explicit manifest row position would be helpful.
3. Path-VQA: the entry_N indexing convention is unspecified
For the 37 Path-VQA rows, I could not determine how entry_N maps to a specific original split and QA record. Was this index assigned before or after yes/no filtering, concatenation, shuffling, or format conversion? Please provide the ordering rule and source version, or a direct crosswalk.
4. The public builder assumes an intermediate format that is not supplied
In build.py, the loaders expect a pre-existing per-source samples.jsonl with sample_id, question, options, and answer, plus a normalized image directory. The other source loaders delegate to the same loader. I could not find the scripts that convert the actual upstream releases into this intermediate format.
Would it be possible to publish those preprocessing scripts, the original intermediate files where licenses permit, or a mapping-only table with:
manifest_row / index -> source revision, split, original QA ID (or exact QA record), image reference?
These mapping issues affect 869 VQA rows. Separately, some PathMMU records require original third-party images: 133 additional rows are blocked only by missing images, and 179 of the 730 ambiguous PathMMU rows also lack their images. These causes overlap; I am not attributing those upstream image-access limitations to a manifest bug or requesting redistribution of restricted images.
A mapping-only correction would already allow substantial progress without redistributing source questions or images. If a corrected release or canonical preprocessing repository already exists, please point me to it. Thank you!
Thank you for the very careful report — you are right on all four points. The released VQA builder was a stub, and the OmniMed IDs were damaged when the manifest was exported.
What's new
PathBind-VQA/crosswalk.tsv(GitHub:pathbind/data/PathBind-VQA/pathbind_vqa_1500_crosswalk.tsv). It is mapping-only, with no question or image content, and is in the same row order as the manifest:row, index, dimension, source_dataset, answer_type, upstream_repo, upstream_revision, upstream_split, upstream_qa_id, upstream_image, question_sha1question_sha1=sha1(lower(" ".join(question.split())))[:12]lets you verify each match.build.pyis rewritten. It reads the upstream releases directly through the crosswalk and verifies every row againstquestion_sha1. Any subset of sources works, and skipped rows are reported along with the reason.- Manifest fix: the 102 OmniMed rows now carry their full IDs (
omnimed::BRIGHT Challenge_NNNN::0), so all 1,500indexvalues are unique. No other row changed.
Answers to your questions
- PathMMU
::k: we useddata.jsonatjamessyx/PathMMU@054e64e,testsplit only (notest_tiny/val, no deduplication).kis the 0-based rank amongtestrecords that share the same image file, iterating subsets indata.jsonorder (PubMed, SocialPath, EduContent, PathCLS, Atlas) and records in list order. The crosswalk givesupstream_split = <Subset>/testandupstream_qa_id = No, so you no longer need the rule. - OmniMed: the 12-character truncation was an export bug in our manifest, not intentional. There are no duplicate questions; the 102 rows are 102 distinct BRIGHT questions.
upstream_qa_idis the OmniMedVQAquestion_id(BRIGHT Challenge_NNNN, which is also the position inBRIGHT Challenge.json), andupstream_imageis the BRACS image stem. - Path-VQA
entry_N:Nis the 0-based row of thetestsplit offlaviagiammarino/path-vqa@1685832(6,719 rows, shards concatenated in file order). It was assigned before yes/no filtering, shuffling or format conversion. - Quilt-VQA =
idinquiltvqa_test_w_ans.json(wisdomik/Quilt_VQA@340d001). MedXpert =idinMM/test.jsonl(TsinghuaC3I/MedXpertQA@7e7c465). For MM-613 we used only imageMM-613-b, and the crosswalk lists that image.
Text normalization: our evaluated TSVs replaced newlines with spaces in MedXpert questions and options. build.py does the same, so the rebuilt text matches what we evaluated on exactly.
Verification: for PathMMU, Path-VQA, Quilt-VQA and MedXpert, every crosswalk row was checked against the upstream release. The rebuilt question, options and answer match our internal evaluation TSV row for row, apart from images we couldn't stage locally. For OmniMed, we checked the IDs against our local copy of the 890-question file, but we couldn't re-download the restricted release itself. If load_omnimed doesn't fit your copy's field names, please tell us and we'll adjust it.
The PathMMU rows that are blocked only by missing third-party images remain an upstream access limitation, as you noted. build.py reports them as image not found.