Towards Comprehensive Basketball Understanding

Yirong Hu, Jiayuan Rao, Yu Zhang, Shangzhe Di, Weidi XiearXiv 2026

TL;DR

This paper introduces BasketballBench, a comprehensive multimodal benchmark of nearly 8,000 questions designed to test AI on fine-grained basketball perception and knowledge retrieval. To tackle this challenge, the authors develop BasketballSkills, a hierarchical agent framework that coordinates specialized vision and database tools into reusable "procedural skills." The agent significantly outperforms state-of-the-art multimodal large language models (MLLMs) by explicitly composing domain-specific capabilities rather than relying on end-to-end reasoning.

What Problem Does This Paper Address?

While modern MLLMs excel at general visual question answering, understanding a professional sports game remains a massive hurdle. Analyzing a single basketball play requires a model to simultaneously recognize an event (e.g., a missed shot), identify the player involved (often from a partially obscured jersey number), localize the action in space and time, and cross-reference this visual evidence with structured domain knowledge (such as a player's season statistics or team roster).

Existing sports benchmarks typically evaluate these capabilities in isolation. This paper addresses the lack of a unified framework that tests how well AI can integrate heterogeneous visual evidence with structured database knowledge to achieve a comprehensive understanding of sports events.

Methods

The authors propose BasketballSkills, a modular, hierarchical agent architecture that moves away from pure end-to-end MLLM reasoning in favor of structured tool use. The system consists of three main components:

  1. Atomic Tool Library (8 Tools): Specialized open-source models and interfaces dedicated to specific sub-tasks. These include seven perception tools (face recognition, jersey recognition, scorebug reading, player-and-ball tracking, track-level event detection, shot-zone classification, and temporal localization) and one knowledge tool (SQL database retrieval).
  2. Skill Library (4 Procedural Workflows): Composite workflows that organize atomic tools into reusable sequences with explicit inputs, dependencies, and stopping conditions. For example, the Shot Analysis skill links player tracking, event detection, and shot-zone classification to determine exactly where a shot was taken and who took it.
  3. LLM Controller: Powered by DeepSeek-V4-Flash, the controller interprets the natural language query, dynamically selects the appropriate skill, coordinates tool execution, and synthesizes the final answer. Each tool call is validated by a lightweight verifier to prevent formatting errors.

The architecture overview is illustrated below:

Figure 2: BasketballSkills Architecture Overview. BasketballSkills selectively loads the appropriate skills for each task and, following their guidance, composes and invokes specialized tools to complete the task.

Datasets

The authors introduce BasketballBench, a multimodal benchmark comprising 7,980 annotated QA pairs across ten distinct tasks spanning text, image, and video modalities.

The dataset is built from three core data sources:

  • Broadcast Videos: 2,501 possession-level broadcast clips from NBA games, aligned with official play-by-play records.
  • Structured Records: A relational SQL database containing rosters, profiles for 530 active players, team metadata, and full box scores.
  • Player Images: Official headshots paired with 400 manually collected, human-verified evaluation photographs to test player identification across different lighting and angles.

The ten tasks range from simple text-based knowledge retrieval to complex video-based event composition, as shown in the task overview:

Figure 1: Representative examples of the ten BasketballBench tasks. The benchmark covers different aspects with outputs ranging from multiple-choice answers and timestamps to structured event sequences.

Key Insights and Ideas

  • Player-Event Grounding is the Bottleneck: Standard MLLMs are decent at reading text on a screen (like scorebugs) or recognizing jersey numbers in isolation, but they fail miserably at binding an action to a specific player. When the target player was explicitly highlighted with a bounding box, baseline MLLM performance shot up dramatically, proving that tracking "who did what" is the primary point of failure.
  • Procedural Workflows Drive Efficiency: Instead of letting the LLM controller blindly guess which tools to call, wrapping tools into predefined "skills" significantly streamlined execution. Ablation studies showed that using composite skills reduced unnecessary tool exploration by up to 16.74% on video tasks without sacrificing accuracy.

Key Results

  • Outperforming Commercial Giants: BasketballSkills achieved the best results on 8 out of the 10 benchmark tasks, comfortably beating top-tier commercial models like GPT-5.4, Claude Sonnet 5, and Gemini 3.5 Flash.
  • Massive Gains on Complex Tasks: On knowledge-intensive and compositional tasks, the gap was staggering. BasketballSkills outperformed the best general-purpose MLLM baseline by 59.0 percentage points on match-situation retrieval (Q2), 39.5 percentage points on player image knowledge (Q3), and 30.7 percentage points on player video knowledge (Q10).

Limitations and Future Work

The primary limitation of BasketballSkills is its vulnerability to upstream tool failures. Because the framework relies on a pipeline of specialized models, an error early in the chain—such as the track-level event detector misidentifying a foul—propagates downstream, inevitably leading to an incorrect final answer. Additionally, the controller occasionally exhibits overly cautious behavior, such as invoking the scorebug reading tool even when the required team context is already provided in the prompt.

Future work will focus on improving the reliability of individual perception tools and developing more robust error-recovery mechanisms within the controller.

Summary updated

BibTeX
@misc{hu2026towards,
  author = {Yirong Hu and Jiayuan Rao and Yu Zhang and Shangzhe Di and Weidi Xie},
  title = {{Towards Comprehensive Basketball Understanding}},
  year = {2026},
  eprint = {2608.23435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.23435},
}
Figure