FTK: A Simplicial Spacetime Meshing Framework for Robust and Scalable Feature Tracking

Hanqi Guo, David Lenz, Jiayi Xu, Xin Liang, Wenbin He, Iulian R. Grindeanu, Han-Wei Shen, Tom Peterka, Todd S. Munson, Ian T. FosterIEEE TVCG 2021 · DOI

TL;DR

This paper introduces FTK, a novel framework for tracking features (like critical points, vortices, and isosurfaces) in time-varying scientific data. Its core innovation is a "simplicial spacetime meshing" approach that simplifies complex data structures, handles degeneracies robustly, and enables highly scalable parallel processing, making feature tracking more accessible and efficient.

What Problem Does This Paper Address?

Understanding dynamic phenomena in scientific simulations and experiments often requires tracking how specific features evolve over time. This is crucial for tasks like analyzing fluid dynamics, fusion plasmas, or material properties. However, existing methods for feature tracking face several challenges:

  • Complexity and Ambiguity: Handling complex data structures and the inherent ambiguities that arise when features intersect mesh elements (especially in higher dimensions) makes robust tracking difficult.
  • Scalability: As scientific simulations generate ever-larger datasets, feature tracking algorithms need to scale efficiently to exascale computing environments, requiring parallel and distributed processing capabilities.
  • Lack of Unified Framework: While individual feature tracking algorithms exist, there's a lack of a general-purpose, unified framework that simplifies their implementation, integration, and use across different feature types and data formats.

Methods

The core of FTK is its simplicial spacetime meshing scheme. Instead of using traditional volumetric meshes that can lead to ambiguities, FTK tessellates spacetime mesh elements into simplices (e.g., tetrahedra in 3D spacetime). This approach offers several advantages:

  • Reduced Ambiguity: Simplices inherently reduce ambiguity cases for feature extraction and tracking. For instance, a simplex intersects a feature at most once, simplifying the logic compared to non-simplicial shapes like cubes.
  • Handling Degeneracies: FTK leverages the "Simulation of Simplicity" (SoS) technique. SoS is a programming method that uses symbolic perturbations to consistently handle degenerate cases (where features align with mesh boundaries or vertices), ensuring robust and combinatorial results even with numerical instabilities.
  • Scalable and Parallel Processing: The simplicial nature of the mesh simplifies parallelization. Tasks can be distributed across multiple computing resources, and the framework supports both distributed and GPU acceleration.
  • Unified Framework: FTK provides a cohesive software framework with VTK/ParaView plugins, Python bindings, a command-line interface, and programming interfaces, making it easier for users to implement and apply various feature-tracking algorithms.

The paper details how this meshing scheme is applied to track:

  • Critical Points (0D features): Using a two-pass algorithm that first identifies intersections on simplex faces and then associates them within cells.
  • Quantum Vortices (1D features): Reconstructing vortex curves and surfaces by testing for phase singularities in spacetime.
  • Isosurfaces (2D features): Reconstructing isovolumes by testing for intersections with edges in spacetime.

Datasets

The paper uses a variety of datasets for evaluation and demonstration:

  • Synthetic Data:
    • A 3D moving minimum function to test robustness against degeneracies.
  • A 2D spiral woven function with injected Gaussian noise to evaluate filtering capabilities.
  • A time-varying double gyre flow for critical point tracking in a 2D unstructured mesh.
  • A synthetic dataset for isosurface tracking (f(x,y,z,t) = x - at).
  • Scientific Simulation Data:
    • Fluid dynamics: 2D flow-past-cylinder simulation data.
  • Tokamak simulations: Scalar field data from XGC particle-in-cell simulations.
  • Turbulent vortices: A publicly available turbulent vortex dataset.
  • Superconductivity simulations: Time-dependent Ginzburg-Landau simulation data.
  • Supernova simulation data.

Key Insights and Ideas

  • Simplicial Meshing is Key: The paper strongly advocates for simplicial meshes in spacetime for feature tracking. This seemingly simple geometric choice unlocks significant improvements in robustness, ambiguity reduction, and scalability compared to traditional methods using cubes or prisms.
  • SoS for Robustness: The integration of Simulation of Simplicity (SoS) is crucial for handling the inevitable degeneracies in real-world scientific data, ensuring that tracking results are consistent and reliable.
  • Unified Approach for Diverse Features: FTK demonstrates that a single meshing paradigm can effectively support the tracking of diverse topological features (0D, 1D, and 2D) across different scientific domains, reducing the need for specialized, ad-hoc solutions.
  • Bridging In Situ and Post Hoc: The framework's design, particularly its handling of time-varying data access and its various interfaces (VTK/ParaView, Python, C++), makes it suitable for both tightly coupled in situ analysis and post hoc investigations.

Key Results

  • Scalability: Performance studies on the Summit supercomputer show strong scalability for critical point tracking, isovolume reconstruction, and quantum vortex tracking, with significant speedups achieved by leveraging multiple CPU cores and GPUs. For example, GPU acceleration typically ranges from O(100) to O(1000).
  • Robustness: The framework successfully handles degenerate cases in synthetic data, producing consistent trajectories where other methods might fail or produce ambiguous results (demonstrated in Figure 10).
  • Efficiency: The simplicial approach simplifies algorithms, leading to more efficient implementations. For instance, the two-pass algorithm for feature tracking is easily parallelizable.
  • Case Studies: FTK successfully visualizes and analyzes complex phenomena in fluid dynamics, fusion, and superconductivity simulations, demonstrating its practical applicability.

Limitations and Future Work

  • Limitations of SoS: While SoS provides consistent results, different vertex ordering systems can lead to different associations of features with mesh elements. The authors plan to investigate how these ordering choices affect results.
  • Limitations of Simplicial Subdivision: Simplicial subdivision, while beneficial, can sometimes lead to visual artifacts or topology changes in features, especially in the presence of noise. The authors aim to explore different subdivision schemes to mitigate this.
  • Higher-Order Critical Points: The current framework, based on piecewise linear (PL) assumptions, does not natively identify higher-order critical points (e.g., where multiple critical points merge or split simultaneously). Future work will address this.
  • Future Feature Support: The authors plan to expand FTK's support for additional feature types, including parallel vectors (1D), ridge/valley surfaces (2D), and interval volumes (3D).
  • Generalizations: FTK will be generalized for cubic cells, finite volume meshes, and adaptive mesh refinements.
  • Scale-Space Tracking: Incorporating scale as a fifth dimension for scale-space tracking is also a future direction.

Summary updated

BibTeX
@article{guo2021ftk,
  author = {Hanqi Guo and David Lenz and Jiayi Xu and Xin Liang and Wenbin He and Iulian R. Grindeanu and Han-Wei Shen and Tom Peterka and Todd S. Munson and Ian T. Foster},
  title = {{FTK: A Simplicial Spacetime Meshing Framework for Robust and Scalable Feature Tracking}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2021},
  doi = {10.1109/tvcg.2021.3073399},
}
Figure