← Latest papers
📊 statistics

Optimally-Weighted Herding is Bayesian Quadrature

This paper establishes that kernel herding is equivalent to Bayesian quadrature by showing that its selection criterion minimizes posterior variance, and demonstrates that optimally-weighted sequential Bayesian quadrature achieves superior convergence rates and provides an upper bound on empirical error.

Original authors: Ferenc Huszár, David Duvenaud

Published 2026-06-03
📖 5 min read🧠 Deep dive

Original authors: Ferenc Huszár, David Duvenaud

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 trying to guess the average height of everyone in a massive, crowded stadium. You can't measure everyone, so you have to pick a few people to measure and use their average to guess the whole crowd's average.

This paper is about how to pick the best people to measure so you get the right answer with the fewest measurements possible.

Here is the breakdown of the paper's ideas using simple analogies:

1. The Problem: Guessing the Average

In statistics and machine learning, we often need to calculate an "average" (an integral) of a complex situation.

  • The Old Way (Random Sampling): Imagine closing your eyes and throwing darts at a map of the stadium to pick people. This is called Monte Carlo. It works, but it's slow. You might pick three people standing right next to each other by accident, or miss a whole section of the stadium. To get a good answer, you need a lot of darts.
  • The "Herding" Way: A newer method called Herding tries to be smarter. Instead of throwing darts randomly, it picks people one by one to make sure the group looks like the whole stadium. If it picks someone from the left side, the next person it picks will be from the right side to balance it out. It's like a game of "connect the dots" where the dots eventually form a perfect picture of the crowd.

2. The Big Discovery: Two Methods Are Actually Cousins

The authors discovered that Herding and a method called Bayesian Quadrature are doing almost the exact same thing, just with a slight twist.

  • Herding picks the best spots to stand and gives everyone in your group an equal vote (like a standard election where everyone gets one vote).
  • Bayesian Quadrature also picks the best spots, but it realizes that some people are more important than others. It gives some people more votes and others fewer votes (or even negative votes, which sounds weird but mathematically helps cancel out errors).

The paper proves that the "score" Herding tries to minimize is actually the same as the "uncertainty" Bayesian Quadrature tries to reduce. They are looking at the same mountain from different angles.

3. The New Champion: Sequential Bayesian Quadrature (SBQ)

The authors combined these ideas into a new method called Sequential Bayesian Quadrature (SBQ).

Think of it like this:

  • Herding is like a teacher picking students to answer questions. She picks them one by one to cover all the topics, but she treats every student's answer as equally important.
  • SBQ is a super-teacher. She picks the students in the exact same smart order, but she knows that some students are "super-learners" and some are "distractors." So, she weights their answers. She might listen to one student's answer three times as much as another's, or even subtract a student's answer if they are likely to be wrong.

The Result: The paper shows that SBQ gets the right answer much faster than Herding.

  • In the experiments, SBQ needed only 8 samples (people) to get the same accuracy that Herding needed 20 samples to achieve.
  • It's like getting a perfect map of the stadium by measuring 8 people, whereas the old method needed to measure 20.

4. Why Does This Matter? (The "Weight" Trick)

The paper highlights a surprising detail: The "weights" (votes) SBQ uses don't have to be positive numbers, and they don't have to add up to 1.

  • Imagine you are calculating the average temperature. If you have a thermometer that is known to be broken and always reads 5 degrees too high, you might give it a negative weight to cancel out that error.
  • SBQ does this mathematically. It assigns "negative votes" to certain samples to cancel out the noise, which is why it is so much more efficient.

5. The Catch: It's Harder to Compute

There is a trade-off.

  • Random Sampling is cheap and easy (O(1) cost).
  • Herding is a bit more work (O(N²) cost).
  • SBQ is the most computationally expensive (O(N³) cost) because it has to do complex math to figure out the perfect weights for every single sample.

The Conclusion:
If your data is easy to get and cheap to process, random sampling is fine. But if your data is expensive to get (like running a complex physics simulation or a medical scan that takes hours), you want to use SBQ. Even though the math to pick the samples is harder, you save massive amounts of time and money because you need far fewer samples to get the same accurate result.

In a nutshell: The paper shows that by giving different "votes" to different samples, we can build a much better picture of the world using far fewer data points than before.

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 →