Inside Major League Baseball’s “Hypothesis Machine”

By Nicole Hemsoth

April 3, 2014

When it comes to sports statistics, there’s no richer source of historical data than baseball. With over 140 years of detailed information on individual players, teams, and winning trends, the addition of digital data is powering even deeper analytical capability to help fans and team owners make decisions.

Baseball data, over 95% of which has been created over the last five years, will continue to mount—leading MLB decision-makers to invest in more powerful analytics tools. While there are plenty of business intelligence and database options, teams are now looking to supercomputing—or at least, the spawn of HPC—to help them gain the competitive edge.

Last June, we talked with Cray CEO, Peter Ungaro, who dropped a hint that MLB was their big Urika graph analytical appliance user, but waited on the sidelines for more details, including who the team might be. While the team is still a secret (understandably—this could be the skeleton key to a winning season) we were able to get some details about YarcData’s role in MLB from Cray’s Tim White, who manages the government and intelligence business unit and has been the point man for the mystery team’s walk down graph analytics lane.

White, who left General Dynamics’ Advanced Information Systems division after 8 years to come to Cray, is no stranger to advanced analytics. At General Dynamics, he ran national security, law enforcement and intelligence projects on site, where he was able to understand firsthand the challenges and benefits of real-time information gathering. He said when Cray called him to push into markets with some of the toughest graph analytics problems, he immediately saw the opportunity. Government use of complex graphs to mine for relationships between disparate datasets is expected—but the same value there in understanding how multiple variables translate into unseen ties applies to baseball (and other areas, including fraud detection, drug discovery and more) just as well.

He explained that what teams, just like governments and drug development researchers, are looking for is a “hypothesis machine” that will allow them to integrate multiple, deep data wells and pose several questions against the same data. They are looking for platforms that allow users to look at facets of a given dataset, adding new cuts to see how certain conditions affect the reflection of a hypothesized reality. While he says there are multiple tools for doing this on both the hardware and software front, there is a particular marriage of both elements that works particularly well for graphs. This combination includes a large shared memory machine that lets users cut around unpartitionable problems. At the software core are SPARQL and RDF, which he agrees are specific tools but are the only ones that can tackle large-scale complex graph problems that are otherwise difficult to untangle without the blend they’ve packaged into a Urika box.

urikaTo put the complexity of the graphs MLB is working with in context, White told us that they’re operating in the 10-20 billion edge graph range. That’s no problem for Urika, however, says White, at least compared to trying to manage that kind of large-scale problem using basic joins. For background, the appliance is graph-specific and tailored to RDF, which can be an unwieldy data structure unless it’s humming on a big shared memory system. Urika uses the thread-hungry Cray native XMT processor and while it has that capability, it’s not designed for running floating point vector calculations. The value here is dipping into deep memory to hunt for similarities and associations that expose buried relationships between factors.

“Urika is unique in that it’s a global shared memory machine that lets you look at data in an unpartitioned fashion. This is very critical if you’re looking at graphs, which by nature are unpredictable. Further, certain graphs are non-partitionable—and if you do partition it, it changes the result of a query,” White explained. “There is no MapReduce job or partitioning that will do anything but fracture the graph to a point where it’s no longer reconstructable—and even for those you can reconstruct, it would take a lot of compute power.” Where this works is with memory-bound problems versus those that are compute-bound, in other words.

Urika is also fitting for the big data of MLB given the disparate data sets required to piece together a best-case-scenario for team leaders. There are lots of sources and combining that data requires a data structure that allows for federated queries. This is exactly the reason big pharma and a few others find RDF machines useful (in the case using SPARQL queries). “You could go ahead an do the equivalent of a hundred-way join from a relational database—the question is, how big of a dataset can you do that against?” asked White. “Unless you have something like Urika, which has the ability to do it memory and with massive multi-threading, you’re not able to look at enough data.” He said that when compared to what they’re doing inside Urika, for normal relational databases, this would be the equivalent of a 30-50 way join. Pulling from the large shared memory pool using SPARQL queries offers a more seamless blending of conditions to hypothesize against. And herein lies the selling point for operational budget-constrained MLB.

Although we’re not privy to pricing, the Urika appliance runs in the order of well over a million bucks. However, to put this into some context, consider the ROI. The average win in baseball brings a smaller team a couple of million, a large MLB team between $5 and $7 million. That’s one win. Let’s say Cray’s graph appliance is able to help team owners piece together what happens if you take the average player for  a particular position versus the player they’re analyzing across the course of a season. While those many factors involved are multifaceted, when it comes down to one small decision at the bottom of the ninth with loaded bases, that one switch in decision-making could mean the loss or gain of millions in a winning situation.

