Presenters

Source

Fusion, ML, and Grafana: The Unexpected Power Trio Driving Scientific Discovery 🚀💡

Ever thought you’d see fusion energy, machine learning, and data visualization tools like Grafana talked about in the same breath? Well, prepare to have your mind blown! Chris Field and Kevin Field from Theia Scientific are here to show us how these seemingly disparate technologies are converging to accelerate scientific breakthroughs, particularly in the quest for fusion power. Their innovative solution, the Theiascope, is weaving these threads together, creating a powerful new way to understand and advance complex research.

Fusion Energy 101: The Neutron Challenge 💥

Kevin Field kicks things off with a crash course in fusion energy. The dream? Harnessing the power of fusion to fuel everything, including the ever-growing demands of AI data centers. But there’s a catch: the fusion reaction produces neutrons. These aren’t just byproducts; they’re like tiny, energetic bullets that bombard and damage the materials of the fusion reactor.

The critical question is: how much damage will these neutrons cause, and how will it affect the lifespan of the materials? While computer simulations offer insights, regulators demand experimental validation. The challenge? We don’t have full-scale fusion reactors yet.

Experimental Simulation: The Ion Beam Solution 🔬

This is where Kevin’s research group at Theia Scientific shines. They’re using ion beams – essentially miniature particle accelerators – to mimic the neutron bombardment in a controlled lab setting. At the Michigan Ion Beam Laboratory, they fire these ion beams at materials, creating the same kind of damage fusion neutrons would.

But they go a step further. They connect a transmission electron microscope (TEM) directly to the ion beam facility. This allows them to see the damage, in real time, as it happens. Imagine a $2 million microscope watching tiny “holes” and “loops” – evidence of material damage – form on the screen. It’s like watching a material age in fast-forward!

The Data Deluge: From Manual Labor to ML Magic ✨

The raw output from these experiments is a flood of images. Historically, scientists like Kevin’s students would painstakingly manually circle each defect in these images using outdated software like ImageJ. This is incredibly time-consuming and prone to human error.

This is where machine learning (ML) enters the picture. Theia Scientific is leveraging ML models, similar to those used in self-driving cars, to automate defect detection. By training models on both real and synthetic data, they’ve significantly accelerated their ability to analyze these images. While current ML models achieve an F1 score around 0.8 (a respectable “B-”), the field is rapidly improving.

However, a new hurdle emerges: deployment. Scientists are brilliant at building ML models but often struggle with the complexities of deploying them in a user-friendly and reproducible way. They typically rely on tools like Colab or Jupyter Notebooks, which can lead to dependency issues and poor user interfaces, making it difficult to share and reuse research.

The Theiascope: Uniting the Unseen 🌐

Enter Theiascope, Theia Scientific’s groundbreaking technology. It’s a self-hosted, on-premise device that brings the power of cloud computing (specifically GPUs) directly to the microscope. Theiascope seamlessly integrates Grafana for visualization and Jupyter Notebooks for interactive coding.

Key Features of Theiascope:

  • On-Premise Deployment: Keeps sensitive, multi-million dollar microscopes secure by bringing the computational power to them.
  • Grafana Integration: Provides a familiar and flexible dashboarding experience for scientists.
  • Jupyter Notebook Integration: Empowers scientists to write, run, and customize code directly within the dashboard environment.
  • Real-time Analysis: Enables immediate feedback and analysis of experimental data as it’s being acquired.

Theiascope in Action: A Live Demo! 🎬

Chris Field takes us through a live demonstration of Theiascope. We see a dashboard with panels for model management and calendar views (to track lab activity!). They then load an ML model designed to analyze TRISO particles, which have layered structures similar to “Gobstoppers.”

The goal is to assess the uniformity of these layers. Traditionally, this would involve manually measuring each layer in thousands of images. With Theiascope, the ML model analyzes images in real-time, and a custom uniformity chart generated by a Jupyter Notebook immediately highlights deviations from perfect circularity. This allows scientists to instantly identify “good” or “bad” particles and make informed decisions about their materials.

The demo showcases the ability to:

  • Tune ML parameters on the fly: Adjust inference settings while the experiment is running.
  • Visualize data in real-time: See the results of ML analysis and custom plots appear instantly.
  • Integrate Python code directly: Scientists can write and modify Python code snippets within the Grafana dashboard, allowing for rapid customization of metrics and visualizations. This is a game-changer for scientists who are most comfortable with Python.

Why Grafana? The Power of the Ecosystem 🛠️

The choice of Grafana wasn’t arbitrary. Chris highlights several key reasons:

  • Data Source Community: Grafana’s vast ecosystem of open and available data sources ensures interoperability with various microscopes and experiments.
  • Customizable Dashboards: The ability to easily arrange and modify dashboard elements was a crucial early requirement.
  • Great Panels and Visualizations: Grafana offers a rich set of pre-built visualization tools, and its documentation for creating custom plugins is excellent.
  • Vibrant Ecosystem: The global community actively contributes to Grafana’s development, providing valuable support and resources.

RAD: Rapid Application Development for Science 💡

The Fields introduce the concept of RAD (Rapid Application Development) in the context of scientific research. They argue that Grafana, when combined with Jupyter Notebooks and Python scripting, becomes a powerful RAD environment. Scientists can quickly develop, test, and deploy custom workflows directly at the point of experimentation.

The “anatomy of a panel” in Grafana is broken down: data source, query editor, transforms, options, and view. Theiascope leverages this by making the Jupyter Notebook itself act as the data source. This allows scientists to run Python code directly within the Grafana workflow, enabling real-time code modification and immediate visual feedback. This eliminates the need for scientists to learn complex query languages and allows them to leverage their existing Python skills.

The Future is Interwoven: Fusion Power for Data Centers and Discovery 🌟

The ultimate vision is clear: fusion energy powering the next generation of data centers, which in turn will fuel advancements in AI and scientific discovery. Theiascope, by seamlessly integrating fusion material research, machine learning, and powerful visualization tools like Grafana and Jupyter, is a crucial step in this journey.

Theia Scientific’s work, recognized with the 2024 Golden Grot award, demonstrates how seemingly unrelated technologies can converge to solve complex scientific challenges. They are not just building tools; they are building a bridge to a future powered by cleaner energy and accelerated discovery.

A huge thank you to their collaborators at Oak Ridge National Lab, Wisconsin, Idaho National Lab, and Argonne National Lab for their invaluable contributions!

Appendix