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!

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…

Royalty-free stock illustration ID: 1938746143

MosaicML, Led by Naveen Rao, Comes Out of Stealth Aiming to Ease Model Training

October 15, 2021

With more and more enterprises turning to AI for a myriad of tasks, companies quickly find out that training AI models is expensive, difficult and time-consuming. Finding a new approach to deal with those cascading challenges is the aim of a new startup, MosaicML, that just came out of stealth... Read more…

NSF Awards $11M to SDSC, MIT and Univ. of Oregon to Secure the Internet

October 14, 2021

From a security standpoint, the internet is a problem. The infrastructure developed decades ago has cracked, leaked and been patched up innumerable times, leaving vulnerabilities that are difficult to address due to cost Read more…

SC21 Announces Science and Beyond Plenary: the Intersection of Ethics and HPC

October 13, 2021

The Intersection of Ethics and HPC will be the guiding topic of SC21's Science & Beyond plenary, inspired by the event tagline of the same name. The evening event will be moderated by Daniel Reed with panelists Crist Read more…

Quantum Workforce – NSTC Report Highlights Need for International Talent

October 13, 2021

Attracting and training the needed quantum workforce to fuel the ongoing quantum information sciences (QIS) revolution is a hot topic these days. Last week, the U.S. National Science and Technology Council issued a report – The Role of International Talent in Quantum Information Science... Read more…

AWS Solution Channel

Cost optimizing Ansys LS-Dyna on AWS

Organizations migrate their high performance computing (HPC) workloads from on-premises infrastructure to Amazon Web Services (AWS) for advantages such as high availability, elastic capacity, latest processors, storage, and networking technologies; Read more…

Eni Returns to HPE for ‘HPC4’ Refresh via GreenLake

October 13, 2021

Italian energy company Eni is upgrading its HPC4 system with new gear from HPE that will be installed in Eni’s Green Data Center in Ferrera Erbognone (a province in Pavia, Italy), and delivered “as-a-service” via H 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…

Royalty-free stock illustration ID: 1938746143

MosaicML, Led by Naveen Rao, Comes Out of Stealth Aiming to Ease Model Training

October 15, 2021

With more and more enterprises turning to AI for a myriad of tasks, companies quickly find out that training AI models is expensive, difficult and time-consuming. Finding a new approach to deal with those cascading challenges is the aim of a new startup, MosaicML, that just came out of stealth... Read more…

Quantum Workforce – NSTC Report Highlights Need for International Talent

October 13, 2021

Attracting and training the needed quantum workforce to fuel the ongoing quantum information sciences (QIS) revolution is a hot topic these days. Last week, the U.S. National Science and Technology Council issued a report – The Role of International Talent in Quantum Information Science... Read more…

Eni Returns to HPE for ‘HPC4’ Refresh via GreenLake

October 13, 2021

