Thresholded Entropy: Foundations & Applications
- Thresholded entropy is a method that integrates entropy calculations with threshold operations to optimally segment images and analyze data distributions.
- It includes diverse formulations such as Shannon, Tsallis, and Kaniadakis, each driving specific segmentation approaches and abrupt image transitions.
- Practical applications range from histogram-based threshold selection in remote sensing to entropy-aware token pruning in language models.
Thresholded entropy is not a single standardized entropy functional. In the arXiv literature, it denotes several related constructions in which entropy is coupled to a threshold, a thresholded representation, or a threshold regime. The dominant usage is histogram-based image segmentation, where a gray-level threshold is selected by maximizing or minimizing an entropy criterion computed from the classes induced by the threshold. Closely related usages include low-entropy multiplicative estimation when the entropy itself is near a critical threshold, entropy computed on already thresholded binary signals, entropy behavior at physical transition thresholds, and threshold-free alternatives that reject arbitrary cutoff selection (Katiyar et al., 2013, Sparavigna, 2015, Golia et al., 2022, Janik, 2019, Kang et al., 2021, Felippe et al., 2021).
1. Conceptual scope and terminological ambiguity
In image analysis, thresholded entropy usually means selecting one or more segmentation thresholds from an image histogram by optimizing an information measure. The histogram is interpreted as a probability distribution, and threshold selection is posed as an information-theoretic optimization problem. This usage appears in grayscale thresholding, multilevel segmentation, remote sensing, and entropy-based edge detection (Katiyar et al., 2013, El-Sayed, 2012).
Outside image processing, the same phrase or closely related language is used more loosely. In quantitative information flow, the relevant issue is the low-entropy or “thresholded regime,” where additive error is not meaningful because the true entropy can be very close to zero (Golia et al., 2022). In studies of binary configurations, entropy may be computed after the data have already been thresholded into binary states, so the threshold enters as a preprocessing step rather than as the optimization variable (Janik, 2019). In explosive percolation, entropy is analyzed at the physical transition threshold itself (Kang et al., 2021).
Several papers also delimit what thresholded entropy is not. One work on Pearson correlation matrices argues that thresholding is an arbitrary, information-losing preprocessing step and proposes a threshold-free entropy directly on the full matrix (Felippe et al., 2021). Another survey of discrete entropy under thinning states explicitly that it does not define a quantity named thresholded entropy, even though thinning and truncation are closely related to thresholded or truncated behavior (Johnson, 2015). A polymatroidal study of the entropy region likewise does not use the phrase as a named concept, but introduces a truncation operator
with the case explicitly called truncation (Matúš et al., 2013).
2. Histogram-based threshold optimization
The canonical thresholded-entropy construction starts from a grayscale histogram. If gray level occurs times in an image with pixels, then
A threshold partitions the histogram into two classes, and , with cumulative probabilities
In the Shannon case, the class entropies are
0
and the optimal threshold is chosen by maximizing 1 (Sparavigna, 2015).
A remote-sensing comparison treats thresholding as an image segmentation problem in which an image histogram is interpreted as a probability distribution and an optimal threshold is chosen by maximizing an entropy criterion. The implementations were carried out in Matlab, modified to allow entropy variation, and applied to LISS III and LISS IV satellite images of the Bhopal area, with reference information from ERDAS Imagine, Google Earth, and DGPS survey data. Thresholded outputs were evaluated by Average Score and Correlation Coefficient, with higher values preferred. For one dataset, Tsallis gave Average Score 2 and Correlation 3, Rényi gave 4 and 5, and Shannon gave 6 and 7. For another dataset, Tsallis gave 8 and 9, Rényi gave 0 and 1, and Shannon gave 2 and 3. The authors’ conclusion was that Tsallis entropy is comparatively more suitable for thresholding, followed by Rényi, then Shannon (Katiyar et al., 2013).
Entropy thresholding has also been embedded in edge-detection pipelines. One algorithm first computes a global threshold 4 by Shannon entropy, then computes two local thresholds 5 and 6 by Tsallis entropy with 7, builds a binary image from the combined thresholds, and finally applies a 8 edge detector based on local homogeneity. If the count of equal-valued pixels in the window satisfies 9, the center pixel is treated as non-edge; otherwise it is labeled as edge. The paper reports comparisons against Canny, LOG, and Sobel, emphasizing robustness, flexibility, and reduced computation time, while also noting thick edges and sensitivity to the choice of 0 (El-Sayed, 2012).
3. Generalized entropy families and parameter-driven image transitions
Entropy thresholding in imaging has expanded well beyond Shannon entropy. The main formulations represented in the cited literature differ not only in the entropy functional but also in whether the threshold is chosen by maximization or minimization, whether the entropy is additive or generalized, and whether extra uncertainty components are introduced (Sparavigna, 2015, Patrascu, 2019, Chakraborty et al., 2021).
| Formulation | Threshold criterion | Reported feature |
|---|---|---|
| Shannon / Rényi / Tsallis | Maximize class entropy from histogram | Remote-sensing comparison favored Tsallis |
| Tsallis non-extensive entropy | Maximize 1 | 2 can induce abrupt image transitions |
| Kaniadakis entropy | Maximize total 3 from class entropies | 4 recovers Shannon |
| Neutrosophic Shannon entropy | Select local minima of 5 | Supports multiple thresholds |
| t-entropy | Maximize 6 | Bounded arctan-based entropy |
Tsallis thresholding is the best-developed example of parameter-sensitive thresholded entropy. For a threshold 7, the class entropies are
8
and the total entropy is
9
with
0
The reported distinctive phenomenon is that, for some images and 1, the optimal threshold 2 changes abruptly rather than smoothly. In the lower blood-cells image, the threshold is around 3 below a critical point and jumps to about 4 above 5, causing the bi-level image to change abruptly; analogous transitions are also reported in three-level thresholding, including a critical value around 6 for one blood-cells image and around 7 for a lower blood-cell image (Sparavigna, 2015). A companion Kaniadakis-thresholding paper describes the entropic index as determining the threshold and driving an abrupt “image transition” in the appearance of the corresponding bi-level image (Sparavigna, 2015).
Kaniadakis thresholding uses
8
with 9 yielding Shannon entropy. For the two thresholded classes, the paper defines 0 and 1, combines them through a generalized composition rule, and again chooses 2 by entropy maximization. On the tested images, Tsallis and Kaniadakis produce the same or very similar thresholds and segmentations. Reported examples include Lena, where the best threshold is 3 for both, Cameraman, where Tsallis gives 4 and Kaniadakis 5, and cell and blood images with thresholds such as 6, 7, 8, and 9 (Sparavigna, 2015).
Neutrosophic Shannon entropy changes the thresholding problem more radically. For each candidate threshold 0, every gray level 1 is assigned a degree of truth 2, neutrality 3, and falsity 4, together with bifuzzy undefinedness 5 and contradiction 6. These are converted into escort fuzzy degrees 7 and 8, which define a Shannon-style entropy
9
The total objective is
0
and the optimal threshold or thresholds are the local minima of 1, not maxima. The paper reports one clear local minimum for ball and multiple local minima, hence multilevel segmentations, for block, mammography, and spider (Patrascu, 2019).
The t-entropy framework introduces
2
a bounded entropy whose maximum occurs at the uniform distribution and whose value is at most 3. In multilevel thresholding, it replaces Shannon entropy in the posterior objective
4
optimized by Differential Evolution. On BSDS500, the paper reports that t-entropy with 5 achieved 6, 7, and 8, compared with Shannon’s 9, 0, and 1 in the same setup (Chakraborty et al., 2021).
4. Threshold-free reformulations and critiques of arbitrary cutoffs
A major criticism of thresholded entropy arises in the analysis of Pearson correlation matrices. A common preprocessing step converts a correlation matrix 2 into an adjacency matrix by thresholding,
3
after which one computes a graph-based entropy. The critique is fourfold: information loss, arbitrariness of the threshold 4, discontinuity introduced by the Heaviside step function, and indirectness because the entropy is then measured on graph topology rather than on the original correlation matrix (Felippe et al., 2021).
The threshold-free alternative rescales the Pearson matrix by its dimension,
5
and interprets 6 as an analog of a density matrix. Because 7 is real and symmetric, has unit diagonal, and is positive semidefinite, 8 is Hermitian, unit trace, and positive semidefinite. Its eigenvalues 9 are therefore nonnegative and sum to 0, allowing the definition
1
If 2, then 3; if all variables are perfectly correlated, 4. The empirical demonstration uses 5 resting-state BOLD time series from nine healthy volunteers before and after ingestion of ayahuasca, and reports that entropy generally increases after ayahuasca (Felippe et al., 2021).
This threshold-free line directly contests a common misconception: entropy associated with correlations need not be defined only after binarizing the correlations. A plausible implication is that some applications of thresholded entropy are best understood as expedient graph surrogates rather than as intrinsic entropy measures on the original data.
5. Threshold regimes, low-entropy estimation, and critical phenomena
In quantitative information flow, the central issue is not threshold selection in the data space but reliable estimation when the entropy itself is below a practically relevant scale. One work studies Shannon entropy estimation in a probability-revealing conditional sampling model and targets multiplicative 6-approximation in the low-entropy regime. Given tolerance 7, confidence 8, and 9, the estimator returns 00 such that
01
using only
02
queries, independently of 03. The paper identifies a structural threshold at entropy 04: if 05, then there must exist 06 such that 07; if all masses satisfy 08, then 09. This regime split enables variance bounds that avoid the 10 dependence present in earlier multiplicative estimators (Golia et al., 2022).
A different threshold phenomenon appears in explosive percolation. There the entropy is
11
where 12 is the probability that a randomly chosen cluster has size 13. In Erdős–Rényi percolation, entropy is symmetric around the threshold and reaches its maximum at 14. In the da Costa–type explosive model, however, the scaling functions below and above the threshold differ:
15
with opposite signs in the small-16 expansions of 17 and 18. The consequence is that entropy is not maximal at the threshold, 19, and the second derivative diverges to 20 from the left and 21 from the right (Kang et al., 2021).
Related but distinct constructions appear in discrete probability and entropy geometry. The thinning operator
22
is presented as the closest analogue to thresholded or truncated behavior in one survey, which also proves monotonicity of entropy under thinning for IID ultra-log-concave sums (Johnson, 2015). At the level of entropy regions, the truncation formula
23
provides a threshold-like operation on polymatroid rank functions (Matúš et al., 2013). These usages suggest that thresholded entropy can denote either an operational threshold in data processing or a structural threshold in the behavior of entropy itself.
6. Thresholded representations in binary data and token pipelines
In machine-learning-based entropy estimation, the threshold may precede the entropy calculation. For a binary vector 24, the Shannon entropy
25
is factorized through the exact chain rule
26
which turns entropy estimation into a sequence of supervised binary classification tasks. Each term is a conditional cross-entropy. The method is explicitly intended for binary configurations or thresholded signals, including Ising spins, spike trains, and other multidimensional binary signals. The paper validates the method on synthetic Boolean data and on a 27 periodic 2D Ising model using 20,000 Monte Carlo configurations per temperature, 5-fold cross-validation, XGBoost as the main nonlinear classifier, and symmetry-based data augmentation at low temperature (Janik, 2019).
A recent large-language-model preprint uses thresholded entropy in yet another sense: entropy-aware token pruning. Each token receives an information energy
28
with default weights 29, 30, and 31, and the system is cooled by
32
In deterministic mode, the retained count is
33
so the algorithm keeps the top-34 tokens by energy; in Boltzmann mode, survival is governed by
35
Compression stops when the energy-weighted similarity
36
falls below a fidelity threshold 37. The paper reports roughly 38 prompt compression across five prompt categories while maintaining 39, an additional 40 savings from context deduplication on repeated blocks, and about 41 reduction from output-side quenching (Agyemang et al., 2 Jun 2026).
This suggests an emerging extension of thresholded entropy from histogram segmentation to representation pruning. In one branch, the threshold acts on gray levels, cluster scales, or candidate cut points; in another, it acts on features, symbols, or tokens after they have been assigned an entropy-derived importance score.