Skip to main content
QUICK REVIEW

[Paper Review] Report of the DOE/NSF Workshop on Correctness in Scientific Computing, June 2023, Orlando, FL

Maya Gokhale, Ganesh Gopalakrishnan|arXiv (Cornell University)|Dec 25, 2023
Cloud Computing and Resource ManagementComputer Science4 citations
TL;DR

This report synthesizes findings from the DOE/NSF Workshop on Correctness in Scientific Computing (CSC'23), identifying critical correctness challenges in HPC due to hardware heterogeneity, numerical approximations, ML integration, and code-level optimizations. It proposes a multidisciplinary framework leveraging formal methods, verified compilers, static analysis, and end-to-end case studies to ensure correctness across the HPC stack, with key recommendations on guardrails for AI-generated code and reproducibility checks.

ABSTRACT

This report is a digest of the DOE/NSF Workshop on Correctness in Scientific Computing (CSC'23) held on June 17, 2023, as part of the Federated Computing Research Conference (FCRC) 2023. CSC was conceived by DOE and NSF to address the growing concerns about correctness among those who employ computational methods to perform large-scale scientific simulations. These concerns have escalated, given the complexity, scale, and heterogeneity of today's HPC software and hardware. If correctness is not proactively addressed, there is the risk of producing flawed science on top of unacceptable productivity losses faced by computational scientists and engineers. HPC systems are beginning to include data-driven methods, including machine learning and surrogate models, and their impact on overall HPC system correctness was also felt urgent to discuss. Stakeholders of correctness in this space were identified to belong to several sub-disciplines of computer science; from computer architecture researchers who design special-purpose hardware that offers high energy efficiencies; numerical algorithm designers who develop efficient computational schemes based on reduced precision as well as reduced data movement; all the way to researchers in programming language and formal methods who seek methodologies for correct compilation and verification. To include attendees with such a diverse set of backgrounds, CSC was held during the Federated Computing Research Conference (FCRC) 2023.

Motivation & Objective

  • Address the growing risk of flawed scientific results due to correctness issues in HPC systems, especially with increasing hardware heterogeneity and integration of machine learning.
  • Identify critical correctness challenges across the HPC stack, including numerical precision, concurrency, compression, and surrogate models.
  • Propose actionable technical and systemic interventions—such as verified libraries, formal verification, and tooling—for improving correctness in scientific software.
  • Promote end-to-end correctness through case studies and standardized correctness-by-design practices across programming languages and domains.
  • Strengthen collaboration across computer science sub-disciplines to unify correctness efforts in scientific computing.

Proposed method

  • Conduct a multi-day workshop at FCRC 2023 with 55 experts from academia, national labs, and industry to identify key correctness challenges.
  • Categorize correctness challenges into eight key areas: specification, concurrency, abstractions, numerical issues, compression, surrogate models, heterogeneity, and interoperability.
  • Evaluate and recommend six core techniques: deductive verification, model checking, static analysis, fuzz testing, debugging, and program synthesis.
  • Propose intervention opportunities such as verified compilers, correctness-aware build systems, and correctness-by-design programming languages.
  • Integrate safety guardrails for AI-generated code, especially for LLMs, and advocate for automatic correctness checks in compilers.
  • Emphasize the use of conservation law checks and ensemble consistency testing, particularly with reduced-order models, to validate simulation outputs.

Experimental results

Research questions

  • RQ1How can formal methods and verified compilation be scaled to meet the correctness demands of modern HPC workloads?
  • RQ2What are the most critical correctness challenges introduced by hardware heterogeneity and aggressive optimization techniques?
  • RQ3How can numerical precision and data compression be managed without compromising scientific validity?
  • RQ4What role do surrogate models and ML components play in undermining simulation correctness, and how can they be verified?
  • RQ5How can end-to-end correctness be demonstrated across the full stack—from algorithm to hardware—through case studies?

Key findings

  • Hardware heterogeneity and partially documented libraries pose major correctness risks, especially when combined with aggressive optimizations.
  • Code-level approximations such as precision selection must be formally justified and integrated into correctness arguments.
  • Compilers must automatically insert correctness checks, especially when optimizing for data movement reduction.
  • AI-generated code requires safety guardrails and formal validation to prevent subtle bugs and non-portability issues.
  • Checking conservation laws and using ensemble consistency tests are effective strategies for validating complex simulations.
  • End-to-end correctness case studies are essential to unify and demonstrate correctness across the HPC stack.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.