Elamur Research

CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularity

Paper · 2024 · Moshe Berchansky, Daniel Fleischer, Moshe Wasserblat et al.

Summary

A citation gives a reader somewhere to check an answer. How much work it saves depends on what it points to. A list of passages at the end of a response can leave the reader searching for the source of a particular claim. A quotation with a source number is easier to trace, provided the words actually appear in that source and address the question. CoTAR, short for Chain-of-Thought Attribution Reasoning, tests whether asking a system to identify useful evidence before it writes an answer leads to better answers and more accurate citations in question answering.

The system receives a question and a set of passages. The authors try several ways to have it prepare an answer. It can list the passages it considers relevant, write a short account of what each passage contributes, or extract the relevant wording from each source. It then writes the answer in a prescribed citation format. That format is a separate choice. An answer can cite sources collectively, attach source numbers to individual sentences, or mark exact portions of text as quotations. The experiments vary the preparation and the final format independently, so it is possible to ask whether a particular kind of preparation helps with a particular kind of citation.

On the QuoteSUM test set, GPT-4 benefited most consistently when preparing evidence at the same level of detail as a span- or sentence-cited answer. With span citations, extracting relevant wording first raised Correct Span Citation Attribution from 81.15 to 89.88. This metric checks whether a marked quotation occurs in the passage named as its source. With sentence citations, writing passage-by-passage summaries first raised the average answer quality score from 72.04 to 74.64 and the average citation quality score from 75.77 to 79.12. When citations applied to the whole answer, the run without preliminary guidance kept the best average citation score, even though some guided runs wrote answers that scored better.

The authors also fine-tuned Mistral 7B and Flan-T5 XXL. Some of their QuoteSUM results exceeded GPT-4’s, with the comparison depending on the citation format and the metric. On the MS MARCO test set, which the authors use to evaluate the smaller systems, the guidance was frequently helpful, though the strongest kind varied. The distinction that runs through the results is between finding a useful source, reproducing its wording accurately, and deciding which part of the source belongs in the answer. An improvement on one of those tasks can coexist with a loss on another.

Deep dive: CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularity

CoTAR tests whether identifying evidence before answering improves the accuracy of answers and citations at different levels of detail. · about 30 minutes to read

The problem and its context

What a citation lets a reader check

In the task CoTAR studies, the question arrives with a collection of passages. An answering system can draw from the collection to produce a single response. The reader sees that response as a piece of writing, even if the information in it came from separate sources. Attribution is the act of identifying those sources in the response. It gives the reader a way to examine the relationship between a claim and the material used to support it.

The authors are concerned with errors that can arise even when the answer comes with references. An answer can concentrate on a narrow part of the input and miss a passage that resolves an important part of the question. It can also gather too many references, including passages that discuss the right subject but offer little support for what it says. Both failures are possible with the very same set of passages. The difference lies in which material the system treats as evidence and how it connects that material to its answer.

There is also a question of scale. A reference appended to an entire answer identifies a source for the response in general. A reference appended to a sentence narrows down the claim it is meant to support. A source number attached to a quotation identifies where particular words came from. Those forms give the reader different ways to check the response. The finest form comes with a strict requirement of its own. If the answer marks a string as copied, the wording has to occur in the passage identified by its citation. A paraphrase can serve perfectly well in a sentence-cited answer, where the reader is checking the support for a claim.

The paper uses span for a contiguous stretch of text. A span can be a name, a phrase, or a longer sequence of words. In a span-cited answer, the portions marked as quotations can sit inside prose written to connect them. This is the sense in which an answer can be semi-extractive. Some of its language comes directly from sources and some is composed for the response. A reader gets both a coherent answer and a local record of where selected wording came from.

The specification of those boundaries matters. If a named person or object occurs in a source, copying the name can establish its spelling and make it traceable. The words around the name may supply the relationship or event that answers the question. Choosing how much to quote is therefore part of choosing what to support. A citation that correctly points to a familiar name can still leave the central claim resting on prose around the quotation.

The practices CoTAR brings together

The paper places CoTAR among earlier attempts to make generated answers verifiable. It describes LaMDA, Evaluating Verifiability in Generative Search Engines, and Attributed Question Answering as examples of work that connects information in answers to webpages. It also points to work that ties responses to particular sections of retrieved material and discusses the extra processing involved. The common concern is whether a person can use the evidence supplied with the answer to verify what it says.

Closer attribution was already possible. Teaching language models to support answers with verified quotes connects answers with snippets from their sources. The work by Gao and colleagues assigns one or more passage references to each sentence of a generated response. CoTAR takes its sentence-level format and part of its evaluation from that work. For direct quotations, it follows Schuster and colleagues’ convention for embedding cited passages of text within an answer, and uses their QuoteSUM data to evaluate the result.