So this all begs the question, why buy an expensive near real-time analytical HPC platform if the time itself isn’t necessarily an issue? Couldn’t there be cheaper ways to run this on a SAS or SAP HANA box after the fact? Or for that matter, a shared memory cluster of one’s own devising primed to run the latest, greatest analytics software?

White responded by pointing to the nature of their approach to graph analytics, agreeing that real time here doesn’t have anything to do with immediate in-game decisions. Rather, their queries can be submitted, run very quickly for fast analysis, then analysts can run that same query again in a hurry with different variables. This effectively allows them to tweak the question with new conditions. This “hypothesis machine” approach is what makes the difference, says White, pointing to the burdened systems MLB and other organizations have that can’t be used to tailor one query after the next in rapid succession to find answers and hidden connection between factors they didn’t even know to ask.

The variables for each iterative query range from the outlandish to the expected (RBI, homerun histories, Golden Glove data) and even to the subjective (sentiment of fans, coach and player confidence, salaries, TV revenue, etc.). All of these are collectively referred to as “field effects” which is a certain science in itself.

White agrees that there are many excellent analytical software and hardware platforms out there to choose from, but most of those tend to focus on data that is known. Such platforms consider data from a range of databases that are all finding answers, but don’t go far enough into the masked relationships that baseball (and for that matter government intelligence, pharma and others) require to make real progress.

“We’re past the point of thinking software can solve all the problems,” said White. The hardware matters—in fact, it’s the reason why big organizations with large-scale data-driven challenges are looking seriously at HPC platforms. They’ve managed to eek all the performance out of their code, custom or otherwise, and now see the need for a marriage between the metal and the mind—in MLB, big government and beyond.

“These users want to ask a lot of questions. They want to get those results right away, then change the question. So they go through 20 or 30 different facets of the same question to find what’s interesting. It’s the iterative quality of Urika that’s interesting, it becomes their hypothesis machine—they go through all the hypothetical queries to find the difference maker,” says White.

So we’ve worked out the why on the graph analytics investment side, but with so much of this still subjective science, how on earth did Cray manage to talk an MLB team (these are historically cash-strapped organizations on the operational side) into this? To what extent are team owners concerned with data partitions and multi-threading?

Not at all, says White. However, they have been doing analytics that are much closer to Excel operations than anything bordering supercomputing. In fact, when asked about what Urika replaced at MLB shops, White hinted that it didn’t go too far beyond Excel or general business intelligence tools. This, however, he says, will be a gamechanger. Literally.

To be clear, this machine isn’t powering immediate gameplay. MLB rules prohibit the use of electronic devices during game time. When news first leaked that a mystery team was using the graph appliance there was some confusion about “real time game play data” that could shape the decision-making of coaches. This isn’t the case. Rather, the analytics are run after the fact (and before new games, seasons, or investments in player contracts). These are data for the playbook—the one analog “device” that’s allowed. And the output of the graph should lead to an approximate answer to, “when the ball hits at this level under these conditions based on history and contemporary circumstances X is the best option.”

It would be a thrill to compare playbooks before and after advanced analytics have been run but, sadly, we’d need to know the team who bought the Urika. There have been a lot of guesses, perhaps we should look to the downtrodden MLB club that suddenly pulls some amazing wins out of thin air this year for clues.

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

Supercomputer Analysis Shows the Atmospheric Reach of the Tonga Eruption

January 21, 2022

On Saturday, an enormous eruption on the volcanic islands of Hunga Tonga and Hunga Haʻapai shook the Pacific Ocean. The explosion, which could be heard six thousand miles away in Alaska, caused tsunamis across the entir Read more…

NSB Issues US State of Science and Engineering 2022 Report

January 20, 2022

This week the National Science Board released its biannual U.S. State of Science and Engineering 2022 report, as required by the NSF Act. Broadly, the report presents a near-term view of S&E based mostly on 2019 data. To a large extent, this year’s edition echoes trends from the last few reports. The U.S. is still a world leader in R&D spending and S&E education... Read more…

Researchers Achieve 99 Percent Quantum Accuracy with Silicon-Embedded Qubits 

January 20, 2022

Researchers in Australia and the U.S. have made exciting headway in the quantum computing arms race. A multi-institutional team including the University of New South Wales and Sandia National Laboratory announced that th Read more…

Trio of Supercomputers Powers Estimate of Carbon in Earth’s Outer Core

January 20, 2022

Carbon is one of the essential building blocks of life on Earth, and it—along with hydrogen, nitrogen and oxygen—is one of the key elements researchers look for when they search for habitable planets and work to unde Read more…

Multiverse Targets ‘Quantum Computing for the Masses’

January 19, 2022

The race to deliver quantum computing solutions that shield users from the underlying complexity of quantum computing is heating up quickly. One example is Multiverse Computing, a European company, which today launched the second financial services product in its Singularity product group. The new offering, Fair Price, “delivers a higher accuracy in fair price calculations for financial... Read more…

