What Is STOI? Estimate Processed Speech Intelligibility Against a Clean Reference
STOI compares clean reference speech with a noisy or processed version of the same utterance to estimate intelligibility. It is neither human word accuracy nor an audio-quality score; align inputs, check scope, and validate important conclusions with listening tests.
What Is STOI? Estimate Processed Speech Intelligibility Against a Clean Reference
Short-Time Objective Intelligibility (STOI) is an objective measure for estimating how intelligible speech may be after noise or speech-enhancement processing. It requires both clean reference speech and a processed version of the same utterance. It does not directly measure human word accuracy or sound-quality preference, so interpret it in context and use listener tests when the outcome matters to people.
What STOI compares
STOI divides clean and degraded or processed speech into short segments and compares their temporal energy envelopes across frequency bands. The original paper averages correlations over windows of about 384 milliseconds and reports high correlation with listener-test intelligibility for noisy speech and time-frequency-weighted processing. This makes it useful for relative comparisons while developing noise-reduction or speech-enhancement systems.
The output is one metric value for a reference-and-processed pair. Do not read it as a guaranteed percentage of words listeners will understand or as an audio-quality score like MOS. When summarizing results across utterances or speakers, say which materials and conditions were averaged.
Prepare inputs before calculation
**Get a clean reference.** You need the original utterance before noise or processing. If you have only processed speech or no corresponding reference recording, the usual STOI comparison cannot be made.
**Make sure it is the same utterance.** The two signals need matching content and temporal alignment. If leading silence or delay differs, trim and align them using the same rule. A separate recording take can introduce speech differences that are mistaken for processing effects.
**Match format and length.** Check the requirements of your chosen implementation. The public pystoi implementation requires equal waveform lengths and takes the sample rate as an argument. For stereo audio, handle channels consistently according to the implementation, and supply each file’s actual sample rate.
**Keep experimental conditions fixed.** Use the same reference utterances, trimming rules, channels, and sample rates for every system. Arbitrary normalization or extra post-processing can change what is being compared.
Calculate STOI in Python
pystoi is a public Python implementation based on the original authors’ MATLAB code. With a clean reference and processed version of the same waveform, basic STOI can be called as follows:
from pystoi import stoi
score = stoi(clean_reference, processed_speech, sample_rate, extended=False)
print(score)The arrays must correspond to the same utterance in time, and sample_rate is the audio’s sample rate in hertz. The resulting score is a metric value, not word accuracy. Check the input and length requirements of the implementation you run, and use the same option for all systems in a comparison.
Choosing between STOI and ESTOI
Original STOI was evaluated for time-frequency-weighted noisy speech. Its predictions may be weaker for strongly modulated maskers, such as competing talkers whose energy changes over time. Jensen and Taal introduced Extended STOI (ESTOI) for a broader input range that includes such modulated-noise conditions. In pystoi, choose it with extended=True.
ESTOI also needs a clean reference. “Extended” does not mean it replaces human tests for every language, listener group, or distortion type. Check that the conditions in your research question match the metric’s validation scope, and include listening tests that represent the intended users when their actual understanding is the outcome of interest.
Compare and report results
Use the same clean original and utterance segments for before-and-after comparisons.
Record conditions such as speakers, sentences, masker type, signal-to-noise ratio (SNR), and processing settings.
Report the implementation and version, STOI or ESTOI option, sample rate, and preprocessing.
For averages across utterances, report the number of samples and inspect variation by sentence and speaker.
Check system rankings or improvement claims against listener-test results. STOI makes evaluation faster and repeatable, but interpretations should stay within the measure’s purpose and validation scope.
In brief
STOI estimates intelligibility by comparing clean reference speech with a noisy or processed version of the same utterance. Align the signals in time and keep length, sample rate, and preprocessing consistent. ESTOI may fit modulated-noise conditions better, but neither score is the same as a direct measure of human understanding; validate important conclusions with a suitable listening test.
References
[Taal et al. (2011), An Algorithm for Intelligibility Prediction of Time-Frequency Weighted Noisy Speech](https://sps.ewi.tudelft.nl/pubs/Taal2011_1.pdf)
[Jensen & Taal (2016), An Algorithm for Predicting the Intelligibility of Speech Masked by Modulated Noise Maskers (ESTOI)](https://ieeexplore.ieee.org/abstract/document/7539284)
[pystoi reference implementation and usage](https://github.com/mpariente/pystoi)
[STOI measure: authors’ code and scope notes](https://ceestaal.nl/code/)
References
- Taal et al. (2011), An Algorithm for Intelligibility Prediction of Time-Frequency Weighted Noisy Speech
- Jensen & Taal (2016), An Algorithm for Predicting the Intelligibility of Speech Masked by Modulated Noise Maskers (ESTOI)
- pystoi reference implementation and usage
- STOI measure: authors’ code and scope notes