The authors also situate the paper alongside investigations of hallucination, the production of information that lacks factual support. They cite The Dawn After the Dark and Exploring the Relationship between LLM Hallucinations and Prompt Linguistic Nuances as part of the work on that problem. CoTAR looks at a setting where evidence is already available to the answering system. Its immediate concern is the selection and use of that evidence. Whether a response agrees with a reference answer and whether its cited wording can be located in a source become separate questions for the evaluation.

Another line of work asks systems to produce intermediate steps. The paper calls this chain of thought and draws on it as a way to organize reasoning before giving the answer. It also uses few-shot learning, in which examples in the prompt demonstrate the task. The two practices serve different purposes here. Demonstrations establish what a properly formatted response looks like. Attribution guidance establishes what the system should write about the new evidence before it produces that response. The authors retain demonstrations in their prompt comparisons, so the unguided condition also benefits from examples.

Among the related methods, SAIL teaches systems to produce claims based on retrieved passages while distinguishing informative material from distractions. Attribute First, then Generate also organizes grounded generation into steps and concentrates on local, sentence-level attribution. CoTAR puts evidence preparation and answer composition in a single generation call and varies the requested precision of both. The comparison it establishes is between ways of preparing evidence for that call, within each final citation format.

The method, step by step

Start with the question and decide what the reader will see

Each example consists of a question and contextual passages with identifiers. Those identifiers refer to passages within the example. The instruction specifies the form the finished answer should take. In the passage format, the identifiers apply to the response as a whole. In the sentence format, the answer places the identifiers next to the sentences they support. In the span format, it uses brackets and an identifier to mark a stretch of wording borrowed from a particular passage.

One of the paper’s illustrations concerns a Tears for Fears song. The same passage can support the identification of the band, while another supports the mention of other singles. In the passage version, the reader finds both source references together at the end. In the sentence version, the references are distributed according to which passage supports each sentence. In the span version, the name, descriptive wording, and parts of the list are marked inside the answer. The example holds the subject matter steady so that the citation convention is the visible change. It also shows that passage attribution and sentence attribution differ in where support is assigned, even though both use passage identifiers.

The final format sets the obligation for the answer. Sentence attribution requires locating evidence for a sentence as written. The cited sentence can combine information and can be expressed in the system’s own words. Span attribution makes a more local promise about the words inside the brackets. The prompt for this format encourages copying when factual material can be quoted fluently and asks the system to use the relevant sources. The finished answer can connect those quoted pieces with prose written for the question.

Prepare evidence at the requested level

In a guided run, the generated text begins with evidence preparation. The paper calls the level of detail of this preparation the chain-of-thought guidance. The guidance can be understood as an instruction about what to write down before composing the final answer. Its output is organised around the input passages and the contribution they can make to answering the question.

Passage guidance asks for a list of relevant passage identifiers. It is a document selection task within the material already supplied for the question. In the song example, the preliminary output would identify the passages bearing on the answer. When the system begins composing the response, it has a shortlist in its preceding text. It still needs to pick the particulars to use and determine where to cite them if local citations are required.

Sentence guidance asks for a written account of what a passage contributes to the question. This can condense the relevant information into a claim that is easier to use in the answer, while retaining the identity of its source. The emphasis is on what the passage supplies for this question, so the preparation can be much more selective than a general-purpose summary. In the song example, a passage summary can express the connection between the song and the band, while a separate summary records what another passage says about the singles.

Span guidance asks for the relevant strings of words, grouped by passage. In the illustration, the preparation isolates the song title and wording that identifies the band, alongside separate wording concerning the singles. This is the most literal preparation. It gives the answer composer potential quotations with their sources already attached. It still leaves a choice about which strings to include. The same passage can provide several exact strings, only some of which make the response more complete or easier to understand.

The generation proceeds from the evidence prefix to the final answer within the same call. The appendix illustrates a transition after the evidence list or summaries that tells the system to give the answer. This ordering makes the evidence available as preceding text when it starts composing. A prefix can therefore influence both the facts selected and the passage identifiers used in the finished response. How useful it is comes down to two things: the caliber of the evidence it contains and the way the answer draws on that evidence.

How CoTAR prepares and writes an attributed answer

The steps in order.

How CoTAR prepares and writes an attributed answerStep 1: Receive a question and numbered passages1. Receive a question and numbered passagesStep 2: Include demonstrations in the requested answer format2. Include demonstrations in the requested answer formatStep 3: Identify relevant evidence at the guidance level3. Identify relevant evidence at the guidance levelStep 4: Keep each selected item tied to its passage4. Keep each selected item tied to its passageStep 5: Compose the answer with the requested citations5. Compose the answer with the requested citations

Vary the preparation and the answer independently

The authors cross the preparation and citation choices. Span guidance can precede a span-cited answer, a sentence-cited answer, or an answer with a collective citation list. The same range of final formats is available with the other kinds of guidance. Each format also has a run without a generated evidence prefix. That run answers from the passages using the format demonstrated in the prompt.

This design makes a specific comparison possible. Suppose a span-cited answer improves with span guidance. That could reflect the advantage of having candidate quotations ready to copy or a more general benefit of spending some of the generation on evidence. A comparison with sentence guidance helps distinguish those possibilities. Sentence guidance also directs attention to evidence, and it expresses that evidence in a form suited to composing claims. The span and sentence preparations can thus affect different evaluation criteria even when the answer instruction stays fixed.

A crossed setting has a practical meaning as well. When span guidance precedes a sentence-cited answer, the system can draw on exact source wording but cite the resulting claim with an ordinary passage reference. When sentence guidance precedes a span-cited answer, it can use the summaries to decide what to say, then consult the original passages to find wording it can quote. That latter operation is demanding because an intermediate paraphrase may be perfectly suitable as a statement of the evidence while having no literal match in the source.

Comparisons are most direct within a final format. A span-cited answer is subject to a copying check that does not apply to the other formats. A passage-cited answer cannot assign evidence to individual sentences through its citation placement. Changing formats therefore alters both the writing task and, in some cases, the way the response is judged. Changing guidance within a format keeps the answer obligation fixed.

Show the task with examples and adapt the smaller systems

The prompt uses 4 few-shot examples. Each contains a question, passages, and an expected response in the desired citation format. The authors select examples by the similarity between their training questions and the current test question. The demonstration teaches a convention as well as a task. For a span response, it shows where to place the brackets, how to associate a passage with the copied words, and how to continue the sentence around a quotation. For sentence and passage responses, it shows the scope of the source identifiers.

In a CoTAR run, the answer is preceded by the appropriate kind of evidence prefix. The appendix gives examples that show the difference between listing passage identifiers, explaining what the passages establish, and presenting strings taken from those passages. The authors generate without sampling and set a maximum generation length of 2k tokens. That limit applies to generation, which in the guided conditions includes the preliminary evidence and the answer that follows it.

The prompted system is GPT-4, accessed through Azure OpenAI. The smaller systems are Mistral 7B and Flan-T5 XXL. Mistral is the decoder-only representative. It treats the continuation as text generated after the preceding input. Flan-T5 XXL is the encoder-decoder representative, with a separate component that encodes the input for the component that generates the response. The paper evaluates them after fine-tuning, including conditions trained to produce the relevant evidence prefixes.

The authors use LoRA for fine-tuning, adapting selected parts of each system through low-rank updates. Both configurations have LoRA rank 16, scaling parameter 32, and dropout 0.05. The sets of adapted modules differ. The decoder-only configuration includes the listed attention projections and feed-forward projections. The encoder-decoder configuration lists the query and value projections. The training schedule uses a linear learning-rate scheduler in both cases. The reported learning rates are 5e-5 for the decoder-only configuration and 2e-4 for the encoder-decoder configuration. Both run for 3 epochs with batch size 1 and bfloat16 precision. These settings describe how the smaller systems are adapted for the experimental tasks, including the formatting and evidence preparation they are expected to reproduce.

The data preparation, training, inference, and evaluation are organised with RAGFoundry. The authors make the CoTAR code available in the mosheber/cotar repository. The prompt demonstrations, the generated evidence prefix, and the fine-tuning data are distinct parts of the procedure. The first gives examples at inference, the second is the preparatory output being tested, and the third teaches the smaller systems the task before evaluation.

Make span labels where passage labels are available

QuoteSUM already provides human-written, semi-extractive answers. For MS MARCO, the authors want span supervision from examples labelled at the passage level. Their procedure looks for wording shared by the existing answer and the source passages. It adds a source marker to suitable portions of the answer, preserving the answer’s original wording. The method description singles out matches containing named entities as a way to select semantically relevant spans.

The algorithm begins with the answer and the indexed passages. It runs spaCy for named entity recognition, which identifies mentions such as names in the answer. The paper writes the extraction as follows.

NER(a)

a is the existing answer. NER is the named entity recognition operation applied to that answer. Entity information helps the preparation procedure select matches of interest. The pseudocode names the extraction step, and the prose specifies the role of entities in choosing shared strings.

The algorithm then looks for common substrings between the answer and each passage.

CS(a, pᵢ)

