Elamur Research

BeamAggR: Beam Aggregation Reasoning over Multi-source Knowledge for Multi-hop Question Answering

Paper · 2024 · Zheng Chu, Jingchang Chen, Qianglong Chen et al.

Summary

A question that depends on several facts can fail long before the final answer is written. To find the former name of a city described by its population rank, for example, a system first has to identify the city. If it picks the wrong one, a later search can retrieve an accurate history of an irrelevant place. BeamAggR tackles this problem in open-domain question answering by keeping plausible intermediate answers in play and using them to explore different ways of completing the question.

The authors first break a complex question into a tree of simpler questions. A question at a leaf can be answered immediately. A question farther up the tree needs answers from the branches below it, such as the identities of entities whose properties must be compared. BeamAggR tries several ways of answering each concrete question. It can answer from memory, generate background text for itself, consult Wikipedia, or consult web search results. The answers are collected into a vote, and the vote counts are converted into weights. At a question that depends on earlier answers, the system tries combinations of the retained candidates. Each resulting answer receives support from the combinations that produced it, weighted by how plausible those combinations were. The highest-ranked answer at the root becomes the reply.

In the main open-domain evaluation, BeamAggR exceeds ProbTree, the strongest baseline overall, on all four test sets. The paper reports overall token-level F1 of 62.9 on HotpotQA, 36.9 on MuSiQue, 71.6 on 2WikiMQA, and 74.8 on Bamboogle. The abstract summarizes the improvement over the previous best method as 8.5% on average. A separate set of runs using Mistral-7B also favors BeamAggR over the baselines evaluated in that setting. The MuSiQue results show why the organization of retrieval matters. A single search using the original question lowers the score from 24.7 for closed-book chain-of-thought prompting to 16.4 with one-time retrieval.

The ablations help distinguish the contributions of the evidence sources from those of the search over answers. On 2WikiMQA and MuSiQue, removing any individual source lowers F1. Giving all aggregation contributions equal weight also lowers it, while carrying forward only the leading candidate produces a smaller decline and substantially reduces token use. The full method consumes fewer tokens than ProbTree on each benchmark in the reported cost comparison, although simpler retrieval strategies can cost less still. The benefits depend on a decomposition that captures the question correctly and on the relevant intermediate answer surviving the beam cutoff.

Deep dive: BeamAggR: Beam Aggregation Reasoning over Multi-source Knowledge for Multi-hop Question Answering

BeamAggR answers multi-hop questions by combining evidence from several sources and carrying alternative answers forward through a question tree. · about 33 minutes to read

The problem and its context

Getting evidence for the right question

A multi-hop question contains a dependency. The next fact to look up may depend on the answer to an earlier question, or the final decision may require facts gathered on separate branches. A question about the state in which a person was born can be broken into a question about the birthplace and a question about which state contains that place. A comparison between film directors can require identifying each director, establishing the relevant property of each, and then comparing the results. The final answer may be short even when the evidence needed to reach it is spread across several documents. The difficulty lies in organizing the reasoning.

The paper treats factual errors as a particular problem for questions that extend beyond the knowledge available from the system’s training. A fluent response can confidently supply a missing fact and then draw a coherent conclusion from it. The conclusion inherits the error even if the remaining steps follow sensibly from the premise. Asking for an explanation exposes intermediate statements in the response, which helps a reader see how they fit together. An explanation alone supplies little assurance that those statements have a factual basis. This is the problem the paper places in the context of research on hallucination.

Chain-of-thought prompting addresses part of the task by eliciting intermediate reasoning before the final response. The paper describes work that uses demonstrations, instructions, or automatically chosen examples to obtain these traces. It also discusses self-consistency, in which several traces are sampled and their answers compared. Sampling makes it possible to recover an answer that a single attempt would miss. For a knowledge-intensive question, however, several attempts can encounter the same gap or repeat the same assumption. A procedure for sampling answers and a procedure for supplying evidence serve different purposes. Chain-of-thought prompting and self-consistency.

Retrieval-augmented generation supplies supporting text before an answer is produced. In the early retrieve-then-read setup described by the authors, the original question serves as the query. A retriever returns passages, and a reader uses them to answer. The authors point to work on single-hop questions as a setting in which this approach can be satisfactory. A multi-hop question can compress several information needs into one sentence. If an intermediate entity has yet to be identified, its name may be absent from the query altogether. A search can return several passages that match the words in the question while leaving the decisive relationship undocumented. Retrieval-augmented generation and information retrieval.

Retrieving in rounds and retrieving by sub-question

Iterative retrieval puts the search process inside the reasoning process. After a step generates text, the system can use that text to retrieve evidence for a later step. The new passages then influence what gets written and searched for in the next round. IRCoT, for example, uses intermediate reasoning steps to drive later retrieval. Self-Ask alternates between proposing follow-up questions and answering them with search. FLARE uses the confidence of an upcoming generation to decide when to retrieve, and bases the query on prospective text. These methods give the search query access to information that emerged after the original question was posed. Interleaving Retrieval with Chain-of-Thought Reasoning and Active Retrieval Augmented Generation.

The relevance of a query constructed in this way depends on what the system is currently pursuing. If an early statement names the wrong person, a later search can return documents that confirm details about that person. The documents may be perfectly relevant to the generated query while contributing little to the original task. The authors argue that iterative retrieval still has difficulty keeping searches aligned with the reasoning the question actually requires. A well-formed query needs both an appropriate entity and an appropriate relationship, and the earlier reasoning can get either of these wrong.

Another family of methods makes retrieval more targeted by explicitly decomposing the question. A smaller question can specify the fact needed at a particular point, and placeholder references record where an earlier answer should be inserted. The paper describes work that represents these dependencies as a tree or a graph, as well as work that solves sub-questions progressively. This representation also separates independent inquiries. Finding the directors of different films, for example, can be treated as distinct work, even though their birth dates will ultimately enter the same comparison. The line of work on progressive decomposition includes least-to-most prompting.

Decomposition concentrates the consequences of some errors. In a bridge question, an intermediate answer links the first fact to the second. Its spelling, identity, or level of specificity may determine which documents the next lookup finds. In a comparison, an error on either side can alter the decision. A system that settles on a single answer at each step commits to that chain of lookups. The authors call the propagation of such mistakes cascading errors. Keeping alternatives allows a later step to provide evidence that changes the relative ranking of routes.

The paper also discusses Beam Retrieval, which uses beam search to retain relevant paragraphs at successive hops. Here a beam is a limited set of candidates that survive a round of search. The object of search matters. Paragraph candidates represent possible evidence. BeamAggR carries answer candidates, which are concrete values that can fill a later question. A document can contain several potential answers, and different documents can lead to the same one. BeamAggR works at the point where evidence has already yielded a proposed answer and that proposal can change the next query.

Combining sources while keeping alternatives

Open-domain retrieval adds a separate problem. Wikipedia may supply one part of a question, a web result may be helpful elsewhere, and an answer from memory may survive even when retrieved passages miss the relevant fact. Individual sources can also point to incompatible entities or assertions. Combining all documents into a single prompt leaves the reader to resolve those differences in one pass. Committing to the source with the strongest score at a node leaves other evidence with little influence. The authors ask whether source use can be determined at the level of individual answers and whether the system can postpone commitment when consequential alternatives remain.

Those aims meet where one sub-question passes its answers to another. Different sources can contribute to the vote at a leaf, and a different set of sources can determine which candidate works best farther up. The question tree specifies which pieces of evidence need to meet. The beam specifies how many alternatives are available when they meet. ProbTree is the closest baseline in this respect because it also uses a question tree and sub-question retrieval. Its aggregation relies on log probabilities, meaning scores in logarithmic form. BeamAggR uses frequencies from source-conditioned answers and carries weighted combinations of those answers through the tree. The empirical comparison therefore concerns what happens after decomposition as well as how retrieval is organized.

The method, step by step

Turning a question into a tree

BeamAggR begins by identifying the smaller questions that would make the original one answerable. Consider the paper’s example about the German state associated with Karl Julius Perleb’s birth. The first question asks for his birthplace. The next asks which state contains the place returned by the first. During decomposition, the state question has an empty slot for the birthplace. Once the system proposes a place, it can fill the slot and use the completed question to find more evidence. A different place gives it a different completed question to investigate.

A comparison can branch. In the paper’s example involving Money On The Street and She-Devils On Wheels, each film has its own chain from film to director to date of birth. The final comparison consumes the dates and returns a film. Structuring the problem this way makes clear what can be done separately and what must wait. A director’s birth date can only be sought once a candidate director is available. The final question can be addressed once candidate dates from both sides have been obtained. Each of those dates still carries the weight of the evidence and intermediate choices that led to it.

The authors use Question Decomposition Meaning Representation, abbreviated QDMR, to express references between steps. A placeholder such as #1 refers to an earlier sub-answer that must be inserted before the dependent question can be attempted. This is a representation of which answer goes where. It lets the system run the same question pattern with different values while preserving the original dependency. A bridge relation can pass one entity to a later inquiry, while a comparison or composition can bring together answers from multiple branches.

The original question sits at the root of the tree. The leaves contain atomic questions, meaning that they have no unresolved dependencies within this decomposition. An atomic question can still be factually difficult or need supporting text. A composite question uses results from its children, the nodes directly beneath it. The system visits the nodes in post-order, meaning that it processes the descendants needed for a node before processing the node itself. Decomposition proceeds from the complex question towards its parts, and answering proceeds from the parts back towards the complex question.

The tree also acts as a record of what has been decided so far. Before a node is processed, its question is available, potentially with slots. After it is processed, it holds its question, a ranked list of answers, and the weights for those answers. A parent needs this compact record to explore combinations. It can request evidence for a completed question without passing every earlier document or reasoning trace into that request.

How BeamAggR answers a question from the leaves upward

The steps in order.

How BeamAggR answers a question from the leaves upwardStep 1: Decompose the original question into a tree1. Decompose the original question into a treeStep 2: Visit each child before its parent2. Visit each child before its parentStep 3: Answer atomic questions from separate knowledge sources3. Answer atomic questions from separate knowledge sourcesStep 4: Vote and retain weighted answer candidates4. Vote and retain weighted answer candidatesStep 5: Fill dependent questions with candidate combinations5. Fill dependent questions with candidate combinationsStep 6: Answer each completed question and pool weighted support6. Answer each completed question and pool weighted supportStep 7: Retain the leading answers at each node7. Retain the leading answers at each nodeStep 8: Return the highest-ranked answer at the root8. Return the highest-ranked answer at the root

Obtaining candidate answers from separate sources

At an atomic question, the system runs several answering strategies independently. The first is closed-book reasoning. A prompt with chain-of-thought demonstrations asks the generator to work through the question using its internal knowledge. The second also relies on internal knowledge, but makes it explicit by asking for relevant background text before answering. The background is then supplied in the answer prompt. That separation gives the answerer something concrete to work with, even though the background itself comes from the same underlying source of knowledge.

The other strategies use external evidence. The Wikipedia strategy retrieves documents with BM25. This is a sparse retrieval method, so the ranking is based on textual terms rather than a dense representation of the whole passage. The web strategy uses Google results obtained through Serper. In each case, a prompt asks the generator to reason using the retrieved material and produce an answer. One channel may find a precise passage while another returns material about a similarly named entity. Running the channels separately gives each a chance to produce a candidate that can compete in the vote.

The appendix expresses the ordinary retrieval setup in terms of a question and a collection of documents.

D = {dᵢ}ᵢ₌₁…|D|

Here D denotes the retrieved document collection, dᵢ is its document at position i, and |D| is the number of documents returned. The index begins at 1 and extends to |D|. The braces gather the indexed documents into the collection passed along as context.

y = LM(Q, D)

Here Q is the question, D is the retrieved collection, and LM denotes the prompted generator that takes them as input. The output y is a proposed answer. BeamAggR uses this question-and-context pattern on the smaller questions in the tree, with the appropriate context for each strategy.

The main description gives the corresponding expression for an individual strategy.

aₛ = LLM(q, Kₛ)

Here s labels the strategy, q is the current question, and Kₛ is the knowledge supplied for that strategy. LLM denotes the generator as prompted for the selected strategy, and aₛ is the answer output for that call. In closed-book reasoning, the call has no retrieved evidence. For explicit internal reasoning, the context is the generated background. For the other strategies, it comes from Wikipedia or web search. The notation describes a call, and the voting procedure works on the candidates collected across calls.

The leaf is the first place at which those strategies interact. They do so through the answers they produced. This is a deliberate choice of granularity. A Wikipedia passage and a generated paragraph can both support the same place name, so they can both increase the weight of that candidate. If the web results suggest a different place, that place can receive a separate weight. The procedure can leave the question open long enough for later branches to expose the consequences of the disagreement.

From votes to weights

For a concrete question, BeamAggR collects the answer outputs, collapses repeated answers, and counts occurrences. Answers found repeatedly receive higher weights. The normalization is a softmax over frequencies, which turns counts into a probability distribution over the answers being considered.

pᵢ = exp(fᵢ / τ) / ∑ⱼ₌₁ᵏ exp(fⱼ / τ)

Here i identifies the answer being scored and pᵢ is its normalized weight. fᵢ is the frequency of that answer. The denominator runs over answer indices j, from 1 to k, with fⱼ the frequency of the answer at index j and k the candidate count in the expression. τ is the temperature, which governs how strongly frequency differences affect the weights. exp is the exponential function, and ∑ adds the terms in the denominator. A lower temperature makes the distribution more concentrated on the more frequent candidates. A higher temperature makes it flatter.

These probabilities summarize the votes under the procedure. They can be used to rank children’s answers and propagate their relative support. A often repeated error can also get a large weight. In particular, closed-book answering and answering from generated background both depend on internal knowledge, and separate prompts can reproduce the same mistake. The practical test of the weights in this paper is whether they help select better final answers.

The pseudocode sorts the voted candidates and keeps up to the configured beam size. This cutoff is what makes the procedure tractable as one node’s answers become inputs to another. It can also determine what later reasoning gets to see. An answer that falls outside the retained beam cannot fill the corresponding slot up the tree. The size of the beam controls how much disagreement the system carries forward from a node and how much work the parent must do.

The authors record the decomposed question and its nodes in the following form.

Q_decomp = {N⁽¹⁾, N⁽²⁾, …}

Here Q_decomp denotes the decomposition of the original question arranged in traversal order. N⁽¹⁾ and N⁽²⁾ stand for nodes at the indicated positions, and … indicates the remaining nodes. The dependency structure determines this order. A node used as input occurs before the node that needs it.

N⁽ⁱ⁾ = {q⁽ⁱ⁾, a⁽ⁱ⁾, p⁽ⁱ⁾}

Here N⁽ⁱ⁾ is the node at position i. The superscript (i) is a node index. q⁽ⁱ⁾ is that node’s question, a⁽ⁱ⁾ its retained answers, and p⁽ⁱ⁾ their corresponding weights. Each weight stays paired with its answer. The parent uses those pairs both to construct its own questions and to rank the answers they produce.

Trying combinations at a dependent question

A composite question can have more than one open slot. Suppose it needs an entity from one child and a place from another. For every retained entity, BeamAggR tries every retained place, generating a completed version of the question for each pair. The set of all such pairs is called the Cartesian product. A question with one dependency only needs to try the alternatives from that child. Restricting the beam limits the size of the Cartesian product when several children contribute candidates.

For a node with two children, the paper gives the combination rule as follows.

{(⟨aᵢ⁽ˣ⁾, aⱼ⁽ʸ⁾⟩, pᵢ⁽ˣ⁾ · pⱼ⁽ʸ⁾) | i, j ∈ {1, 2, …, k}}

Here (x) and (y) label the two child questions. aᵢ⁽ˣ⁾ is candidate i from child x, and aⱼ⁽ʸ⁾ is candidate j from child y. The angle brackets group the answers in slot order. pᵢ⁽ˣ⁾ and pⱼ⁽ʸ⁾ are their respective weights, and · multiplies them to give the weight of that pair. The vertical bar introduces the condition on inclusion. i and j range over candidate positions from 1 through k, with k the beam size, ∈ indicating membership in the index set, and … covering the intervening positions. The outer braces collect the answer pairs and their weights. The pseudocode extends the same operation to the children of a node generally.

