Abstract
The Visual Inductive Priors (VIPriors) Instance Segmentation Challenge requires training models from scratch in data-starved environments. This paper presents a winning strategy that leverages domain-specific knowledge—such as the predictable layout of a basketball court and the presence of a single ball—to develop specialized data augmentation and inference techniques. By integrating Task-Specific Data Augmentation (TS-DA) and Task-Specific Inference Processing (TS-IP), the system achieves a significant performance boost, increasing from a baseline of 0.396 mAP to 0.531 mAP.
Introduction
In modern computer vision, the availability of massive pre-trained models is often taken for granted. However, the VIPriors challenge presents a more constrained scenario where models must be trained from scratch on a limited dataset of approximately 2,500 images. The specific task involves segmenting basketballs and people (players, coaches, referees) in basketball court footage. In such data-deficient regimes, standard deep learning approaches struggle to generalize. This work explores how "human knowledge" or visual inductive priors can be baked into the training and inference pipeline to compensate for the lack of data.
Methodology
The authors' approach relies on two primary components: Task-Specific Data Augmentation (TS-DA) and Task-Specific Inference Processing (TS-IP).
Task-Specific Data Augmentation (TS-DA)
To diversify the small dataset, the authors implemented several clever augmentation strategies based on the geometry and rules of basketball. Training images were duplicated ten times before applying these transforms to ensure the model encountered a wide variety of augmented versions.
- View-Specific Copy-Paste: The dataset contains two main camera angles. The authors designed a strategy to copy objects and paste them into new images, but only in locations that are contextually appropriate for that specific camera view (e.g., ensuring players remain on the court).
- Ball-Specific Augmentation: To help the model distinguish the ball during active play, balls were specifically pasted near players. Furthermore, because most balls in the training set are multi-colored, the authors programmatically modified RGB values to create "pure" brown balls, aiding generalization.
Task-Specific Inference Processing (TS-IP)
Inference is refined using logical constraints derived from the game's nature:
- Inference Cropping: Since the top portion of the images typically contains the auditorium (noise), the top 1/5th of the image is cropped during inference to remove invalid areas.
- Max Score Filtering: A basketball game features only one ball. If the model detects multiple instances, it retains only the one with the highest confidence score, filtering others based on size and Intersection over Union (IoU) constraints.
Model Architecture
The system utilizes a Hybrid Task Cascade (HTC) detector with a Swin-Base backbone and a CBNetV2 architecture. A MaskIoU head was added to better align mask quality with classification confidence.
Datasets
The study exclusively used the VIPriors Instance Segmentation Challenge dataset, which includes 1,840 training images and 620 validation images. No external data or pre-trained weights were allowed, enforcing a strict "train from scratch" requirement.
Results and Discussion
The integration of task-specific modules led to a clear "staircase" of improvement in mean Average Precision (mAP):
- Baseline (HTC-CBSwinBase): 0.396 mAP
- With MaskIoU Head: 0.415 mAP
- With TS-DA (Augmentation): 0.472 mAP (+0.057 jump)
- With TS-IP (Inference Processing): 0.531 mAP (Final Score)
These results demonstrate that domain-specific data strategies can be significantly more impactful than architectural tweaks alone in low-data environments. Simple logical constraints, such as the "one ball" rule, effectively guide the model where data alone might fail to provide sufficient signal.
Conclusion
This work highlights the power of inductive priors in training robust models from scratch. While the current implementation is specialized for basketball, the success of synthetic data generation and logical post-processing suggests a viable path for other data-starved domains. Future research could investigate more sophisticated synthetic generation techniques, such as the use of GANs or 3D engines, to further bridge the gap in data-deficient scenarios.
Summary updated