Min-Entropy Estimation
Min-entropy is set by the most likely outcome of a source: minus the base-2 logarithm of its probability. It is the measure of unpredictability that matters for guessing and for random number generators. This method gives the plug-in value and two conservative estimators from NIST SP 800-90B, one of which also detects dependence between consecutive samples.
최소 엔트로피는 정보원의 가장 흔한 출력의 확률로 정해지며, 그 확률에 밑이 2인 로그를 취해 부호를 바꾼 값입니다. 추측 공격과 난수 생성기에서 중요한 예측 불가능성의 척도입니다. 이 방법은 단순 대입 값과 함께 NIST SP 800-90B의 보수적인 추정법 두 가지를 내며, 그중 하나는 연속된 표본 사이의 의존성도 잡아냅니다.
How many bits of unpredictability does each sample from this random source really provide?
이 난수 정보원의 표본 하나는 실제로 몇 비트의 예측 불가능성을 줄까요?
Symbol frequencies give the plug-in min-entropy. The most-common-value estimate replaces the top probability by its 99% upper bound, and the t-tuple estimate also considers repeated runs of consecutive samples. The smaller of the two is reported per sample and in total, with collision and Shannon entropies for comparison.
When to use Min-Entropy Estimation
- You evaluate a hardware or software random source or a token generator.
- You need a conservative entropy figure rather than the Shannon entropy.
- You want to see whether serial patterns reduce the unpredictability of a sequence.
When to use something else
- You need the average information per symbol: use Entropy and Mutual Information Analysis
- You test randomness of a binary sequence by runs: use Runs Test for Randomness
- The data are continuous measurements: use Continuous Entropy and Mutual Information Estimators (Kozachenko-Leonenko, Vasicek, KDE, Copula)
Assumptions and requirements
- Samples are discrete symbols in output order
- Enough samples (the t-tuple estimate needs symbols seen at least 35 times)
- Not a complete SP 800-90B validation
What the analysis reports
- Min-entropy per sample and in total
- Most-common-value and t-tuple estimates with upper bounds on p
- Plug-in, collision and Shannon entropies
- Bar chart of the most frequent symbols
How to report it
From [value] samples over [value] symbols, the estimated min-entropy was [value] bits per sample (most-common-value estimate [value], t-tuple estimate [value]; Shannon [value] bits).
Related methods
- Compression-Based Complexity Estimation
- Runs Test for Randomness
- Entropy and Mutual Information Analysis
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Min-Entropy Estimation on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.