In the worked example for this operation, one candidate identifies Austin and another identifies Texas. Inserting that pair yields a question about when Austin became the capital of Texas. A different pair yields a different question, including when a pair represents an unlikely combination of place names. The product gives weight to the assumptions that went into each query. A concrete query can make retrieval more precise by making those assumptions explicit, while returning evidence conditional on their correctness.

Each completed question is processed with the same multi-source procedure. The result is a distribution over answers for that particular set of inserted values. Conceptually, a branch now has two levels of support. One level expresses how the children ranked the assumptions that created the completed question. The other expresses how the answering strategies voted once those assumptions were fixed. A convincing answer under a low-ranked assumption receives less weight than it would if the earlier uncertainty were ignored.

Pooling support for the same answer

Different combinations can lead to the same answer. This matters when an intermediate ambiguity can be resolved implicitly by a later step. If distinct instantiated questions converge on a common answer, the method lets them contribute to its score. Conversely, if only one weakly supported interpretation produces a particular answer, that answer bears the lower weight earned by its route. The system sums over the alternative completed questions to obtain a marginal distribution over answers.

P(y) = ∑_{qᵢ ∈ Q} P(y | x = qᵢ) P(qᵢ)

Here y is a proposed answer at the current node, and P(y) is its pooled weight. Q refers to the current intermediate question, with the sum running over the completed variants qᵢ belonging to it. The index i labels a variant. x is the choice of completed question in this expression, and x = qᵢ specifies which variant is being answered. P(y | x = qᵢ) is the weight of answer y in the vote for that particular question. P(qᵢ) is the weight inherited from the child combination that produced it. The vertical bar inside P means “conditional on,” ∈ means “belongs to,” and ∑ adds the products across variants.

This sum explains why the method is called aggregation. The node collects contributions to each distinct answer, ranks the resulting answers, and retains the leading candidates for the next parent. It can favor an answer with support spread across multiple combinations. It can also allow one strongly weighted combination to determine the ranking when the others provide little support. At the root, the procedure returns the highest-ranked answer after this pooling. The final decision is defined over answers, even though the analysis can also examine the reasoning routes that contributed to them.

The product used to weight combinations is a practical way to compose scores from different children. It uses their individual weights directly. In a comparison, however, mistaken answers on different branches can arise from related evidence or from a shared tendency in the prompts. The method’s formula provides a ranking rule for the alternatives it explores. Its usefulness is assessed through the task results and the ablation that removes the weighting.

Following the Bamboogle example

The Bamboogle example in the paper asks for an earlier name of the German city that ranks fourth in size. The decomposition turns the ranking description into a question about the city’s identity, then turns the historical name into a question about whichever city is proposed. This creates a point at which the system can carry a disagreement forward rather than committing to a single reading of the first batch of evidence.

The candidate answers illustrate how the sources can diverge even on a short lookup. The closed-book attempts include Frankfurt and Cologne. The generated background favors Cologne, the Wikipedia-conditioned answers include Regensburg, and the web-conditioned answers favor Darmstadt. After voting and selection, Cologne has weight 0.6607 and Darmstadt has weight 0.3392 at the city node. Those are the candidates available for the next inquiry.

The next step asks separately for the original names of Cologne and Darmstadt. Among the resulting historical names are Colonia Claudia Ara Agrippinensium and Darmundestat. In the final list shown for this example, the former has weight 0.6363 and the latter 0.3636. The system returns Colonia Claudia Ara Agrippinensium, which matches the benchmark answer for that question. The example shows what the retained alternative does in a run. It produces an actual historical lookup with a competing result, and the final ranking reflects both that lookup and the earlier support for the city that prompted it.

How the system was configured

The evaluation uses in-context learning. Demonstrations are included in the prompt to show the expected decomposition or answering behavior. The appendix describes manually annotated demonstrations for 2WikiMQA, adapted from the prompts of IRCoT and ProbTree. The decomposition prompt is described as 24-shot, where a shot is a worked example. The appendix illustrates explicit internal reasoning with a 5-shot prompt, Wikipedia reasoning with a 3-shot prompt, and web reasoning with a 5-shot prompt. It also describes the initial generation of background knowledge as zero-shot, meaning that the instruction for that generation supplies no worked examples.

The paper describes a structural check on decompositions, because an automatically generated tree can be malformed. For datasets other than Bamboogle, the experiments reuse decompositions supplied by Cao and colleagues, convert them into BeamAggR’s representation, and regenerate invalid ones as needed. The Mistral-7B experiments use decompositions supplied by GPT-3.5. These details matter because the experimental pipeline can use an existing decomposition even though the algorithm begins with a decomposition step. The reported answer quality depends on the trees actually supplied in each setting.

Wikipedia retrieval uses the October 2017 dump. The authors implement BM25 with Elasticsearch and set the Wikipedia document count to 5. Web retrieval takes the top-3 organic results and adds an answer box when available, for 3 or 4 search documents. The implementation uses fuzzy text matching to extract relevant snippets from raw Wikipedia content. The hyper-parameter table lists 1 generated background item for explicit internal reasoning and a beam size of 2. A beam of that size gives a dependent question access to the leading alternative as well as the first choice while bounding the number of newly completed queries.

The main runs use gpt-3.5-turbo-instruct, and the separate backbone experiment uses Mistral-7B. The appendix is internally inconsistent about the exact count of closed-book demonstrations. Its prompt discussion and illustration give 20-shot for the illustrated 2WikiMQA prompt, while the hyper-parameter table lists 24 for the closed-book prompt. Both descriptions place demonstration-based closed-book reasoning inside the same source voting procedure. The baseline section separately specifies 20-shot for its standard prompting and chain-of-thought baselines. Mistral 7B.

Experiments and results

What the test sets require

The authors evaluate in an open-domain setting on HotpotQA, MuSiQue, 2WikiMQA, and Bamboogle. For this evaluation, a question comes without a designated set of evidence passages. Retrieval can search the Wikipedia corpus and the web. This makes evidence discovery part of the experiment. A fact can be present in the corpus but still be hard to find from the original question, especially when a later query depends on a name that an earlier hop has to supply.

HotpotQA includes 2-hop bridge and comparison questions. A bridge question uses an intermediate entity to connect lookups. A comparison asks the system to find comparable properties of the entities and decide how they relate. The paper also describes 2WikiMQA as a 2-hop dataset, with results broken down into bridge, inference, comparison, and bridge-comparison categories. An inference question can depend on a relationship such as a family relation. Bridge-comparison questions require the branches of a comparison to be resolved through intermediate lookups. HotpotQA and 2WikiMQA.

MuSiQue contains questions with 2 to 4 hops. It is built by composing simpler questions, so a sequence can involve several successive bridges, and a composite step can depend on multiple earlier answers. The test can therefore probe both branching and depth. Bamboogle consists of 2-hop bridge questions. The authors describe those questions as ones that cannot be answered directly through search engines. This design still allows search to assist with a constituent question once the fact needed for that search has been isolated.

For HotpotQA, MuSiQue, and 2WikiMQA, the authors use the splits provided by IRCoT. Each benchmark contributes a test set of 500 instances and a development set of 100 instances, drawn from its original development data. Bamboogle contributes all 125 instances to testing. It has no separate development split in this setup, and the authors use the same hyper-parameters as for 2WikiMQA. The appendix notes that some instances trigger the Azure OpenAI content filter and that the authors omit those cases from metric calculations. The split sizes describe the evaluation sets selected for the experiment.

The metric is token-level F1. It rewards overlap between the answer text and the reference while accounting for missing and extra answer tokens. It allows partial credit when an answer includes some of the expected wording. If the dataset lists aliases, the evaluation compares the prediction to each accepted alias and retains the highest F1. The published overall scores concern agreement with answer strings. Evidence quality and the validity of individual reasoning steps are addressed separately, through the paper’s analyses.

What the baseline comparison controls

Standard prompting uses demonstrations to elicit a direct answer. Chain-of-thought prompting adds an explicit reasoning trace before the answer. Both serve as closed-book comparisons. The one-time retrieval baseline uses the original question to query sparse retrieval and Google search, then puts the results into the prompt for chain-of-thought reasoning. Its purpose in the comparison is to show what happens when the same kinds of external sources are made available without decomposed queries or iterative search. The direct-answer setup follows the use of demonstrations in few-shot prompting.

Among the retrieval baselines, Self-Ask, IRCoT, and FLARE can revise what they look for as reasoning proceeds. ProbTree organizes the question as a tree and searches at the sub-question level. The paper says that the retrieval baselines receive both the sparse retriever and the search engine, and the authors rerun the baselines in their main GPT-3.5 setting. This makes the comparison more informative than contrasting a system with web access against earlier numbers from systems limited to a narrower corpus. The methods still differ in what queries they issue, when they issue them, and how they interpret the returned evidence.

Overall answer scores

BeamAggR’s highest overall F1 in the main experiment is on Bamboogle, where it scores 74.8 against 66.6 for ProbTree. The comparison also separates families of retrieval strategy. Using the full question once yields 46.8 with OneR. IRCoT yields 55.0, and FLARE yields 58.1. In this setup, asking separate questions is particularly pertinent to a dataset built around bridge questions whose final answers are difficult to obtain by searching the full wording.

Overall token-level F1 on the Bamboogle test set

BeamAggR leads the comparison, with ProbTree the strongest baseline.

Overall token-level F1 on the Bamboogle test setChain-of-thought prompting: 53.6Chain-of-thought prompting53.6One-time retrieval: 46.8One-time retrieval46.8Self-Ask: 51.9Self-Ask51.9IRCoT: 55.0IRCoT55.0FLARE: 58.1FLARE58.1ProbTree: 66.6ProbTree66.6BeamAggR (this paper): 74.8BeamAggR (this paper)74.8
The numbers
System or settingF1
Chain-of-thought prompting53.6
One-time retrieval46.8
Self-Ask51.9
IRCoT55.0
FLARE58.1
ProbTree66.6
BeamAggR (this paper)74.8

On HotpotQA, the main test score is 62.9 for BeamAggR and 60.4 for ProbTree. IRCoT scores 56.2, FLARE scores 56.1, and one-time retrieval scores 55.3. On 2WikiMQA, BeamAggR scores 71.6 against 67.9 for ProbTree, 60.1 for FLARE, and 56.8 for IRCoT. The gains over ProbTree reported by the authors are +2.5 on HotpotQA, +3.7 on 2WikiMQA, and +8.2 on Bamboogle, each referring to overall F1 on the corresponding test set.

MuSiQue provides the clearest comparison between a full-question lookup and sub-question retrieval. With no retrieval, chain-of-thought prompting scores 24.7 overall. One-time retrieval scores 16.4. IRCoT gives 24.9, FLARE gives 31.9, and the two tree-based approaches head the comparison at 32.9 for ProbTree and 36.9 for BeamAggR. The paper reports the BeamAggR gain over ProbTree as +4.0. The poor result for one-time retrieval is consistent with the authors’ concern that irrelevant or conflicting material can make an answer worse. The score records the degradation, while the proposed explanation rests on how the methods obtain and use evidence.

Overall token-level F1 on the MuSiQue test set

BeamAggR leads the comparison, while one-time retrieval trails closed-book chain-of-thought prompting.

Overall token-level F1 on the MuSiQue test setStandard prompting: 15.6Standard prompting15.6Chain-of-thought prompting: 24.7Chain-of-thought prompting24.7One-time retrieval: 16.4One-time retrieval16.4Self-Ask: 16.2Self-Ask16.2IRCoT: 24.9IRCoT24.9FLARE: 31.9FLARE31.9ProbTree: 32.9ProbTree32.9BeamAggR (this paper): 36.9BeamAggR (this paper)36.9
The numbers
System or settingF1
Standard prompting15.6
Chain-of-thought prompting24.7
One-time retrieval16.4
Self-Ask16.2
IRCoT24.9
FLARE31.9
ProbTree32.9
BeamAggR (this paper)36.9

The paper’s 8.5% headline is its aggregate description of the improvement over the previous best method. The dataset scores and the reported gains above express the individual comparisons on the F1 scale. This distinction is especially relevant for MuSiQue, where the overall score remains lower than on the other benchmarks despite the improvement over the preceding tree-based approach.

Comparisons, longer chains, and Mistral-7B

The category results give a closer look at where the extra candidates may matter. On the HotpotQA comparison subset, ProbTree scores 65.9 and BeamAggR scores 74.2. On the 2WikiMQA comparison subset, the scores are 81.7 and 89.9, respectively. A comparison depends jointly on the facts collected on its branches, so preserving alternatives gives the system a chance to test pairings that a single-choice procedure would omit. The lead is less uniform across 2WikiMQA categories. On the inference subset, BeamAggR scores 64.9 against 66.4 for ProbTree. On bridge-comparison, it scores 90.4 against ProbTree’s 91.1. The overall gain can coexist with these individual category results.

On the main MuSiQue test set, BeamAggR scores 43.3 on 2hop questions, 36.1 on 3hop questions, and 20.5 on 4hop questions. ProbTree scores 41.2, 30.9, and 14.4 on those subsets. The authors also present a separate depth analysis that uses the original MuSiQue split and reports average F1 by reasoning length. They describe a slower decline for BeamAggR as depth increases and report 8.4% for the 3-hop comparison and 12.3% for the 4-hop comparison in that analysis. The separate results support the same broad observation. Longer questions remain harder, and the paper’s approach retains more answer quality as the number of dependencies increases in this evaluation.

The Mistral-7B experiments keep the tree-based answering procedure while changing the generator used for reasoning. BeamAggR scores 55.2 on HotpotQA, 32.3 on MuSiQue, 63.2 on 2WikiMQA, and 74.0 on Bamboogle in overall test F1. The corresponding strongest baseline scores, all from ProbTree, are 50.4, 27.0, 59.9, and 61.1. The Bamboogle result is close to the 74.8 reported for BeamAggR in the main GPT-3.5 setting. In this comparison, using the same reasoning framework with Mistral-7B preserves the advantage over the evaluated baselines. The experiments use trees supplied by GPT-3.5, so the test of portability applies to answering and aggregation over supplied decompositions.

What the ablations show

Removing sources

The first set of ablations asks whether the complete method needs every knowledge channel. The authors remove closed-book reasoning, explicit internal background, Wikipedia, or web search in turn and score the resulting systems on 2WikiMQA and MuSiQue. Each removal yields a lower overall F1 on both datasets. This is evidence that each source contributes under the tested combination of prompts, retrieval, and voting. The size of a removal effect also depends on which sources remain available to cover for the removed one.

On 2WikiMQA, the full system scores 71.6. Removing closed-book reasoning gives 69.2, and removing explicit internal background gives 68.3. Removing Wikipedia gives 65.8, while removing web search gives 63.4. On MuSiQue, the full score is 36.9. The corresponding scores after those removals are 35.1, 35.6, 33.1, and 32.7. For both test sets, the two outside sources have larger individual removal effects than either of the internal strategies. Web search has the strongest individual removal effect in these runs.

The authors also run with internal or external sources alone. With internal reasoning only, overall F1 is 52.0 on 2WikiMQA and 27.3 on MuSiQue. With external sources only, it is 68.5 and 33.4. The internal-only system still exceeds the closed-book chain-of-thought baseline, which scores 42.3 on 2WikiMQA and 24.7 on MuSiQue. Decomposition and answer aggregation remain active in the internal-only variant. Its result illustrates what the full arrangement can accomplish when source access is restricted, while the comparison with the complete method shows the value of restoring retrieval.

The external-only runs are closer to the full method. Their remaining gap matters to the authors’ argument about complementary sources. The internal strategies can help even when there are two external routes into the question. This does not require the internal channel to be best on all questions. It can improve the aggregate result by supporting useful candidates on questions or branches for which retrieval produces weak evidence.

Changing the aggregation rule

The aggregation ablations change three aspects of the calculation. One substitutes the log-probability rule that the authors describe as choosing a single source. Another drops the probability weights and treats the aggregated contributions equally. The third is greedy aggregation, which keeps only the leading candidate at each step. The first alters how source-conditioned outcomes are selected, the second tests whether the different weights are useful, and the third reduces the breadth of exploration.

Aggregation ablations on the 2WikiMQA test set by overall token-level F1

Full beam aggregation leads, with greedy aggregation the closest variant.

Aggregation ablations on the 2WikiMQA test set by overall token-level F1Log-probability aggregation: 65.9Log-probability aggregation65.9Aggregation without probability weights: 67.8Aggregation without probability weights67.8Greedy aggregation: 70.1Greedy aggregation70.1Full BeamAggR (this paper): 71.6Full BeamAggR (this paper)71.6
The numbers
System or settingF1
Log-probability aggregation65.9
Aggregation without probability weights67.8
Greedy aggregation70.1
Full BeamAggR (this paper)71.6

On MuSiQue, the log-probability variant scores 30.9 overall, the equal-weight variant scores 35.4, and the greedy variant scores 36.2, compared with 36.9 for the full system. The equal-weight comparison gives direct evidence about the ranking rule. The system can still consider alternatives, and the result worsens when their support counts equally in aggregation. The greedy comparison gives evidence about retaining those alternatives in the first place. Its smaller decline on both datasets suggests that the first candidate frequently carries enough information, with the additional candidates helping on a portion of the evaluation.

Because the changes apply to the scoring procedure used throughout the tree, a final F1 difference can reflect several points at which a decision changes. A different vote can change the answer at the current node. It can also change the text of the next search query, which changes the evidence available later. The ablations test each procedure as a system for answering questions. They do not assign a separate final-score contribution to every changed query or every corrected hop.

Where support came from

To see how atomic answers draw on sources, the authors compare the internal and external support associated with the leading answers at leaves. They average the analysis over 500 entries each from HotpotQA and MuSiQue. Restricting the comparison to atomic questions keeps later differences in explored paths out of this statistic. In the log-probability comparison, the authors report that the approach uses a single source in more than 2/3 of the cases. BeamAggR’s leading answers more often have mixed support under this measure. The result describes which channels contributed candidate answers to the local vote.

A separate analysis starts at the selected root answer and traces back through the sub-question answers used on a route that supports it. The authors count which sources participated in voting at those questions and restrict the analysis to correctly answered cases. The distribution differs by benchmark. External reasoning contributes more on MuSiQue and 2WikiMQA, internal reasoning contributes more on Bamboogle, and HotpotQA is more balanced. BeamAggR arrives at these patterns through the votes, without specifying a preferred source for each dataset.

The Bamboogle distribution and the main Bamboogle result describe different things. The overall score measures agreement with reference answers, while the tracing analysis asks which sources supported the routes examined among correct answers. A source may be decisive for an intermediate fact while contributing relatively few votes along the rest of the route. Likewise, a source can account for many votes among successful examples without being sufficient by itself. The tracing and source-removal analyses are complementary because they observe the system under different conditions.

How the candidate distributions change

The authors group MuSiQue nodes as leaves, intermediate nodes, or roots and examine the candidate distribution at each stage. In their terminology, diversity counts unique answers, consistency measures the proportion of responses that give the most common answer, and uncertainty is the entropy of how the answers are distributed. Entropy is a measure of how spread out the distribution is. A distribution that gives substantial weight to several outcomes differs from one in which most of the weight sits on a small set.

Across the node groups, the paper reports rising diversity and declining consistency and entropy. These measures track different properties. Diversity counts even answers with very little weight. The majority share tracks only the leading answer, and entropy takes the distribution across the entire set into account. A changing distribution can therefore register additional low-weight alternatives alongside a reduction in uncertainty as measured by entropy. The authors read the overall trends as broader exploration accompanied by a reduction in the influence of some erroneous routes. The analysis reports distributions by node position, so it describes how candidate sets behave on MuSiQue without following the factual validity of every individual answer.

How much the alternatives cost

The cost comparison counts both prompt and completion tokens per question. That includes demonstrations, questions, retrieved passages, reasoning traces, and final outputs. The paper says a retrieval-conditioned API call costs roughly 4000 tokens under its setup, while a call without retrieval costs less than 1000 tokens. Trying another combination at a composite node can therefore add substantial work, especially when the completed question is answered separately with multiple knowledge sources.

Relative to ProbTree, full BeamAggR improves F1 and uses fewer tokens in the cost table on all four benchmarks. On HotpotQA, it uses 23,720 tokens per instance, compared with 25,607 for ProbTree. On MuSiQue, the counts are 36,336 and 46,431. On 2WikiMQA, they are 30,178 and 39,249, and on Bamboogle they are 26,276 and 30,004. The paper’s efficiency plot averages the token and F1 results over the evaluated datasets. In that comparison, approaches occupy different points depending on how much answer quality they obtain at a given token cost. A one-time retrieval run, for instance, costs 4053 tokens per HotpotQA instance and scores 55.3 F1, showing why a less expensive procedure can still matter even when its answers are worse on average.

The greedy variant gives the comparison most directly tied to beam breadth. On MuSiQue it uses 22,522 tokens per instance and scores 36.2 F1, compared with 36,336 tokens and 36.9 F1 for the full method. On 2WikiMQA, it uses 21,703 tokens and scores 70.1, against 30,178 tokens and 71.6. The corresponding greedy results are 17,887 tokens and 62.3 F1 on HotpotQA, and 17,507 tokens and 74.0 F1 on Bamboogle. Greedy aggregation retains the decomposed queries and the use of multiple sources. Its savings come from doing less work on alternate intermediate answers.