AWS Solution Channel

shutterstock 718231072

Accelerating drug discovery with Amazon EC2 Spot Instances

This post was contributed by Cristian Măgherușan-Stanciu, Sr. Specialist Solution Architect, EC2 Spot, with contributions from Cristian Kniep, Sr. Developer Advocate for HPC and AWS Batch at AWS, Carlos Manzanedo Rueda, Principal Solutions Architect, EC2 Spot at AWS, Ludvig Nordstrom, Principal Solutions Architect at AWS, Vytautas Gapsys, project group leader at the Max Planck Institute for Biophysical Chemistry, and Carsten Kutzner, staff scientist at the Max Planck Institute for Biophysical Chemistry. Read more…

Students at SC21: Out in Front, Alongside and Behind the Scenes

January 19, 2022

The Supercomputing Conference (SC) is one of the biggest international conferences dedicated to high-performance computing, networking, storage and analysis. SC21 was a true ‘hybrid’ conference, with a total of 380 o Read more…

Supercomputer Analysis Shows the Atmospheric Reach of the Tonga Eruption

January 21, 2022

On Saturday, an enormous eruption on the volcanic islands of Hunga Tonga and Hunga Haʻapai shook the Pacific Ocean. The explosion, which could be heard six tho Read more…

NSB Issues US State of Science and Engineering 2022 Report

January 20, 2022

This week the National Science Board released its biannual U.S. State of Science and Engineering 2022 report, as required by the NSF Act. Broadly, the report presents a near-term view of S&E based mostly on 2019 data. To a large extent, this year’s edition echoes trends from the last few reports. The U.S. is still a world leader in R&D spending and S&E education... Read more…

Multiverse Targets ‘Quantum Computing for the Masses’

January 19, 2022

The race to deliver quantum computing solutions that shield users from the underlying complexity of quantum computing is heating up quickly. One example is Multiverse Computing, a European company, which today launched the second financial services product in its Singularity product group. The new offering, Fair Price, “delivers a higher accuracy in fair price calculations for financial... Read more…

Students at SC21: Out in Front, Alongside and Behind the Scenes

January 19, 2022

The Supercomputing Conference (SC) is one of the biggest international conferences dedicated to high-performance computing, networking, storage and analysis. SC Read more…

Q-Ctrl – Tackling Quantum Hardware’s Noise Problems with Software

January 13, 2022

Implementing effective error mitigation and correction is a critical next step in advancing quantum computing. While a lot of attention has been given to effort Read more…

Nvidia Defends Arm Acquisition Deal: a ‘Once-in-a-Generation Opportunity’

January 13, 2022

GPU-maker Nvidia is continuing to try to keep its proposed acquisition of British chip IP vendor Arm Ltd. alive, despite continuing concerns from several governments around the world. In its latest action, Nvidia filed a 29-page response to the U.K. government to point out a list of potential benefits of the proposed $40 billion deal. Read more…

Nvidia Buys HPC Cluster Management Company Bright Computing

January 10, 2022

Graphics chip powerhouse Nvidia today announced that it has acquired HPC cluster management company Bright Computing for an undisclosed sum. Unlike Nvidia’s bid to purchase semiconductor IP company Arm, which has been stymied by regulatory challenges, the Bright deal is a straightforward acquisition that aims to expand... Read more…

SC21 Panel on Programming Models – Tackling Data Movement, DSLs, More

January 6, 2022

How will programming future systems differ from current practice? This is an ever-present question in computing. Yet it has, perhaps, never been more pressing g Read more…

IonQ Is First Quantum Startup to Go Public; Will It be First to Deliver Profits?

November 3, 2021

On October 1 of this year, IonQ became the first pure-play quantum computing start-up to go public. At this writing, the stock (NYSE: IONQ) was around $15 and its market capitalization was roughly $2.89 billion. Co-founder and chief scientist Chris Monroe says it was fun to have a few of the company’s roughly 100 employees travel to New York to ring the opening bell of the New York Stock... Read more…

US Closes in on Exascale: Frontier Installation Is Underway

September 29, 2021

At the Advanced Scientific Computing Advisory Committee (ASCAC) meeting, held by Zoom this week (Sept. 29-30), it was revealed that the Frontier supercomputer is currently being installed at Oak Ridge National Laboratory in Oak Ridge, Tenn. The staff at the Oak Ridge Leadership... Read more…

AMD Launches Milan-X CPU with 3D V-Cache and Multichip Instinct MI200 GPU

November 8, 2021

At a virtual event this morning, AMD CEO Lisa Su unveiled the company’s latest and much-anticipated server products: the new Milan-X CPU, which leverages AMD’s new 3D V-Cache technology; and its new Instinct MI200 GPU, which provides up to 220 compute units across two Infinity Fabric-connected dies, delivering an astounding 47.9 peak double-precision teraflops. “We're in a high-performance computing megacycle, driven by the growing need to deploy additional compute performance... Read more…

