← Latest papers
💬 NLP

KCS: Diversify Multi-hop Question Generation with Knowledge Composition Sampling

This paper introduces Knowledge Composition Sampling (KCS), a novel framework that enhances the diversity and accuracy of multi-hop question generation by modeling knowledge composition as a sentence-level conditional prediction task with probabilistic contrastive loss and stochastic decoding, thereby effectively addressing data sparsity and improving performance on benchmarks like HotpotQA and 2WikiMultihopQA.

Original authors: Yangfan Wang, Jie Liu, Chen Tang, Lian Yan, Jingchi Jiang

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

Original authors: Yangfan Wang, Jie Liu, Chen Tang, Lian Yan, Jingchi Jiang

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

The Big Problem: The "Boring Question" Trap

Imagine you are a teacher trying to test a student's ability to solve a complex mystery. To do this, you need to ask questions that require connecting clues from different parts of a story.

However, there's a problem: Data Sparsity. There just aren't enough of these complex "mystery" questions available to train AI models. Because of this, AI models start cheating. Instead of learning how to connect clues, they memorize patterns or guess based on simple keywords. They become "spurious learners"—good at looking smart but bad at actually thinking.

To fix this, researchers usually try to generate more questions. But most existing methods are like a robot that only knows how to ask the same question in three different ways:

  1. "Who did X?"
  2. "Did X happen?"
  3. "Tell me about X."

These are just rephrasing the same idea. They don't actually change the logic or the clues needed to answer. It's like asking a detective, "Who stole the cookie?" and then, "Who took the cookie?" and then, "Who nabbed the cookie?" The detective hasn't learned anything new about the crime scene.

The Solution: KCS (The "Clue Collector")

The authors introduce KCS (Knowledge Composition Sampling). Think of KCS not as a question writer, but as a creative Clue Collector.

In a long story (the "context"), there are hundreds of sentences. Only a few of them are the "golden clues" needed to solve the mystery.

  • Old Method: The AI always picks the exact same three sentences (the "Gold Standard") to build a question.
  • KCS Method: KCS realizes that there are many different combinations of sentences that could lead to the same answer. It acts like a chef who knows there are many different ways to make a delicious stew. You don't have to use carrots and potatoes; you could use celery and mushrooms, and it's still a great stew.

KCS samples different combinations of clues (Knowledge Compositions) from the text to create questions that are logically different, even if the final answer is the same.

How KCS Works: The Three-Step Dance

The framework works in three distinct steps, which we can imagine as a game of "Connect the Dots":

1. The Detective's Intuition (Knowledge Composition Selection)

Before asking a question, KCS has to decide which sentences to use.

  • The Challenge: If you pick random sentences, the question makes no sense (this is called "degeneration").
  • The Fix: KCS uses a special math trick called Probabilistic Contrastive Loss. Imagine you are teaching a dog to fetch. You don't just say "Fetch." You say, "Fetch the red ball, not the blue one."
    • KCS looks at the current sentence and asks: "Is the next sentence a good friend to this one?"
    • It maximizes the connection between the right sentences and minimizes the connection with the wrong ones. It learns the "logic flow" of the story without needing a pre-drawn map.

2. The Dice Roll (Diversifying with Stochastic Decoding)

Once KCS knows how to pick good sentences, it needs to be creative.

  • The Problem: If the AI always picks the "best" sentence (the one with the highest probability), it becomes boring and predictable.
  • The Fix: KCS uses Stochastic Decoding (specifically "Nucleus Sampling").
    • Imagine a roulette wheel. The "safe" numbers are the most likely sentences. The "risky" numbers are the less likely ones.
    • KCS cuts off the "risky" tail (the sentences that make no sense) but keeps a wide circle of "good enough" options.
    • It spins the wheel to pick the next clue. Sometimes it picks the obvious clue; sometimes it picks a slightly different, but still valid, clue. This creates diversity.

3. The Storyteller (Multi-hop Question Generation)

Finally, once KCS has gathered a unique set of clues (a "Knowledge Composition"), it hands them to a standard AI model to write the actual question.

  • Because the clues are different, the question is naturally different.
  • Example:
    • Standard AI: "Who was the actress in Kiss and Tell?" (Uses clues A, B, C).
    • KCS: "What job did the woman who played the lead in A Kiss for Corliss hold as an adult?" (Uses clues A, B, D, E).
    • Both questions have the same answer (Shirley Temple), but they force the AI to think through a completely different path of logic.

Why This Matters: The Results

The researchers tested KCS on two famous "mystery" datasets (HotpotQA and 2WikiMultihopQA).

  1. Better Clue Picking: KCS got 3.9% more accurate at picking the right sentences than the best existing methods. It's a better detective.
  2. Smarter AI: When they used KCS to generate new training questions and taught other AI models with them, those models got significantly better at answering hard questions.
  3. No More Boredom: The questions generated by KCS were much more diverse. They weren't just rephrased; they were genuinely different logical puzzles.

The Takeaway

Think of KCS as a gardener.

  • Old methods just watered the same three flowers over and over, hoping they would grow bigger.
  • KCS looks at the whole garden (the long text), finds different combinations of seeds (sentences), and plants them in new patterns.
  • The result? A garden full of unique, beautiful flowers (diverse questions) that teach the AI how to think, not just how to memorize.

By diversifying how the AI learns to connect the dots, KCS helps AI models become more robust, flexible, and truly intelligent.

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 →