Limitations

Limits identified by the authors

BeamAggR relies on a useful decomposition. A malformed tree can sometimes be detected by checking its structure and regenerating it. A plausible but semantically wrong tree is harder to catch. It can omit a required relationship, ask about the wrong property, or pass an answer into a slot that should reference a different branch. Once that happens, answering each local question accurately can still produce the wrong result. The authors identify correct decomposition as a condition for success, and the evaluations with reused trees make tree quality part of the experimental setting.

Exploring combinations and sampling answers at each step also increases the workload within the framework. The number of completed questions grows with the number of retained candidates and the number of slots to fill. Greedy aggregation offers the faster variant tested in the paper. Its efficiency gains come with a narrower set of possible routes, a tradeoff visible in the ablation results. The measured savings against ProbTree are compatible with substantial overhead compared with a simpler lookup strategy.

The sources used in the experiments are limited to internal knowledge and unstructured external text. The authors identify structured resources such as knowledge bases as a direction for future work. The paper therefore tests collaboration among the four configured reasoning strategies, with distinct prompts for their inputs. It leaves open how the same voting and aggregation would handle sources that return structured relations, where the basic pieces of evidence need not resemble retrieved passages.

Limits of the reported evidence

F1 evaluates final answer wording. A run can match the reference after an intermediate mistake, and a well-supported answer can receive partial credit if its wording differs from the accepted answers. The analyses of votes and candidate distributions show how the procedure behaves, while the paper does not provide an independent factual audit of every step. In particular, tracing backward from correct answers says which sources appear in successful routes. That selection cannot establish how frequently those same sources steer a failing route in the wrong direction.

The vote weights are useful operational scores. The experimental design does not establish that they are calibrated probabilities of factual correctness. A majority can reflect overlapping documents or repeated internal assumptions, and the product used for a combination can amplify high scores that arise from related mistakes. Given the beam cutoff, a candidate with weak local support is removed before a parent can find evidence in its favor. The depth results show that preserving alternatives can help with accumulating errors, while the remaining decline on longer questions shows why that mechanism offers only partial protection.

The open-domain comparisons are tied to the retrieval environment and the data selections used in the paper. The Wikipedia corpus is a particular snapshot, web retrieval depends on the results returned for the submitted queries, and the appendix says that content-filtered instances were omitted when computing metrics. The reported split sizes and comparisons are useful for relating the experiments to each other. The paper gives no count for those omissions in the metric note, so the precise coverage of the scored evaluation cannot be recovered from it alone.

There is also a distinction between the flexibility of the algorithm and the breadth of the comparisons. The second backbone experiment shows that the answering procedure works with Mistral-7B when given trees produced by GPT-3.5. The benchmark results show gains under the tested setup, with detailed patterns on several question types. The cost study measures tokens as its proxy for computation. It gives a controlled account of prompt and output volume, while latency, retrieval service cost, and the effects of scheduling calls are outside the reported comparison.

What came after

The works that cite BeamAggR connect it to three lines of research. The hallucination survey belongs to the discussion of factual reliability that motivates the experiment. The relationship runs both ways in the bibliographic record: BeamAggR cites the survey as background for hallucination and the use of external evidence, and the survey is also listed among the works that cite BeamAggR. The survey’s stated scope covers principles, taxonomy, challenges, and open questions. The citation relationship alone leaves the details of its treatment of BeamAggR unspecified. A Survey on Hallucination.

The survey of agentic retrieval-augmented generation places the citation in a line of work concerned with how retrieval and reasoning interact. BeamAggR provides a concrete architecture for that recurring problem. The query issued at a later step depends on the alternative intermediate answers currently under consideration, and later evidence changes which route can support the final answer. The survey’s title establishes the scope of that connection. Its listing does not specify a reproduction of BeamAggR’s experiments or a particular classification of the method. Towards Agentic RAG with Deep Reasoning.

BELLE cites BeamAggR from within the more specific area of multi-hop question answering. Its title identifies a bi-level, multi-agent framework for the task. This points to a different way of organizing the work involved in a complex question, where BeamAggR’s organization comes from dependencies between sub-questions and the weighted candidates passed along them. The citation establishes the link between the two studies. It leaves open whether BELLE adopts BeamAggR’s source voting, its Cartesian combinations, or its marginal answer aggregation. BELLE.

Cite

Cite as Zheng Chu, Jingchang Chen, Qianglong Chen, Haotian Wang, Kun Zhu, Xiyuan Du, Weijiang Yu, Ming Liu and Bing Qin. 2024. BeamAggR: Beam Aggregation Reasoning over Multi-source Knowledge for Multi-hop Question Answering. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.acl-long.67

@inproceedings{chu2024beamaggr,
  title = {{BeamAggR: Beam Aggregation Reasoning over Multi-source Knowledge for Multi-hop Question Answering}},
  author = {Zheng Chu, Jingchang Chen, Qianglong Chen, Haotian Wang, Kun Zhu, Xiyuan Du, Weijiang Yu, Ming Liu and Bing Qin},
  booktitle = {Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.67},
  url = {https://doi.org/10.18653/v1/2024.acl-long.67}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/chu-2024-beamaggr-beam-aggregation-reasoning-over/