Literature Review: The Basketball Analysis Problem

Basketball is no longer only studied through box scores, shooting percentages, or simple event counts. Modern basketball analysis increasingly depends on understanding how players move, space, react, respond under pressure, and make decisions in relation to one another. This matters because basketball is a dynamic invasion sport: one player’s decision is shaped by teammates, defenders, court spacing, time pressure, and the changing state of the possession.

The problem we address is that traditional basketball analysis can describe what happened, but it often does not explain why it happened. A possession is not just a sequence of events. It is a changing environment where players perceive opportunities, make decisions, and adapt under constraints. In basketball-specific analytics, player trajectories and shot charts can reveal offensive and defensive tendencies, schemes, and insights into preparation. However, these outputs still need to be interpreted through the situation that produced them. A shot chart can show where a shot came from, but it does not fully explain the spacing, pressure, recovery, or decision-making process that created that shot. 

 Sarama, Ecological Dynamics, and the Constraints-Led Approach

This is where ecological dynamics and the Constraints-Led Approach become useful. Ecological dynamics treats decision-making as emerging from the relationship between the performer and the environment, not only from the player’s internal mindset. Alex Sarama’s basketball work fits this direction because it translates ecological dynamics and the Constraints-Led Approach into basketball practice. The Transforming Basketball material describes ecological dynamics as a way of understanding how athletes perceive and act in dynamic environments, and it connects CLA to manipulating constraints so players can discover movement solutions.

For our work, Sarama’s theory gives us a basketball lens for deciding what should be modeled. A possession should be modeled not only as “make/miss” or “good/bad defense,” but as a situation shaped by constraints. A transition defensive failure, for example, can be represented through defender recovery distance, offensive spacing width, help defender distance, nearest defender distance, ball speed, shot clock, and score pressure. This turns gameplay analysis into structured data. These features do not directly tell us a player’s mindset, but they help us model the decision environment around the player. 

Scaling the Analysis with Synthetic Data

The next problem is scale. If we want teams to use this type of Sarama-inspired analysis in daily operations, we need more than a written analysis of a few possessions. We need a tool that can help identify patterns across many similar situations (Sarama, 2024). An AI model is useful here because it can learn from structured examples and detect repeated weak points or opportunities for action. However, AI models need data, and basketball tactical data is difficult to collect and annotate. Public footage is available, but it does not usually come with detailed labels for spacing, recovery distance, help timing, pressure, or weak-side decision-making. Private practice data may be richer, but it is also more sensitive.

Synthetic data offers one possible solution. In our case, synthetic data can help us move from a few manually analyzed possessions to a larger set of basketball situations that an AI model can use. But synthetic data does not automatically solve the problem. If synthetic basketball data is generated randomly, it may not represent real basketball situations. If it is generated too closely from real tactical data, it may still reveal private or competitive information. These generated scenarios can help coaches explore “what-if” situations, such as whether an earlier help rotation, narrower spacing, or faster recovery would change the weak-point label. This creates the central gap in the literature for this work: Existing sports analytics can model movement, and synthetic data can scale small datasets, but there is limited work on generating basketball-specific tactical simulations while also governing the privacy and competitive sensitivity of the generated information.

The aim is not just to generate more data. The aim is to generate basketball data that is tactically meaningful and privacy-aware from the beginning. In other words, the synthetic data should not be random. It should be generated by varying meaningful basketball constraints such as spacing, recovery distance, help timing, shot-clock pressure, and score pressure.

Privacy, Contextual Integrity, and Information Flow

Once gameplay analysis is implemented as a software tool, new privacy problems appear. In basketball, the most sensitive information may not be the raw video itself. The more sensitive information may be the insight derived from it. For example, public footage may show a defensive possession, but an analytics system may infer: “This team repeatedly fails to recover to the weak side after live-ball turnovers.” That is a tactical weakness label. It could be useful for the team’s coach, but harmful if shared with another club, scout, or public audience. The sensitive information is also not only tactical. It may reveal physical weaknesses, decision-making tendencies, mindset-related patterns under pressure, coaching strategies, game plans, practice design, player movement patterns, private practice video, biometric data, and model outputs. 

Contextual Integrity provides the framework for handling this problem. Contextual Integrity defines privacy as appropriate information flow according to social context (Benthall et al., 2017). It does not treat privacy as simply hiding or sharing data. Instead, it asks whether a specific type of information should flow from a sender to a recipient, about a subject, under a particular transmission principle. This is important because basketball data changes meaning depending on where it flows. A tactical weakness report sent to a head coach in an internal club context may be appropriate. The same report sent to another club may be inappropriate. A synthetic model update sent through a secure aggregation process may be acceptable, while raw player tracking data sent to a shared server may be restricted. Our goal is to build a small prototype that combines gameplay analysis, data generation, and Contextual Integrity at the same time.

Federated Learning and the Proposed Prototype

The system begins with a few real public game possessions. Each possession is manually annotated using basketball features inspired by ecological dynamics and CLA: spacing, defender recovery distance, help defender distance, nearest defender distance, shot-clock pressure, score pressure, and ball speed. These features describe the decision environment around the players rather than reducing the possession to a final outcome.

The system then generates synthetic variations of those possessions. For example, it can simulate what happens if the help defender arrives earlier, if the offensive spacing is wider, if the recovery defender starts farther away, or if the shot clock is lower. In this way, the synthetic data is not random. It is generated by varying basketball constraints. This allows a small number of manually observed possessions to become a larger set of realistic tactical scenarios. 

At the same time, every generated data item receives a Contextual Integrity label. The system records the context which is our sport, sender, recipient, subject, information type, transmission principle, purpose, and allowed/restricted decision. For example, a synthetic tactical feature shared with a research model may be allowed, while a raw tactical tracking sequence sent to another club may be restricted. This creates the main research contribution: We do not only ask whether basketball weak points can be detected. We ask whether weak-point data can be generated, labeled, and shared in a way that respects the context of the information flow.

Once the synthetic data exists, we can simulate 3–4 fictional clubs. Each club keeps its own local dataset. We train a weak-point detection model locally, and then we compare local-only learning, centralized learning, and federated learning. Federated learning is relevant because it helps us stop inappropriate information flows, the ones generated if raw data is shared with third parties. This fits the basketball problem because clubs may want the benefit of shared learning without exposing raw player tracking data, private practice data, tactical weakness labels, physical indicators, coaching strategies, or game-plan information.

 Next Step During the Internship

We address this gap by proposing a CI-guided basketball simulation pipeline. It starts from real gameplay, uses CLA/ecological dynamics to identify meaningful constraints, generates synthetic tactical possessions, labels each data item as an information flow, and uses privacy rules to decide what can be shared, restricted, or kept local. Taken together, we propose a software prototype that turns a few real basketball possessions into many privacy-labeled synthetic possessions, allowing tactical weak-point detection to scale without treating sensitive basketball information as freely shareable data. This is why this approach is not just a basketball analytics tool. It is a privacy-aware tactical data-generation system. During my internship, the next step is to turn this framework into a working prototype: I will begin with a small number of manually annotated possessions, generate synthetic variations from them, apply Contextual Integrity labels, and test whether this approach can help coaches understand weak points without exposing sensitive basketball information.

References 

Benthall, S., Gürses, S., & Nissenbaum, H. (2017). Contextual integrity through the lens of computer science. Foundations and Trends in Privacy and Security, 2(1), 1–69. https://doi.org/10.1561/3300000016

Sarama, A. (2024). Transforming basketball: Changing how we think about basketball performance. Transforming Basketball.

This blog post was written by Aditi Singh while doing a summer internship at COSIC in 2026.