Intel Reorgs HPC Group, Creates Two ‘Super Compute’ Groups

October 15, 2021

Following on changes made in June that moved Intel’s HPC unit out of the Data Platform Group and into the newly created Accelerated Computing Systems and Graphics (AXG) business unit, led by Raja Koduri, Intel is making further updates to the HPC group and announcing... Read more…

Nvidia Buys HPC Cluster Management Company Bright Computing

January 10, 2022

Graphics chip powerhouse Nvidia today announced that it has acquired HPC cluster management company Bright Computing for an undisclosed sum. Unlike Nvidia’s bid to purchase semiconductor IP company Arm, which has been stymied by regulatory challenges, the Bright deal is a straightforward acquisition that aims to expand... Read more…

D-Wave Embraces Gate-Based Quantum Computing; Charts Path Forward

October 21, 2021

Earlier this month D-Wave Systems, the quantum computing pioneer that has long championed quantum annealing-based quantum computing (and sometimes taken heat fo Read more…

Killer Instinct: AMD’s Multi-Chip MI200 GPU Readies for a Major Global Debut

October 21, 2021

AMD’s next-generation supercomputer GPU is on its way – and by all appearances, it’s about to make a name for itself. The AMD Radeon Instinct MI200 GPU (a successor to the MI100) will, over the next year, begin to power three massive systems on three continents: the United States’ exascale Frontier system; the European Union’s pre-exascale LUMI system; and Australia’s petascale Setonix system. Read more…

Three Chinese Exascale Systems Detailed at SC21: Two Operational and One Delayed

November 24, 2021

Details about two previously rumored Chinese exascale systems came to light during last week’s SC21 proceedings. Asked about these systems during the Top500 media briefing on Monday, Nov. 15, list author and co-founder Jack Dongarra indicated he was aware of some very impressive results, but withheld comment when asked directly if he had... Read more…

Leading Solution Providers

Contributors

Lessons from LLVM: An SC21 Fireside Chat with Chris Lattner

December 27, 2021

Today, the LLVM compiler infrastructure world is essentially inescapable in HPC. But back in the 2000 timeframe, LLVM (low level virtual machine) was just getting its start as a new way of thinking about how to overcome shortcomings in the Java Virtual Machine. At the time, Chris Lattner was a graduate student of... Read more…

2021 Gordon Bell Prize Goes to Exascale-Powered Quantum Supremacy Challenge

November 18, 2021

Today at the hybrid virtual/in-person SC21 conference, the organizers announced the winners of the 2021 ACM Gordon Bell Prize: a team of Chinese researchers leveraging the new exascale Sunway system to simulate quantum circuits. The Gordon Bell Prize, which comes with an award of $10,000 courtesy of HPC pioneer Gordon Bell, is awarded annually... Read more…

Julia Update: Adoption Keeps Climbing; Is It a Python Challenger?

January 13, 2021

The rapid adoption of Julia, the open source, high level programing language with roots at MIT, shows no sign of slowing according to data from Julialang.org. I Read more…

Nvidia Defends Arm Acquisition Deal: a ‘Once-in-a-Generation Opportunity’

January 13, 2022

GPU-maker Nvidia is continuing to try to keep its proposed acquisition of British chip IP vendor Arm Ltd. alive, despite continuing concerns from several governments around the world. In its latest action, Nvidia filed a 29-page response to the U.K. government to point out a list of potential benefits of the proposed $40 billion deal. Read more…

Top500: No Exascale, Fugaku Still Reigns, Polaris Debuts at #12

November 15, 2021

No exascale for you* -- at least, not within the High-Performance Linpack (HPL) territory of the latest Top500 list, issued today from the 33rd annual Supercomputing Conference (SC21), held in-person in St. Louis, Mo., and virtually, from Nov. 14–19. "We were hoping to have the first exascale system on this list but that didn’t happen," said Top500 co-author... Read more…

TACC Unveils Lonestar6 Supercomputer

November 1, 2021

The Texas Advanced Computing Center (TACC) is unveiling its latest supercomputer: Lonestar6, a three peak petaflops Dell system aimed at supporting researchers Read more…

10nm, 7nm, 5nm…. Should the Chip Nanometer Metric Be Replaced?

June 1, 2020

The biggest cool factor in server chips is the nanometer. AMD beating Intel to a CPU built on a 7nm process node* – with 5nm and 3nm on the way – has been i Read more…

Intel Launches 10nm ‘Ice Lake’ Datacenter CPU with Up to 40 Cores

April 6, 2021

The wait is over. Today Intel officially launched its 10nm datacenter CPU, the third-generation Intel Xeon Scalable processor, codenamed Ice Lake. With up to 40 Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire