Trusting Your Evidence: Hallucinate Less with Context-aware Decoding
Paper · 2024 · Weijia Shi, Xiaochuang Han, Mike Lewis et al.
Summary
A passage can contain the answer to a question and still have surprisingly little effect on the reply. The paper illustrates this with a question about Argentina’s World Cup wins. The accompanying text includes the win in 2022, but ordinary generation gives the count associated with an earlier record. The same kind of problem appears in text summarization, where a fluent account can introduce details that its source never supplies. Both tasks ask the system to use information available at the moment of writing. A language model also brings expectations acquired during pretraining, and those expectations can compete with the material it has just read.
The authors intervene at the point where the system chooses its next token, a unit of text such as a word or part of one. Their method, context-aware decoding (CAD), asks the same predictor to score possible continuations under separate conditions. One includes the evidence, and the other leaves it out. Both keep the task and the response written so far. CAD uses the full-input scores as its starting point and gives extra weight to continuations that the evidence makes more likely. This is a use of pointwise mutual information, which here measures how much the evidence changes the probability of a particular continuation. The form of the adjustment also resembles classifier-free diffusion guidance. The system’s learned parameters stay fixed.
The authors test CAD on prompted systems from the OPT, GPT-Neo, LLaMA and FLAN-T5 families. On CNN-DM and XSUM, every tested configuration improves on all the reported measures of summary quality and factual consistency. For instance, the CNN-DM results table gives LLaMA-30B a factKB score of 76.8 with regular decoding and 87.8 with CAD. The changes are particularly noticeable when familiar information conflicts with the current input. On NQ-Swap, where a supporting document has been edited to supply a different answer, the same system goes from 9.6 to 37.7 on Exact Match. The main exception is original Natural Questions, where both FLAN-T5 configurations score slightly lower with CAD.
These experiments concern faithfulness to the material supplied for a task. They suggest a role for CAD in retrieval-augmented generation, where external documents can provide information that the underlying system lacks or has learned in an outdated form. The method needs access to raw next-token scores, and the most effective strength of the adjustment can vary with the task and the system. Its evidence comes from settings in which the passage or instruction is designated as the authority for the answer.
Deep dive: Trusting Your Evidence: Hallucinate Less with Context-aware Decoding
Context-aware decoding helps language models follow supplied evidence by comparing what they would write with and without it. · about 33 minutes to read
The problem and its context
Why supplying evidence can be insufficient
The paper distinguishes between information represented in a system’s learned parameters and information that reaches it through its current input. Call the former prior knowledge and the latter contextual knowledge. The word prior refers here to what the system brings to the prompt from pretraining. It can show up as a familiar fact, a common association or an expectation about how an expression ends. Contextual knowledge is available because the user or an application has supplied a particular passage or instruction. The distinction matters because next-token prediction can draw on both sources at once.
Consider what a reader does with a question and an accompanying passage. The question identifies the detail to look for. The passage sets the basis on which to answer. A reader may recognize the question and already have an answer in mind, then revise it after seeing the passage. The paper asks whether a pretrained predictor makes a comparable adjustment when generating text. A question that looks familiar can elicit a strong answer even before the document is added. Once the document is present, the old answer can remain sufficiently probable to win. The predictor can be sensitive to the document and still stop short of changing its choice.
That possibility is important for question answering because a plausible response and a response warranted by a particular passage are different evaluation targets. In the Argentina example, the supplied list includes wins in 1978, 1986 and 2022. A response based on the earlier part of that record may sound perfectly natural. Its weakness becomes visible when the answer is checked against the entire list. The authors use the example to illustrate the possibility that pretraining has left a system with a record that lags behind the evidence. The experiment does not need to identify exactly where that association was acquired to test whether a new decoding rule changes the response.
The concern in summarization is broader than a known fact going out of date. An article may report a death without giving the person’s age, or describe an event without pinning down when during the day it happened. A generated summary has room to include those details, and the phrasing may sound natural with them in place. Faithfulness asks whether the article supports what the summary asserts, including details that may look incidental. An unsupported claim can fail that test even if someone could eventually verify it elsewhere. Conversely, a detail licensed by the article can be appropriate even if it was unexpected before the article was read.
Earlier work identified this issue in abstractive summarization, where the system can restate and combine material in its own language. The paper places its work alongside studies of factuality and the evaluation of different kinds of summary errors. That background helps explain why getting the topic right is an incomplete measure of success. A brief account can mention the right person and event while changing a detail that matters to the report. The authors take this concern from earlier studies of faithfulness in abstractive summarization and the FRANK benchmark.
The interventions that came before
The related work covers several ways to make summaries more faithful. Some approaches extract factual relations from the document and use them to direct the summarizer’s attention. Others train a summarizer against a measure of factual consistency, learn to correct factual errors after generation, or try to remove noisy material from the training data. These interventions act at different places. A fact representation changes what the system has available as it works. A training objective changes which behavior is rewarded. A post-editor works on text that has already been produced. In the paper’s account, the need for additional training makes these approaches a poor fit for the prompting settings it targets, where a system is asked to perform a task with no demonstrations or with only a few.
Another line of work intervenes during generation. The authors mention methods that constrain beam search, a procedure that keeps several partial continuations in play as it builds a response. A search constraint affects which continuations may survive. CAD likewise acts during generation, but its intervention is a change in the scores used to compare continuations. That distinction explains why the authors can combine their adjustment with the selection procedure already used for a particular task. The score adjustment and the choice of how to turn scores into text are separate parts of the setup.
The paper also situates the problem in systems that retrieve material from outside the predictor. A document can supply new knowledge at inference time, when the system is already trained and is being used to answer a request. This creates a way to update the evidence for an answer by changing what the system reads. Earlier conflict studies, as described by the authors, found that adding a relevant document could leave a prediction largely unchanged. Accordingly, the act of fetching a document and the act of deferring to it are distinct. CAD addresses the latter. The authors discuss retrieval-based systems including REPLUG in this context.
Earlier research had also tried to elicit more context-faithful responses through the wording of the prompt. The authors describe the relevant prompting approach as having a narrower range of application, centered on large instruction-finetuned systems such as text-davinci-003. Changing a prompt asks the system to follow an instruction in a different way. Changing the decoding rule alters how the system’s own predictions enter the final choice. This was an appealing route for the authors because their question includes ordinary pretrained systems that have not received instruction fine-tuning. CAD’s applicability turns on access to their scores during generation.
Why contrast the predictions
The idea of contrasting two sets of predictions already had several uses. DExperts reduces the influence of an anti-expert, a predictor associated with an unwanted attribute. Earlier contrastive decoding pushes against the predictions of an amateur system to draw out capabilities of a stronger one. In those examples, the contrast gets its meaning from the different predictors. With CAD, the predictor is the same in both conditions. The difference is whether particular evidence is present, so the contrast is designed to show what that evidence contributes.
The paper identifies even closer antecedents in coherence boosting and CPMI. These methods compare predictions from fuller and reduced contexts to make longer-range information more influential. In dialogue, a related mutual-information objective had been used to improve the variety of replies. The appendix also describes pointwise mutual information as a tool for comparing existing answer choices, including in zero-shot multiple-choice evaluation and commonsense knowledge extraction. The shared intuition is that a candidate’s ordinary likelihood can hide what a particular input contributes to it.
The distinctive emphasis of this paper is the case where that contribution can change which information a response reports. If the document confirms a familiar answer, the document and prior expectations can point in the same direction. A disagreement creates a sharper test. The familiar answer has a head start in the prediction made without the document. The authors ask whether the answer favored by the supplied evidence can gain enough weight to displace it. Their choice establishes a practical meaning for stronger context use: the output follows the evidence when the system could otherwise give a familiar, fluent response that conflicts with it.
The method, step by step
Hold the question and the unfinished answer fixed
An autoregressive generator writes by repeatedly choosing the next token, appending it to the text already written, and then predicting again. A token can be a whole word, part of a word or another unit in the system’s vocabulary. At each step, the predictor assigns scores to the candidates in that vocabulary. A decoding procedure uses those scores to choose what to append. CAD changes the scores used at that point. It can therefore change the beginning of an answer, and that beginning can in turn change what it is natural to write later.
Start by deciding what information the task requires the system to follow. For a news summary, that is the article. The summarization request and the cue to begin the summary form the query. The full input combines the article and the query. The reduced input keeps the query while omitting the article. The summary prefix, if generation has already begun, is the same in both cases. The point of the reduced input is to find out which continuations the same system would already favor from the remaining material.
For document-based question answering, the document serves as the evidence and the question remains in both conditions. MemoTrap uses the same logic with a different division of the prompt. Its instruction asks for a particular final word, while the continuation begins from a familiar proverb. The instruction is the part CAD is meant to emphasize. The proverb stem alone can strongly suggest its customary ending. Comparing it with the stem accompanied by the instruction shows which candidates become more attractive when the requested ending is made known.
At each generation step, the predictor scores the same vocabulary for both inputs. Suppose the familiar answer is already likely with the reduced input. A high score with the full input can then reflect, in part, a preference that was present all along. Another candidate might still trail the familiar answer under ordinary decoding while gaining much more from the evidence. CAD treats this gain as a reason to move that candidate up. It retains the full-input prediction as the starting point, so the comparison also takes account of how plausible a continuation is in the complete prompt.
Once the selection procedure chooses a token, CAD appends that same token to the response history used for both predictions. There are no separate answers being generated and reconciled at the end. If a name takes several tokens to write, the contrast for a later part of the name is made given the part already selected. This shared history is essential to the comparison. Changing the history in only one branch would make it hard to tell whether a score difference came from the evidence or from the different answer already under way.
Selecting each token with context-aware decoding
The steps in order.
The ordinary probability and the context adjustment
The paper denotes ordinary prediction with the full input as follows.
yₜ ∼ pθ(yₜ ∣ c, x, y<ₜ) ∝ exp(logitθ(yₜ ∣ c, x, y<ₜ))
Here t is the current generation step, yₜ is the token at that step, and y<ₜ is the sequence of tokens already generated before it. The subscript θ identifies the fixed predictor and its learned parameters. The query is x and the evidence is c. The vertical bar means “conditioned on,” and the commas list the information available to the predictor. The symbol ∼ reads as “drawn from,” with pθ denoting the ordinary prediction distribution. The term logitθ is a raw score for a candidate, and exp is the exponential function that turns this score into a positive weight. The proportionality sign ∝ means that the weights give the probabilities after normalization across candidates.
The same predictor can also score the next token given the query and the existing response alone. This reduced-input distribution is the article’s operational counterpart to prior knowledge. It can reflect expectations learned during pretraining, but it is still conditioned on the question or task cue and on anything the system has written so far. If an earlier generated token was already influenced by the evidence, both branches get to see it. What the comparison removes at the current step is the designated evidence in the input.
The authors weight the ordinary distribution using a probability ratio.
p̃θ(yₜ ∣ c, x, y<ₜ) ∝ pθ(yₜ ∣ c, x, y<ₜ) · [pθ(yₜ ∣ c, x, y<ₜ) / pθ(yₜ ∣ x, y<ₜ)]ᵅ
The tilde in p̃θ identifies the adjusted distribution. The first pθ on the right is the ordinary candidate probability with the evidence present. Inside the square brackets, the slash divides that same probability by the candidate probability with the evidence omitted. The dot means multiplication, and the superscript ᵅ raises the ratio to the power α, a setting that controls the strength of the adjustment. The remaining notation is unchanged: θ identifies the predictor, yₜ is the candidate, c is the evidence, x is the query, y<ₜ is the answer so far, and the vertical bar lists the conditions under which a probability is assessed. The adjusted weights are proportional to the output probabilities and must still be normalized.
The logarithm of the bracketed ratio is the conditional pointwise mutual information that motivates CAD. Pointwise means that the quantity concerns a particular pair of events, here the presence of this context and the prediction of this particular token. Conditional means that the query and the generated history are held fixed. A positive value means the candidate became more probable when the evidence was added. A negative value means it became less probable. The exponent in the probability expression determines how strongly this comparison influences the ordinary distribution. This is the sense in which the paper describes the adjustment as a product of experts: the ordinary prediction and a factor based on the contrast both enter the weight assigned to a candidate.
The multiplication is important. A candidate can gain substantially in relative terms and still have poor support in the full prompt. The ordinary probability remains a factor in its weight. Conversely, a candidate may have a strong full-input probability and receive little extra support from the contrast if it was already likely without the evidence. This gives a precise meaning to the claim that CAD emphasizes the context. It measures how the predictor’s belief about each candidate changes when the selected part of the input is present. It does not match words in the candidate against words in the source.
The form used during generation
The preceding expression can be written using only the raw logits and a final normalization.
yₜ ∼ softmax[(1 + α) · logitθ(yₜ ∣ c, x, y<ₜ) − α · logitθ(yₜ ∣ x, y<ₜ)]
The symbol yₜ again denotes the next token, and ∼ says that the expression gives the distribution from which it can be selected. The function softmax exponentiates the adjusted score for each vocabulary item and divides by the sum of those weights. The full-input logit is multiplied by 1 + α, where 1 retains the ordinary contribution and α adds strength to the contextual contrast. The minus sign subtracts α times the reduced-input logit. The dots denote multiplication. In each logit expression, θ names the fixed predictor, c is the evidence, x is the query, and y<ₜ is the shared generated history. The notation after the vertical bar gives the input to that score.
To see why the two forms agree, consider what happens when the probability expression is taken into log space. The probability ratio becomes a difference between log probabilities. Each of those log probabilities consists of a raw logit and a normalization term shared by every candidate in that branch. Combining branches leaves a term from their normalizers that is still common to every candidate. The final softmax is unaffected by adding or removing a common offset. What remains is the full-input logit plus an adjustment proportional to the difference between the full-input and reduced-input logits.
This is an extrapolation from the full-input prediction in the direction indicated by adding the evidence. Mixing the distributions by averaging would give some weight to the prediction made without the passage. CAD starts at the prediction with the passage and uses the reduced prediction to establish the direction in which to move. When α = 0, the extrapolation disappears and the full-input softmax is the regular distribution. Increasing α makes the direction of the contrast count more towards the final choice.
The paper notes a separate case where the adjustment leaves the prediction unchanged.
pθ(yₜ ∣ c, x, y<ₜ) = pθ(yₜ ∣ x, y<ₜ)
The equality here expresses conditional independence of the next-token prediction from the evidence when this relation holds across the candidate tokens. The function pθ is the ordinary next-token distribution for the predictor with parameters θ. The token is yₜ, the evidence is c, the query is x, and the shared history is y<ₜ. The vertical bar indicates what is held fixed on each side. In this case the ratio in the adjustment is identical for every candidate, so even a non-zero α leaves the distribution intact. This also shows what the method relies on: the predictor must already register some effect of the evidence for the contrast to amplify it.
A parallel in image generation helps clarify the algebra. In the notation the paper uses for classifier-free diffusion guidance, the corresponding expression is:
(1 + α) · ϵθ(x, c) − α · ϵθ(x)
Here ϵθ is the noise prediction made by a diffusion system with parameters θ. The variable x is its diffusion input and c is the control supplied to guide the image, so x in this equation has a different role from the text query above. The expression gives the guided noise prediction. The coefficient 1 + α strengthens the conditional prediction, the dots signify multiplication, and the minus sign subtracts the unconditioned prediction scaled by α. The shared pattern is to strengthen the effect of a conditioning signal by comparing predictions made with and without it. In CAD, the quantities affected by that comparison are the scores for candidate text tokens.
From adjusted scores to a complete response
The final choice can use any selection procedure suitable for a next-token distribution. In the conflict experiments, the authors use greedy decoding, which chooses the highest-scoring token at each step. In the summarization experiments, they use top-p sampling with p=0.9. Also called nucleus sampling, this method sorts candidates by probability, retains the smallest leading set that reaches the probability threshold, and samples from that set. The threshold governs how far into the ranked list the sampler looks. The contrast strength governs the distribution from which that list is constructed. The two settings therefore affect different parts of generation. The paper follows The Curious Case of Neural Text Degeneration for the latter sampling strategy.
Each baseline uses the same kind of selection as its CAD counterpart. In a greedy comparison, changing the scores can change which token ranks first. In a nucleus-sampling comparison, the adjustment can change the probabilities of candidates that were already eligible and can also move candidates across the boundary of the retained set. The comparison is about how selection behaves when its input scores are adjusted. An individual sampled response can vary, which makes the benchmark scores more informative than a single displayed summary.
The authors set α = 0.5 for summarization and α = 1 for the conflict-task experiments, including the original NQ comparison. These are decoding settings applied to already trained systems. There is no extra training corpus for CAD, no learned answer verifier, and no change in the learned parameters. The data procedure is to take the task inputs, identify the material to retain or omit in each branch, and generate by prompting. The authors release the implementation as context-aware-decoding.
Experiments and results
News summarization
The summarization evaluation uses CNN-DM and XSUM. In this setting, the article is the source whose contribution should be amplified. The paper’s example for XSUM presents a news article and asks for a sentence that summarizes it. The complete input allows the predictor to use the reported details. The reduced input preserves the summarization cue. This contrast gives CAD a way to distinguish a continuation that is compatible with a general request for a summary from one that the particular article makes more likely.
The authors report three metrics. ROUGE-L measures how closely the generated summary overlaps with a reference through an in-order subsequence. It serves as the summary quality measure in the paper. FactKB and BERT-Precision, the latter reported as BERT-P in the result table, are used as measures of factual consistency. They address a complementary question. A summary may use much the same words as a reference while making a factual mistake, and an accurate paraphrase may use different words. The paper points to prior evidence that its chosen factuality measures correlate well with human judgments on summarization data and compares their standing with metrics such as FACTCC and SUMMAC.
The evaluation covers pretrained OPT, GPT-Neo and LLaMA systems and instruction-finetuned FLAN-T5. The tested OPT configurations are 13B and 30B, and the GPT-Neo configurations are 3B and 20B. LLaMA is represented by 13B and 30B. The FLAN entries labeled 3B and 11B are FLAN-T5 XL and FLAN-T5 XXL, respectively. Those distinctions matter because the comparison asks whether the change works across different predictors and training histories. Regular and CAD decoding are compared within a configuration, using top-p sampling with p=0.9 in both conditions and the same CAD adjustment setting across configurations.
Regular decoding and CAD on CNN-DM ROUGE-L
CAD raises reference-summary overlap across the configurations shown.
The numbers
| System or setting | ROUGE-L |
|---|---|
| OPT 30B regular | 22.2 |
| OPT 30B CAD (this paper) | 28.4 |
| GPT-Neo 20B regular | 18.7 |
| GPT-Neo 20B CAD | 24.5 |
| LLaMA 30B regular | 25.8 |
| LLaMA 30B CAD | 31.8 |
| FLAN-T5 11B regular | 25.4 |
| FLAN-T5 11B CAD | 27.1 |
Every configuration improves on every reported summarization metric on both datasets. The CNN-DM ROUGE-L chart shows that the direction of change is shared across families, even though the baseline scores and gains vary. The factual consistency columns for CNN-DM show the same direction. With OPT 13B, regular decoding scores 77.8 on factKB and 86.5 on BERT-P. CAD gives 84.1 and 90.8 on those measures. With GPT-Neo 20B, CNN-DM factKB goes from 68.3 to 77.5, and BERT-P goes from 85.2 to 89.4. The adjustment helps the factuality metrics even in configurations where a different family starts from a higher score.
The CNN-DM row for LLaMA-30B gives 76.8 with regular decoding and 87.8 with CAD on factKB. Its BERT-P scores are 88.5 and 92.2. The paper’s prose highlights increases of 21% in ROUGE-L, 14.3% in factKB and 7.8% in BERT-P for this configuration. The comparative scores shown here come directly from the table. The prose percentages and tabulated pairs should be read as separate reported figures, since the prose does not reconcile all of its percentage claims with the displayed scores. The paired scores establish the direction of the change on each measure.
Regular decoding and CAD on XSUM factKB
The adjustment improves measured factual consistency across the configurations shown.
The numbers
| System or setting | factKB |
|---|---|
| OPT 13B regular | 47.2 |
| OPT 13B CAD (this paper) | 64.9 |
| GPT-Neo 20B regular | 42.2 |
| GPT-Neo 20B CAD | 63.3 |
| LLaMA 13B regular | 53.5 |
| LLaMA 13B CAD | 73.4 |
| FLAN-T5 11B regular | 29.8 |
| FLAN-T5 11B CAD | 35.0 |
On XSUM, the comparisons also improve on ROUGE-L and BERT-P. For LLaMA-30B, XSUM ROUGE-L is 18.7 under regular decoding and 22.0 with CAD, and BERT-P is 87.1 and 90.3. For FLAN-T5 XL, XSUM ROUGE-L rises from 18.8 to 19.5 and BERT-P from 88.2 to 88.8. These smaller movements still go in the same direction as the larger changes elsewhere in the table. The result is meaningful as a paired comparison within a dataset and configuration. Absolute numbers on factKB and BERT-P measure different things, and absolute scores on separate datasets also come from different sets of source articles.
The agreement across the three metrics supports a more specific conclusion than improvement on reference overlap alone. Within these benchmarks, using the contrast can improve both how closely a summary resembles its reference and how consistent it appears with the source according to the designated factuality measures. The measurements leave room for errors in individual summaries. Their value here is that the observed direction is shared across metrics chosen to capture different aspects of the output.
Questions with revised evidence and instructions with unfamiliar endings
The knowledge-conflict experiments make the expected behavior easier to tell apart from a familiar response. NQ-Swap starts with questions from Natural Questions. Its creators select questions whose answers are named entities, find their supporting documents, and replace the answer entity in the document with a randomly chosen entity. The question is then paired with the revised document. The evaluation expects the replacement entity. Someone answering from an association with the original question can therefore give an answer that resembles the familiar one and still miss the target defined by the current document.
The authors also evaluate original NQ, where the supporting document and answer have not been changed in this way. This provides an ordinary document-based QA comparison alongside NQ-Swap. It helps show whether strengthening the evidence remains helpful when the benchmark is not designed to place the document in conflict with the familiar answer. The task still calls for using the document, but prior expectations can often be compatible with it.
MemoTrap removes the need for a news document or a named-entity substitution. It presents the beginning of a familiar proverb and asks for an unconventional ending. In the paper’s example, the opening normally leads to never, while the instruction calls for early. Completing the proverb in the ordinary way reveals the strength of the memorized pattern. Producing the requested word shows that the system can follow a local requirement even when the remaining text points strongly towards a customary completion. The reduced-input and complete-input predictions are useful here precisely because they distinguish the proverb stem from the instruction about how to finish it.
The metric for all these comparisons is Exact Match, abbreviated EM. A response earns credit when it matches the designated answer under the benchmark’s scoring rule. This is direct for tasks that target a specific entity or final word. It does not reward a response merely for discussing the right document or staying on topic. Both regular decoding and CAD use greedy selection for these experiments. CAD uses α = 1, so the contrast has greater weight than in the main summarization comparisons.
Regular decoding and CAD on NQ-Swap Exact Match
CAD improves agreement with the replacement answers across the configurations shown.
The numbers
| System or setting | Exact Match |
|---|---|
| OPT 13B regular | 18.8 |
| OPT 13B CAD (this paper) | 36.9 |
| GPT-Neo 20B regular | 16.1 |
| GPT-Neo 20B CAD | 36.8 |
| LLaMA 30B regular | 9.6 |
| LLaMA 30B CAD | 37.7 |
| FLAN-T5 11B regular | 73.0 |
| FLAN-T5 11B CAD | 77.1 |
All configurations in the table improve on NQ-Swap. A system with a high baseline can still gain, as the FLAN-T5 comparison shows. A lower starting score can leave more room for a large change while the resulting score remains below the best absolute performance in the table. LLaMA-30B illustrates that distinction. The paper characterizes its gain on the conflict QA task as 2.9x in the narrative, while the NQ-Swap EM entries are 9.6 and 37.7. The narrative description does not specify how to reconcile that characterization with the table, so the explicit paired scores are the better basis for reading the result.
MemoTrap also improves in every configuration. GPT-Neo 20B goes from 37.1 to 57.3 EM, and the authors report a 54.4% improvement for that comparison. For the same system on NQ-Swap, the paper reports a 128% improvement. LLaMA 13B goes from 23.8 to 57.1 EM on MemoTrap. FLAN-T5 XXL, which starts higher, goes from 82.0 to 88.7. The examples and the pairwise results support the same interpretation: raising the influence of the explicit instruction can help the generator depart from a customary completion.
Original NQ shows where that pattern no longer holds across all families. OPT 30B rises from 29.4 to 35.5 EM, and GPT-Neo 20B rises from 22.8 to 32.1. Both FLAN-T5 configurations lose some ground. FLAN-T5 XL goes from 81.8 to 80.3, and FLAN-T5 XXL goes from 85.5 to 82.5. The authors suggest that instruction fine-tuning on material that included NQ could account for the declines. A system that had already learned to do well on the original task may have less to gain from a shift towards the document. The paper observes the performance difference and offers this explanation without isolating the effect of that training exposure.
The benchmark designs make the common direction on the conflict tasks more informative than another collection of ordinary QA scores would be. NQ-Swap asks for a different entity because the evidence has been altered. MemoTrap asks for a different word because the instruction says so. Improved accuracy in both cases means the method is useful when the desired response runs against a familiar continuation. It also distinguishes following the current input from improving accuracy on questions as they would normally be posed.
What the ablations show
Varying the strength of the contrast
The most direct control is regular decoding, which corresponds to α = 0 while keeping the full prompt. In the main experiments, the baseline can already use the entire article, question or instruction. CAD changes how its effect enters the prediction. In the adjustment analysis, the authors vary α and report that α = 0.5 provides consistent gains over regular decoding across the datasets examined in that comparison. This indicates that the method can matter even with a moderate change to the scores.
A modest adjustment preserves more of the original distribution. It can still matter when a familiar continuation and a context-supported continuation are close enough for their order to change. Raising the setting further makes a larger contextual response more influential. The authors found a higher setting effective for the conflict tasks and use α = 1 in those headline comparisons. The evidence supports a useful setting across the conditions tested in the sweep while leaving open the best value for any specific predictor and task. It also allows for the possibility that stronger adjustment can become counterproductive where the ordinary prediction is already well aligned with the document.
The sweep gives evidence about the weight of the contrast as a whole. It compares output quality as a scoring parameter changes. It does not independently vary the contribution of the full-input branch and that of the reduced-input branch, because the rule ties those coefficients together. Likewise, the main baseline comparison establishes the effect of applying the complete CAD rule under the stated settings. Claims about which particular part of the rule is essential would require a different comparison.
Comparing sizes within OPT
The size analysis focuses on OPT so that the comparison stays within one family. It spans configurations labeled 125M, 350M, 1.3B, 2.7B, 6.7B, 13B and 30B. The authors examine the performance of regular decoding and CAD across these sizes on CNN-DM, MemoTrap and NQ-Swap. The question is how the gap between decoding procedures behaves as size changes, in addition to what happens to the systems’ absolute scores.
On CNN-DM, the authors describe the CAD gain as broadly consistent across the tested sizes. Their account of MemoTrap and NQ-Swap is different: the benefit of CAD grows with size. They interpret this as evidence consistent with larger OPT systems relying more strongly on prior knowledge where the task requires them to follow conflicting input. A stronger tendency to complete a familiar pattern would give the contrast more room to help once evidence for a different continuation is introduced. The result compares behavior under the two decoding rules. It does not measure the amount of stored knowledge independently.
The size figure and the main tables answer related questions at different levels of detail. Pairwise entries for particular large configurations can show uneven changes, while the authors describe a trend across the extended OPT range. The trend should be read at the level of that analysis. It does not imply that every move to a larger configuration produces a larger gain, or that the same relationship has been established for GPT-Neo, LLaMA and FLAN-T5. On CNN-DM, the relative stability of the gain supports a narrower conclusion: the usefulness of the adjustment there was not confined to the largest system.
Reading the qualitative comparisons
The appendix pairs actual outputs from regular and CAD decoding. In the XSUM example, the article describes the death of an actor known for Glenroe and Ballykissangel. The ordinary summary asserts an age and adds specificity about the time of death that the article does not support. The CAD output instead names the acting work and describes the death using details supported by the source. Differences like these explain why better overlap with a reference is only part of the paper’s account. Removing an unwarranted detail can make a summary more faithful even when the general topic was already right.
The MemoTrap example allows a more direct comparison because the disagreement concerns the ending itself. Ordinary decoding supplies never, which fits the familiar proverb. CAD supplies early, as requested in the instruction. The words before that decision can remain in place. In the summarization example, several pieces of information must be selected and phrased. In the proverb example, a short decisive change is enough to show that the system has given the instruction priority.
These examples illustrate how the aggregate improvements can appear in actual output. They do not estimate how often a specific error, such as adding an unsupported age, is corrected. Together with the adjustment and size comparisons, they provide behavioral evidence that the scoring rule changes what information reaches the answer. The paper’s explanation concerns the relative influence of the inputs on predictions. Its analyses do not trace the effect to an internal attention mechanism or identify which learned parameters encode the competing association.
Limitations
Limits the authors state
The authors make access to logits an explicit condition of applicability. The operation requires comparable next-token scores for the full and reduced inputs, at every step and for the same prefix. An interface that returns only generated text does not expose the quantities needed to apply the rule. The authors name ChatGPT and GPT-4 as examples of API-based systems for which direct use can be infeasible when logits are unavailable. The claim concerns what those interfaces expose in the paper’s account. It is a practical boundary on a method that otherwise leaves training unchanged.
The authors also emphasize that the contrast strength is a hyper-parameter. A setting of α = 0.5 is supported by the sweep as a robust choice in the tested conditions, but the best value may vary with the system and the task. They suggest using a small set of representative examples from the application domain, when available, to select the strength as one would select another decoding parameter, such as top-p or temperature. The paper does not propose a procedure that infers the best strength automatically for each response or changes it when evidence becomes more or less relevant during generation.
That caveat has a concrete consequence for reading the experiments. The main comparisons use a shared value within each task grouping, so a score reflects the tested setting rather than a separate search for the best value for every system. Original NQ shows a case where the common setting can hurt rather than help. The authors’ explanation points to FLAN-T5’s instruction-tuning exposure to NQ, while the observed difference also leaves open whether another adjustment strength would behave differently there. The reported design does not distinguish these possibilities.
Limits of what the experiments establish
The evidence is designated by the benchmark. On NQ-Swap, a replaced entity is correct for scoring because the modified document supplies it. The experiment demonstrates the ability to follow that document despite the competing answer implicit in the original task. Verifying whether the replacement is true in the world lies outside the setup. The same distinction applies to a document that is untrustworthy in ordinary use. CAD gives additional weight to predictions made more likely by the designated context. Its equation contains no source-verification stage. Success on an intentionally edited passage establishes one prerequisite for using evidence effectively, namely the ability to give it precedence.
The task input is also easier to delimit than it can be in a retrieval application. The experiments identify the article, supporting passage or instruction that should be emphasized. A question-answering system can instead receive several passages, including passages that are irrelevant or disagree. Contrasting all of them with a reduced input would reveal their joint effect on predictions. It would not identify which passage is dependable or which statement has the strongest support. The benchmarks test the use of supplied material under a designated division between query and context. They leave open how best to construct that division when inputs mix evidence, background and distractions.
There is a limit even when the evidence is well chosen. The method depends on some difference appearing in the predictor’s scores once the evidence is included. The conditional-independence case makes this explicit. If the distributions agree, the adjustment has nothing to amplify. More broadly, a rise in probability can reflect any feature of the context that influences the candidate. The contrast does not distinguish a relevant factual implication from a topical cue, a name that happens to recur, or a pattern in the writing. Judging whether a candidate follows from the source requires more than knowing that the source increased its probability.
The formula operates on tokens, while factual fidelity is frequently a property of a full claim. Through the shared prefix, a decision made early becomes part of the input to later decisions. The predictor can successively favor choices that are locally plausible, with the assembled sentence still making an unsupported statement. The paper measures the resulting texts and gives examples of factual improvements. It does not establish a guarantee that every emitted statement is supported, and its score comparisons cannot locate which generation step created or prevented a particular factual error.
The evaluation itself sets further bounds. ROUGE-L is a reference-overlap measure. FactKB and BERT-P are automatic factuality measures motivated by prior comparisons with human judgment. The paper reports their aggregate scores and selected examples, without a new human audit of the summaries that would show which types of mistakes remained. Exact Match is well suited to checking a designated entity or word, but it offers little detail about the quality of a longer explanation. These measures fit the paper’s chosen tasks. They leave broader questions about document-grounded answers with several claims unresolved.
Finally, keeping the parameters fixed removes the need to train a new system, but each adjusted decision still needs two predictions. The paper does not quantify latency, memory use or throughput in a deployment. Those properties could depend on the predictor, the lengths of the full and reduced inputs, and how the pair of evaluations is implemented. The paper establishes that the score adjustment works with existing predictors and decoding procedures under its evaluation conditions. It gives no measured basis for comparing the operational cost against methods that change the prompt, edit a finished response or use a different search procedure.
What came after
Contrasts over layers and signals from attention
The citing literature includes work dated before the paper’s 2024 proceedings appearance, so the links describe connections among research directions as well as subsequent work. The titles identify what each study addresses. They give less basis for saying whether a study uses the CAD equation, tests it as a baseline, or cites it when framing the problem. Those distinctions matter because research can share the idea of modifying generation while drawing on a different source of evidence.
DoLa moves the contrast to layers of the predictor and uses it to address factuality. The axis of comparison is what distinguishes the two approaches. CAD asks how the output scores change when part of the input is removed and keeps the predictor fixed across the two conditions. DoLa’s stated comparison is between layers. The connection is a shared use of differences in predictions to guide decoding. An internal contrast and a contrast over inputs can give information about different things, even when both are meant to correct factual errors at generation time.
Lookback Lens uses attention maps to detect and mitigate contextual hallucinations. Its stated goal includes identifying when an output is losing its connection to the input. CAD applies a contrastive adjustment at each selection step using the output scores. Attention maps are a different source of information about the ongoing generation. The two papers therefore approach the same concern from different points in the computation, one from differences in output predictions and the other from attention signals associated with those predictions.
Improving Contextual Faithfulness via Retrieval Heads-Induced Optimization puts retrieval heads at the center of an optimization approach to contextual faithfulness. Its named lever is a part of the predictor’s attention computation. CAD’s benchmark analysis can show that a response changes when the evidence is made more influential, without resolving which internal components carry the effect. Work organized around retrieval heads takes that internal question as a starting point. The connection concerns where evidence use can be improved, and the title identifies a distinct mechanism for doing so.
SelfElicit focuses on locating relevant evidence using knowledge already available within the predictor. This is a complementary problem to the one CAD solves. In the CAD experiments, the comparison starts after the evidence has been identified as a passage or an instruction. A method concerned with locating relevant evidence works on that earlier decision. The contrast is then easier to interpret when the material under consideration has a clear relationship to the answer being sought.
When retrieval produces a conflict
Knowledge Conflicts for LLMs surveys the broader problem that motivates the NQ-Swap and MemoTrap comparisons. The conceptual connection is the disagreement between information accessible through the current input and expectations already present in prediction. CAD specifies which side to favor by using the contextual signal as the basis for the contrast. A survey of conflicts addresses the broader set of conditions under which different sources disagree. This locates CAD within a literature whose problem extends beyond any particular choice of decoder or task.
Tug-of-War between Knowledge examines and addresses conflicts in retrieval-augmented systems. Its subject is close to the application for which the paper motivates CAD. Once a document has been retrieved, the system must still determine how much influence it should have over an answer. CAD isolates that stage by testing a stronger response to a known piece of context. Work on conflicts in retrieval-augmented systems treats the disagreement as part of the larger setting in which retrieved and prior knowledge enter together.
FaithfulRAG describes its approach in terms of conflicts at the level of individual facts. That granularity differs from CAD’s token-level adjustment over a designated portion of the input. A retrieved passage can contain several claims, some compatible with prior knowledge and some in tension with it. Fact-level conflict modeling puts those individual disagreements at the center of the problem. CAD treats the change to each candidate score as the operative signal. The two formulations make different aspects of an evidence conflict explicit.
Parenting addresses knowledge selection in retrieval-augmented generation through parameter decoupling and tailored tuning. Its stated goal brings the act of choosing knowledge into focus. CAD takes an already selected context and uses a scoring rule to make its influence more visible in the output. The papers thus illustrate distinct intervention points in a retrieval-based system. Knowledge selection affects which material can shape the answer. The decoding contrast affects how strongly selected material shapes prediction at a particular step.
Which source the task asks the system to follow
Task Matters studies how task requirements shape responses to conflicts between context and memory. That framing relates directly to the difference between the paper’s benchmark designs. Summarization asks for a faithful account of a source. MemoTrap asks for compliance with an explicit instruction that breaks a familiar pattern. NQ-Swap asks for the answer contained in a designated passage even though the original question may suggest a different entity. Each task makes contextual priority appropriate in a particular way. Research centered on task requirements makes that priority itself an object of study.
Broader surveys place the intervention in the literature on generation errors and their mitigation. A Comprehensive Survey of Hallucination Mitigation Techniques addresses the range of ways to reduce hallucinations, of which inference-time scoring is one kind. Factuality of Large Language Models situates factuality as a larger area of study. The connection matters because a method can improve correspondence with a source and leave other factual problems untouched. The categories named by those surveys accommodate both broader questions about factual accuracy and the more specific question of whether a supplied passage guides an answer.
Across these research directions, the role of the evidence differs. It can be material whose location must be identified, a collection of statements whose conflicts must be resolved, or an input whose authority depends on the task. The CAD paper establishes what a particular decoding intervention can accomplish after the task assigns that role. Its strongest comparisons involve an identifiable piece of context and a familiar response that would otherwise compete with it. That setup makes the paper’s contribution precise and explains why work on locating evidence, characterizing conflicts and interpreting task requirements can build around it.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksComputer Vision and Pattern Recognition · 3,621 works
Cite
Cite as Weijia Shi, Xiaochuang Han, Mike Lewis, Yulia Tsvetkov, Luke Zettlemoyer and Wen-tau Yih. 2024. Trusting Your Evidence: Hallucinate Less with Context-aware Decoding. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers).
@inproceedings{shi2024trusting,
title = {{Trusting Your Evidence: Hallucinate Less with Context-aware Decoding}},
author = {Weijia Shi, Xiaochuang Han, Mike Lewis, Yulia Tsvetkov, Luke Zettlemoyer and Wen-tau Yih},
booktitle = {Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers)},
year = {2024},
doi = {10.18653/v1/2024.naacl-short.69},
url = {https://doi.org/10.18653/v1/2024.naacl-short.69}
}References
- Sid Black, Gao Leo, Phil Wang, Connor Leahy, and Stella Biderman. 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow. OpenAlex ↗ · Scholar ↗
- Shuyang Cao and Lu Wang. 2021. CLIFF: Contrastive learning for improving faithfulness and factuality in abstractive summarization. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6633–6649, Online and Punta Cana, Dominican Republic. Association for Co…
- Ziqiang Cao, Furu Wei, Wenjie Li, and Sujian Li. 2018. Faithful to the original: Fact aware neural abstractive summarization. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th… OpenAlex ↗ · Scholar ↗
- Stephanie Chan, Adam Santoro, Andrew Lampinen, Jane Wang, Aaditya Singh, Pierre Richemond, James McClelland, and Felix Hill. 2022. Data distributional properties drive emergent in-context learning in transformers. In Advances in Neural Information Processing Systems, volume 35, pages 18878–18891. Cu… OpenAlex ↗ · Scholar ↗
- Hung-Ting Chen, Michael Zhang, and Eunsol Choi. 2022. Rich knowledge sources bring complex knowledge conflicts: Recalibrating models to reflect conflicting evidence. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 2292–2307, Abu Dhabi, United Arab Emi…
- Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Alex Castro-Ros, Marie Pellat, Kevin Robinson, Dasha Valter, Sharan… OpenAlex ↗ · Scholar ↗
- Joe Davison, Joshua Feldman, and Alexander Rush. 2019. Commonsense knowledge mining from pre-trained models. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1173–…
- Yue Dong, Shuohang Wang, Zhe Gan, Yu Cheng, Jackie Chi Kit Cheung, and Jingjing Liu. 2020. Multi-fact correction in abstractive text summarization. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9320–9331, Online. Association for Computationa…
- Shangbin Feng, Vidhisha Balachandran, Yuyang Bai, and Yulia Tsvetkov. 2023. FactKB: Generalizable factuality evaluation using language models enhanced with factual knowledge. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 933–952, Singapore. Associat… OpenAlex ↗ · Scholar ↗
- Methods in Natural Language Processing (EMNLP), pages 9332–9346, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Tanya Goyal and Greg Durrett. 2021. Annotating and modeling fine-grained factuality in summarization. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1449–1462, Online. Association for Computatio…
- Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural…
- Meiqi Guo, Rebecca Hwa, and Adriana Kovashka. 2023. Decoding symbolism in language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3311–3324, Toronto, Canada. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Jonathan Ho and Tim Salimans. 2022. Classifier-free diffusion guidance. ArXiv preprint, abs/2207.12598.
- Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The curious case of neural text degeneration. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
- Ari Holtzman, Peter West, Vered Shwartz, Yejin Choi, and Luke Zettlemoyer. 2021. Surface form competition: Why the highest probability answer isn’t always right. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7038–7051, Online and Punta Cana, Dominic…
- Daniel Kang and Tatsunori B. Hashimoto. 2020. Improved natural language generation via loss truncation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 718–731, Online. Association for Computational Linguistics.
- Urvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer, and Mike Lewis. 2020. Generalization through memorization: Nearest neighbor language models. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net. OpenAlex ↗ · Scholar ↗
- Philippe Laban, Tobias Schnabel, Paul N. Bennett, and Marti A. Hearst. 2022. SummaC: Re-visiting NLI-based models for inconsistency detection in summarization. Transactions of the Association for Computational Linguistics, 10:163–177. OpenAlex ↗ · Scholar ↗
- Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. 2016. A diversity-promoting objective function for neural conversation models. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pag…
- Xiang Lisa Li, Ari Holtzman, Daniel Fried, Percy Liang, Jason Eisner, Tatsunori Hashimoto, Luke Zettlemoyer, and Mike Lewis. 2023. Contrastive decoding: Open-ended text generation as optimization. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: L…
- Chin-Yew Lin. 2004. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81, Barcelona, Spain. Association for Computational Linguistics.
- Alisa Liu and Jiacheng Liu. 2023. The memotrap dataset. https://github.com/inverse-scaling/prize/blob/main/ data-release/README.md. OpenAlex ↗ · Scholar ↗
- Daniel King, Zejiang Shen, Nishant Subramani, Daniel S. Weld, Iz Beltagy, and Doug Downey. 2022. Don’t say what you don’t know: Improving the consistency of abstractive summarization by constraining beam search. In Proceedings of the 2nd Workshop on Natural Language Generation, Evaluation, and Metri… OpenAlex ↗ · Scholar ↗
- Alisa Liu, Maarten Sap, Ximing Lu, Swabha Swayamdipta, Chandra Bhagavatula, Noah A. Smith, and Yejin Choi. 2021. DExperts: Decoding-time controlled text generation with experts and anti-experts. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th I…
- Wojciech Kryscinski, Bryan McCann, Caiming Xiong, and Richard Socher. 2020. Evaluating the factual consistency of abstractive text summarization. In Proceedings of the 2020 Conference on Empirical Shayne Longpre, Kartik Perisetla, Anthony Chen, Nikhil Ramesh, Chris DuBois, and Sameer Singh. 2021. En…
- Nikolay Malkin, Zhen Wang, and Nebojsa Jojic. 2022. Coherence boosting: When your pretrained language model is not paying enough attention. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8214–8236, Dublin, Ireland. Associatio… OpenAlex ↗ · Scholar ↗
- Joshua Maynez, Shashi Narayan, Bernd Bohnet, and Ryan McDonald. 2020. On faithfulness and factuality in abstractive summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1906–1919, Online. Association for Computational Linguistics.
- Sewon Min, Weijia Shi, Mike Lewis, Xilun Chen, Wen-tau Yih, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2023. Nonparametric masked language modeling. In Findings of the Association for Computational Linguistics: ACL 2023, pages 2097–2118, Toronto, Canada. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Feng Nan, Cicero Nogueira dos Santos, Henghui Zhu, Patrick Ng, Kathleen McKeown, Ramesh Nallapati, Dejiao Zhang, Zhiguo Wang, Andrew O. Arnold, and Bing Xiang. 2021. Improving factual consistency of abstractive summarization via question answering. In Proceedings of the 59th Annual Meeting of the As…
- Shashi Narayan, Shay B. Cohen, and Mirella Lapata. 2018. Don’t give me the details, just the summary! topic-aware convolutional neural networks for extreme summarization. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1797–1807, Brussels, Belgium. As…
- Artidoro Pagnoni, Vidhisha Balachandran, and Yulia Tsvetkov. 2021. Understanding factuality in abstractive summarization with FRANK: A benchmark for factuality metrics. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Languag…
- Abigail See, Peter J. Liu, and Christopher D. Manning. 2017. Get to the point: Summarization with pointer-generator networks. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1073– 1083, Vancouver, Canada. Association for Compu… OpenAlex ↗ · Scholar ↗
- Wen tau Yih. 2024. REPLUG: Retrieval-augmented black-box language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
- Arvind Krishna Sridhar and Erik Visser. 2022. Improved beam search for hallucination mitigation in abstractive summarization. ArXiv preprint, abs/2212.02712. — arXiv:2212.02712 OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. LLaMA: Open and efficient foundation language models. ArXiv preprint, abs/2302.13971.
- Liam van der Poel, Ryan Cotterell, and Clara Meister. 2022. Mutual information alleviates hallucinations in abstractive summarization. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5956–5965, Abu Dhabi, United Arab Emirates. Association for Computat… OpenAlex ↗ · Scholar ↗
- Michihiro Yasunaga, Armen Aghajanyan, Weijia Shi, Rich James, Jure Leskovec, Percy Liang, Mike Lewis, Luke Zettlemoyer, and Wen-tau Yih. 2023. Retrieval-augmented multimodal language modeling. In International Conference on Machine Learning (ICML).
- Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. 2022. Opt: Open pre-trained transformer language models. ArXiv preprint, abs/2205.01068.
- Tianyi Zhang, Faisal Ladhak, Esin Durmus, Percy Liang, Kathleen McKeown, and Tatsunori B. Hashimoto. 2024. Benchmarking Large Language Models for News Summarization. Transactions of the Association for Computational Linguistics, 12:39–57.
- Wenxuan Zhou, Sheng Zhang, Hoifung Poon, and Muhao Chen. 2023. Context-faithful prompting for large language models. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 14544–14556, Singapore. Association for Computational Linguistics.
- Chenguang Zhu, William Hinthorn, Ruochen Xu, Qingkai Zeng, Michael Zeng, Xuedong Huang, and Meng Jiang. 2021. Enhancing factual consistency of abstractive summarization. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Langua…
- Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/shi-2024-trusting-your-evidence-hallucinate-less/