To BEE or not to BEE: Estimating more than Entropy with Biased Entropy Estimators

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: la Torre, Ilaria Pia, Kelly, David A., Menendez, Hector D., Clark, David
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915110744752128
author la Torre, Ilaria Pia
Kelly, David A.
Menendez, Hector D.
Clark, David
author_facet la Torre, Ilaria Pia
Kelly, David A.
Menendez, Hector D.
Clark, David
contents Entropy estimation plays a significant role in biology, economics, physics, communication engineering and other disciplines. It is increasingly used in software engineering, e.g. in software confidentiality, software testing, predictive analysis, machine learning, and software improvement. However accurate estimation is demonstrably expensive in many contexts, including software. Statisticians have consequently developed biased estimators that aim to accurately estimate entropy on the basis of a sample. In this paper we apply 18 widely employed entropy estimators to Shannon measures useful to the software engineer: entropy, mutual information and conditional mutual information. Moreover, we investigate how the estimators are affected by two main influential factors: sample size and domain size. Our experiments range over a large set of randomly generated joint probability distributions and varying sample sizes, rather than choosing just one or two well known probability distributions as in previous investigations. Our most important result is identifying that the Chao-Shen and Chao-Wang-Jost estimators stand out for consistently converging more quickly to the ground truth, regardless of domain size and regardless of the measure used. They also tend to outperform the others in terms of accuracy as sample sizes increase. This discovery enables a significant reduction in data collection effort without compromising performance.
format Preprint
id arxiv_https___arxiv_org_abs_2501_11395
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle To BEE or not to BEE: Estimating more than Entropy with Biased Entropy Estimators
la Torre, Ilaria Pia
Kelly, David A.
Menendez, Hector D.
Clark, David
Information Theory
Software Engineering
Entropy estimation plays a significant role in biology, economics, physics, communication engineering and other disciplines. It is increasingly used in software engineering, e.g. in software confidentiality, software testing, predictive analysis, machine learning, and software improvement. However accurate estimation is demonstrably expensive in many contexts, including software. Statisticians have consequently developed biased estimators that aim to accurately estimate entropy on the basis of a sample. In this paper we apply 18 widely employed entropy estimators to Shannon measures useful to the software engineer: entropy, mutual information and conditional mutual information. Moreover, we investigate how the estimators are affected by two main influential factors: sample size and domain size. Our experiments range over a large set of randomly generated joint probability distributions and varying sample sizes, rather than choosing just one or two well known probability distributions as in previous investigations. Our most important result is identifying that the Chao-Shen and Chao-Wang-Jost estimators stand out for consistently converging more quickly to the ground truth, regardless of domain size and regardless of the measure used. They also tend to outperform the others in terms of accuracy as sample sizes increase. This discovery enables a significant reduction in data collection effort without compromising performance.
title To BEE or not to BEE: Estimating more than Entropy with Biased Entropy Estimators
topic Information Theory
Software Engineering
url https://arxiv.org/abs/2501.11395