CS denotes the collection of common substrings. a is the answer, pᵢ is one of its possible source passages, and i is that passage’s index. A substring is contiguous. The matching procedure thus seeks answer wording that can be located as a continuous interval in a passage. For each candidate, the algorithm records both its text and the index of the passage where it occurs.

The candidates are collected across passages and ordered from longest to shortest. The paper denotes this ordered collection by SC(a), where SC is the collection after sorting and a is still the answer. Processing longer matches first gives them priority over shorter matches that cover some of the same answer text. A record tracks the status of each character position in the answer. When a candidate overlaps a part of the answer that has already been marked, the procedure skips it. When its interval is free, the procedure marks that interval with the candidate’s passage index. At the end, the marked intervals are formatted as span citations around the corresponding wording in the answer.

Consider an answer with a named entity inside a longer description that also occurs in a source. If both the name and the description are candidates, the longer interval gets considered first. Once the longer interval is marked, the shorter occurrence within it is already covered. This prevents competing annotations from being placed over the same part of the answer. The output is an answer with nonoverlapping marked spans, each linked to a passage that contains the matching wording. The method description gives the entity criterion, and the pseudocode spells out how the substring candidates compete for space in the answer.

This procedure produces a particular kind of supervision. It can mark wording the answer and a passage share, including wording surrounded by connective text. A supporting passage that expresses the fact in different words may still be valuable to a reader, while yielding fewer opportunities for this method to label it. Conversely, a shared string can earn a source index even if the rest of the passage has little bearing on the question. The test on exact copying and the measures of evidence relevance are therefore useful companions.

Evaluate the answer and its sources separately

The answer measures ask how the prediction relates to the expected answer. ROUGE-L measures textual overlap with sensitivity to word order. BERTScore measures similarity using contextual representations of the text, allowing semantically similar phrasing to receive credit. HEM is a factual consistency evaluator trained on natural language inference data. Here it supplies a separate score for whether the answer texts are factually consistent. The paper reports the individual measures and an average answer quality score. The average gives a compact comparison, while the individual scores show how that comparison was reached.

The citation measures ask several different questions. Correct Span Citation Attribution, or CSCA, checks whether a span marked as borrowed actually occurs in the passage cited for it. This applies to span citations, whose convention requires exact copying. SEM-F1 uses token-level n-gram similarity to compare cited content. DOC F1 looks at the indices of passages, comparing the passages cited in the prediction with those cited in the expected answer. Missing reference passages and adding extra passages can both hurt that measure.

ALCE F1 combines citation precision and recall from the earlier evaluation by Gao and colleagues. Precision concerns the support supplied by the citations used in the answer. Recall concerns how much of the material requiring support is covered. The paper combines the components by their harmonic mean.

ALCE F1 = (2 × P × R) ÷ (P + R)

ALCE F1 is the combined citation score, P is citation precision, and R is citation recall. The factor 2 scales the product, × is multiplication, + adds the components in the denominator, and ÷ divides the product by that sum. For a given high score on one component, a low score on the other brings down the combined result. This is why a comparison based on ALCE F1 can tell a different story from a check of exact quotations.

The paper also reports averages of the citation measures applicable to each format. Because CSCA is specific to span attribution, the span citation average includes a measure that is absent for sentence and passage attribution. The strongest interpretation of an average comparison comes from holding the citation format fixed and looking at the component scores alongside it. The test of exact copying, agreement about document identifiers, and content-based measures then help distinguish ways an answer can improve.

Experiments and results

The test sets and the comparison conditions

QuoteSUM contains human-written, semi-extractive answers to natural and generated questions. Its answers make it possible to evaluate a response that weaves quotations from passages into prose. CoTAR uses the training and test splits of the original QuoteSUM study. The GPT-4 experiment is run on the QuoteSUM test set. The paper gives detailed results there for each combination of guidance and citation format and includes both fine-tuned systems in the broader comparison on the same test set.

MS MARCO comes from Bing queries with crowdsourced responses. An example includes 10 passages that can vary in relevance to the question. The authors use 2750 examples from the constructed dataset for training and 1000 for the test set. They evaluate Mistral 7B and Flan-T5 XXL on that test set. The authors describe the MS MARCO answers as shorter and simpler than the QuoteSUM answers. The experiments also assign span labels differently, so a comparison across the datasets changes the character of both the answers and the evidence labels.

Within a test set, the main baseline is the run with no evidence prefix for the given citation format. It receives the contextual passages and produces an attributed answer directly. For GPT-4, this is a prompted comparison. For the smaller systems, the paper compares fine-tuned conditions with and without the preliminary task. GPT-4 also serves as a point of comparison for the smaller systems on QuoteSUM. A within-system comparison measures a change to the evidence-preparation condition. The cross-system comparison includes differences in both the underlying system and the way it was adapted to the task.