Italian energy company Eni is upgrading its HPC4 system with new gear from HPE that will be installed in Eni’s Green Data Center in Ferrera Erbognone (a provi Read more…

The Blueprint for the National Strategic Computing Reserve

October 12, 2021

Over the last year, the HPC community has been buzzing with the possibility of a National Strategic Computing Reserve (NSCR). An in-utero brainchild of the COVID-19 High-Performance Computing Consortium, an NSCR would serve as a Merchant Marine for urgent computing... Read more…

UCLA Researchers Report Largest Chiplet Design and Early Prototyping

October 12, 2021

What’s the best path forward for large-scale chip/system integration? Good question. Cerebras has set a high bar with its wafer scale engine 2 (WSE-2); it has 2.6 trillion transistors, including 850,000 cores, and was fabricated using TSMC’s 7nm process on a roughly 8” x 8” silicon footprint. Read more…

What’s Next for EuroHPC: an Interview with EuroHPC Exec. Dir. Anders Dam Jensen

October 7, 2021

One year after taking the post as executive director of the EuroHPC JU, Anders Dam Jensen reviews the project's accomplishments and details what's ahead as EuroHPC's operating period has now been extended out to the year 2027. Read more…

University of Bath Unveils Janus, an Azure-Based Cloud HPC Environment

October 6, 2021

The University of Bath is upgrading its HPC infrastructure, which it says “supports a growing and wide range of research activities across the University.” Read more…

Ahead of ‘Dojo,’ Tesla Reveals Its Massive Precursor Supercomputer

June 22, 2021

In spring 2019, Tesla made cryptic reference to a project called Dojo, a “super-powerful training computer” for video data processing. Then, in summer 2020, Tesla CEO Elon Musk tweeted: “Tesla is developing a [neural network] training computer... Read more…

Enter Dojo: Tesla Reveals Design for Modular Supercomputer & D1 Chip

August 20, 2021

Two months ago, Tesla revealed a massive GPU cluster that it said was “roughly the number five supercomputer in the world,” and which was just a precursor to Tesla’s real supercomputing moonshot: the long-rumored, little-detailed Dojo system. Read more…

Esperanto, Silicon in Hand, Champions the Efficiency of Its 1,092-Core RISC-V Chip

August 27, 2021

Esperanto Technologies made waves last December when it announced ET-SoC-1, a new RISC-V-based chip aimed at machine learning that packed nearly 1,100 cores onto a package small enough to fit six times over on a single PCIe card. Now, Esperanto is back, silicon in-hand and taking aim... Read more…

CentOS Replacement Rocky Linux Is Now in GA and Under Independent Control

June 21, 2021

The Rocky Enterprise Software Foundation (RESF) is announcing the general availability of Rocky Linux, release 8.4, designed as a drop-in replacement for the soon-to-be discontinued CentOS. The GA release is launching six-and-a-half months... 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…

Intel Completes LLVM Adoption; Will End Updates to Classic C/C++ Compilers in Future

August 10, 2021

Intel reported in a blog this week that its adoption of the open source LLVM architecture for Intel’s C/C++ compiler is complete. The transition is part of In Read more…

Hot Chips: Here Come the DPUs and IPUs from Arm, Nvidia and Intel

August 25, 2021

The emergence of data processing units (DPU) and infrastructure processing units (IPU) as potentially important pieces in cloud and datacenter architectures was Read more…

AMD-Xilinx Deal Gains UK, EU Approvals — China’s Decision Still Pending

July 1, 2021

AMD’s planned acquisition of FPGA maker Xilinx is now in the hands of Chinese regulators after needed antitrust approvals for the $35 billion deal were receiv Read more…

Leading Solution Providers

Contributors

HPE Wins $2B GreenLake HPC-as-a-Service Deal with NSA

September 1, 2021

In the heated, oft-contentious, government IT space, HPE has won a massive $2 billion contract to provide HPC and AI services to the United States’ National Security Agency (NSA). Following on the heels of the now-canceled $10 billion JEDI contract (reissued as JWCC) and a $10 billion... 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…

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…

Quantum Roundup: IBM, Rigetti, Phasecraft, Oxford QC, China, and More

July 13, 2021

IBM yesterday announced a proof for a quantum ML algorithm. A week ago, it unveiled a new topology for its quantum processors. Last Friday, the Technical Univer Read more…

The Latest MLPerf Inference Results: Nvidia GPUs Hold Sway but Here Come CPUs and Intel

September 22, 2021

The latest round of MLPerf inference benchmark (v 1.1) results was released today and Nvidia again dominated, sweeping the top spots in the closed (apples-to-ap Read more…

Frontier to Meet 20MW Exascale Power Target Set by DARPA in 2008

July 14, 2021

After more than a decade of planning, the United States’ first exascale computer, Frontier, is set to arrive at Oak Ridge National Laboratory (ORNL) later this year. Crossing this “1,000x” horizon required overcoming four major challenges: power demand, reliability, extreme parallelism and data movement. Read more…

Intel Unveils New Node Names; Sapphire Rapids Is Now an ‘Intel 7’ CPU

July 27, 2021

What's a preeminent chip company to do when its process node technology lags the competition by (roughly) one generation, but outmoded naming conventions make 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