---
title: "JellyBell at TextGraphs-17 Shared Task: Fusing Large Language"
description: "JellyBell compares Wikidata descriptions, web search and graph evidence for answering questions, then selects among them using prediction…"
canonical: "https://research.elamur.ai/free/en/papers/belikova-2024-jellybell-textgraphs-17-shared-task/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/belikova-2024-jellybell-textgraphs-17-shared-task/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / JellyBell at TextGraphs-17 Shared Task: Fusing Large Language Models with External Knowledge for Enhanced Question Answering

# JellyBell at TextGraphs-17 Shared Task: Fusing Large Language Models with External Knowledge for Enhanced Question Answering

Paper · 2024 · Julia Belikova, Evegeniy Beliakin and Vasily Konovalov

**Authors:** Julia Belikova, Evegeniy Beliakin and [Vasily Konovalov](https://md.research.elamur.ai/free/en/authors/vasily-konovalov/) · **Year:** 2024 · **Venue:** Proceedings of TextGraphs-17: Graph-based Methods for Natural Language Processing · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **12** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/belikova-2024-jellybell-textgraphs-17-shared-task/cited-by/) · Proceedings of TextGraphs-17: Graph-based Methods for Natural Language Processing · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.textgraphs-1.15/)
- [PDF](https://aclanthology.org/2024.textgraphs-1.15.pdf)

## Summary

A question can name a familiar person and still ask for a fact that is hard to recall. It can also name an obscure person whose relevant details are easy to find in the right source. JellyBell studies what happens when a system can consult several kinds of evidence to answer either kind of question. The setting is a shared task in [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/) with a [knowledge graph](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/). Each question comes with a list of Wikidata entities that might be the answer, along with graph paths connecting entities in the question to those candidates. The system must decide which candidates are correct.

The authors use Llama 3 to read the question and choose from numbered options. They compare giving it Wikidata identifiers and descriptions, adding results from DuckDuckGo, and adding a prose rendering of the supplied graph. This is a form of [retrieval-augmented generation](https://md.research.elamur.ai/free/en/concepts/retrieval-augmented-generation/): the system can consult information supplied at the time of answering. The strongest individual setup uses Llama 3 70B with web results and candidate descriptions. It scores 80.99 F1 on the shared-task evaluation, compared with 74.10 for the same scale without augmentation. Adding the textualized graph to the web and description prompt lowers F1 to 78.45.

JellyBell also lets the contexts compete for each question. It obtains separate predictions from runs using different sources, then compares how clearly each run favors its first choice over its runner-up. The answer from the run with the widest probability gap wins. This ensemble reaches 83.35 F1, ahead of the ChatGPT-based baseline at 66.67 and below the best private-test result of 85.90. The authors associate the result with second place in the post-evaluation phase.

Which evidence helps depends on the question. The authors find that adding web results shifts the reported breakdown of correct classifications towards less popular entities, while cautions about misleading retrieval apply even to familiar subjects. The graph seldom supplies the selected answer in the ensemble, yet the selector still uses it for some questions. These findings concern a task where the candidate answers and their connecting graph paths have already been supplied. The authors leave open how well the system handles questions with several correct answers, a distinction that matters because its prompts ask for a single option.

## Deep dive: JellyBell at TextGraphs-17 Shared Task: Fusing Large Language Models with External Knowledge for Enhanced Question Answering

JellyBell compares Wikidata descriptions, web search and graph evidence for answering questions, then selects among them using prediction confidence. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Choosing the entity a question asks for

A factual question states what the reader wants in ordinary language. Wikidata represents facts as connections among identified entities. An answer system has to bridge those forms. It must work out what relationship the wording asks about, then identify the entity that bears that relationship to the subject. Even when an answer name sounds right, the system may need to distinguish entities that share the name. An entity identifier resolves that ambiguity at the level of the graph, while a short description can make the distinction intelligible to someone reading the options.

The shared task gives participants a bounded version of that problem. A question arrives with referenced Wikidata entities and a list of possible answers that are themselves Wikidata entities. The organizers also supply part of the graph. The resulting task resembles choosing from a list, with a crucial difference from a conventional quiz. The benchmark labels individual candidates as correct or incorrect, and a question can have several correct candidates. A system can therefore be very good at choosing a plausible answer and still leave some of the benchmark’s positive candidates uncovered.

What counts as evidence also varies from question to question. For a question about the order of books in a series, a path through a shared author or series may confirm that a book belongs among the options. The same evidence may leave the ordering unresolved. A description might distinguish a book from a person or from the series itself. A passage found on the web might state the order directly. This is the kind of choice JellyBell studies: given several sources that can bear on the same answer, how should the system use them?

The pre-extracted graph makes the comparison easier to interpret. Every participant can start with the supplied paths instead of introducing a different graph search procedure. If a system answers poorly with graph-derived context, the causes could include the contents of those paths, the way the system expresses them, or the way it reads them. Differences in which paths participants extracted are taken out of this part of the comparison. At the same time, the task begins after some difficult work has already been done. Finding candidates and collecting relevant paths for a new question are separate problems from choosing among the candidates on offer.

#### From short graph lookups to questions that join facts

The paper describes early graph-based question answering in terms of a simple lookup. A node represents an entity, an edge expresses a relationship, and a neighboring node represents another entity. A question corresponding to such a triple can be answered by finding the appropriate edge and reading its other endpoint. That template becomes less adequate when a question requires several links or asks for a result that depends on a group of facts. The wording can remain short even as the operation on the graph grows more involved.

A question that needs several links is described as multi-hop. An intermediate entity can be necessary even though it appears in neither the requested answer nor the wording of the question. An aggregation question asks the system to consider a collection of matching facts together. The relevance of these harder cases is easy to see in JellyBell’s setting. A path supplied with a candidate can expose intermediate connections, while the list of answer choices still leaves the system to decide whether those connections answer the actual question. A readily available path is a piece of evidence whose meaning has to be checked.

Some of the earlier work the authors discuss gives the answerer access to retrieved text. Izacard and Grave use passages from Wikipedia for open-domain questions, including questions in Natural Questions and TriviaQA. The authors of JellyBell cite those experiments as evidence that a resource outside the answerer can improve performance on established benchmarks. Wikipedia passages can carry relations in sentences that a reader can consult directly. The architecture and task differ from JellyBell’s candidate selection, but both give the answerer written material at the point when it must make a prediction. [Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering](https://md.research.elamur.ai/free/en/papers/izacard-2021-leveraging-passage-retrieval-generative-models/) and [Natural Questions](https://md.research.elamur.ai/free/en/papers/kwiatkowski-2019-natural-questions-benchmark-question-answering/)

Talmor and Berant use web-search results to help answer complex questions in ComplexWebQuestions. That line of work supplies a precedent for using the wording of the question to obtain material from the web. Search results can contain relationships for which a graph offers useful background but lacks a conveniently stated connection. They can also contain references to the right names while discussing a different relationship. The earlier work establishes why web text is a candidate source in JellyBell’s comparison. The shared task gives JellyBell a way to compare it with descriptions and graph paths while keeping the answer options fixed. [The Web as a Knowledge-Base for Answering Complex Questions](https://md.research.elamur.ai/free/en/papers/talmor-2018-web-as-knowledge-base-answering/)

A parallel line of work uses text and graph information together during retrieval. The paper discusses GraftNet and PullNet in connection with retrieving and processing evidence for multi-hop questions. Their use of relational graph convolutional networks gives relations a role in how information moves through the graph. The JellyBell authors also cite approaches that use graph embeddings, which represent graph elements in a form that supports comparison and prediction. One cited use improves retrieval of candidate answers. Another develops a representation intended to save memory while supporting link prediction and question answering. These approaches put more of the burden on how graph information is represented and searched. JellyBell receives its subgraphs in advance and can focus on what happens once evidence reaches the answerer. [Open Domain Question Answering Using Early Fusion of Knowledge Bases and Text](https://md.research.elamur.ai/free/en/papers/sun-2018-open-domain-question-answering-early/)

The paper also describes attempts to connect a question’s wording more directly to structured data. GETT-QA uses T5 to turn a question into a simplified form of a SPARQL query, then maps the query’s terms to entities and relations in a knowledge graph. The role of language generation there is to help specify a graph lookup. UniK-QA develops a common way to represent material from structured and unstructured sources so that the same question-answering system can work across them. JellyBell takes another route through the design space. It converts a supplied graph into prose, puts the resulting text into a prompt, and leaves the answerer to choose a candidate. It also compares that joint use of evidence with running the different contexts separately and selecting among their answers. [UniK-QA](https://md.research.elamur.ai/free/en/papers/oguz-2022-unik-qa-unified-representations-structured/)

#### The choice JellyBell makes testable

Descriptions, search results, and graph paths bring different kinds of information. A description primarily says what a candidate is. Web results can supply a claim about how that candidate relates to the question. A graph path shows a sequence of recorded connections between entities. These roles can overlap. A description can include a decisive relation, a search result can disambiguate two names, and a graph path can help identify which sense of a name is intended. Treating the sources as interchangeable would conceal those differences.

There are also two distinct decisions about how to bring sources together. The first concerns the input: which evidence should the answerer see in the same prompt? The other concerns the output: if different prompts yield different answers, which answer should the system adopt? The first approach asks the answerer to reconcile the sources while reading. The second lets each context lead to a separate choice and delegates the final comparison to a rule. The shared task makes both decisions testable against the same candidate labels. JellyBell’s method changes the evidence shown to the answerer, then uses the answer probabilities to decide which reading to trust.

### The method, step by step

#### Start with the question and its candidates

The input contains a question, the Wikidata entities referred to in it, and candidate answers. Each candidate corresponds to a particular Wikidata entity, so the same display name can occur with different identifiers. The organizers supply subgraphs formed from shortest paths between the question entities and the candidates. A shortest path connects its endpoints through as few graph links as possible under the graph search. For the participant, the result is a set of connections to inspect, with both endpoints already known.

JellyBell bases its answerer on Llama 3 and compares the 8B and 70B versions. The sizes refer to 8 billion and 70 billion parameters, respectively. These are the learned values underlying the answerer’s predictions. The information added in a prompt is separate from those values. It changes what the system can consult for the current question, and the paper presents the question-answering pipeline through prompting and selection. It does not describe optimizing the parameters on the shared-task training examples.

In the appendix, the answer options appear as numbered entries. The instructions say that the answer is present among the candidates, treat the question as having a single correct option, and request the number of the chosen entry. When the evidence is inconclusive, the answerer is still asked to choose its most likely option. The number functions as a reference to the entity in the list. This format makes the output compact and keeps the system’s choice tied to a particular candidate even if it could express that candidate’s name in several ways.

Consider a list with two entries named Bob Dylan, the example the paper uses to explain why candidate information helps. The entries correspond to Q392 and Q251309. A bare option number can unambiguously point to either entry, and a Wikidata identifier keeps the entries distinct in the data. To make a well-founded choice, the system also needs evidence about what each entry refers to. That is the role of the candidate description. Distinguishing the records and answering the question are successive steps. The description makes the first possible in ordinary language and may supply information for the second.

From candidate entities to an ensemble answer The steps in order.

#### Prepare the descriptions and web results

The simplest augmentation adds Wikidata identifiers and descriptions for the answer candidates. The paper labels the description condition D. A description is attached to the candidate it describes, so the answerer can use it while evaluating that entry. Other conditions retain the descriptions and add another source. This arrangement makes it possible to ask what web or graph evidence contributes when the answer options already have descriptive information.

Descriptions are particularly well suited to questions where the name leaves the entity’s type or identity unclear. A candidate label tells the answerer which string is displayed. The description can supply enough context to decide whether the entity belongs to the category asked for in the question. That can help narrow the field even if the exact relationship still needs to be checked. It also matters when name matching would favor several entries equally. Because the benchmark distinguishes the Wikidata records, matching a reference name at the level of the string is insufficient in such a case.

For the web condition, labeled W, the system uses the question itself as the DuckDuckGo query. The authors report 10 search results per query. Material from the results is added to the prompt as potentially relevant context. The question and candidate list then give the answerer a way to interpret what it has read. Querying with the question aims the search at the requested fact as a whole. The description condition, by comparison, supplies information separately for each possible answer. These are distinct paths for bringing evidence to the same candidate decision.

One appendix example asks which book the author of *A Time to Kill* started working on immediately after publishing it. The search material shown includes references to John Grisham and to books associated with him. Recognizing the author can help resolve the phrase about who wrote the book. The answer still depends on a narrower timing relation, namely which work he started immediately afterward. Material listing famous books by the author is relevant to the subject, but its relevance to the requested sequence depends on what it says about the books. This illustrates why putting search material in the prompt and deciding whether it supports an option are separate operations.

The example prompt lets the answerer fall back on its existing knowledge or on the option it considers most likely when the search material offers no relevant fact. That fallback means a web-augmented prediction is still a product of the full prompt and answerer. A correct answer in the web condition could come from the supplied material, from knowledge already available to Llama 3, or from both. The comparison measures how the predictions change when the web material is made available. The paper does not trace the evidence actually used in each successful choice.

#### Express the graph in prose

The graph condition, G, adds a text rendering of paths supplied by the organizers. A path originally consists of entities joined by labeled relationships. JellyBell prompts Llama 3 70B to rewrite the graph in ordinary text and requests only that rendering as the output. The downstream prompt can then present the result beside the candidate to which it pertains. There are two potentially separate uses of Llama 3 in this setup: writing the evidence in a readable form and reading that evidence to select an answer.

In the graph example in the appendix, a question asks which book follows *Harry Potter and the Philosopher’s Stone*. The illustrated entries contain prose about relationships such as authorship and membership in the same series. Such descriptions can make it easy to see why an option is connected to the question. The relation that decides the answer is succession in the series. A passage about a shared author or series will help only to the extent that the answerer can use it to establish or rule out that succession. Graph proximity and the precise relation requested by the question can therefore come apart.

Textualization changes the interface between the graph and the answerer. The system can read the graph-derived material in approximately the same format as descriptions or search passages. In exchange, it has to rely on the wording produced by the rewrite. A relationship that was explicit in the graph might be easier to understand in a well-formed sentence. If details are omitted or their roles become hard to follow, the answerer will have less to work with than a reader of the original graph. The paper evaluates this pipeline as a unit. Its results for G apply to these textualized paths, including the process that turns the paths into prose.

The individual prompt conditions cover different combinations of this graph text, search material, and descriptions. The graph can accompany descriptions on its own or appear in the same prompt as both other sources. That creates a direct check on whether adding the graph to the best web-and-description prompt helps at either Llama 3 scale. It also gives the ensemble a graph-based run that can produce its own answer, without the search material influencing the choice it makes.

#### Use the probabilities to choose a run

An answer from a fixed list provides a simpler basis for estimating confidence than an unrestricted passage. The candidate set defines the predictions that matter. The relevant question for JellyBell’s ensemble is how strongly a run favors one candidate over its alternatives. A method for scoring a free-form response might have to combine uncertainty across a sequence of tokens or consider several possible continuations. Here the authors focus on probabilities attached to the top options.

They describe their methods as white-box uncertainty estimation because the selector uses probabilities from the answerer. An output consisting only of an option number would tell the selector which candidate won inside a run. It would give no basis for distinguishing a decisive win from a close call. The probability information gives the selector access to that distinction. The paper connects its maximum-probability approach to work on uncertainty estimation tools and its margin approach to prior work on estimating uncertainty in generation. [LM-Polygraph](https://md.research.elamur.ai/free/en/papers/fadeeva-2023-lm-polygraph-uncertainty-estimation-language/) and [Semantic Uncertainty](https://md.research.elamur.ai/free/en/papers/kuhn-2023-semantic-uncertainty-linguistic-invariances-uncertainty/)

For each question, the ensemble obtains separate Llama 3 70B predictions associated with descriptions, the search context, and the graph context. The maximum-probability selector looks at the probability of the preferred candidate in each run. Its score within a run can be written as follows.

```
p(top 1)
```

Here `p` denotes the probability assigned by the current run to a candidate. The parentheses enclose the candidate being scored. `top 1` is the option ranked highest by that run. The system compares this quantity across the runs for the same question and returns the top option from the run with the highest score.

The margin rule takes the runner-up into account. The paper expresses the comparison as a subtraction within each run.

```
p(top 1) − p(top 2)
```

Here `p` again denotes the candidate probability in the current run. `top 1` is its preferred candidate, and `top 2` is the candidate it ranks immediately below that choice. The minus sign represents subtraction, so the result is the gap between their probabilities. JellyBell compares the gap across runs and returns the preferred candidate from the run with the largest gap.

The rules can favor different runs. A run can give its preferred answer the highest probability seen across the contexts while also giving a competing option a substantial probability. Another run might put a little less probability on its first choice while putting much less on its nearest competitor. Maximum probability favors the first run in that situation, while the margin can favor the second. The distinction concerns the shape of each run’s choice among the options. The answer selected by either rule is still a candidate in the original list.

The ensemble has a common answerer scale and different evidence conditions. Its role is to choose which run speaks for the system on the current question. The authors do not describe voting across identical answers or pooling the probabilities for each candidate into a new distribution. The margin is a rule for choosing a run. A winning margin gives the selected answer precedence over the other runs’ answers, even when those runs agree with each other.

#### Where the data enter the procedure

The benchmark supplies the question, candidate labels for evaluation, entity information, and paths. The web results add material from outside that package, and the graph prose is produced from the supplied paths. The Wikidata descriptions provide another form of evidence associated with individual candidates. Keeping those origins in view helps explain what changes between conditions. The question and answer list can be held fixed while an external text source is added, or while a different run becomes responsible for the final answer.

The labels distinguish correct from incorrect candidates. The answerer’s interface, in contrast, is set up to return the option it prefers. When only one candidate is correct, selecting that candidate identifies the complete answer to the question. When several are correct, a single returned option can identify a correct entity while leaving additional correct ones unselected. The paper explicitly leaves multilabel behavior unexamined. Understanding that design choice is important when reading a result stated in terms of candidate precision and recall.

### Experiments and results

#### What the evaluation counts

The shared-task dataset is drawn from Wikidata and contains questions paired with candidate entities. The training split has 37,672 samples covering 3,535 unique questions. The test split has 10,961 samples covering 1,000 unique questions. The difference between sample counts and question counts matters because the candidates for each question are classified individually. A question contributes several opportunities to label an incorrect entity correctly or incorrectly, and it can contribute several positive candidates as well.

The dataset gives each question at least 6 and at most 20 options. The authors use a question about Stephen King books that have yet to be made into movies to illustrate the upper end of the candidate range. In the training split, 3,425 questions have a single correct answer and 110 have more than one. The typical question is therefore compatible with the appendix prompts’ single-choice instruction. The split also contains genuine exceptions to that instruction. This is a feature of the benchmark and a reason to read the system’s aggregate recall alongside its precision.

Precision measures how often a candidate selected as correct really is correct. Recall measures how many of the candidates labeled correct the system picks out. F1 combines precision and recall and gives a system reason to do well on both. It is the primary metric for the competition. Accuracy counts correct decisions over all candidates, including correct rejections. With several candidates per question and usually a single correct answer, accuracy can remain high even when the system misses a substantial share of the positive candidates. The reported accuracy and F1 values therefore answer different questions about the same predictions.

There are two kinds of comparison in the results. The first uses Llama 3 without added context as a reference and changes its access to descriptions, graph prose, and web results. Each context choice is evaluated at both scales. The second puts the uncertainty-based ensemble alongside a ChatGPT-based baseline and the best private-test result. The latter is a reference for the strongest reported system in that setting. The paper gives its scores without a method comparison that could isolate which design choices produced them.

#### Added evidence at each scale

The individual-run results use D for Wikidata candidate descriptions, G for the graph rendered into text, and W for search results from DuckDuckGo. The chart compares the reported F1 scores for every combination the authors evaluate. Each graph or web condition includes descriptions. The plain Llama 3 runs serve as the unaugmented references. The star identifies the strongest individual configuration in the comparison.

Individual Llama 3 runs on the TextGraphs shared-task evaluation by F1 Web results with descriptions give the strongest individual result at either scale, and the larger scale leads in every matched setting.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Llama 3 8B without augmentation | 48.22 |
| Llama 3 8B with descriptions | 50.84 |
| Llama 3 8B with graph and descriptions | 42.04 |
| Llama 3 8B with web and descriptions | 59.60 |
| Llama 3 8B with graph, web and descriptions | 42.03 |
| Llama 3 70B without augmentation | 74.10 |
| Llama 3 70B with descriptions | 76.47 |
| Llama 3 70B with graph and descriptions | 74.89 |
| Llama 3 70B with web and descriptions (this paper) | 80.99 |
| Llama 3 70B with graph, web and descriptions | 78.45 |

Descriptions improve over the unaugmented reference at each scale. For Llama 3 8B, the description condition reports precision of 51.77, recall of 49.95, F1 of 50.84, and accuracy of 90.98 on the shared-task evaluation. The unaugmented run has precision of 48.85, recall of 47.61, F1 of 48.22, and accuracy of 90.46. The corresponding 70B comparison also favors descriptions on all four measures. Precision moves from 74.80 without augmentation to 77.19 with descriptions, and recall moves from 73.41 to 75.76. Accuracy is 95.21 without augmentation and 95.65 with descriptions.

Web results with descriptions give the strongest individual run at each size. At 8B, this condition has precision of 60.38 and recall of 58.84, with F1 of 59.60 and accuracy of 92.55. At 70B, it reaches precision of 82.05, recall of 79.96, F1 of 80.99, and accuracy of 96.50. Precision and recall both improve over their respective description-only comparisons. This matters for interpreting the F1 gain. It indicates a better balance of selecting correct candidates and recovering the positive labels, with improvement visible in both underlying metrics.

The graph-and-description condition behaves differently at the two scales relative to their unaugmented references. At 8B, graph prose with descriptions gives F1 of 42.04, compared with 48.22 without augmentation. At 70B, the equivalent comparison is 74.89 against 74.10. The graph-and-description scores are below the description-only scores at both sizes. The 70B setup with graph and descriptions records precision of 75.60 and recall of 74.19. Its accuracy is 95.36. Those figures place it between the unaugmented run and the run that has descriptions alone on the reported metrics.

Presenting web, graph, and descriptions together also underperforms the web-and-description prompt at either size. The 70B version of the full prompt scores 78.45 F1 with precision of 79.52 and recall of 77.42. Its accuracy is 96.03. The 8B version scores 42.03 F1, with precision of 42.54, recall of 41.54, and accuracy of 89.30. Its score is close to that of the 8B run with only the graph and descriptions as external evidence. The fact that the web condition does well by itself alongside descriptions is insufficient to predict how it will do when graph prose enters the same prompt.

The size comparison is consistent across contexts. The 70B run has higher precision, recall, F1, and accuracy than the 8B run in every matched condition. Even the best 8B configuration, with web results and descriptions, has lower F1 than the unaugmented 70B run. The authors discuss knowledge acquired during training and stronger reasoning as possible contributors. Both could help a system choose among candidates while interpreting the same supplied content. The experiment compares the two Llama 3 sizes as they are used in the pipeline, leaving those explanations unresolved.

#### Confidence-based selection

The ensemble comparisons keep the set of Llama 3 70B evidence variants and vary the rule used to choose among them. The question-level decision is whether to trust the run that assigns the most probability to its favorite option or the run whose favorite leads its runner-up by the largest amount. The paper compares both selectors with the ChatGPT-based baseline and with the highest-scoring private-test entry.

Ensemble and benchmark comparisons on the TextGraphs shared-task evaluation by F1 The margin selector leads JellyBell’s alternatives and the ChatGPT baseline, while the best private-test result remains higher.

**The numbers**

| System or setting | F1 |
| --- | --- |
| ChatGPT-based baseline | 66.67 |
| JellyBell with maximum probability | 82.96 |
| JellyBell with probability margin (this paper) | 83.35 |
| Best private-test result | 85.90 |

The maximum-probability ensemble reports precision of 83.83, recall of 82.11, F1 of 82.96, and accuracy of 96.85. With the probability margin, the shared-task scores are precision of 84.23, recall of 82.50, F1 of 83.35, and accuracy of 96.92. Both selectors exceed the strongest individual run, whose F1 is 80.99. The margin leads maximum probability across the reported metrics. That pattern supports using information about the runner-up in this setup, while the size of the advantage is best judged from the reported scores themselves.

The ChatGPT-based baseline has precision of 58.11 and recall of 78.18, with F1 of 66.67 and accuracy of 92.73. The margin ensemble exceeds it on both components of F1. The precision figures show a particularly visible separation, while the baseline’s recall lies closer to the ensemble’s. The best private-test result has precision of 86.67, recall of 85.14, F1 of 85.90, and accuracy of 97.39. It stays ahead of the margin ensemble on all four measures. The paper reports aggregate scores for those reference systems, which are enough to position JellyBell on the task but give little detail about the types of examples on which their choices differ.

The authors describe the submission as reaching second place in the post-evaluation phase in the abstract. The conclusion describes the score as comparable to second place in that phase. The numerical comparison places JellyBell above the named baseline and below the best private-test result. Its clearest experimental contribution is the comparison within the system. The same family of evidence conditions that produces 80.99 F1 in the best individual run can be used through separate predictions to produce 83.35 F1 with the margin rule.

### What the ablations show

#### Adding a source can change which evidence wins

The paper compares context configurations and answer selectors, and it supplements those comparisons with probes of Wikidata knowledge and an analysis by entity popularity. The source comparisons resemble ablations because they add or remove evidence while retaining the same candidate options and answerer scale. Their strongest conclusions concern specific changes to a prompt. Graph prose added to descriptions is one such change. Adding graph prose when web material and descriptions are both present is another. These comparisons have a clearer interpretation than trying to infer a general ranking of the sources from all scores at once.

Comparing descriptions against the unaugmented reference shows that candidate-level Wikidata information is helpful at both sizes. The paper’s Bob Dylan example explains a plausible benefit. When two graph entities share a label, their descriptions give a reader a way to tell them apart in context. Other questions may benefit because a description indicates the sort of object a candidate denotes or supplies a fact relevant to the question. The aggregate comparison captures all of those changes together. The paper does not isolate how much comes from names being disambiguated, from facts in descriptions, or from differences in how the candidates are written in the prompt.

Web results evaluated on top of descriptions improve on descriptions alone at both scales. This supports a narrower claim than saying that web information is always helpful. When the question itself is the search query, the retrieved material can expose facts about the relation the reader is asking for. In the book example, a source could give information about the author and what happened next. The total evaluation indicates that the web material often helps the selection process under this prompt design. The paper does not identify which individual facts from search are responsible for the gains.

The graph comparisons show the value of naming the condition precisely. Adding textualized paths to descriptions lowers F1 at both sizes. At 70B the score still sits above the unaugmented result, while at 8B it falls below that reference. Adding the same kind of graph context to a prompt with web results and descriptions also lowers F1 at both sizes. The authors suggest that presenting more varied information together can confuse the answerer. The comparison is consistent with that interpretation. It does not isolate whether the difficulty lies in the amount of text, relevance of the paths, their phrasing, or the interaction of graph prose with the other material.

The matrix also leaves some combinations untested. Both web and graph additions are evaluated with candidate descriptions already present. The study therefore shows what they contribute in prompts constructed around those descriptions. It offers no individual score for running search alone or graph prose alone without the candidate-description condition. This matters because a description can help the system interpret an external passage or constrain which entity the passage is about. The observed effect of adding a source belongs to the specific mix in which it was tested.

#### A source can be useful without leading on average

The ensemble compares different ways to put the source conditions to work. In the joint prompt, the system must decide which of the presented details matter before it can choose an answer. When the contexts are supplied to separate runs, each run can form a preference on the evidence it sees, and the system makes a second decision about which run to follow. The difference changes where the conflict among sources is resolved. An ambiguous path cannot distract the web run if it is only seen by the graph run. If the graph run has a particularly strong preference, it still has a route to determine the answer.

The authors report where the ensemble’s final choices came from under the two confidence rules. About 10% of predictions are drawn from the graph-enhanced run, about 44% from the web-enhanced run, and about 46% from the description run. The margin selector uses slightly fewer web-enhanced predictions than the maximum-probability selector. These are proportions of selected predictions by source condition. They show that the best individual condition, web with descriptions, supplies only part of the ensemble’s output. They also show that the graph condition has a role in the final decisions even though the graph scores poorly as an addition to a single combined prompt.

The selection shares have a different interpretation from scores by source. A graph run may be selected on a question where the other runs would have returned the same answer. In that case the predicted label is unaffected by choosing the graph run. It can also be selected on a question where it disagrees with the others and is wrong. The fact that a source is used says how the confidence rule distributes responsibility among runs. To establish how much that source adds to ensemble accuracy, a comparison omitting the source from the ensemble would be needed. The reported scores compare confidence rules over the source variants and compare their combined results with individual runs.

The probability margin leads maximum probability in this comparison. Both rules use the confidence information of the same set of runs. Their difference is that the margin discounts a high first-choice probability when the runner-up is also strongly supported. The result supplies evidence that this distinction can improve the final selection. It leaves open why particular changes help. A switch could choose better evidence, favor a prompt that makes an already known fact easier to use, or reflect how different prompts shape the reported probabilities. The aggregate gain does not resolve those possibilities for individual questions.

#### Popularity and the balance of correct answers

The popularity analysis asks whether the effect of a source varies with how familiar the relevant entity is likely to be. The authors use monthly views of its corresponding Wiki page during the first half of 2023 as a popularity measure. They assess popularity on the training set and compare entities below the median with entities at or above it. Page views describe public attention to an entity. They provide an observable way of dividing the examples without requiring a judgment about how familiar a particular answerer finds them.

For Llama 3 70B with Wikidata descriptions, the paper reports approximately 37% for entities below the popularity median and 63% for entities at or above it in its account of correct classifications. With web context added to the descriptions, the corresponding reported figures are around 45% and 55%. The figures show a shift in the reported breakdown toward less popular entities when web context is available. The paper does not make the denominator sufficiently clear to turn this comparison into a precise estimate of accuracy within each popularity group. The same reporting also leaves open how often a particular correct answer becomes incorrect after search material is added.

The authors interpret the pattern as evidence that retrieval is especially helpful for lesser-known entities and can be misleading on questions about popular ones. There are plausible routes to both effects. If the descriptions leave a less familiar entity hard to place, a search result may provide details needed to connect it to the question. For a well-known entity, search could surface abundant mentions that address a different aspect of the subject, or the additional text could draw attention away from a relationship the answerer could already identify. Those explanations fit the question the authors ask. They remain distinct from a direct measurement of how often misleading passages cause errors.

The popularity comparison also helps distinguish between performance averaged across the dataset and the composition of successes. A configuration that is strongest overall can still handle a different mix of cases well, and a source can be worthwhile even if it worsens some answers. If the selection method works as intended, the strong web condition will supply answers when it resolves the question, while the other contexts can win where they produce clearer decisions. The paper reports the aggregate ensemble improvement and the source shares, but it does not break those selection gains down by popularity group.

#### What the Wikidata probes establish

Before comparing the source conditions, the authors ask Llama 3 70B to perform two small probes of entity knowledge. One prompt direction asks it to produce a Wikidata identifier for an entity. The other asks it to name an entity from its identifier. These probes concern specific associations to Wikidata records, separate from the candidate-classification benchmark. Giving the answerer a candidate name, an identifier, and a description in a shared-task prompt is a much richer input than asking it to interpret an identifier on its own.

The authors report that producing an entity from an identifier often goes wrong. For familiar examples like Barack Obama, World War II, and Washington, D., they report a greater number of successful associations.C., and Italy. This offers qualitative evidence that Llama 3 70B can sometimes reproduce the mapping between an entity and its identifier. The examples also explain the appeal of supplying descriptions. If an identifier is obscure or its association is unreliable, wording about the candidate can give the system another way to ground its choice.

The authors also ask whether Wikidata was included in pretraining and report that Llama 3 answers affirmatively. That response is itself a generated prediction. It cannot verify which material was used for training or where an association was acquired. The behavioral probe supports a claim about what the system sometimes reproduces when prompted. Its response about pretraining adds no independent evidence about the origins of that behavior.

### Limitations

#### Limits the authors identify

The authors explicitly leave the system’s capacity to handle several correct answers unexamined. The issue follows directly from the prompts. They tell the answerer to return one option, while the benchmark includes questions with several positive candidates. The system can get one of those entities right and still fail to recover the full answer. Aggregate candidate metrics include the consequences of missed positives, but the paper gives no separate results for questions with several correct candidates. The reported F1 therefore leaves their behavior unresolved as a group.

The authors also call for a comprehensive error analysis. Their comparison of evidence sources and examples suggests several places where errors can arise. Search material may relate to the subject without answering the question. A graph path may be relevant without being decisive. A description may identify an entity without providing the relationship being asked about. The paper illustrates why these difficulties matter, but it does not count how often each type of problem occurs or follow the errors all the way through the ensemble’s decision.

The proposed future comparisons include other answerers at different scales, other ways of integrating external knowledge, and a comparison between open and proprietary systems. The study covers two sizes within Llama 3 for the main source comparisons, with the ensemble based on 70B. It includes a ChatGPT-based baseline, which gives context for the scores on the task. That comparison gives the authors a reference point and leaves the broader comparison they propose open. A difference between the baseline and JellyBell could involve the answerer, the evidence it receives, its prompts, or the selection method.

#### Limits of the shared-task setup

The benchmark provides candidates and connecting paths. This is a strength for studying source integration because it makes comparable evidence available across evaluations. It also limits the end-to-end claim. An operational system starting from just a question would need a procedure to identify referenced entities, generate likely answers, and obtain useful supporting paths. If the correct entity were absent from its list, none of JellyBell’s selectors could recover it through a better choice among that list. The reported results measure what can be achieved once candidate finding and path extraction have been taken care of.

The supplied paths offer a particular slice of Wikidata. A shortest path connects entities efficiently in graph terms, but that property does not guarantee that the path expresses the relation a question asks about. A question about the order of works may require a specific relation even when each candidate shares several short and valid connections with the subject. With the supplied paths available, the experiment assesses performance. It cannot tell how an alternative path selection process might change the value of the graph source.

The paper’s graph results apply to paths after conversion into prose. No separate comparison evaluates the original structured paths and the rewritten versions under otherwise matched conditions. Nor is there a measured check of which relationships survive the rewrite faithfully. These omissions make it difficult to assign the graph condition’s lower scores to a single cause. The graph may contain largely indirect information for some questions, the conversion may leave useful details implicit, or the answerer may place too much weight on a fluent yet irrelevant sentence. Each would lead to a different account of why the source underperforms in the combined prompt.

Search also serves as a particular source under a particular query procedure. The whole question is sent to DuckDuckGo, and the returned material is passed to the answerer as context. The comparison demonstrates the effect of this procedure on the shared task. It offers no controlled comparison of other query formulations or of search passages selected for their direct support for an answer. As a consequence, the gain has the scope of the presented search setup. It cannot establish what performance would follow from a different retrieval procedure, even if the benchmark and candidates stayed the same.

#### Limits of the explanations for success

A larger probability margin is the ensemble’s evidence of a more decisive preference. For it to work reliably across contexts, the sizes of the gaps must be informative when compared between prompts. The paper shows that this comparison improves observed performance in its setting. It does not test how closely scores of a given size correspond to the actual chance of being correct, either within a source condition or across them. A run can become more confident because context resolves the question or because it draws attention to a plausible but misleading option. The margin cannot tell those cases apart on its own.

That distinction matters when interpreting the source statistics. The graph variant supplying a share of chosen predictions establishes that it can earn high confidence under the selector. It leaves unanswered how many questions it answers that the other variants would miss. Similarly, the web run winning fewer decisions under the margin rule leaves open whether those changes involve cases where the web evidence was misleading, cases where it was ambiguous, or cases of agreement where the source attribution changes without changing the answer. The overall comparisons identify the better-performing selection rule in this experiment. They do not make the individual routing choices explainable.

The popularity measure and Wikidata probe are also indirect. Wiki page views provide a dividing line based on attention during the period the authors specify. They do not show firsthand what facts are available to Llama 3, what information its training included, or how it arrived at any answer. The examples of identifier recognition show that particular mappings can be produced, while the popularity comparison records a change in the profile of reported successes. Neither diagnoses a particular failure as missing knowledge or as trouble using a relevant fact already available to the system.

Finally, the comparisons are reported as point scores. The paper does not report variation across repeated evaluations or give uncertainty intervals for the metric differences. That leaves the stability of close comparisons unmeasured, including the advantage of one ensemble selector over the other. The reported evidence is clearest about how the tested configurations rank in this evaluation and how the source effects vary across the tested scales. Claims about individual causes, calibration, or performance on questions with different input requirements remain open.

### What came after

[Unconditional Truthfulness](https://md.research.elamur.ai/free/en/papers/vazhentsev-2025-unconditional-truthfulness-learning-unconditional-uncertainty/) cites JellyBell and addresses unconditional uncertainty. The point of contact is the use of uncertainty in connection with factual answers. JellyBell estimates it for a specific decision: given a question, a fixed list of candidate entities, and several evidence conditions, which run has the strongest preference for its answer? The later work frames its subject as learning unconditional uncertainty. The citation establishes a connection between the papers, while the record of that connection leaves open whether the later work adopts, tests, or extends JellyBell’s probability-margin rule.

## Cite

Cite as Julia Belikova, Evegeniy Beliakin and Vasily Konovalov. 2024. JellyBell at TextGraphs-17 Shared Task: Fusing Large Language Models with External Knowledge for Enhanced Question Answering. Proceedings of TextGraphs-17: Graph-based Methods for Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{belikova2024jellybell,
  title = {{JellyBell at TextGraphs-17 Shared Task: Fusing Large Language Models with External Knowledge for Enhanced Question Answering}},
  author = {Julia Belikova, Evegeniy Beliakin and Vasily Konovalov},
  booktitle = {Proceedings of TextGraphs-17: Graph-based Methods for Natural Language Processing},
  year = {2024},
  url = {https://aclanthology.org/2024.textgraphs-1.15/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
