arXiv:2610.12371cs.GROct 2026

Manuscript Offprint

arXiv:2610.12371

FeatureZ: A General Framework for Feature-Preserving Compression via Pointwise Bounds and Star Classification

Nathaniel Gorski, Xin Liang, Hanqi Guo, Bei Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Nathaniel Gorski i◯\textcircled{i}, Xin Liang i◯\textcircled{i}, Hanqi Guo i◯\textcircled{i}, and Bei Wang i◯\textcircled{i}

Ground Truth

Figure

SZ3

44.9 : 1

102.9 dB

FeatureZ (SZ3)

44.8 : 1

72.0 dB

Figure 1: The Miranda dataset visualized with three isocontours and the vertices of the simplified contour tree with a persistence threshold of 4% of the range. Left: ground truth. Center: reconstruction using SZ3. Right: reconstruction using FeatureZ, denoted as FeatureZ(SZ3), which augments SZ3 to preserve isocontours and the simplified contour tree simultaneously. Both SZ3 and FeatureZ operate at comparable compression ratios. SZ3 introduces substantial errors in both the isocontours and the contour tree, whereas FeatureZ preserves these structures. This example highlights FeatureZ's ability to simultaneously preserve multiple features.

Abstract—Geometric and topological features, such as isosurfaces, quantiles, merge trees, and Morse–Smale complexes, are central to the analysis and visualization of scientific data across diverse domains, including medical imaging, climate science, materials science, and astronomy. However, most lossy compressors for scientific data provide only pointwise error guarantees and do not preserve derived features. Existing feature-preserving compressors are often difficult to develop and typically tailored to a single feature. In this paper, we introduce FeatureZ, a lossy compression framework for structured volumetric scalar fields that can preserve a wide class of geometric and topological features. In particular, FeatureZ frames feature-preserving compression as preserving pointwise upper and lower bounds together with a consistent classification of each point's star (i.e., its incident cells) in the underlying structured mesh. Although not all notions of feature preservation fit this framework, many features and topological descriptors targeted by existing compressors do. FeatureZ provides an efficient implementation of feature-preserving compression under this formulation. In particular, FeatureZ operates as an augmentation layer that refines the output of an existing lossy compressor. It first applies quantization to enforce pointwise bounds, and then employs an iterative procedure to ensure consistent star classification. We demonstrate that FeatureZ preserves diverse features during compression with minimal overhead, achieving compression ratios comparable to or better than methods specialized for individual features.

Index Terms—Lossy compression, error-bounded compression, generalized feature preservation, topological and geometric features, topological data analysis, scientific visualization, extensible frameworks

1 INTRODUCTION

Geometric and topological features are derived quantities that describe the shape, structure, and connectivity of scientific data, and they play a central role in its analysis and visualization across diverse domains. For example, in medical imaging, isocontours are widely used to reconstruct anatomical structures such as soft tissue and bone surfaces [43]. In astronomy, critical points of the matter density field and their connectivity define the skeleton of the cosmic web [7], while contour trees have been employed to denoise ALMA data cubes [50]. In quantum chemistry, Morse–Smale complexes enable detailed analysis of atomic basins as well as the extraction of molecular graphs [12]. In climate science, critical points identify cyclone centers [63], whereas isocontours and quantiles support the analysis of temperature, pressure, and humidity fields, facilitating the study of extreme events such as atmospheric rivers [29] and atmospheric blocking [31].

Despite their importance, most lossy compressors for scientific data are designed to control pointwise reconstruction error and do not explicitly account for these derived quantities. Consequently, even when global error bounds are small, compression can introduce significant distortions in geometric and topological structures [22], compromising the fidelity of downstream analysis and visualization. To address this limitation, recent work has proposed feature-preserving compression techniques that explicitly target specific structures, such as contour trees [22, 64] and Morse–Smale segmentations [34, 35].

However, existing feature-preserving compressors require significant time to develop and are typically specialized to a single feature, with designs that do not generalize across different types of structures. For example, a previous compressor [22] (referred to as TopoA in this paper) computes the contour tree of the decompressed data and applies corrections when deviations from the expected topology are detected. While effective, this approach is intrinsically tied to contour trees and does not readily extend to other feature classes, reflecting a broader limitation of current methods. As a result, feature-preserving compression remains inflexible and fragmented. There is no systematic pathway for scientists to preserve new, application-specific features without designing bespoke solutions from scratch. Furthermore, each feature typically requires a dedicated compressor (e.g., TopoA [22] for contour trees or pMSz [35] for Morse–Smale segmentation), forcing users to

• Nathaniel Gorski is with the University of Utah. E-mail: Gorski@sci.utah.edu.

• Xin Liang is with Oregon State University. E-mail: lianxin@oregonstate.edu

• Hanqi Guo is with the Ohio State University. E-mail: guo.2154@osu.edu.

• Bei Wang is with the University of Utah. E-mail: beiwang@sci.utah.edu.

Manuscript received xx xxx. 202x; accepted xx xxx. 202x. Date of Publication xx xxx. 202x; date of current version xx xxx. 202x. For information on obtaining reprints of this article, please send e-mail to: reprints@ieee.org. Digital Object Identifier: xx.xxxx/TVCG.202x.xxxxxx identify, install, and manage an expanding collection of specialized tools. This fragmented ecosystem underscores the need for a flexible, unified framework that can support user-defined feature preservation within a single, generalizable compression paradigm.

In this work, we introduce FeatureZ, a general and extensible compression framework designed to preserve a broad class of features while satisfying user-specified error bounds. FeatureZ is general in that it provides a novel formulation of feature preservation that unifies a number of geometric and topological features within a single framework. It is also extensible, allowing user-defined features to be incorporated by adding a few new functions without redesigning the compression pipeline.

While FeatureZ does not preserve arbitrary derived features, it supports a broad and practically relevant class. Specifically, it supports any feature whose preservation can be expressed through pointwise upper and lower bounds, together with a consistent classification of each point's star (i.e., the collection of incident cells) in the underlying structured mesh. We show that many commonly used features, including isocontours, quantiles, critical points, contour trees [14], merge trees [45], and Morse–Smale segmentations [46], fit naturally within this formulation and can be preserved by FeatureZ. Notably, all features targeted by existing topology-preserving compressors for scalar-field data can be expressed within this framework.

We further develop an efficient algorithm that preserves features under this novel formulation. Similar to prior topology-preserving approaches, FeatureZ operates as an augmentation layer on top of an existing base compressor such as ZFP [39] or SZ3 [37]. It first applies the base compressor and analyzes the decompressed data, then enforces feature preservation through quantization-based bound correction and an iterative scan procedure that ensures consistent star classification. Because this process relies only on local information—the function values at a point and within its star—FeatureZ avoids repeated global feature computation, enabling efficient and scalable compression. Our empirical results demonstrate that FeatureZ achieves compression ratios and runtimes comparable to specialized methods. We introduce FeatureZ, a general framework for feature-preserving compression based on star classification:

• We introduce a unified formulation of feature-preserving compression based on pointwise upper and lower bounds together with local star consistency. We show that this formulation captures many geometric and topological features targeted by existing feature-preserving compressors, as well as several previously unsupported feature classes.

• We develop an efficient framework that augments existing lossy compressors with feature-preservation guarantees. We prove that the resulting compressed data preserves the specified features under the proposed formulation.

• We conduct a comprehensive evaluation demonstrating that our method preserves diverse combinations of features across multiple base compressors while achieving compression ratios and runtimes that are competitive with, and often superior to, existing feature-preserving approaches.

References (58)