GPT-4 on QuoteSUM

Span guidance gives the highest overall citation score among the GPT-4 runs that must produce span citations. On the QuoteSUM test set, the average citation score is 81.87 with span guidance and 77.78 without a prefix. The gain is visible in the literal verification of quotations. CSCA is 89.88 with span guidance, compared with 81.15 for the direct answer. The same comparison also favours span guidance on semantic overlap of cited content, with SEM-F1 at 72.23 compared with 67.57, and on agreement about which passages to cite, with DOC F1 at 86.54 compared with 85.33.

GPT-4 span citation correctness on the QuoteSUM test set

Selecting exact strings before answering gives the strongest match between quotations and their cited passages.

GPT-4 span citation correctness on the QuoteSUM test setNo guidance: 81.15No guidance81.15Span guidance (this paper): 89.88Span guidance (this paper)89.88Sentence guidance: 69.69Sentence guidance69.69Passage guidance: 86.94Passage guidance86.94
The numbers
System or settingCSCA
No guidance81.15
Span guidance (this paper)89.88
Sentence guidance69.69
Passage guidance86.94

The answer metrics give a more qualified result for the same span-citation runs. Average answer quality reaches 75.85 with span guidance, compared with 75.12 without guidance. The guided run scores 92.06 on BERTScore and 68.55 on ROUGE-L, compared with 91.71 and 66.08 for the baseline. HEM scores the baseline at 67.58 and the span-guided run at 66.95. The more dependable literal citations go along with a better average answer score in this comparison, while the factual consistency evaluator prefers the baseline.

Sentence-cited answers show a broader improvement when paired with sentence guidance. All the reported answer components increase in that comparison on the QuoteSUM test set. BERTScore moves from 91.47 to 91.96, HEM from 62.48 to 64.59, and ROUGE-L from 62.18 to 67.36. The average answer score is 74.64 with sentence guidance and 72.04 without guidance. On the citation side, ALCE F1 is 86.42 compared with 82.79, and SEM-F1 is 64.44 compared with 59.20. DOC F1 is also higher, at 86.51 compared with 85.32. The guided setting reaches an average citation score of 79.12, against 75.77 for the baseline.

The outcome changes for collective citations that apply to the entire answer. On the QuoteSUM test set, GPT-4 reaches an average answer score of 73.20 with sentence guidance and 71.81 without a prefix. Its average citation score is 66.54 in that guided setting and 68.29 without a prefix. The citation components explain why the averages can move in opposite directions. Under sentence guidance, DOC F1 is 86.41, compared with 85.19 for the direct answer. At the same time, ALCE F1 is 70.63 compared with 75.38, and SEM-F1 is 42.59 compared with 44.31. Better agreement about document indices can therefore coexist with lower scores for cited content and support.

GPT-4 passage citation quality on the QuoteSUM test set

The direct answer keeps the strongest citation average when references apply to the whole response.

GPT-4 passage citation quality on the QuoteSUM test setNo guidance: 68.29No guidance68.29Span guidance: 67.06Span guidance67.06Sentence guidance: 66.54Sentence guidance66.54Passage guidance (this paper): 67.68Passage guidance (this paper)67.68
The numbers
System or settingAverage citation quality
No guidance68.29
Span guidance67.06
Sentence guidance66.54
Passage guidance (this paper)67.68

Passage guidance is marked in the chart as the strongest CoTAR setting for that particular comparison. The unguided baseline has the higher score. This result helps locate the benefit reported for GPT-4. The case for using an intermediate evidence response is strongest for citations that have to be placed precisely inside the answer. For a citation list that applies collectively, the findings favour the baseline on the citation average, even though some of the guided answers have higher answer scores.

How the fine-tuned systems performed on QuoteSUM

For Flan-T5 XXL, the highest QuoteSUM span-format average answer score is 78.49 with passage guidance. The same configuration has the highest average citation score for that system and format, at 85.64. The corresponding no-guidance averages are 76.58 and 84.71. GPT-4 with span guidance reaches 75.85 on the answer average and 81.87 on the citation average in that same final format. The comparisons show how a smaller system, after training for the task, can lead on both averages while preferring a different intermediate preparation.

In the sentence format, Flan-T5 XXL with sentence guidance has an average answer score of 78.20 and a citation average of 79.72 on the QuoteSUM test set. The corresponding no-guidance scores for Flan-T5 XXL are 73.83 and 71.40. GPT-4 with sentence guidance scores 74.64 and 79.12. The individual citation scores clarify the comparison. GPT-4 reaches an ALCE F1 of 86.42, while Flan-T5 XXL reaches 85.38. Flan-T5 XXL leads on DOC F1 and SEM-F1, with 87.03 and 66.77 against 86.51 and 64.44. Thus the systems can place in different orders depending on which aspect of attribution is measured.

Mistral 7B’s QuoteSUM span-format results show a different pattern. Span guidance raises average answer quality from 74.19 to 76.23 and literal attribution correctness from 94.97 to 96.17. It also raises SEM-F1 from 65.27 to 72.19 and DOC F1 from 84.69 to 85.87. ALCE F1, however, is 74.60 for span guidance and 86.95 for the baseline. The average citation score consequently favours the baseline, at 82.97 compared with 82.21. The improvement in exact copying is useful information about the method even in a setting where the mean citation result favours direct answering.

The sentence- and passage-format results also depend on what is being scored. With sentence citations, Mistral 7B reaches its best average answer quality of 75.60 under sentence guidance. Passage guidance gives its best average citation quality for that format, at 73.55. With passage citations, passage guidance gives its best average answer score, 75.84. The no-guidance run gives its best average citation score, 66.44. On QuoteSUM, a reader choosing a configuration for this system would draw a different conclusion from the answer average than from the citation average.

How the fine-tuned systems performed on MS MARCO

On the MS MARCO test set, adding evidence preparation improves the average citation score for Mistral 7B in every final format in the reported comparisons. For span citations, the baseline citation average is 68.36. Span guidance gives the best average, 74.75. A component of this improvement is ALCE F1, which is 80.61 without guidance and 93.41 with span guidance. The span-guided setting also produces a CSCA of 96.47, compared with 94.51 for the baseline, and a DOC F1 of 65.30, compared with 59.86. The answer average shows a different preference within the span format. Sentence guidance leads at 70.99, while span guidance reaches 70.76 and the direct baseline reaches 69.56.

Mistral 7B span citation quality on the MS MARCO test set

Span guidance gives the strongest citation average, with passage guidance close behind.

Mistral 7B span citation quality on the MS MARCO test setNo guidance: 68.36No guidance68.36Span guidance (this paper): 74.75Span guidance (this paper)74.75Sentence guidance: 72.40Sentence guidance72.40Passage guidance: 74.41Passage guidance74.41
The numbers
System or settingAverage citation quality
No guidance68.36
Span guidance (this paper)74.75
Sentence guidance72.40
Passage guidance74.41

Mistral 7B achieves its best average citation quality for MS MARCO sentence citations with passage guidance, at 69.19, compared with 66.09 without guidance. For passage citations, the same kind of preparation produces an average citation score of 69.06, compared with 66.03 without guidance. The average answer score for the passage format is also highest with passage guidance, at 71.64, compared with 70.22 for the baseline. This gives a case where identifying relevant documents as a preparatory step helps even when the final citation format is itself at document level.

Flan-T5 XXL on MS MARCO gets its strongest span-format answer average with sentence guidance, at 71.26, compared with 70.39 without guidance. Span guidance yields its best citation average for that format, at 74.72, compared with 74.34 without guidance. With sentence citations, passage guidance produces an average answer score of 72.69 and an average citation score of 69.01. The baseline in that format gives 71.46 and 67.68. With passage citations, passage guidance reaches 72.55 for answer quality and 70.03 for citation quality, compared with no-guidance scores of 72.42 and 68.48. In that last setting, improvements in citation quality accompany only a small change in average answer quality.

These test results support the paper’s claim that task-specific fine-tuning and evidence preparation can produce competitive attributed answers. The comparisons with GPT-4 refer to QuoteSUM. The MS MARCO results show how each smaller system responds to the guidance conditions on a different dataset. They also show why the paper reports both answer and citation measures. Discovering material that helps write the response, assigning a reference to the resulting claim, and reproducing exact source text are related parts of the task with distinguishable outcomes.

What the ablations show

Changing the preparation while the answer format stays fixed

The main controlled analysis is the comparison of no guidance, passage guidance, sentence guidance, and span guidance for each answer format. In the GPT-4 experiments, these comparisons keep the citation task and test set fixed as they change the kind of evidence the system is asked to generate before answering. In the smaller-system comparisons, the corresponding training target also changes with the guidance condition. The reported results show which combination works empirically, and the component measures give some evidence for why.

For GPT-4 span answers on QuoteSUM, the comparison between span guidance and sentence guidance is particularly revealing. Sentence guidance gives an ALCE F1 of 84.76, the best for that answer format. It also gives a CSCA of 69.69, the weakest of the span-format settings. Span guidance produces a CSCA of 89.88 and an ALCE F1 of 78.83. The result fits the distinction between gathering evidence that supports a claim and having wording available to copy accurately. A system that has just paraphrased a passage can be well placed to decide how it bears on the answer, while still having to return to the source to assemble an exact quotation.

The strongest GPT-4 setting for sentence citations makes a different case. Sentence guidance improves the answer measures and gives the highest citation average for that format on QuoteSUM. Span guidance, however, gives the best DOC F1 for the same format, at 86.71, compared with 86.51 for sentence guidance. The close document-index results suggest that both preparations can help the system choose passages. Sentence guidance does more for the measures that concern what the final answer says and how it uses the cited content. Preparing source-associated claims is particularly compatible with an answer that assigns sources to claims sentence by sentence.

The broadest final citation format illustrates when matching levels has little force. With GPT-4 on QuoteSUM, passage guidance helps the answer only modestly on average, and the citation average remains below the unguided score. The best answer average for this format comes from sentence guidance, whose summaries can supply information for writing the answer. The authors hypothesize that an additional preparation step provides less help when the citation task is already broad. In the same comparison, DOC F1 improves under the guided conditions while the content and support measures favour the baseline. That combination suggests the guidance can aid source selection without improving how selected evidence supports the finished response.

The fine-tuned results prevent treating alignment between the guidance and final citation level as a rule. On QuoteSUM, Flan-T5 XXL with sentence guidance has an average answer score of 76.73 for passage-cited answers, compared with 73.09 under passage guidance. Its citation average in that format is also higher with sentence guidance, at 66.51 compared with 61.18. On MS MARCO, the same system has stronger average answer results with passage guidance for sentence citations, where it scores 72.69 compared with 71.65 under sentence guidance. The benefit of a preparation can depend on what kind of work is left to do after the evidence is collected. A shortlist can be enough in one setting, while passage-by-passage claims can make a more demanding answer easier to compose.

What individual answers reveal about evidence selection

The paper illustrates the difference with outputs from Mistral 7B on the QuoteSUM test set. One question asks what GPI stands for. In the direct-answer condition, the system takes expansions of the abbreviation from multiple passages and puts them together into a response. Its references include irrelevant alternatives alongside the intended medical expansion. The span-guided output isolates the relevant expression from the medical passage and uses that expression in the answer. The example is useful because the distraction looks superficially responsive. It expands the same abbreviation, but the intended sense of the question determines which source matters.

This is a different error from quoting a string that appears nowhere in the cited passage. A system can quote the wording of an irrelevant expansion faithfully. The span preparation in the example helps because it selects a sense of the abbreviation relevant to the question and reduces the material brought into the answer. A copying check would verify whether the selected strings came from their cited passages. A relevance or support measure is needed to assess whether those strings belong in the answer to this question.

The other example concerns the running time of Born on the Fourth of July. The papers’ example passages contain information about the film’s duration and about how and when material was written. The direct answer follows the writing detail, even though the question calls for a duration. The span-guided answer includes the relevant running time and also repeats distracting information about the writing. It recovers a needed fact without fully resolving the choice of what to leave out. This is a plausible way for agreement with a reference answer to improve while an evidence-quality measure continues to find weaknesses.

The examples make the different aggregate measures easier to interpret. DOC F1 can reward a response for recovering a source from the expected citation set and penalize it for adding a source outside that set. CSCA can identify an inaccurate quotation even if the system chose the expected passage. SEM-F1 can reflect a change in the cited content within those passages. The GPI example primarily illustrates the selection of the right evidence over distractors. The film example illustrates partial recovery, where the answer draws on the right evidence alongside the wrong material.

Where an explanation remains uncertain

The authors associate Mistral 7B’s differing citation results with the greater complexity of QuoteSUM and the shorter answers in MS MARCO. The ALCE F1 comparisons are consistent with a dataset-dependent effect. For its span-cited answers on QuoteSUM, the no-guidance run has a higher ALCE F1 than span guidance. For the equivalent MS MARCO comparison, span guidance has the higher ALCE F1. That reversal gives a reason to examine the form of the questions, passages, and expected answers when choosing a guidance condition.

The comparisons change other properties along with answer complexity. The MS MARCO span labels are produced using substring matches, while QuoteSUM provides semi-extractive answers written by people. The collections can also differ in how the relevant material is distributed across passages. The experiments establish the reversal under the reported conditions. They leave the contribution of each dataset property open. Similarly, the examples show that the proposed mechanism can occur in individual outputs, while the aggregate comparisons measure outcomes without identifying a unique cause for every improvement.

Limitations

Limits the authors state

The authors give two explicit restrictions on the comparisons. First, they did not run a head-to-head experiment against Slobodkin and colleagues’ Attribute First, then Generate, citing lack of access to that work’s codebase. The paper discusses the difference in design, particularly CoTAR’s use of a single generation call. The relative answer quality, citation quality, and execution cost of the two approaches remain open.

Second, GPT-4 is tested only on QuoteSUM. The abstract’s description of the experimental scope is broader than the setup given in the limitations and results. The latter place GPT-4 on QuoteSUM and the fine-tuned systems on both datasets. Any comparison in which a smaller system exceeds GPT-4 therefore concerns a particular QuoteSUM format and metric. The MS MARCO scores provide a separate test of those smaller systems and their training conditions.

The dataset choice is also deliberate and limited. The authors choose QuoteSUM and MS MARCO because of the available annotations on the answers and their passages and propose adding similar collections in future work. This supports detailed checks on answer and citation behavior within the chosen datasets. Generalization to other kinds of questions, sources, or answer annotations remains to be measured.

Limits of the evidence and evaluation

The task begins after passages have been supplied. This lets the authors study evidence selection within a collection where the system already has material to consider. It leaves open what happens when a retrieval system fails to find the relevant source, when available passages disagree, or when a set contains too little evidence to answer. It also leaves open the accuracy of the passages themselves. A fully traceable answer can reproduce a source faithfully, and the truth of the source’s assertion is a separate issue.

The citation metrics capture different properties of the evidence. An exact span match verifies the source of a string. The usefulness of that string depends on its meaning in context and its relevance to the question. DOC F1 relies on the expected citation set, so a system that cites a different passage with equivalent support can receive a lower score. Overlap with cited content depends on how the target evidence was written and how the predicted answer expresses it. ALCE F1 makes support and coverage more visible, but the combination hides which component changed unless those parts are examined on their own.

The average scores also require care. The citation average has a different set of components when the answer format changes, because exact span correctness has no direct counterpart in the other formats. Even within a fixed format, metrics can diverge. The clearest case is a citation that copies accurately and supports the wrong interpretation of the question. A useful reading of the numbers starts with the property that a metric evaluates and the condition under which it was measured, then uses the average to summarise that particular comparison.

For MS MARCO, automatically constructed span labels inherit the constraints of the matching procedure. A reference span has to come from wording shared by an answer and an input passage. The approach prioritises longer intervals and uses named entities to find appropriate candidates. Semantic support can also be expressed with different wording or be distributed across material that does not yield a common substring. The resulting labels are well suited to testing citation behavior under the paper’s construction. The experiment leaves their coverage of all valid evidence in the passages uncertain.

The comparative results for GPT-4 and the smaller systems concern different forms of adaptation. GPT-4 is prompted with examples. The smaller systems are fine-tuned for the task. This is a valid comparison of the systems as used in the experiments, and it is the basis for the paper’s claim that the smaller systems can be competitive. Separating the contribution of size, architecture, task training, prompt demonstrations, and evidence preparation would require comparisons that hold more of those factors constant.

Finally, the evidence prefix is observable text produced before the answer. An answer can reuse some of it, leave some of it behind, and still pick up other material from the input passages. The method tests the effect of inducing that preparation as part of generation. It leaves open how faithfully the prefix reflects the process that produced a particular claim. The paper also reports point scores for the evaluated configurations. The ranking on a test set can be read directly, while the reliability of small differences across other samples or choices of demonstrations remains uncertain.

What came after

Attribution, Citation, and Quotation cites CoTAR in a survey of evidence-based text generation. The connection is visible in the distinctions made by the survey’s title. In CoTAR, a system selects supporting material, indicates its source in the finished answer, and, in the span format, reproduces particular words. Those operations are separable enough to be evaluated independently. The paper offers a concrete instance in which accurate quotation, source selection, and the quality of the whole answer can move in different directions.

The later work’s documented relationship to CoTAR is a survey citation. That establishes its place in a broader discussion of evidence use in generated text. A particular extension, implementation, or replication of CoTAR’s experiments by the survey remains unestablished.

Cite

Cite as Moshe Berchansky, Daniel Fleischer, Moshe Wasserblat and Peter Izsak. 2024. CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularity. Findings of the Association for Computational Linguistics: EMNLP 2024.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.findings-emnlp.13

@inproceedings{berchansky2024cotar,
  title = {{CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularity}},
  author = {Moshe Berchansky, Daniel Fleischer, Moshe Wasserblat and Peter Izsak},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2024},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.13},
  url = {https://doi.org/10.18653/v1/2024.findings-emnlp.13}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/berchansky-2024-cotar-chain-thought-attribution-reasoning/