iTranslated by AI
re:Invent 2025: Building the NBA's New Stats Program - Developing Innovative Metrics Like Player Gravity with AWS
Introduction
By transcribing various overseas lectures into Japanese articles, we aim to make hidden, high-quality information more accessible. This project focuses on the following presentation!
For transcriptions of re:Invent 2025 articles, please check the information gathered in this Spreadsheet. Please take a look.
📖 re:Invent 2025: AWS re:Invent 2025 - NBA Inside The Game, Powered by AWS - Building the NBA’s New Stats Program - SPF307
In this video, Ian McKiernan, Dashiell Flynn, and Charlie Rohlf explain the collaboration between the NBA's Inside the Game platform and AWS. The NBA is quantifying play by utilizing pose data that tracks 29 body parts in 3D, 60 times per second. With a real-time processing infrastructure using AWS EKS and Flink, data is delivered with a low latency of approximately 50 milliseconds. The newly developed Player Gravity quantifies a player's ability to attract defense based on the difference from their expected defensive pressure score. Using a machine learning model with a Transformer architecture, the system visualizes player contributions that traditional box scores could not capture, and it has been implemented in Prime Video broadcasts. Future plans include the rollout of new metrics such as Leverage Score and Handle Score.
Note: This article was automatically generated while maintaining the content of the existing lecture as much as possible. Please be aware that there may be typos or incorrect information.
Main Content
Introduction to the Inside the Game Platform and the NBA Stats Team Mission
Hello everyone. My name is Ian McKiernan. I am the Lead Product Manager for the NBA Stats platform, and today I will talk about the NBA's new Inside the Game platform and AWS. I am Dashiell Flynn, a Principal Consultant for the AWS Sports practice. I work across leagues, teams, and sports-related customers, leading many of our AI/ML data and analytics projects. And I am Charlie Rohlf. I have the honor of leading the NBA Stats team, and I will begin the slide presentation here.
This is a 300-level talk on Inside the Game. I'm excited to share what we are doing at the NBA with AWS. I am a retired 500-level engineer, and since I can no longer perform at that level, a 300-level talk is appropriate for today. Can everyone hear me? Yes, great. It's my first presentation, and everyone seems to be wearing green earplugs, but thank you. Let's start with the standard hype video for the NBA. We put a lot of effort into marketing, and this is perfect for getting us excited. We will then move on to what the Inside the Game platform does and what our team does. I'm looking forward to the presentation. Enjoy.
It's game time. Great. Now, I would like to unveil the NBA's Inside the Game platform, powered by AWS. I'm looking forward to talking about this today. But first, we need to start with some background and context. You can see the expected field goal percentage displayed in the loop over there, and I'll talk more about that later. However, what I really want to emphasize here are the little green dots scattered all over Luka.
This represents our player tracking data, which supports much of what we do here. We generate 29 data points—wrists, shoulders, elbows, knees, hips, etc.—for every player, in 3D, 60 times per second throughout the entire game. And you can see these little green dots. These represent the X, Y, and Z coordinates for every player, 60 times per second. This is an incredible amount of data. The scale of this data speaks to the size of our team, and to understand what Inside the Game does and how we achieved it, we must start with what our team does.
Our stats team handles everything displayed here. This is the entire backend related to basketball data that describes the game on the court. Whether the data comes from partners or in-house, if it describes the game on the court, we ingest it, store it, process it, ETL it, archive it for historical records, and perform the generation you see in the middle. There, we add intelligence to the data. And that is where Inside the Game shines; we are looking to add intelligence to our content and data. We want to tell stories with data. And ultimately, we must deliver that data.
We want to take that data and deliver it to our products, to teams, to broadcasters, and ultimately to the fans. Because if we have one mission, it is to educate and engage our fans. That is why we built this Inside the Game platform—to educate and engage fans, leverage that data to tell compelling stories, and help fans understand the game more deeply. Why are great players so great? What makes them the world's best athletes, right? Why are these teams successful? Why are others struggling? We want to be able to tell those stories using data. Because the more we can educate, the more we can engage, which leads to better broadcasts, better engagement with digital products, and generally better business outcomes.
But as we are operating at a 300 level here, you can see that our team's scope is broad. Inside the Game platform covers only a part of this, but I am fortunate to lead a very talented team of engineers and product managers who handle every step shown here, and I'm happy to answer questions as we go. Let's dig a little deeper into the beginning. Again, we will get into content generation, which is where Inside the Game really shines and where AWS entered as a fantastic partner. Across our entire tech stack, they have truly amplified our mission to educate and engage fans from day one. We will focus on how Inside the Game is rendered to the fans.
Quantifying Plays: The History of Evolving Data Points
To do that, you need to understand what we are trying to achieve. We are trying to quantify the play. For those who aren't basketball experts, let me show you a play. We'll come back to this later. Here is Giannis, drawing a lot of attention from the defense, kicking it out to the floor, and he has a lovely little cute pass for a corner three-pointer. This is a play. It's from the moment the team gets the ball until the end of the possession, though not every play is the same. Some are clear moments in time, while others span a long duration. But ultimately, what we are trying to do is quantify the action and quantify the play.
However, there is a lot of history here that you need to understand. We have come a long way. Remember that shot with the 29 data points on Luka's body? It wasn't always like that. Here is a shot of a scoresheet from Wilt's 100-point game. Back then, plays like Giannis's kick-out and give-and-go, or any of those plays, were really at best a single data point. Just one single data point. If he scored, what was the score? That was the only data point we had.
Over time, we added data points. We reached a point with shots, misses, and makes, and then rebounds, assists, and over the years we added more statistics, which became the box score you know. But then, the box score was no longer enough. With just the aggregation of all stats, there was a limit to what could be done. We needed play-by-play. We needed a temporal aspect. When did it happen? Who was on the court? And so we started having play-by-play.
Since 1996, we have had play-by-play data. We were able to tell the time of each event and tell you who was on the court and which lineups were efficient. And since '96, we have really been able to measure each player's success in ways different from the past. But even that was a relatively small amount of data compared to the scale we are dealing with now. And we made a big leap when we added player tracking data.
Just over 10 years ago, we started with a single data point for each player. Like what you learn in high school geometry, the X, Y, and Z coordinates of players moving around the court. This was a big leap, a step-function leap. And over the last three years, we have taken another step forward, moving into what we call pose data. This is skeletal pose data for players—heads, shoulders, knees, toes—recording 29 body parts 60 times per second. And imagine what this enables when we try to quantify the plays we see. You can see what we call a little dancing skeleton displayed in sync with the video. But when you play this, the data looks like this.
This is an incredible dataset. There is so much we can do, and in many ways, we are just scratching the surface of the possibilities. But we are now working with AWS to ingest all this data, and remember the pipeline I showed you in the initial slide: ingest, store, process, and perform instant data science in real-time. Through the Flink architecture that runs seamlessly on AWS, we provide it to our products, broadcasters, and teams so they can leverage it. And really, returning to the idea of quantifying the play, the amount of data is incredible. Literally millions—millions of data points for every play. We have evolved from 1 to millions.
However, even if you get millions of data points, you can't provide millions of data points to a broadcaster. You can't provide millions of data points to coaches or fans. They wouldn't know what to do with them. So, a lot of the work we do when quantifying plays is understanding the facets of the game and quantifying specific basketball things that broadcasters can act upon, or providing insights to draw in and educate fans about what they are watching on the court.
Expected Field Goal Percentage and Practicing Play Quantification
And all these facets come into play. In this presentation, I'll talk more about how we prioritize everything we can do with statistical data. But again, it all boils down to this idea of how we quantify the play. And not every play is the same. As I mentioned earlier, we have Expected Field Goal Percentage, xFG%. This takes in all the features: shooter posture, how closely they were defended when they took the shot, whether their body was leaning, whether they were coming off a screen, how fast they were running. All these aspects at a single moment, the moment of the shot. This is part of what it means to quantify the play.
We can tell you how effectively a shooter shoots, for example, what their expected field goal percentage is, which shooters are outperforming their expected field goal percentage, and which ones aren't. But that is a fleeting moment. That is one play. However, things like 'Horns' actions are similar. The double high ball screen, there are 100 variations of this that teams run. But that spans a long time. So, there is no one-size-fits-all solution. There are many plays to quantify.
But ultimately, you have to quantify the play, identify it, use AI and ML to find that shot, find the features that explain that shot, build an AI model, an ML model, extract the expected field goal percentage, detect that Horns action—once you find it, you can quantify it, and tell you trends, frequency, and efficiency. Where on the court do they do it? How often does LeBron go left, or does he go right more often? What happens when he goes left versus right?
But the first step is always finding it. You have to quantify the play. From there, you can generate insights and move forward. And we are very excited to talk about how AWS has helped amplify our goal of educating and engaging fans through quantifying these plays and generating the amazing new stats we will show you today. Now, I'd like to pass it over to Dash to talk about the entire program.
AWS Partnership Framework and Basketball Intelligence Platform
Thanks, Charlie. At AWS, we are very excited about our partnership with the NBA. As we work toward our overall goal, we really see this as an innovation partnership that spans the entire organization, and I think the NBA is truly living up to its reputation as the most innovative professional league.
What we began building is that overall partnership framework—how we start developing these capabilities over the five years of the partnership, and how we leverage core AWS services and combine them with the rich NBA data Charlie was talking about. So, how do we leverage the third season of pose data and start developing insights? How do we start looking at over 14 years of tracking data for centers, extract insights from it, and start doing that at scale? In other words, we are really setting the foundation where we can apply different services for different outcomes, and where we are heading with the integration of NBA data and AWS services.
On top of that core foundation, we are really trying to build scale. That is, how do we start scaling across the organization so that the NBA can move faster with similar resource investment? And that is exactly why the Basketball Intelligence Platform was designed—to build these core foundations. That is, to ensure that once we build something, we can scale it across the organization. So, if we have an integrated pipeline for connecting and synchronizing pose and video, we can use it for advanced stats as we are doing, but it is also useful for player health management and biomechanics analysis—such data. In other words, the organization can use it once. Or if we build a delivery pipeline, we build it once and scale it. So, it really ensures that the core engine and platform allow the organization to scale speed, allowing these people to start developing quickly and move at the pace of innovation that we at AWS have built.
And from there, we get into the individual products and services we are building. As you can see here, what we have started so far is called 'Play Finder,' which is a feature that allows searching for any play or similar plays from the history of tracking data. So, you can just say you want to see LeBron's dunks, or fans can design plays. 'I want to go from a Horns Action to elevators, then connect to an open wing three, or a corner three,' and so on. How do you find that play, how do you input and search for it, and how do you pull the most similar ones? How do you narrow it down to involved your favorite teams and favorite players? Those are the kinds of features. And these products and services become a series of features that we build together over time, added to the top layer for more input and engagement from fans, team support, organizational support, etc.
And today, what we are really investing in and showing is the Advanced Stats platform. And what are those additional new advanced stats, what are the things we can leverage our AI and machine learning services to extract insights and start understanding the nuances of the game in ways we haven't been able to measure before? And that is where we are tackling how we get there and how the core stats platform transitions. And to talk about how that transition happened and how it led to the situation today and the launch of Gravity, I'd like to welcome Ian.
Advanced Stats Platform Migration and Real-time Infrastructure
Thanks. Yeah, let's start with how we migrated the platform. Yesterday, there was an overall conversation about migrating the entire NBA, and a small part of that was the stats platform. I will explain that, then talk a little bit about the stats ideation process, and finally look specifically at the new stats released last week on the Prime Video broadcast.
Regarding the migration of the Advanced Stats platform, as Charlie mentioned, because there are many different operations within the stats team, we had to migrate the historical data warehouse. We have live stats processing, and we are delivering them via API. And we have real-time player tracking data, which involved migrating terabytes of data to AWS. There are many tools available to do that effectively and efficiently. But it also includes live processing of that player tracking data and delivering it to fans. In the next slide, I will explain that architecture and how we migrated it in detail. However, there is also a stats alert system. This is a real-time data science application that uses data science to look for insights and find outliers. Career highs, right? Like, this player recorded or was involved in 80 percent of the team's scoring in the quarter, or this team is hitting consecutive scores. And we can send alerts to broadcasters to tell fans a story. And we have data science tools in the development environment, which we also migrated. So, we had to migrate all of this, and there were many moving parts, but there were many tools and excellent products to migrate to on AWS.
So, this is the big picture of our real-time player tracking infrastructure. This is among the more complex parts of our infrastructure, isn't it? We store huge amounts of data, terabytes of data as background on S3, and we are running many Kubernetes operations on EKS. They need to communicate with each other with low latency. In other words, from the moment data is sent from the arena's RabbitMQ topic, it needs to operate very fast. Across this entire sequence of operations, it only adds about 50 milliseconds until it reaches the end user on the other side via API. We are processing about 10 streams per game, and this obviously needs to scale. Because there could be 12 games happening simultaneously. In the first set of games, two games went into overtime.
Data is also being sent from G-League games from earlier in the day. This system needs to scale. It needs to scale down to keep costs efficient, be reliable, and be fast. And we are able to achieve that using EKS on AWS.
First, the 'optimum feed service' tells the 'shepherd spawner' that a game is starting. The shepherd spawner spawns a shepherd, and the shepherd instructs, 'make sure everything is running for this game.' The shepherd then launches many pods that we call 'listeners' here. These move data from the RabbitMQ topic to an internal Kafka topic. And there are also listeners that move that data to S3 for future use. Flink applications are also launched. We launch nearly 100 Flink applications per game to calculate player speed and movement angles in real-time, creating these building blocks. And we use this to create the statistics that appear as headlines during the game.
There are many small parts in this infrastructure, and they stack up to become things like 'player gravity.' I will talk a little about this later. And there are listeners that move that data to an external-facing Kafka topic, which feeds into the API so users can consume that data. All of this scales, but you should think about it in 3D. There is a live version and a historical version. Live data for live games is prioritized, and past games are processed in a separate node pool, but everything can run within the same environment, the same node pool. This minimizes network costs and overhead, and allows us to deliver data to the end user as quickly as possible. And we are achieving that very effectively using these AWS products.
New Statistics Creation Process and Measuring Defensive Value
So, how do we create statistics? When you have that infrastructure and want to build something on top of it, what do you do? First, we start with a few questions. Where is the gap in the discussion of statistical data? What are people talking about? What is something we all intuitively understand when watching the game, but have no way to talk about in numbers? One of those is defensive value, and we were able to target this with the 'defensive box score.'
We have metrics like steals and blocks, which we have used for a long time, but with the defensive box score, we were able to dig deeper and see who is guarding whom during which time period and what stats they accumulated during that time. This is one way to add context and dig deeper into the conversation about which player is adding defensive value to the team. Offensive process—not which team got the best shot or who scored the most, you can tell that by looking at the score—but which team got the best shot. Teams can use this to confirm if it was the right process. Maybe they don't need to change their game plan for the next game. Because they were taking great shots, they just didn't go in. And we are achieving that with the 'expected field goal percentage' metric and the number of shots outperforming expectations.
And one more thing: impact without scoring. We all know the hustle players. Steals, rebounds, blocks, assists, players who are everywhere on the court but might not fill up the stat sheet. How can we quantify that? These are just a few of the areas we are exploring when trying to come up with new stats. And we talk to fans, broadcast partners, and teams to hear what they are emphasizing in their discussions.
Earlier this year, we heard a lot about 'player gravity.' Which player draws the defense to themselves, deforms the defense, and creates open shots for teammates? Well, everyone notices it on the court. Like the Giannis clip Charlie showed earlier. But how do you quantify that? With player gravity, which I will talk about next, you can do exactly that. 'Shot maker,' our 'expected field goal percentage,' 'shots made above expectation'—this is how we quantify who the best shot maker is, discuss it, and add context for fans. Not just saying, 'he is my favorite player,' 'that is your favorite player,' and 'who is better?'
And finally, as Charlie said, we are in a very data-rich environment, but what data is available? We have box scores and play-by-play. We might need to join back to them. We have player tracking data, and NBA development stats that I talked about a bit. These are the building blocks for larger headline stats. One of the foundations of the player gravity metric is our defense and the defensive pressure score of the defensive box score. This is something that hasn't been talked about much.
I'll explain a bit more about this later, but basically, we are quantifying defensive principles. You've all heard it: get between the ball and the man, the basics of basketball, stay between your mark and the basket. We were able to create an algorithm that measures the amount of pressure each defender is putting on each offensive player. And through that, we can use an optimization algorithm that maximizes the team's total defensive pressure to figure out which player should match up with which player at any given moment. This helps create the defensive box score, and also helps with player gravity.
And the next slide—everyone loves a good flowchart, right? Here, we show how we actually go through this process. What do we want to measure? Is there data to measure it? If not, can we collect the data? If so, return to the beginning and start again, and hopefully we can reach the left side of this tree.
If we can't, sometimes we have to wait for the technology to catch up, right? And that's where player tracking data comes in. In this data-rich environment, we have the opportunity to see things we've never seen before, and reach the left side of this tree more often. If we have the data, does it need a model? If no, great, you can start building. If a model is needed, does it need labels? The rest you know, right? But this is basically the workflow we go through when we come up with new stats, trying to determine how we can build things that are meaningful for fans, broadcasters, and teams, and can provide more context and insights as part of the Inside the Game platform.
Developing Player Gravity: Expected Defensive Pressure Score Model
Now, let's talk specifically about player gravity. This is the play we saw earlier. Let's look at it again and explain it in a little more detail. You will see the moment Giannis drives here. He draws all three of these defenders, and that starts this turn, you know? Myles Turner gets open, back-pass to Rollins, and he hits the three-pointer. In this exact moment, in a traditional box score, Giannis gets no credit, you know? Perhaps in a new era with a 'secondary assist' metric, we could quantify part of that value. But in reality, this starts the turn, opens up the play, and ultimately produces an open shot. But until now, there was no way to quantify that, you know?
And here is part of what we are working on internally. The play is flipped, but as Giannis is dribbling here, you can see the defensive pressure score being calculated in real-time, you know? And there is the actual DPS (Defensive Pressure Score) and the 'expected DPS' (Expected Pressure Score). This is a key part of the gravity model we developed with AWS. But what this allows us to do is quantify players who are drawing more attention from the defense than would be expected from an average player, you know?
Let's explain the definition of gravity in a bit more detail. There is an actual DPS, right? In other words, we are calculating the pairwise defensive pressure score in real-time at 60 frames per second. It is reflected in the actual defensive pressure score based on the player's speed, angle of movement, relative distance from the basket, and other factors. Where the ball is, where you are, where the basket is. This can be calculated, and we have been calculating it for a few years. What AWS helped us develop is the 'expected defensive pressure score model.' This is a machine learning model that takes offense positioning and the ball as input, and basically tells us where we expect the defense to be standing based on the offensive player's and the ball's position. And what this allows us to do, as I said earlier, is take the actual minus expected value to get attention from the defense above expectation. This seems like a fairly clear definition of player gravity, doesn't it? And we are truly excited to be able to do this.
But let me talk a bit more about this expected pressure score model. As I mentioned earlier, we remove the defense, and basically, the model learns. This is a similar architecture to the coverage model talked about in the NFL, but by using factorized attention and a transformer architecture, we can input two seconds of player position information, trajectory, time, and score into the model to understand where the defense is expected to be in this situation. In other words, if your mark man is drawn in, for example, if Joel Embiid is in the high post and a player in the corner takes a step closer, this model detects that there is more attention than usual in the high post area and gives greater gravity to a player like Joel Embiid. So, we are truly excited about this application.
And if you look at the actual leaderboard, you can see that fans would have expected Steph Curry to be at the top this season as of last week, so you know the model is working—we're done, right? No, but what this allows us to do is have intelligent conversations. Everyone expects Steph Curry to be at the top, but you might wonder why Michael Porter Jr. is second, right? He is on a struggling team. He might be one of the better players on a struggling team, and because of that, the defense can devote more attention to him. So, what this allows us to do with teams, fans, and broadcast personnel is have those intelligent conversations about what team strategies are being applied.
Some teams might be generating more gravity overall because they are applying more pressure than expected, right? And now we can quantify that, see the difference, evaluate it in real-time on the broadcast to show fans, and compare those numbers throughout the season or across different games. Even looking at the rest of the list, I think the results are quite good from the eye test. So, as I said earlier, we are truly excited. This launched on the Prime Video broadcast last week, and we are looking forward to providing it online to the Inside the Game platform in the coming weeks. Now, I'll pass it back to Charlie to talk about what's coming next. Thanks, Ian.
Data Science Results and Impact on Fan Engagement
But before that, I want to return to what I mentioned at the beginning. Think about the data science results: analyzing tracking data, devising defensive pressure scores, developing ML models for actual and expected defensive pressure scores, and ultimately arriving at a result called Gravity. Those data science efforts, those results, manifest in many different things. You can see the leaderboard here. This is a fantastic fan engagement tool. It is a new leaderboard representing the facets of defensive and offensive attraction that couldn't be quantified before, and this is a great fan engagement tool. But not only that, every moment of the game turns into something we generate for highlights, helping broadcasters look at specific Gravity plays and color commentators talk about them. Like Stan Van Gundy did in the first Prime Video broadcast. This affects so many aspects of our business and also impacts every aspect of our stats infrastructure. That is why AWS is a fantastic partner, and why we have been able to amplify our mission to educate and engage fans.
They supported us in every part needed to create this: the database layer, the ingestion layer, and the data science aspect. It comes out as a leaderboard, but there is so much work in the process. We are truly grateful for AWS's contribution to every step leading to this, and all the other ways Gravity helps our fans, impacts broadcasters, and helps teams analyze the game in new ways.
Now, let's look at what's coming up. Here are our major events. Rivalries Week, All-Star, you know. You saw Defensive Box Score, Shot Difficulty, and we also have Expected Field Goal Percentage that I mentioned at the start. We just released Gravity for the Black Friday broadcast. Next is 'Leverage Score.' This looks at how players contribute to their team's probability of winning. Not just points, but rebounds, steals, grabbing defensive rebounds in clutch situations, etc. We are building a new model to measure each player's influence and how each player contributed to the team's victory.
For All-Star, we are targeting 'Handle Score.' This will be a fun metric representing how players handle the ball—great crossovers, spin moves, between-the-legs—and the incredible plays they can make with the ball as great athletes, and how they can move around in the game. This is scheduled to be released around All-Star.
But don't forget about the WNBA. AWS is getting involved. On our side, the same stats team will handle it. We are working with the W. Basketball data is basketball data, so I'm looking forward to seeing what we can do in the WNBA. We are considering chemistry-related things, and honestly, we are still at the stage of brainstorming ideas: how to express chemistry between players, who interacts with whom, how they pass to each other, types of passes, etc. We are also looking at rebound prediction and 'triple threat.' And we love stats that are easy for fans to understand, but we want to make the maximum impact with the stats we create.
Future Roadmap: From Leverage Score to Handle Score
So, how do we develop stats that are compelling from a data science perspective, push the industry forward from a basketball analysis perspective, support teams, but ultimately are approachable? In other words, is it engaging, useful, and educational about the game for fans, regardless of their level of interest in the NBA—whether they are beginners or hardcore stats fans like me and basketball nerds? We are trying to find things that are approachable at all those levels.
Now, if there are any questions, I'm ready. Finally, let me close with where you can watch. Right here. Watch it here. After the next session, there is a happy hour and games, so I'd like to thank our broadcast partners ABC, NBC, Prime Video, and Peacock. I hope to see you all at the upcoming happy hour. I hope to turn on the game and learn more there, but for now, I'd like to take your questions. Can you stand up? There's a microphone in the back. Come on, who will start it off? Yes, you there.
Q&A Session: Technical Details and Model Implementation
Hello, do you think this data will be incorporated into the next generation of video games? If these concepts are introduced, that would happen. And as a follow-up question, are you doing anything predictive regarding the overall results of the game? Do you see potential in that area?
Well, starting with a difficult two-part question, are we? Certainly, as games evolve—about video games, I'm not going to speak on behalf of 2K, but we are definitely working with them to provide data and help in every way we can. But ultimately, they are the video game experts, and I am not. But it's a good question, and I'm sure they are considering every way to make the game more realistic. Regarding the predictive aspect, yes, we are doing it. We are the league office. We don't necessarily want to predict the outcome of games. Because we are a neutral third-party judge of the games.
However, we use things like win probability models internally to determine what content to deliver. So, yes, we are absolutely doing those kinds of predictive things, and that win probability model is the foundation for the Leverage Score. In other words, how do we find moments that bring significant fluctuations, potential fluctuations, to the win probability? That becomes a 'leverage moment.' Exactly. That Leverage Score is never displayed directly, but you can think of it as how much a player's contribution moved the team's win probability.
Obviously, contributions in a close clutch game move the win probability much more than in the beginning of the game, but that is part of basketball, and it is about which players perform in those situations. Rebounds and steals also move the win probability significantly. So, while we might not accurately display the win probability itself, it is a very important element incorporated into the Leverage Score.
You there. Simple question: do you track foul calls? We do track foul calls. Certainly—I mean, if a player gets their sixth foul, they can't play anymore, so we need to keep track of that. No, I'm talking about when coaches, teams, or owners send such information to the league, saying this is a video that is clearly a foul call. That is the responsibility of the Basketball Operations department, not our team. Regarding that point, it is an internal process between teams and the league.
Next is your turn. So, if you had sensors on the players, technically, if they were pressure points, do you think you'd know whether they were fouled or not? Actually, while 29 body points per player is a lot, it is not necessarily enough to know such things, from a content perspective. But you never know what technology will emerge, and we are certainly exploring ways to use data to automate refereeing duties or improve the flow of the game.
And I want to be clear that there are no sensors on players in the skeletal pose data. But in the NFL, there are sensors in the shoulder pads for Next Gen Stats. In the NBA, everything is optical tracking, so everything is generated from video to build a complete pose dataset. So, there are actually no sensors placed.
Now, the last question. Do you think robot referees will appear? Listen, that's the limit of controversial questions. I already said hi to Adam Silver, after all. Yes, I'm Brian Jackson from InfoTech Research Group. NBA teams have their own analytics departments, and maybe they are trying to figure out these advanced metrics before the NBA, right? So, do you feel like you are, in a sense, democratizing those insights across the league by publishing these advanced metrics?
Certainly, whatever we build, whatever our team builds, we intend to share with every team, the NBA, WNBA, etc. We want them to have access to it, to be able to do what they want, and what teams do after that, their competitive advantage, is up to them. But we definitely talk to teams to think about what is useful, what is meaningful, and what helps their workflow. Not just from a data science perspective, but also from data delivery, logistics, and cloud infrastructure perspectives. How can we deliver data to them more easily with less data engineering and fewer ETL processes? We are always in contact with teams, and we absolutely want to support them in gaining the insights they need to operate more efficiently and run their business.
Hello, Sam Meyer from BMS. Thank you. Two questions. First, regarding the Gravity score, how do you account for the tendency of the defense to help, or not to help? I'm curious about that. And also, are you thinking about something like the inverse of the Gravity score, for the defense—a 'Wemby factor,' so to speak?
Interesting question. Someone actually pointed that out. I'll answer the second question first: it's a bit difficult to reveal that. Because we would have to show information about where the defense is. And if we do that, the game is over. You would know where they actually are, not where they should be, right? It's a difficult question. This point has been pointed out. We are definitely considering it, but which defensive player is keeping the offense away? They don't want to get close to Wembanyama. It's definitely on our minds, but how we solve that problem is something we are still brainstorming and discussing.
And the first question: we are down-sampling a bit by using season-worth of data. Here, we are processing at 10 frames per second. We are considering all those different moments on the time axis. The model takes in 2 seconds worth of input data and is deployed with at least 25% of it masked out. In other words, within 0.5 seconds of the players crossing the half-court line,
we calculate that gravity, or execute the expected defensive pressure score model at 10 frames per second. By training the model with season-worth of data, we hope to find situations with and without help. Because every team does it differently. Where is the average defender on this play? This allows us to judge help situations. In other words, when that player is really stepping in and giving more defensive pressure than expected to that player. So, it's really a volume issue, and it reveals those help situations. If that is done as a strategy to take something away, we want to understand it. Because if you deploy help, someone else opens up, which can be a high-gravity moment, leading to a shot with a high expected field goal percentage. We can tie all of this together to tell a truly wonderful story about how teams are creating value on the offensive side.
When you see the play where Clarkson comes in as the third defender against Giannis, you can see the gravity score rising significantly. We use all 25 pairwise GPS scores from every defender to every offensive player, and when the second defender, the third defender comes in, it has a major impact on gravity.
I'm not going to turn this into a story about engineering, but could you give a brief overview of how you provide the machine learning model itself—not just the models used—but how you provide them fast enough to predict in real-time during a game? Without going into too much detail, could you provide a brief overview of how the machine learning model actually functions and how you provide predictions fast enough during a game?
So, as I mentioned, we use inference servers placed in the same node pool, and we are sending these queries there. We are ensuring that we have equipped the appropriate machine sizes to handle the load of simultaneous games in progress to ensure scale. Simultaneously with sending these queries, we are also using dynamic batching on the inference servers. This is basically, for example, batching queries that come in within a few milliseconds and running inference on the same thing. In other words, if 10 simultaneous games are in progress, we can run inference more efficiently on these servers. That is how we do it. Regarding the model details, we have tried several different architectures, but I have to leave that to the data scientists. Based on what I've talked about, we also tried simple CatBoost and XGBoost options, but over time, we found that the transformer architecture using 'factorized attention'—that is, the model can learn the relationships between players in space and time within the 2-second window we are inputting—was overall the most accurate. Therefore, we decided to adopt that architecture.
For the 500-level session next year, please do. Please tell us in detail one by one how you achieved sub-second latency. And if you move the tire change closer, that will be another year's worth of content. Another thing I want to emphasize is that we are really looking forward to what each broadcast partner will do with that live data. Gravity will be available in sub-second, and we are beginning to see some of what Ian showed in the graphics, but it's about how to overlay it onto the video in real-time, for example, to show how the third defender comes in and makes Giannis's gravity skyrocket. Whether to display it as a number or as the size of a bar. We are working with their graphics teams, and we are truly looking forward to where they are heading and how they start showing it to fans in live games.
There is an interesting point regarding sub-second latency. We are trying to achieve it by migrating the actual 'defensive pressure score' from the calculation of different sub-scores to including the defense in the model and including that additional data point. This will allow us to more accurately predict the actual defensive pressure score at that moment. And by using inference on raw data instead of calculating features, we can provide gravity with sub-second latency. It was really interesting to see how the model reacts differently with and without defense included, and how different approaches in similar architectures suit different models. But that is the direction we are heading toward sub-second latency gravity.
Thank you again for inviting us. Nice shoes. I could listen to you talk about NBA stats all day, and you have a wonderful broadcast voice. My question is, will this data be made available to fans through an API or something, so that fans can create their own advanced metrics or develop stats later? Thanks for the compliment. I appreciate it. Certainly, it will be made available through our products, such as posting on the leaderboard, but regarding raw data, we are considering ways to provide it through things like hackathons, but there is nothing official yet.
Thank you for your interest. If you go to NBA.com today, you can see all the shots and get the expected field goal percentage for both teams. You can see whether they shot above expectation or below expectation, comparing the actual field goal percentage with their expected field goal percentage. So, all that data is currently available for viewing on the NBA digital site. However, 29 skeleton points, 60 times per second—it would be wonderful if you could get your hands on that. Thank you for your interest.
Again, back to the 500 lecture, I have to mention the ARM talk and launching our own cluster to manage storage. Regarding the data points in the model—the defensive data points—do they depend on the actual player, i.e., who that player is, or do they simply depend on it being a defender? No, when calculating the actual defensive pressure score in the model, they are all player-independent. Rather, they are based on the player's 2D position.
We have a goal and desire to actually improve that using the player's orientation or gaze direction over time. Since we have this 3D player tracking data, we don't necessarily have to use all 29 points, but it's really cool to be able to see the player's hip orientation, which way they are facing. In other words, everything input into the actual defensive pressure is player-independent from the model's perspective, which allows us to calculate the actual 'over-expected.' Because basically, in the model and calculation, we assume all players are the same, and then we check which specific player is drawing that attention.
Also, was the reason for making that decision to avoid needing to retrain the model when new players enter every year, or do you expect to need to retrain the model year by year based on things like rule changes? Yeah, one of the things we are discussing is how to optimally provide service year by year because of changes in strategy. One thing we noticed with the 'expected defensive pressure score model'—excuse me—is that gravity this year is higher compared to last year. This is consistent with what you might have heard discussed about teams applying more pressure.
In other words, directionally, gravity is still a very powerful metric, but compared to last year, gravity looks different in magnitude because the defense is employing different strategies. And interestingly, two years ago, we saw higher gravity as well. In other words, for some reason last year—and this is a discussion we love, and we want to understand the game better—this year that strategy is pushing everyone toward applying more pressure, which leads to higher gravity. Now, as I said, typically, things like leaderboards are still all meaningful, but we have had conversations about when to retrain, and how much strategy needs to change to provide better service, or to retrain to understand the game. Wonderful, thank you.
Q&A Session: Future Outlook and Data Access
Hello. Hey, I'm Ben Shalo. Thank you. This is wonderful. I love it. I was wondering if you are doing audio tracking, and maybe there's an opportunity to create a 'smack talk' leaderboard. I know that's a huge element on the court. People would love it. I was wondering if you had ever thought about that. Interesting. Yeah, I'd say we have thought about it, but I don't think it will happen anytime soon. However, you aren't the first person to suggest tracking what's being said and trying to convert it into data in some form. But as you know, there are many hurdles there.
Yeah, from a technical perspective, we have the ability to realize it, and we can also separate different sounds. Whether you want background noise or not. We have the ability to use speech-to-speech models and things like that to actually hear what the players are saying. It's just that I think the Players Association would have a lot to say before it goes public, for sure. And if the players knew they were all being recorded, they might change what they say. So, if that happens, see.
I work in high school sports, so I'm curious how important the video equipment itself is when obtaining these 29 poses, etc. Can this be done with one camera in a gym? How close can you get, or is video equipment really helpful? Actually, that's a question for Hawkeye, our vendor building the player tracking system. Our team receives raw data of 29 points per player and handles that data, but we don't necessarily do computer vision. That's the vendor's job.
However, from a computer vision background—returning to when I was active at the 500 level—technology has improved significantly, and there is a lot you can do with one camera. But I don't know how much of the 50%, 70%, 80% of what you get with 20 cameras and 60 frames per second you get. But what some companies are doing in more amateur high school environments with one camera is impressive.
Yeah, it's definitely coming, and I think the problem you encounter with one camera is 'occlusion,' or shielding. One of the things we deal with on the NBA side is, before this season, we were looking at fixed-length joints—joint positions that are high-occlusion zones, i.e., hip joints and finger joints.
It can be difficult to determine where they are in space, but thanks to upgrades and the number of cameras we have, our vendor was able to improve it so we can move to variable length. But that is the problem you'll probably encounter with one camera. If a player runs, if I stand behind Charlie, you can't get anything of mine. You just guess, right?
Speaking of the past, in my master's thesis, I did research on tracking the ball for the high school basketball team I was coaching. And I immediately realized there were vendors doing it in a way far superior to what I could do on my own. Well, I got my master's degree, but that project ended there. But over time, I think that is the goal. Looking at this technology. Years ago, you needed 100 cameras around a football field to start obtaining this kind of data, but it decreased to 40, and now it's 10. So, the pace of innovation is definitely reaching a point where it can be done with three cameras, then two, and ultimately one. That is definitely the industry goal. Who will get there, how soon it will happen—we will all be watching, but that evolution is definitely happening.
Hello, I'm Chandra from Nielsen Sports. We are an NBA partner. Regarding audio tracking, we track brands through audio, so perhaps we could partner to catch that. I have a question about the API. We are partners—do partners have access to the data through an API? Do you know? Did you say NESN, a broadcaster? Nielsen, Nielsen, excuse me, Nielsen. I'd love to meet you later and talk. Of course, I'm not in charge of partnerships, so I don't know all the details, but I'd be happy to talk. Perfect. Thank you.
I've heard a lot about Agentic, and I love NBA podcasts, but sometimes I don't know who is doing the research, and going to NBA stats.com can be overwhelming. So, have you ever thought about a chatbot agent that really understands stats? Like, a detailed question like why the Clippers are bad this year or why the Celtics have picked it up recently? I'll pass the mic to the people in the back corner. Look forward to it. Good question. I am not allowed to reveal anything, but good, good question. You noticed something. Yes. So.
Can this data be applied to past footage? Returning to the earlier question, I think it would be interesting to see comparisons like who has a better Gravity score, Michael or LeBron. That is something we want to do, and we have definitely considered it. From a technical perspective, we aren't there yet, but a world where that's possible would be amazing. Well, we aren't going back that far historically, but one of the reasons we decided to build these metrics this way is because some metrics, like Gravity, focus on 2D. Gravity is built using mainly 2D tracking data—mainly, or rather, completely. And that is to allow backfilling to all seasons for which we have tracking data. But unfortunately, we don't have broadcast tracking going back to the Jordan era. Those rough images—that would be difficult. Thank you. Yeah, you're welcome. It would be wonderful to see what Gravity was like in the hand-checking era. Like, the era when you didn't need to send double teams—returning to imagining how many models there are per era, but yeah, an era without a three-point line, it would be unbelievable.
Hey everyone, I was just curious, do you track clutch metrics? Could you raise the mic a little bit? Oh, sorry. Clutch metrics—do you track things that really change the flow of the game? Like Ray Allen's three-pointer or the 'block by James.' Do you assign those kinds of scores to each player? Yeah, we do. With the Leverage Score—I think you'll enjoy what's coming soon with the Leverage Score, but you can go to NBA.com right now and add a clutch filter. This looks at the last 5 minutes of a game when the score difference between teams is 5 points or less, we've had that standard set for a long time, and you can see how players performed when those clutch situations were happening. That is available right now, but the Leverage Score will enhance it in an exciting way, and I think it will be something that fits your question perfectly. Wonderful, thank you. Yes.
Great. First time, second time. Oh, wait. Just one more. Sorry, no one else had questions, so let me ask one more. I didn't see anything about a GOAT score on the roadmap, when will it be released? You need to trace the tracking data further back, right? That's right. Perfect. All right, are you all okay? No.
Hello. When releasing a new stat like Gravity, I was curious how you measure the success of that stat—in other words, how you measure how much people are engaging with it.
Yeah, that's a great question, and it's a part I struggle with as a product management position on our team. In many ways, we talked about North Star. That is how to educate and engage fans. But actually looking at apps and sites page by page, stats are everywhere. Our team is responsible for scores, standings, schedules, and there are components in various parts of the pages, and it's difficult to assign ROI to specific changes added to presentations or a single new stat in the box score.
It's difficult to say how that stat impacted the overall experience and drew in classic product management benchmarks like page views or things you might watch. That's why we adopted this way of thinking. In other words, if we can help the discussion, move the basketball analysis industry forward, and ultimately—that phrase we keep saying—educate and engage fans, then that is leading to good ROI and good business outcomes. And if broadcasters want it, teams use it, and it becomes a part of basketball, then it is a 'home run' success for us.
Let me promote our Prime Video friends. If you go across One Amazon Lane, Prime Video is there now. They have NASCAR and Thursday Night Football this summer, but I'll talk to them in great detail about how these new advanced stat programs are driving viewer engagement and how much the production team is displaying them on screen. So, we are truly excited to push that with each partner here—how much these advanced stats are actually displayed, used, or become part of the conversation on screen. I think we will start tracking all these metrics and things internally and with broadcast partners.
Come on, come on, thank you. Thank you, everyone. Thank you. That was wonderful. Well done.
- This article is automatically created using Amazon Bedrock, maintaining the original video's information as much as possible.




















































Discussion