Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
224
224
messages
stringlengths
136
256
video_id
stringclasses
1 value
frame_id
stringlengths
9
9
annotation_type
stringclasses
4 values
source
stringclasses
2 values
[{"role": "user", "content": "Point to the Kerrison rongeur in this surgical frame."}, {"role": "assistant", "content": "<point x='23.6' y='77.0'>Kerrison rongeur</point>"}]
video_01
01419.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the hemostatic foam positioned?"}, {"role": "assistant", "content": "<point x='16.8' y='65.9'>hemostatic foam</point>"}]
video_01
03184.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the ring curette in this surgical frame."}, {"role": "assistant", "content": "<point x='43.2' y='59.8'>ring curette</point>"}]
video_01
04175.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='25.0' y='71.4'>ring curette</point>\nSecondary: <point x='28.2' y='82.7'>suction device</point>"}]
video_01
05070.png
dual_instrument
ground_truth
[{"role": "user", "content": "Identify the location of the Kerrison rongeur."}, {"role": "assistant", "content": "<point x='25.5' y='80.9'>Kerrison rongeur</point>"}]
video_01
01477.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the Kerrison rongeur in this surgical frame."}, {"role": "assistant", "content": "<point x='22.3' y='83.2'>Kerrison rongeur</point>"}]
video_01
01194.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the suction in this surgical frame."}, {"role": "assistant", "content": "<point x='45.4' y='83.9'>suction</point>"}]
video_01
00090.png
instruments_pointing
gemini
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='46.2' y='42.1'>spatula dissector</point>\nSecondary: <point x='42.6' y='41.2'>suction device</point>"}]
video_01
03745.png
dual_instrument
ground_truth
[{"role": "user", "content": "Identify the location of the Kerrison rongeur."}, {"role": "assistant", "content": "<point x='49.6' y='44.3'>Kerrison rongeur</point>"}]
video_01
02968.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the Kerrison rongeur in this image."}, {"role": "assistant", "content": "<point x='77.4' y='75.9'>Kerrison rongeur</point>"}]
video_01
01263.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the micro doppler."}, {"role": "assistant", "content": "<point x='28.9' y='76.5'>micro doppler</point>"}]
video_01
03442.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the ring curette in this image."}, {"role": "assistant", "content": "<point x='55.3' y='43.0'>ring curette</point>"}]
video_01
04022.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the pituitary rongeurs in this surgical frame."}, {"role": "assistant", "content": "<point x='34.4' y='66.4'>pituitary rongeurs</point>"}]
video_01
01891.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the ring curette in this surgical frame."}, {"role": "assistant", "content": "<point x='26.9' y='68.3'>ring curette</point>"}]
video_01
03810.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the irrigation syringe in this image."}, {"role": "assistant", "content": "<point x='52.3' y='50.8'>irrigation syringe</point>"}]
video_01
03328.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the pituitary rongeurs in this surgical frame."}, {"role": "assistant", "content": "<point x='77.7' y='67.0'>pituitary rongeurs</point>"}]
video_01
00370.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the suction in this surgical frame."}, {"role": "assistant", "content": "<point x='35.0' y='85.0'>suction</point>"}]
video_01
00443.png
instruments_pointing
gemini
[{"role": "user", "content": "Locate the ring curette in this image."}, {"role": "assistant", "content": "<point x='23.3' y='82.2'>ring curette</point>"}]
video_01
05084.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='27.4' y='65.1'>ring curette</point>\nSecondary: <point x='23.5' y='84.8'>suction device</point>"}]
video_01
04666.png
dual_instrument
ground_truth
[{"role": "user", "content": "Point to the pituitary rongeurs in this surgical frame."}, {"role": "assistant", "content": "<point x='34.0' y='77.1'>pituitary rongeurs</point>"}]
video_01
00376.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the Kerrison rongeur in this image."}, {"role": "assistant", "content": "<point x='52.9' y='59.0'>Kerrison rongeur</point>"}]
video_01
00730.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='23.9' y='81.7'>Kerrison rongeur</point>"}]
video_01
00313.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='48.5' y='44.2'>ring curette</point>\nSecondary: <point x='43.7' y='46.8'>suction device</point>"}]
video_01
04274.png
dual_instrument
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='47.2' y='51.1'>ring curette</point>\nSecondary: <point x='41.4' y='54.3'>suction device</point>"}]
video_01
04178.png
dual_instrument
ground_truth
[{"role": "user", "content": "Point to the ring curette in this surgical frame."}, {"role": "assistant", "content": "<point x='29.4' y='83.5'>ring curette</point>"}]
video_01
04914.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='30.3' y='69.4'>suction device</point>"}]
video_01
04256.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the pituitary rongeurs in this image."}, {"role": "assistant", "content": "<point x='57.5' y='59.3'>pituitary rongeurs</point>"}]
video_01
04142.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the ring curette."}, {"role": "assistant", "content": "<point x='17.6' y='84.4'>ring curette</point>"}]
video_01
04342.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='56.3' y='52.4'>Kerrison rongeur</point>"}]
video_01
01810.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the hemostatic foam positioned?"}, {"role": "assistant", "content": "<point x='70.2' y='71.2'>hemostatic foam</point>"}]
video_01
02915.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the mucosal tissue anatomical structure."}, {"role": "assistant", "content": "<point x='25.3' y='40.8'>mucosal tissue</point>"}]
video_01
00290.png
anatomy_pointing
gemini
[{"role": "user", "content": "Locate the retractable knife in this image."}, {"role": "assistant", "content": "<point x='49.2' y='59.2'>retractable knife</point>"}]
video_01
03559.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the sella visible?"}, {"role": "assistant", "content": "<point x='61.8' y='38.9'>sella</point>"}]
video_01
00296.png
anatomy_pointing
gemini
[{"role": "user", "content": "Identify the location of the Kerrison rongeur."}, {"role": "assistant", "content": "<point x='22.0' y='84.7'>Kerrison rongeur</point>"}]
video_01
00756.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the tumor tissue visible?"}, {"role": "assistant", "content": "<point x='64.5' y='45.2'>tumor tissue</point>"}]
video_01
00258.png
anatomy_pointing
gemini
[{"role": "user", "content": "Identify the location of the spatula dissector."}, {"role": "assistant", "content": "<point x='50.0' y='52.9'>spatula dissector</point>"}]
video_01
03756.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the blood vessels visible?"}, {"role": "assistant", "content": "<point x='40.0' y='70.0'>blood vessels</point>"}]
video_01
00181.png
anatomy_pointing
gemini
[{"role": "user", "content": "Point to the mucosal tissue in this surgical field."}, {"role": "assistant", "content": "<point x='78.4' y='38.2'>mucosal tissue</point>"}]
video_01
00044.png
anatomy_pointing
gemini
[{"role": "user", "content": "Point to the nasal cavity in this surgical field."}, {"role": "assistant", "content": "<point x='50.0' y='50.0'>nasal cavity</point>"}]
video_01
00247.png
anatomy_pointing
gemini
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='31.6' y='84.3'>Kerrison rongeur</point>"}]
video_01
01567.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='22.0' y='68.9'>hemostatic foam</point>\nSecondary: <point x='34.2' y='69.1'>suction device</point>"}]
video_01
04684.png
dual_instrument
ground_truth
[{"role": "user", "content": "Locate the ring_curette in this image."}, {"role": "assistant", "content": "<point x='66.4' y='52.5'>ring_curette</point>"}]
video_01
00189.png
instruments_pointing
gemini
[{"role": "user", "content": "Identify the location of the ring curette."}, {"role": "assistant", "content": "<point x='20.6' y='83.5'>ring curette</point>"}]
video_01
04965.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the Kerrison rongeur."}, {"role": "assistant", "content": "<point x='24.5' y='70.1'>Kerrison rongeur</point>"}]
video_01
01420.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the micro doppler in this image."}, {"role": "assistant", "content": "<point x='25.8' y='77.8'>micro doppler</point>"}]
video_01
03401.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the suction device in this image."}, {"role": "assistant", "content": "<point x='24.1' y='74.2'>suction device</point>"}]
video_01
04513.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='20.7' y='66.4'>ring curette</point>\nSecondary: <point x='25.1' y='80.0'>suction device</point>"}]
video_01
05033.png
dual_instrument
ground_truth
[{"role": "user", "content": "Locate the Kerrison rongeur in this image."}, {"role": "assistant", "content": "<point x='80.9' y='71.0'>Kerrison rongeur</point>"}]
video_01
02836.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the Kerrison rongeur in this image."}, {"role": "assistant", "content": "<point x='30.5' y='77.5'>Kerrison rongeur</point>"}]
video_01
01570.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the Freer elevator positioned?"}, {"role": "assistant", "content": "<point x='67.5' y='80.4'>Freer elevator</point>"}]
video_01
00053.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='77.8' y='79.6'>suction device</point>"}]
video_01
02417.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='18.7' y='82.2'>Kerrison rongeur</point>"}]
video_01
00304.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='30.9' y='81.8'>Kerrison rongeur</point>"}]
video_01
01156.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the nasal cavity in this surgical field."}, {"role": "assistant", "content": "<point x='50.0' y='50.0'>nasal cavity</point>"}]
video_01
00074.png
anatomy_pointing
gemini
[{"role": "user", "content": "Where is the mucosal tissue visible?"}, {"role": "assistant", "content": "<point x='80.0' y='50.0'>mucosal tissue</point>"}]
video_01
00142.png
anatomy_pointing
gemini
[{"role": "user", "content": "Identify the location of the Kerrison rongeur."}, {"role": "assistant", "content": "<point x='21.7' y='70.5'>Kerrison rongeur</point>"}]
video_01
00779.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the suction device in this image."}, {"role": "assistant", "content": "<point x='33.7' y='68.9'>suction device</point>"}]
video_01
04651.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='17.9' y='67.3'>Kerrison rongeur</point>"}]
video_01
03092.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the dural scissors positioned?"}, {"role": "assistant", "content": "<point x='52.7' y='58.0'>dural scissors</point>"}]
video_01
03653.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the suction in this image."}, {"role": "assistant", "content": "<point x='78.5' y='74.2'>suction</point>"}]
video_01
00278.png
instruments_pointing
gemini
[{"role": "user", "content": "Where is the nasal cavity visible?"}, {"role": "assistant", "content": "<point x='10.0' y='50.0'>nasal cavity</point>"}]
video_01
00030.png
anatomy_pointing
gemini
[{"role": "user", "content": "Point to the hemostatic foam in this surgical frame."}, {"role": "assistant", "content": "<point x='33.5' y='81.2'>hemostatic foam</point>"}]
video_01
01870.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the Kerrison rongeur in this image."}, {"role": "assistant", "content": "<point x='20.4' y='84.8'>Kerrison rongeur</point>"}]
video_01
01471.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the pituitary rongeurs in this image."}, {"role": "assistant", "content": "<point x='42.5' y='55.2'>pituitary rongeurs</point>"}]
video_01
03854.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the ring_curette in this surgical frame."}, {"role": "assistant", "content": "<point x='65.4' y='78.1'>ring_curette</point>"}]
video_01
00004.png
instruments_pointing
gemini
[{"role": "user", "content": "Point to the Kerrison rongeur in this surgical frame."}, {"role": "assistant", "content": "<point x='22.8' y='82.6'>Kerrison rongeur</point>"}]
video_01
00705.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the spatula dissector in this surgical frame."}, {"role": "assistant", "content": "<point x='41.4' y='48.4'>spatula dissector</point>"}]
video_01
03740.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the Kerrison rongeur in this surgical frame."}, {"role": "assistant", "content": "<point x='24.3' y='79.7'>Kerrison rongeur</point>"}]
video_01
01187.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the suction device positioned?"}, {"role": "assistant", "content": "<point x='34.4' y='84.2'>suction device</point>"}]
video_01
05027.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the suction device."}, {"role": "assistant", "content": "<point x='48.8' y='40.3'>suction device</point>"}]
video_01
04087.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='73.7' y='33.2'>suction device</point>"}]
video_01
05267.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the sphenoid sinus anatomical structure."}, {"role": "assistant", "content": "<point x='48.5' y='32.4'>sphenoid sinus</point>"}]
video_01
00423.png
anatomy_pointing
gemini
[{"role": "user", "content": "Locate the tumor tissue anatomical structure."}, {"role": "assistant", "content": "<point x='40.0' y='75.0'>tumor tissue</point>"}]
video_01
00377.png
anatomy_pointing
gemini
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='24.3' y='66.0'>suction device</point>"}]
video_01
04348.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the pituitary rongeurs in this image."}, {"role": "assistant", "content": "<point x='47.9' y='48.8'>pituitary rongeurs</point>"}]
video_01
03853.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='33.8' y='69.1'>ring curette</point>\nSecondary: <point x='20.2' y='67.8'>suction device</point>"}]
video_01
04810.png
dual_instrument
ground_truth
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='67.6' y='85.0'>suction device</point>"}]
video_01
02885.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the Kerrison rongeur in this surgical frame."}, {"role": "assistant", "content": "<point x='22.1' y='67.1'>Kerrison rongeur</point>"}]
video_01
02488.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the suction device."}, {"role": "assistant", "content": "<point x='77.2' y='79.1'>suction device</point>"}]
video_01
02612.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='32.7' y='84.7'>ring curette</point>\nSecondary: <point x='26.6' y='74.3'>suction device</point>"}]
video_01
05031.png
dual_instrument
ground_truth
[{"role": "user", "content": "Where is the ring curette positioned?"}, {"role": "assistant", "content": "<point x='59.3' y='49.6'>ring curette</point>"}]
video_01
04299.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the suction device."}, {"role": "assistant", "content": "<point x='21.5' y='78.3'>suction device</point>"}]
video_01
04882.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the suction positioned?"}, {"role": "assistant", "content": "<point x='60.5' y='84.2'>suction</point>"}]
video_01
00061.png
instruments_pointing
gemini
[{"role": "user", "content": "Locate the Kerrison rongeur in this image."}, {"role": "assistant", "content": "<point x='82.5' y='78.6'>Kerrison rongeur</point>"}]
video_01
00653.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the sella in this surgical field."}, {"role": "assistant", "content": "<point x='52.3' y='61.8'>sella</point>"}]
video_01
00423.png
anatomy_pointing
gemini
[{"role": "user", "content": "Locate the sphenoid sinus anatomical structure."}, {"role": "assistant", "content": "<point x='41.5' y='32.7'>sphenoid sinus</point>"}]
video_01
00460.png
anatomy_pointing
gemini
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='27.8' y='80.2'>pituitary rongeurs</point>\nSecondary: <point x='32.4' y='74.9'>suction device</point>"}]
video_01
04422.png
dual_instrument
ground_truth
[{"role": "user", "content": "Where is the Kerrison rongeur positioned?"}, {"role": "assistant", "content": "<point x='15.9' y='76.8'>Kerrison rongeur</point>"}]
video_01
00667.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Identify the location of the Kerrison rongeur."}, {"role": "assistant", "content": "<point x='31.0' y='71.0'>Kerrison rongeur</point>"}]
video_01
03358.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the mucosal tissue visible?"}, {"role": "assistant", "content": "<point x='22.4' y='31.8'>mucosal tissue</point>"}]
video_01
00157.png
anatomy_pointing
gemini
[{"role": "user", "content": "Where is the micro doppler positioned?"}, {"role": "assistant", "content": "<point x='21.6' y='69.3'>micro doppler</point>"}]
video_01
03459.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the nasal_septum visible?"}, {"role": "assistant", "content": "<point x='21.3' y='45.6'>nasal_septum</point>"}]
video_01
00283.png
anatomy_pointing
gemini
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='49.1' y='51.3'>suction device</point>"}]
video_01
02954.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Point to the suction device in this surgical frame."}, {"role": "assistant", "content": "<point x='45.1' y='57.9'>suction device</point>"}]
video_01
04368.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='34.8' y='83.7'>dural scissors</point>\nSecondary: <point x='18.5' y='82.1'>suction device</point>"}]
video_01
03619.png
dual_instrument
ground_truth
[{"role": "user", "content": "Locate the ring curette in this image."}, {"role": "assistant", "content": "<point x='40.9' y='52.9'>ring curette</point>"}]
video_01
03838.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Where is the suction device positioned?"}, {"role": "assistant", "content": "<point x='21.5' y='78.3'>suction device</point>"}]
video_01
01744.png
instrument_pointing
ground_truth
[{"role": "user", "content": "Locate the hemostatic foam in this image."}, {"role": "assistant", "content": "<point x='31.2' y='82.0'>hemostatic foam</point>"}]
video_01
04683.png
instrument_pointing
ground_truth
[{"role": "user", "content": "What surgical instruments are visible and where are they located?"}, {"role": "assistant", "content": "Primary: <point x='31.3' y='79.6'>ring curette</point>\nSecondary: <point x='17.1' y='66.4'>suction device</point>"}]
video_01
04408.png
dual_instrument
ground_truth
[{"role": "user", "content": "Locate the tumor tissue anatomical structure."}, {"role": "assistant", "content": "<point x='44.8' y='41.5'>tumor tissue</point>"}]
video_01
00312.png
anatomy_pointing
gemini
End of preview. Expand in Data Studio

PitVQA Spatial VLM Dataset (Early Version)

Early prototype spatial localization dataset for pituitary surgery. Note: For production use, please use mmrech/pitvqa-comprehensive-spatial which has 10,139 validated samples.

🔗 GitHub: https://github.com/matheus-rech/pit_project 🚀 Updated Version: mmrech/pitvqa-comprehensive-spatial (recommended) 📄 Original Dataset: UCL Research Data Repository

⚠️ Important Notice

This is an early prototype version of the spatial localization dataset. For current research and production use, we recommend:

👉 Use mmrech/pitvqa-comprehensive-spatial instead

Why Use the Comprehensive Version?

Feature This Dataset (Early) Comprehensive (Current)
Samples ~3,000-5,000 10,139
Validation Partial 100% verified
Coverage Limited Complete workflow
Documentation Basic Comprehensive
Model Performance Baseline State-of-the-art
Recommended ❌ No ✅ Yes

Dataset Description

This early-stage dataset contains spatial annotations for surgical instrument localization in pituitary surgery. It served as a proof-of-concept for the spatial localization task.

Key Features

  • 🎯 Spatial Coordinates: Normalized (x, y) coordinates in 0-100 scale
  • 🔧 Surgical Instruments: Basic instrument categories
  • 🧪 Prototype Phase: Early development version
  • 📊 Limited Coverage: Subset of complete surgical workflow

Historical Context

This dataset was created during the initial development phase of the PitVQA spatial localization project. It helped establish:

  1. Feasibility of spatial localization with VLMs
  2. Coordinate format (normalized 0-100 scale)
  3. Question-answering structure for spatial queries
  4. Baseline performance metrics

Evolution Path

pitvqa-unified-vlm (Classification)
         ↓
pitvqa-spatial-vlm (Early Spatial) ← You are here
         ↓
pitvqa-comprehensive-spatial (Production) ← Recommended

Data Format

Sample Structure

{
    "image": PIL.Image,           # Surgical frame
    "question": str,               # Spatial query
    "answer": str,                 # Format: "<point x='45.2' y='68.3'>object</point>"
    "video_id": str,               # Source video
    "frame_number": int            # Frame index
}

Coordinate Format

<point x='45.2' y='68.3'>suction device</point>

Migration Guide

Upgrading to Comprehensive Version

If you're currently using this dataset, migration is straightforward:

# Old (Early Version)
from datasets import load_dataset
dataset_old = load_dataset("mmrech/pitvqa-spatial-vlm")

# New (Comprehensive Version) - Recommended
dataset_new = load_dataset("mmrech/pitvqa-comprehensive-spatial")

# Same format, just more data and better validation!

Training Configuration

For LoRA training, use the same configuration as the comprehensive version:

from trl import SFTTrainer
from peft import LoraConfig

lora_config = LoraConfig(
    r=16,
    lora_alpha=32,
    target_modules=["q_proj", "v_proj", "k_proj", "o_proj"],
    lora_dropout=0.05,
    bias="none",
    task_type="CAUSAL_LM",
)

However, we recommend training on the comprehensive version for better performance.

Performance Comparison

Early Version (This Dataset)

Metric Value
Quadrant Accuracy ~35-40%
Coordinate MAE ~18-20%
Status Baseline

Comprehensive Version (Recommended)

Metric Value Improvement
Quadrant Accuracy 80.3% +124%
Coordinate MAE 12.1% -40%
Status State-of-the-art

Performance increase: Models trained on the comprehensive version achieve 124% improvement in quadrant accuracy.

Use Cases

Appropriate Use Cases

  1. Historical Research: Understanding evolution of spatial VLMs
  2. Ablation Studies: Comparing data quantity effects
  3. Baseline Comparisons: Establishing improvement metrics
  4. Educational Demos: Simple proof-of-concept examples

Not Recommended For

  • ❌ Production models (use comprehensive version)
  • ❌ MICCAI/journal publications (use comprehensive version)
  • ❌ Clinical research (use comprehensive version)
  • ❌ Benchmark evaluations (use comprehensive version)

Training Usage

Recommended Approach

Don't train on this dataset. Instead:

# Use the comprehensive version
from datasets import load_dataset

dataset = load_dataset("mmrech/pitvqa-comprehensive-spatial")

# Follow training guide:
# https://github.com/matheus-rech/pit_project/blob/main/notebooks/train_spatial_qwen2vl_colab.ipynb

If You Must Use This Dataset

from datasets import load_dataset

# Load early version (not recommended)
dataset = load_dataset("mmrech/pitvqa-spatial-vlm")

# Same training procedure as comprehensive version
# But expect lower performance (35-40% vs 80.3%)

Limitations

Dataset Limitations

  • Limited Samples: Smaller dataset than comprehensive version
  • Incomplete Coverage: Not all surgical phases covered
  • Partial Validation: Not fully validated for ground truth fidelity
  • Lower Performance: Models trained on this achieve 35-40% accuracy vs 80.3%

Technical Limitations

  • Data Quality: Less rigorous validation than comprehensive version
  • Documentation: Limited compared to production dataset
  • Support: Community support focused on comprehensive version

Superseded Status

⚠️ This dataset has been superseded by mmrech/pitvqa-comprehensive-spatial

Ethical Considerations

Same ethical considerations as comprehensive version:

  • ✅ De-identified patient data
  • ✅ Institutional ethics approval
  • ❌ Not for clinical use

License

CC-BY-NC-ND-4.0 (Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International)

Same license as comprehensive version.

Citation

If citing this early work, please also cite the comprehensive version:

@misc{rech2026pitvqa_spatial_early,
  author = {Rech, Matheus},
  title = {PitVQA Spatial VLM Dataset (Early Version)},
  year = {2026},
  publisher = {HuggingFace},
  note = {Early prototype. See pitvqa-comprehensive-spatial for production use.},
  howpublished = {\url{https://huggingface.co/datasets/mmrech/pitvqa-spatial-vlm}}
}

@misc{rech2026pitvqa_spatial_dataset,
  author = {Rech, Matheus},
  title = {PitVQA Comprehensive Spatial Dataset},
  year = {2026},
  publisher = {HuggingFace},
  howpublished = {\url{https://huggingface.co/datasets/mmrech/pitvqa-comprehensive-spatial}},
  note = {Recommended version with 10,139 validated samples}
}

Recommended Resources

Instead of This Dataset, Use:

  1. Dataset: mmrech/pitvqa-comprehensive-spatial
  2. Model: mmrech/pitvqa-qwen2vl-spatial
  3. GitHub: https://github.com/matheus-rech/pit_project
  4. Training Guide: Colab Notebook

Dataset Card Authors

Matheus Rech

Contact

Changelog

Version 1.0.0 (Early 2026)

  • Initial early prototype release
  • Basic spatial localization annotations
  • Proof-of-concept for spatial VLM task

Status: Superseded (Current)


⚠️ Deprecation Notice: This early version is provided for historical reference and reproducibility of early experiments. For current research, please use mmrech/pitvqa-comprehensive-spatial which provides 10,139 validated samples and achieves 80.3% quadrant accuracy vs 35-40% with this early version.

Downloads last month
38