← Latest papers
🔢 mathematics

Sample complexity bounds for the Jensen-Shannon divergence

This paper establishes that the number of samples required to distinguish between two probability distributions using a log-likelihood-ratio classifier scales inversely with the Jensen-Shannon divergence, whereas a majority-vote classifier requires a sample size scaling with the squared inverse of the divergence.

Original authors: Oren Richter, Adi Ben-Ari, Tom Talpir, Elad Schneidman

Published 2026-07-08
📖 4 min read🧠 Deep dive

Original authors: Oren Richter, Adi Ben-Ari, Tom Talpir, Elad Schneidman

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to figure out which of two suspects, Suspect P or Suspect Q, committed a crime. You have a pile of evidence (data points), but you don't know which one is guilty. The Jensen-Shannon Divergence (JSD) is like a "difference meter" that tells you how distinct the two suspects' behaviors are.

  • If the meter reads 0, the suspects act exactly the same; you can't tell them apart.
  • If the meter reads 1, they are completely different; you can tell them apart instantly.
  • If the meter reads something in between (say, 0.1), they are similar, but not identical.

The paper asks a simple question: How much evidence (samples) do you need to catch the right suspect with high confidence?

The authors discovered that the answer depends entirely on how you process the evidence. They found two very different ways to solve the case, and they require vastly different amounts of work.

1. The "Super-Detective" Approach (Log-Likelihood-Ratio Classifier)

Imagine a detective who looks at every single piece of evidence and weighs it carefully.

  • How it works: For every clue, the detective calculates exactly how much it points to Suspect P versus Suspect Q. They keep a running total score. If the score gets high enough, they declare a winner.
  • The Result: This detective is very efficient. If the suspects are slightly different (a small JSD value), this detective only needs a number of clues that is roughly 1 divided by the difference.
    • Analogy: If the difference is tiny (0.01), you need about 100 clues. If the difference is half that (0.005), you need 200 clues. The work grows linearly.

2. The "Committee of Novices" Approach (Majority-Vote Classifier)

Now imagine a different strategy. You hire 100 different people, but you only give them one piece of evidence each.

  • How it works: Each person looks at their single clue and makes a quick, "hard" decision: "I think it's P!" or "I think it's Q!" They don't get to say how sure they are; they just shout a name. Then, you take a vote. Whoever gets the most votes wins.
  • The Result: This approach is much less efficient. Because each person throws away the "strength" of their evidence (they only say "Yes/No" instead of "90% sure"), you need a lot more people to get the same result.
    • The Math: The number of people you need grows as 1 divided by the difference squared.
    • Analogy: If the difference is tiny (0.01), you don't just need 100 people; you need 10,000 people (1002100^2). If the difference is half as big, you need 40,000 people.

The Big Takeaway

The paper reveals a hidden "tax" on information.

  • The Super-Detective keeps all the information. They know if a clue is a "strong hint" or a "weak hint." Because they use the full power of the data, the amount of work needed to solve the case is proportional to the difference itself (1/d1/d).
  • The Committee throws away the "strength" of the hints. They treat a "strong hint" and a "weak hint" exactly the same (just a vote). This loss of information is expensive. To make up for throwing away the nuance, you have to pay a penalty: you need the square of the work (1/d21/d^2).

Why Does This Matter?

The authors aren't just doing math for fun; they are giving us a way to read the "difference meter" (JSD) in real-world terms.

  • If you are building a system where you can process all the data at once (like a central computer), you only need to worry about the 1/d1/d rule.
  • If you are in a situation where data is scattered, or you have to make quick, independent decisions before combining them (like a network of sensors, or a biological system where cells signal each other), you are stuck with the 1/d21/d^2 rule.

In short: If you can't keep the details of your evidence, you have to gather a massive amount of it to make up for the loss. The paper quantifies exactly how massive that amount needs to be.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →