Skip to main content
QUICK REVIEW

[Paper Review] DSSIM: a structural similarity index for floating-point data

Allison H. Baker, Alexander Pinard|arXiv (Cornell University)|Feb 5, 2022
Data Visualization and AnalyticsComputer Science15 citations
TL;DR

This paper proposes DSSIM, a computationally efficient alternative to the Structural Similarity Index (SSIM) that operates directly on floating-point simulation data instead of requiring image rendering. By bypassing image generation, DSSIM achieves up to 212× speedup over SSIM while maintaining strong correlation with visual similarity, making it ideal for large-scale lossy compression evaluation in climate modeling and similar HPC workloads.

ABSTRACT

Data visualization is a critical component in terms of interacting with floating-point output data from large model simulation codes. Indeed, postprocessing analysis workflows on simulation data often generate a large number of images from the raw data, many of which are then compared to each other or to specified reference images. In this image-comparison scenario, image quality assessment (IQA) measures are quite useful, and the Structural Similarity Index (SSIM) continues to be a popular choice. However, generating large numbers of images can be costly, and plot-specific (but data independent) choices can affect the SSIM value. A natural question is whether we can apply the SSIM directly to the floating-point simulation data and obtain an indication of whether differences in the data are likely to impact a visual assessment, effectively bypassing the creation of a specific set of images from the data. To this end, we propose an alternative to the popular SSIM that can be applied directly to the floating point data, which we refer to as the Data SSIM (DSSIM). While we demonstrate the usefulness of the DSSIM in the context of evaluating differences due to lossy compression on large volumes of simulation data from a popular climate model, the DSSIM may prove useful for many other applications involving simulation or image data.

Motivation & Objective

  • Address the high computational cost of using SSIM for large-scale simulation data analysis, particularly in climate modeling where image rendering is required.
  • Overcome the performance bottleneck of SSIM when evaluating lossy compression on terabyte- to petabyte-scale climate model output.
  • Develop a metric that preserves the visual similarity assessment capability of SSIM but operates directly on floating-point data to eliminate image rendering overhead.
  • Minimize plot-specific biases in SSIM that arise from visualization choices like color maps and scaling, which are independent of the underlying data.
  • Enable scalable, automated evaluation of data compression quality in high-performance computing workflows where computational efficiency is critical.

Proposed method

  • Propose DSSIM as a direct analog of SSIM that operates on floating-point arrays instead of pixel grids, using the same structural similarity framework but applied to raw data.
  • Apply the core SSIM components—luminance, contrast, and structure—directly to the floating-point data arrays using local statistics computed over sliding windows.
  • Use the same mathematical formulation as SSIM (luminance, contrast, and structure measures) but compute them on the original data rather than on rendered images.
  • Implement DSSIM in the ldcpy Python package to support integration into existing data comparison and compression evaluation pipelines.
  • Validate the method by comparing DSSIM values against SSIM values computed after image rendering, ensuring consistency in similarity assessment.
  • Measure performance gains by benchmarking DSSIM and SSIM computation times on real climate model data (CESM-LENS) using identical hardware and software stack.

Experimental results

Research questions

  • RQ1Can a direct similarity metric on floating-point data replicate the visual similarity assessment of SSIM without requiring image rendering?
  • RQ2To what extent does DSSIM correlate with SSIM when applied to the same data after image generation?
  • RQ3How much computational performance gain can be achieved by using DSSIM instead of SSIM in large-scale data evaluation workflows?
  • RQ4Does DSSIM reduce sensitivity to plot-specific visualization choices that can distort SSIM values?
  • RQ5Can DSSIM serve as a reliable, scalable alternative for automated evaluation of lossy compression in climate model simulation data?

Key findings

  • DSSIM achieves a speedup of up to 212× over SSIM when evaluating climate model data, with a 7.89-second SSIM computation reduced to just 0.0373 seconds for the PRECT variable.
  • The DSSIM shows strong correlation with SSIM values computed after image rendering, indicating it reliably predicts visual similarity.
  • The performance gain is consistent across different variables, with a 145× speedup observed for the TS variable and 212× for PRECT.
  • DSSIM eliminates variability introduced by plot-specific choices such as color maps and scaling, which can affect SSIM values independently of data differences.
  • DSSIM is computationally more efficient than other common metrics like MSE and PSNR when applied to floating-point data, making it more suitable for large-scale evaluation.
  • The DSSIM has been successfully integrated into the ldcpy package and is now used in practice for automated, scalable compression quality assessment in climate modeling workflows.

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.