Skip to main content
LLM LSD
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Jensen–Shannon Divergence

Jensen–Shannon Divergence is a way of measuring how different two probability distributions are. It can be understood as a softened, symmetric version of Kullback–Leibler divergence: instead of comparing one distribution directly against another, it compares each distribution to their shared average.

Its significance comes from being easier to use and interpret than many other divergence measures. It is symmetric, bounded, and remains well behaved even when the two distributions do not assign probability to the same events. This makes it useful when comparing uncertain patterns, such as word frequencies, biological sequences, model outputs, or clusters of behavior.

Applications

  • Machine learning and generative model evaluation
  • Natural language processing and topic comparison
  • Information theory and statistics
  • Bioinformatics, genome comparison, and protein analysis
  • Clustering, classification, and distributional similarity
  • Social science, history, and cultural pattern analysis

Speculations

  • Comparing the emotional “probability distributions” of two cities at night
  • Measuring how far two people’s worldviews diverge while still sharing common ground
  • Estimating stylistic distance between dreams, myths, or artistic movements
  • Mapping the difference between possible futures imagined by rival civilizations
  • Describing how much a translated poem has drifted from the atmosphere of its original

References