Abstract
We consider the problem of clustering data that reside on discrete, low dimensional lattices. Canonical examples for this setting are found in image segmentation and key point extraction. Our solution is based on a recent approach to information theoretic clustering where clusters result from an iterative procedure that minimizes a divergence measure. We replace costly processing steps in the original algorithm by means of convolutions. These allow for highly efficient implementations and thus significantly reduce runtime. This paper therefore bridges a gap between machine learning and signal processing.
Introduction
Clustering is a fundamental task in data analysis, yet standard algorithms like $k$-means often struggle with data that is explicitly discrete, such as digital images or voxel grids. While $k$-means minimizes variance and tends to produce spherical, "blob-like" clusters, Information Theoretic Clustering (ITC) offers a powerful alternative. ITC minimizes the divergence between probability densities, allowing it to capture complex structures like principal curves and local modes without clusters collapsing. However, the computational cost of standard ITC—requiring $O(MN)$ distance calculations—has historically limited its use in real-time applications.
Methodology: ITC as Discrete Convolution
The primary innovation of this work is the reformulation of ITC optimization as a series of discrete signal processing operations. By recognizing that data on a lattice can be treated as a binary image, the authors transform the global optimization problem into local neighborhood operations.
Parzen Density and Convolution
On a discrete lattice, the Parzen density estimate (a sum of Gaussians centered at data points) is mathematically equivalent to convolving a binary image $\mathcal{X}$ with a Gaussian kernel $G_\xi$: $p(x) = \mathcal{X} * G_\xi$. This isomorphism allows the use of highly optimized convolution engines.
Computational Efficiency
To achieve high performance, the authors employ several strategies:
- Discrete Filter Masks: Global distance calculations are replaced with finite-support discrete filter masks.
- Separable Filters: Using 1D separable or recursive filters makes the computational complexity per pixel nearly constant, regardless of kernel size.
- Weighted Extension: By incorporating distance transforms (e.g., Chamfer transform), the algorithm can prioritize the interior of shapes, driving cluster centers toward the object's medial axis.
Key Results
The accelerated ITC algorithm demonstrates significant improvements in both speed and qualitative performance.
Performance Gains
The proposed method achieves a 100x speedup over traditional continuous ITC implementations. For a typical shape containing 10,000 pixels, the iteration time drops from approximately 0.1 seconds to under 0.001 seconds. Convergence is typically reached in fewer than 20 iterations.
Qualitative Advantages
Unlike $k$-means, which may place cluster centers in empty space or off-center, the accelerated ITC ensures that centers (codebook vectors) are placed strictly on the discrete grid along the skeleton of the shape. This "mode-seeking" behavior is driven by a natural repellent force between cluster centers, preventing overlap while ensuring a diverse representation of the geometry.
Discussion and Limitations
While the use of finite-support filter masks introduces a slight approximation, the authors find this trade-off perfectly acceptable for practical image processing tasks. The main limitation lies in dimensionality; while 2D and 3D lattices are highly efficient, the memory required for high-dimensional discrete grids (e.g., 5D color-spatial data) may become a bottleneck.
Future work includes applying this framework to hyper-spectral imaging and automated navigation mesh generation in Game AI, where data is naturally structured on low-dimensional lattices.
Summary updated