Singular Relative Entropy Coding with Bits-Back Rejection Sampling

This paper introduces the Bits-Back Rejection Sampler (BBRS), a practical and simpler relative entropy code for singular channels that achieves the same sub-logarithmic asymptotic redundancy as previous theoretical work while offering better constants and implementability.

Gergely Flamich, Spencer Hill

Published 2026-04-08
📖 5 min read🧠 Deep dive

The Big Picture: The "Secret Message" Problem

Imagine you and a friend are trying to send a secret message. You have a specific type of puzzle (a "channel") where the rules are a bit tricky.

  • The Goal: You want to send a piece of data (let's call it Y) that depends on a secret input you have (X).
  • The Constraint: You want to use as few bits (0s and 1s) as possible to send Y.
  • The Catch: You and your friend share some random "noise" (like a deck of shuffled cards) beforehand, but you can't talk to each other during the process.

In the world of information theory, there is a theoretical "speed limit" on how few bits you can use. This limit is called Mutual Information. It's like the absolute minimum amount of "stuff" you must send to get the job done.

For a long time, scientists knew that while you could get close to this speed limit, you usually had to pay a small "tax" (extra bits) to make it work. This tax was roughly the size of a logarithm (a slow-growing number).

The Special Case: "Singular" Channels

The paper focuses on a special type of puzzle called a Singular Channel.

  • Analogy: Imagine a machine that takes an input X and spits out Y. In a normal machine, if you change X slightly, the probability of getting a specific Y changes in a complex way.
  • The Singular Twist: In a singular channel, changing X doesn't change the odds of the outcome; it only changes which outcomes are possible. It's like a vending machine where pressing "A" only lets you get a Coke or a Sprite, and pressing "B" only lets you get a Coke or a Fanta. The price (probability) of a Coke is the same in both cases, but the menu changes.

For these specific "Singular" puzzles, a previous team of researchers (Sriramu and Wagner) proved that you could actually eliminate that "tax" entirely. You could reach the perfect speed limit. However, their solution was like a theoretical blueprint for a flying car: it worked on paper, but it required impossible calculations and was too complex to ever build in real life.

The New Solution: The "Bits-Back" Rejection Sampler (BBRS)

The authors of this paper, Gergely Flamich and Spencer Hill, say: "Let's build a flying car that actually works." They created a new method called Bits-Back Rejection Sampling (BBRS).

Here is how it works, using a Magic Mailbox analogy:

1. The Problem with Standard "Rejection Sampling"

Imagine you want to pick a random card from a deck, but you only have a specific rule for which cards are "winners."

  • Standard Method: You pull a card. Is it a winner? No? Throw it away and try again. Is it a winner? Yes! Keep it.
  • The Cost: To tell your friend which card you kept, you have to send them the number of times you tried (e.g., "I tried 5 times, the 5th one was the winner"). This takes up a lot of bits.

2. The "Bits-Back" Trick

This is where the magic happens. The authors use a technique called Bits-Back Coding.

  • The Setup: You have a stream of random bits (your "seed") that you are supposed to send to your friend.
  • The Trick: Instead of just sending the card number, you use the card number to hide some of your random bits inside the message.
  • The Recovery: When your friend receives the message, they decode the card. Because they know the rules of the game (the "Singular" nature of the channel), they can figure out exactly which random bits you hid inside. They "get their bits back."
  • The Result: You effectively sent the card for free because you reclaimed the bits you used to encode it. It's like paying for a coffee with a coupon, but the store gives you the coupon back in change.

3. Why "Singular" Channels Make This Work

In a normal channel, the "rules" are too messy to perfectly reverse-engineer the hidden bits. But in a Singular Channel, the rules are so clean and predictable that the receiver can perfectly reconstruct the hidden bits.

  • Analogy: Imagine a lock where the key shape is determined entirely by the door frame. If you know the door frame, you can instantly guess the key. In a singular channel, the "door frame" (the output Y) tells you exactly what the "key" (the hidden bits) was.

Why This Paper Matters

  1. It's Practical: The previous "perfect" solution was a mathematical ghost. This new solution (BBRS) uses standard tools that engineers can actually build and run on computers today.
  2. It's Simpler: The math behind this new method is much cleaner and easier to understand than the previous "impossible" code.
  3. It's Efficient: It achieves the theoretical "perfect" speed (zero extra tax) for these specific channels, just like the ghostly blueprint did, but without the impossible requirements.

Summary in One Sentence

The authors built a new, practical "magic mailbox" that uses a clever trick called "bits-back" to send data through specific types of channels with zero wasted space, finally turning a theoretical dream into a working reality.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →