Elamur Research

FacTool: Factuality Detection in Generative AI — A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarios

Paper · 2023 · I-Chun Chern, Steffi Chern, Shiqi Chen et al.

Summary

A fluent answer can hide a mistake in a date, a line of arithmetic, or the attribution of a paper. Before checking the answer, someone has to decide which parts make assertions and what would count as evidence for each. FacTool takes on both jobs. It starts with the original request and the generated reply, identifies the parts that can be checked, and obtains evidence before assigning a verdict. The aim is to make this process work across the kinds of material that a person might request from the same assistant.

The authors give factuality a practical meaning for each task. An assertion in knowledge-based question answering should agree with information about the world. A program should produce the behavior its instructions call for. An arithmetic step should yield the stated result, and a citation should identify a real publication with consistent bibliographic details. FacTool extracts units that fit those definitions, prepares requests for the relevant tools, runs the requests, collects the results, and judges agreement. ChatGPT helps extract claims using definitions and examples. Depending on the task, the verifier searches Google, looks up a title in Google Scholar, runs programs on generated tests, or uses Python to recalculate an answer.

The authors build evaluation sets for all these tasks. With GPT-4 handling the prompting stages after extraction, FacTool obtains response-level F1 of 71.79 on knowledge-based answers, 92.11 on HumanEval code, 80.36 on sampled GSM-Hard problems, and 94.74 on citation-bearing scientific responses. F1 combines the precision and recall of the factuality judgments. A GPT-4 self-checker given worked examples scores lower in each comparison, with the widest separation on the citation task. The authors also use their strongest checker to audit chatbots. GPT-4 ranks first on the weighted claim measure and on complete responses in that audit. Vicuna-13B fares better on knowledge questions than on the other tasks.

The cases where FacTool fails explain how far to trust those results. A search can supply the right numbers and the verifier can still draw the wrong comparison. Generated programs can agree because they share a bug. A calculation can be right even when the answer applies the wrong rule from the problem. An existing paper can fail a title or author check. FacTool makes these judgments inspectable by giving them explicit inputs and evidence, while each verdict still depends on what was extracted and how it was checked. The authors release the implementation with an associated ChatGPT plugin interface.

Deep dive: FacTool: Factuality Detection in Generative AI — A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarios

FacTool checks generated answers, programs, calculations, and citations by extracting claims and gathering evidence with tools suited to each task. · about 36 minutes to read

The problem and its context

What a verifier receives

A person can ask the same generative assistant for background on a subject, an implementation of a function, or an explanation of how to solve a word problem. The answers arrive through the same interface. The work involved in checking them differs. A piece of background information might require looking up a date. A program has to be run on inputs that exercise its requirements. A numerical answer invites checking both how the problem was interpreted and how the arithmetic was performed. For the authors, the common interface makes it useful to have a common process for organizing verification.

That process has to start where the user starts. An ordinary reply comes with sentences, code, or other material that may contain several things worth checking. The person who asked the question may have supplied neither a list of assertions nor the sources needed to review them. As a result, the verifier has to make decisions before it can judge truth or correctness. It must find the assertions, phrase them in a way that retains their meaning, and look for information that bears on each of them. Any misunderstanding at this stage can change the question the verifier ends up answering.

Length compounds the problem. A single sentence about a publication could associate it with a year, a group of researchers, and a particular finding. Each part could have a different status. A sentence-level judgment would tell the reader little about where the error lies. Conversely, separating the sentence into shorter assertions can leave a name or pronoun without an identifiable referent. The authors call attention to both parts of granularity, the choice of a unit and the ability to extract that unit reliably. A definition of “claim” has to be specific enough to make both decisions intelligible.

The same issue arises when changing domains. Dividing a function into individual lines may destroy the relationship between an input and its eventual output. Dividing a cited title into separate phrases would make the work harder to identify. A numerical operation is often small enough to check by itself, while the reason for choosing it may depend on the entire problem. The unit of review therefore follows from what the verifier wants to establish. An isolated assertion should be meaningful enough to search for, and a code block should preserve enough behavior to be exercised.

The paper motivates this work through the cost of believable errors, particularly in settings such as healthcare, finance, and law. An answer can sound assured even when a detail would fail inspection. Locating the suspect detail gives the reader a more actionable result than a single judgment on a long reply. It also creates a potential source of detailed feedback for developers, since an error in an individual step can be attributed more precisely than failure on the response as a whole. The paper points to stepwise verification as relevant to that motivation. Let's Verify Step by Step

What earlier checking tasks assumed

The authors describe earlier factuality work by asking which pieces are already available at evaluation time. In their account of FEVER, a fine-grained assertion is already specified and Wikipedia supplies the relevant evidential setting. The verifier’s work centers on deciding what the available material establishes about that assertion. The setup gives a clear object of judgment before any comparison takes place. This is an important part of FacTool as well, though here the assertion must first be identified inside a reply. FEVER

Work on text summarization approaches the problem with a different starting point. FactCC and question-answering-based methods such as QAGS check a generated summary or its sentences against a source text. The source sets the evidential boundary. For example, a detail introduced by the summary can be judged according to whether the input document supports it. The paper also mentions WICE as evaluating evidence for facts drawn from Wikipedia sentences. These formulations focus attention on the relationship between an assertion and material already selected for the evaluation. FactCC · QAGS

RARR is closer to the open-ended setting. As the authors describe it, RARR uses prompts to formulate queries, bring back evidence, and make a factuality assessment. This precedent matters because an internet search can itself be part of the verification process. FacTool takes up that kind of evidence gathering within an architecture that also accommodates tests, calculations, and structured publication records. The common process has to work even when the result of a tool call is a program output or a bibliographic field.

The paper also places its proposal alongside approaches to particular applications. It points to retrieval-augmented generation in knowledge-intensive tasks, factual consistency checks for summaries, and evaluation by execution in programming. Each application has a source of evidence that fits its needs. The paper’s question is whether the stages of checking can be shared while preserving those domain-specific sources and rules. A verifier can ask for evidence in a different form each time and still follow the same general sequence from assertion to judgment. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks

Why tool use matters to checking

In a separate line of research, tools already helped generative systems get information or perform operations. The authors mention internet access for answering questions and supporting dialogue, calculators for computation, and systems that connect a language interface to other services. Toolformer, for instance, trained a system to interact with tools that included a calculator and a translation system. The point for FacTool is that a verifier can make a request that another system is equipped to answer. Toolformer

The authors apply this capacity after a reply has been written. The useful question for a tool changes with the obligation. A search result might supply the publication date of a discovery. A Python interpreter can show what a particular function returns. These observations have different evidential status even when each comes from a tool call. A search snippet still has to be understood in context. A program’s return value is precise for the input used, while the expected behavior has to come from somewhere else. The framework specifies what counts as evidence at the level where these distinctions matter.

This gives the paper two related meanings of factuality. The broader meaning concerns the kinds of material that can receive a check under a rule. The finer meaning concerns the resolution of the check within that material. Together they make it possible to say that a reply contains an incorrect bibliographic item, that a step contains faulty arithmetic, or that a complete program failed a behavioral test. The method turns those distinctions into different procedures with a shared organization.

The method, step by step

From the request to the verdict

The original prompt says what the user asked for. The generated response is the material under review. A claim is a unit extracted from that response according to an instruction for the task. Evidence is information used to assess the unit, such as a web snippet, a record, or the result of executing code. The original request remains especially important for programming because the reference implementations are generated in response to that request. The candidate program supplies the behavior to be inspected, and the prompt supplies the intended job.

FacTool first writes down the claim in a form that can be handled independently. Next it prepares the queries needed to investigate it. A query can be a phrase submitted to a search service, an input supplied to a function, or a Python test of an equality. The tool is then called and the relevant part of its result is collected. Finally, an agreement procedure decides whether the result supports the claim. A procedure for combining the individual decisions can produce a verdict for the whole reply where the task calls for one.

How FacTool checks a generated reply

The steps in order.

How FacTool checks a generated replyStep 1: Extract units defined for the task1. Extract units defined for the taskStep 2: Prepare requests for the appropriate tools2. Prepare requests for the appropriate toolsStep 3: Run searches or execute checks3. Run searches or execute checksStep 4: Collect snippets, records, or execution results4. Collect snippets, records, or execution resultsStep 5: Judge each claim against the collected evidence5. Judge each claim against the collected evidence

The separation between tool querying and evidence collection is concrete. Sending a web query brings back several kinds of result, from which the checker selects snippets. Running a candidate function produces an output that must stay associated with the input that produced it. In both cases, the verifier needs an observation in a form that can be compared with the claim. The stage that obtains a result and the stage that decides what it means have different jobs.

The common notation

The paper uses p for the user prompt and r for the reply. Its extraction discussion uses x for the generated text being inspected, which plays the role of the reply in the method. The target of extraction is expressed as a collection of indexed claims.

{cᵢ}ᵢ₌₁…ₙ

Here cᵢ is the claim at position i in the collection and n is the number of claims. The subscript range starts at 1 and the ellipsis runs through n. The braces enclose the collection. What an individual element contains depends on the task. In a knowledge answer it is a factual assertion, while in a programming reply it is a snippet that can be run.

Each claim then has a corresponding collection of requests.

{qᵢⱼ}ⱼ₌₁…ₘ

The symbol qᵢⱼ is query j for claim i. The index j starts at 1 and runs through m, the number of queries in the list as written. The index i keeps each request associated with the claim that motivated it. The ellipsis denotes the intervening indices. Programming uses separate lists of queries for two jobs.

{(qₜ)ᵢⱼ}ⱼ₌₁…ₘ

Here qₜ denotes the test-input type of query, with t indicating the test input. Each indexed element is a call that can exercise a function. The claim index is i, and j counts the calls from 1 to m. The braces and ellipsis describe the collection over that range.

{(qₛ)ᵢⱼ}ⱼ₌₁…ₘ

Here qₛ denotes the solution type of query, with s indicating a proposed solution. The element at index j is one of the alternative implementations associated with claim i. Again, j runs from 1 through m, and the braces collect the elements. In the execution description, the paper also uses tᵢ for a test input and sⱼ for a generated solution. In that pairing, the indices select an input and a solution to run together.

{eᵢₖ}ₖ₌₁…ₗᵢ

The symbol eᵢₖ denotes evidence item k associated with claim i. The range begins at 1 and ends at lᵢ, the number of items collected for that claim. The ellipsis covers the indices between those endpoints. Keeping the claim index on the evidence collection allows the volume of evidence to vary across claims.

Lᵢ ∈ {True, False}

Lᵢ is the label assigned to claim i. The membership sign ∈ says that the label comes from the set inside the braces. True means that the claim passes the applicable check and False means that it fails. The same labels can express agreement with a snippet, a numerical result, or a reference program output because the meaning of the check is specified by the task.

Checking a knowledge-based answer

For a long knowledge answer the authors use atomic content units, or ACUs, as a guide to extraction. An ACU expresses one fact in a compact statement. ChatGPT, identified for this role as gpt-3.5-turbo, is instructed to make each assertion clear and to stay within 15 words per claim. The prompt includes two examples from RoSE, a summarization dataset with human reference units. This is a use of few-shot learning: the instruction gives the intended format, and examples demonstrate the level of detail expected.

The prompt also asks the extractor to resolve ambiguous references. This includes coreference resolution, identifying when different expressions refer to the same thing. A pronoun that makes sense during a discussion of a particular person can make an isolated search request hard to interpret. Replacing it with the person’s name gives the search stage a usable unit. That substitution must preserve the referent for the resulting check to apply to the original reply.

The next prompt asks either ChatGPT or GPT-4 to produce two search requests for each extracted unit. These requests are meant to bring back information someone could use to verify the assertion. In information retrieval, the phrasing of a request steers the material that comes back. A query formed from a claim can direct the search towards its subject, the attribute under dispute, or the relationship between them. Its usefulness depends on whether the resulting snippets bear on the assertion as extracted.

FacTool sends these requests to the Google Search API through Serper. The response can contain answer boxes, knowledge graph results, and snippets from organic results. The verifier works with the collected snippets. It then asks ChatGPT or GPT-4 to reason through the relation between the claim and the evidence through zero-shot chain-of-thought prompting. In this usage, zero-shot means the prompt requests the reasoning without supplying worked examples for that judgment. When the verifier identifies an error, the prompt also asks for an explanation and an attempt at correction. Chain-of-Thought Prompting

This makes the reasoning job more specific. A snippet might give information about two objects and leave the comparison to the evaluator. Another might provide a quantity close to the one in the claim, raising the question of whether the difference is material. Search supplies the text for those decisions. FacTool’s prompted judgment supplies the inference that connects it to the extracted assertion.

Checking a generated program

A code block is the claim in the programming workflow. There is no attempt to assign factuality to each line independently. The program has to exhibit the behavior requested by the user, and an executable snippet lets FacTool observe that behavior on concrete inputs. The benchmark used to assess the detector has supplied tests, but the detector is designed to create its own tests for a programming request.

The checking setup creates function calls as test inputs and repeatedly answers the original programming prompt to obtain other implementations. The paper describes ChatGPT or GPT-4 as responsible for these generated queries, depending on the FacTool configuration. In the reported experiment the checker prepares 3 test inputs and 3 potential solutions. An input is a call that can be applied to the implementations. Each proposed solution is run on the same inputs so that its behavior can be compared with the behavior of the other solutions.

The outputs are grouped by input. For each input, the system takes the majority output among the proposed solutions as its provisional expected answer. It separately executes the candidate under review and compares its outputs with the provisional answers across the tests. The candidate passes when it agrees on all of them. Each input calls for its own majority decision because agreement on one call says little about the result of another call.

There are two ways for the generated material to make this check informative. An input can exercise a distinction in the specification that the candidate missed. The repeated implementations can give a reference output that exposes the candidate’s mistake on that input. If the test does exercise a relevant distinction but the reference programs handle it incorrectly, the observed difference can be misleading. If the tests bypass the distinction, even accurate references offer little evidence about it. The paper’s experiments therefore use externally supplied HumanEval tests to evaluate the resulting labels. HumanEval

Checking a mathematical solution

A math claim is an arithmetic operation on known real numbers together with the answer asserted for that operation. FacTool prompts ChatGPT to extract such pairs from a step-by-step solution. The next stage turns the arithmetic into Python that produces a truth value. A match between the evaluated expression and the stated answer should return True. A mismatch should return False.

The authors illustrate the translation with a claim about division. Its Python check rounds the quotient before comparing it with the answer. The precision argument in their illustrative call is 7. This detail shows that the executable query contains both the operation and a decision about how to compare its output with what the reply says. Python evaluates the instruction it receives. The preceding prompt still has to encode the operation and comparison appropriately.

FacTool retains the execution result for each extracted calculation. A math response passes its operational check if all of those calculations pass, and it fails if any returns False. The paper’s underlying response-level goal is broader: the solution should answer the problem correctly. The experiment can compare these two criteria because it has both judgments on the arithmetic claims and a target for the answer. Correct calculations provide a particular form of evidence about the solution, with an especially direct link to the arithmetic it displays.

Checking the identity of a cited publication

For scientific responses the extraction prompt returns the title, year, and cited author names for each work. Those fields travel together as a tuple. The title is sent to Google Scholar through the Scholarly Python package. The authors assume that a query using the title of an existing publication will place the corresponding work first. The result supplies the title, year, and author list against which the extracted tuple will be checked.

The decision uses different comparisons for names and for the other fields. FacTool compares the title and year exactly while ignoring differences in letter case. It asks ChatGPT or GPT-4 to decide whether every cited author belongs to the retrieved list. This subset test allows the extracted citation to give fewer names than appear in the record. The title, year, and author checks all have to pass for a positive verdict.

In this design the title is used twice. It is the request that brings back a candidate publication, then a field tested against that publication’s metadata. A variation in a title can affect either stage. Conversely, a correct title may bring back the right record and still leave an author attribution to be resolved. The final decision is an assessment of whether the citation fields fit a publication identity.

How the experimental material was labeled

The authors assemble task-specific evaluation material. They take human content units from RoSE as reference extractions. For FactPrompts and GSM-Hard, they use ChatGPT to extract claims, choosing it for effectiveness and cost. Where the HumanEval responses already consist of a program, each response itself is the object to be labeled. The evaluation procedure follows the claim definitions so that the detector’s judgments can be compared with labels on corresponding units.

For knowledge answers and scientific writing, the authors collectively assign factuality labels to extracted claims. A whole response is labeled factual when its claims are factual, with a single negative claim sufficient for a negative response label. Math claims are also reviewed collectively, but the reference response label comes from the target value in GSM-Hard. In the code experiment the reference label comes from running the generated program against the supplied HumanEval tests using the execution code from CodeT. Passing every test yields a factual label for the program, at both levels of measurement.

The code and math procedures locate the experimental references outside the detector’s operational checks. In programming, the evaluator has a supplied test suite while FacTool has generated inputs and outputs. In mathematics, the evaluator has a target for the whole answer while FacTool sees whether the calculations it extracted agree with their stated results. The result of each comparison depends on how closely those two views of the response line up.

How extraction similarity is calculated

For the RoSE experiment the authors measure how close automatically extracted units are to human units within the same sample. They calculate the following average separately for each similarity measure.

S = (1 / sample_cnt) × Σ_sample [(1 / n_c) × Σ(i = 1…n_c) max(j = 1…n_g) Sim(cᶜᵢ, cᵍⱼ)]

S denotes the aggregate similarity. The equals sign defines it and sample_cnt is the count of evaluated samples. Division by that count, using /, gives each sample equal weight in the outer sum Σ_sample. Inside each sample, n_c counts the machine-extracted claims and n_g counts the human reference units. The inner sum runs over the machine claims, indexed by i from 1 through n_c. The max operation considers reference indices j from 1 through n_g and returns the largest similarity for that machine claim. The ellipses denote the ranges. cᶜᵢ is the machine claim at index i, cᵍⱼ the reference claim at index j, and Sim the selected similarity measure applied to the pair. Multiplication by 1 / n_c averages the best matches within the sample. Brackets delimit the per-sample calculation.

For example, the closest human unit to a machine claim can differ depending on the similarity measure used. The calculation retains the score of the best match for whichever measure is being reported. It then repeats the process for each machine claim. The direction of comparison begins with the returned claims, a detail that matters when interpreting high similarity as evidence about the extraction process.

How the audit combines tasks

The audit combines factuality rates from the four scenarios using weights based on the number of prompts assigned to each.

W = (3/6) × AQA + (1/6) × ACode + (1/6) × AMath + (1/6) × ASci

W is weighted claim-level accuracy in the audit. AQA is claim-level factual accuracy on the knowledge questions. ACode, AMath, and ASci are the corresponding rates on the programming, mathematics, and scientific tasks. The equals sign defines the weighted result. Each slash forms a fraction, each multiplication sign applies that fraction to the corresponding rate, and the plus signs add the contributions. The weights 3/6 for knowledge questions and 1/6 for each other task encode the paper’s prompt allocation.

Knowledge answers generally give FacTool more claims to check than the other tasks. Pooling the claims before calculating a rate would give a task influence according to its number of extracted units. The authors give it influence according to the number of prompts instead. A lengthy answer can still contribute many units within a task, while the overall contribution of that task follows the stated weight.

Experiments and results

The data behind the comparisons

The experiments ask three distinct questions. The first concerns extraction: do the claims returned from a text resemble the units a human would identify? The second concerns detection: do the verifier’s labels agree with the benchmark labels? The third applies the verifier to replies from different systems and asks how frequently those replies pass. The first two evaluate parts of the measurement procedure. The last uses the procedure to evaluate generated content.

For extraction, the authors use 100 reference summaries from RoSE. Each summary serves as the text to be decomposed, and its human ACUs are the reference units. The knowledge-based detection material comes from 50 ChatGPT replies in FactPrompts. FactPrompts includes questions from sources such as Quora and TruthfulQA. In this part of the project, the object of assessment is an answer produced in response to a question, with assertions whose truth must be judged against world knowledge. TruthfulQA

In programming, ChatGPT answers processed HumanEval requests. These contain the task instructions with the input-output demonstrations removed, so the generation setup starts from the instructions alone. HumanEval supplies unit tests for its problems. Those tests provide the reference judgments for the experiment, and FacTool determines its own judgments by constructing tests from alternative implementations. A program can therefore receive different judgments from the two procedures even though both rely on actual execution.

For math, the authors sample 100 GSM-Hard questions with positive target values and have ChatGPT answer them. GSM-Hard takes problems from GSM8K and replaces quantities with larger numbers. The positive-target restriction reflects a property of some transformed word problems. The authors found that negative answers could make the described situations implausible, encouraging an answer to introduce assumptions of its own. Selecting positive targets reduces that source of variation in the reported experiment.

For citation checking, the authors create 100 prompts following Self-Instruct. The requests cover five fields: physics, medicine, law, business, and computer science. Each calls for a research-oriented or technical answer containing a relevant citation. ChatGPT produces those answers. The setup elicits bibliographic claims as part of an ordinary response, so a plausible-looking citation can be assessed in the setting where a reader would encounter it. The labels test the fields of those citations under the paper’s definition of factuality. Self-Instruct

Baselines and the meaning of a positive result

The two Self-Check baselines ask for an error judgment, an explanation, and an attempted repair without external tools. The zero-shot prompt gives the instruction without demonstrations. The 3-shot version shows examples of the checking task before asking for the verdict. Both evaluate what a prompted checker can do with the input and the information available to it internally. The precedents the authors cite include work on iterative feedback and revision. Self-Refine

The reported experiment uses gpt-3.5-turbo-0301 for ChatGPT and gpt-4-0314 for GPT-4. In the framework comparison, ChatGPT remains the extractor. Changing from the ChatGPT configuration to the GPT-4 configuration changes the prompted work in query preparation and agreement checking as applicable to each task. The search service and execution environment still perform their respective operations.

The detection metrics are accuracy, recall, precision, and F1. Accuracy is the share of assessments that agree with the reference label. Precision asks how often a verdict of factual is right. Recall asks how many items labeled factual in the benchmark receive that verdict. F1 combines precision and recall. The paper treats factual as the positive label, so a false positive is a mistaken acceptance. The same metric names apply to individual claims and to whole responses, but the units being counted are different.

In knowledge answers and citation-bearing writing, a single bad claim can change the reference label for the reply. This makes a whole-response judgment sensitive to whatever happens on an individual claim, even when most of the reply is judged correctly. The code experiment equates the program with the response, so the two levels coincide. For mathematics, the reference target at response level concerns the overall answer, and the human labels at claim level concern the arithmetic.

Extraction on RoSE

The authors compare extractions from GPT-4, ChatGPT, and Flan-T5 XXL using ROUGE-1, ROUGE-2, ROUGE-L, and BERTScore. The ROUGE variants compare shared wording at different resolutions. BERTScore compares units using contextual representations of their words. Each score is aggregated with the best-match expression, which compares a returned statement with the most similar human unit from the same summary. ROUGE

The authors describe the extracts from all the tested systems as close to the human units under these metrics. Their choice of ChatGPT for the main experiment also considers cost and response length. They report similar extraction effectiveness from ChatGPT and GPT-4, with ChatGPT cheaper to use. Flan-T5 has a 512-token context limit that they judge too restrictive for the lengthy responses in their evaluation material. The resulting choice lets them use the less costly of the comparable options for extraction while still varying the system responsible for later decisions.

Knowledge-based answers

On the FactPrompts-based evaluation, GPT-4 FacTool achieves claim-level F1 of 89.09 and ChatGPT FacTool reaches 81.25. At response level, the comparison involves both the choice of checker within FacTool and the availability of evidence relative to self-checking.

FactPrompts knowledge answers, response-level F1

The GPT-4 configuration of FacTool leads both its ChatGPT counterpart and demonstrated GPT-4 self-checking.

FactPrompts knowledge answers, response-level F1FacTool with ChatGPT: 52.63FacTool with ChatGPT52.63GPT-4 Self-Check with examples: 57.14GPT-4 Self-Check with examples57.14FacTool with GPT-4 (this paper): 71.79FacTool with GPT-4 (this paper)71.79
The numbers
System or settingF1
FacTool with ChatGPT52.63
GPT-4 Self-Check with examples57.14
FacTool with GPT-4 (this paper)71.79

Response-level precision for demonstrated GPT-4 Self-Check is 63.16. For GPT-4 FacTool it is 87.50. The latter checker is consequently more reliable when it accepts a response as factual in that comparison. The authors also report a reversal with ChatGPT: its zero-shot self-checker beats its version of FacTool on knowledge answers. That result makes the knowledge setting particularly informative about the effort required to use search evidence.

The paper illustrates cases where GPT-4 FacTool finds mistakes about events and precise statistics. Its event examples include a claim about Argentina’s record in the World Cup and a claim about the highest-priced NFT. Its statistics examples include a national obesity figure and the reported price of a digital artwork. These examples show what the checker can gain from looking up specific information. The paper examines them as cases of successful checking, alongside broader comparisons calculated over the evaluation data.

Programming

On the HumanEval-based code data, the GPT-4 version of FacTool obtains 92.11 F1. The same score applies to claims and responses, since the program is both. The demonstrated GPT-4 self-check baseline obtains response-level F1 of 85.26. The corresponding response-level precision scores are 89.74 for FacTool and 76.43 for the self-checker.

The comparison gives evidence about the usefulness of the whole test-construction procedure. The verifier can compare an actual return value with the behavior of other implementations on the same call. Its precision and F1 are measured against the labels from the supplied HumanEval tests. Those labels provide an independent comparison with the synthetic test procedure in the sense that they are derived from a separate test suite.

For HumanEval/36, the authors find that GPT-4 FacTool builds suitable alternative solutions and identifies an error that the ChatGPT configuration misses. This illustrates how stronger generated solutions can improve the reference for the execution comparison. The result on the complete dataset encompasses other factors as well, including whether inputs exercise the behavior at issue. The case account shows the mechanism for a particular example, and the aggregate scores describe how well the full procedure works on the set.

Mathematics

The GPT-4 FacTool configuration on sampled GSM-Hard obtains claim-level F1 of 98.97. The response task gives lower scores because it uses the reference answer for the problem as a whole, which is a different test of the solution. The relative performance at response level still favors the configuration that executes the arithmetic.

Sampled GSM-Hard problems, response-level F1

FacTool with GPT-4 scores higher than the demonstrated GPT-4 self-checker on whole solutions.

Sampled GSM-Hard problems, response-level F1GPT-4 Self-Check with examples: 70.59GPT-4 Self-Check with examples70.59FacTool with GPT-4 (this paper): 80.36FacTool with GPT-4 (this paper)80.36
The numbers
System or settingF1
GPT-4 Self-Check with examples70.59
FacTool with GPT-4 (this paper)80.36

Response-level precision is 69.23 for GPT-4 FacTool and 58.33 for demonstrated GPT-4 Self-Check. The authors find that both FacTool configurations can translate statements into useful arithmetic checks. In one case, the generated answer asserts that multiplying 23 by 4,319,216 gives 99,305,768. Both configurations identify the stated equality as wrong. The tool calculation lets the verifier base that decision on the expression’s execution.

The strong claim score and the lower response score describe the checker at different levels of obligation. The former asks whether an extracted operation has been evaluated correctly. The latter asks whether the entire answer meets the benchmark target. An operation can pass its local check while contributing to a solution built from an incorrect reading of the problem. The authors use a case of exactly that sort to clarify the reported math performance.

Scientific writing with citations

On the authors’ citation-bearing responses, GPT-4 FacTool achieves 95.24 claim-level F1. The GPT-4 self-checker with demonstrations scores 36.71 at the same level. The whole-response comparison is also strongly in favor of FacTool.

Scientific literature review responses, response-level F1

The configuration that retrieves publication records leads the demonstrated self-checker on citation factuality.

Scientific literature review responses, response-level F1GPT-4 Self-Check with examples: 21.54GPT-4 Self-Check with examples21.54FacTool with GPT-4 (this paper): 94.74FacTool with GPT-4 (this paper)94.74
The numbers
System or settingF1
GPT-4 Self-Check with examples21.54
FacTool with GPT-4 (this paper)94.74

Response-level precision on this collection is 100.00 for GPT-4 FacTool, compared with 12.73 for demonstrated GPT-4 Self-Check. The reported precision concerns the responses accepted as factual. The response-level F1 takes recall into account as well. A checker can be precise in its acceptances and still reject some correct citations, a distinction borne out by the example cases.

The type of evidence explains why the comparison is especially informative here. A text-only checker may find an attribution or title familiar. Scholar supplies an actual result with metadata that the system can compare field by field. For one example involving a paper on artificial intelligence and employment, both FacTool configurations reject an incorrect attribution. The authors use the case to show that each configuration can identify the author-list problem when given the retrieved record.

Applying the checker to chatbots

The final study uses 30 knowledge-based prompts from LIMA, 10 programming prompts from HumanEval, 10 math prompts from GSM-Hard, and 10 scientific prompts written by the authors. The greater allocation to knowledge questions reflects the authors’ view that they represent a common use. Each participating chatbot generates replies to these requests. GPT-4 FacTool supplies the verdicts used to score those replies.

The audit metrics describe the amount of generated content accepted by the checker. One is the weighted factuality rate for claims, calculated from the scenario-level rates. The other is response-level factual accuracy. This use of accuracy differs from the detector experiment, where the checker itself is scored against reference labels. In the audit, its judgments provide the reference. The comparison therefore depends on the tasks, the prompt mixture, and the rules FacTool applies to each reply.

GPT-4 finishes first on both aggregate measures. The paper also reports that it leads on claim and response accuracy in most scenarios. The other participants are ChatGPT, Claude-v1, Bard, and Vicuna-13B. The authors note that Vicuna-13B is reasonably competitive on knowledge questions and has more difficulty on code, mathematics, and scientific citations. These are outcomes of the same detector applied across the participating systems, under the operational meaning of correctness for each task.

What the ablations show

The paper has no dedicated component-removal ablation suite and instead investigates its design through configuration comparisons, a claim extraction study, and error analysis.

What the self-check comparison changes

The comparison between demonstrated self-checking and GPT-4 FacTool holds the named checker fixed while changing the procedure it follows. Self-Check is asked to examine a claim using its own resources. FacTool can prepare a request for an external service, consult the result, or use an execution rule. The gains describe the resulting procedures as a whole. In particular, the shift in the citation task includes both access to a bibliographic result and a tailored comparison of its fields.

The precision comparisons support the observation that demonstrated Self-Check can be too ready to accept content. A lower precision on positive verdicts is evidence that a greater share of those acceptances are errors. The paper’s comparison thus speaks directly to a common concern with a verifier: what happens when it tells a user that the reply is factual? Recall and F1 remain important because a checker could become more selective while also letting valid content fail.

The reversal on knowledge answers with ChatGPT places a condition on the tool result. The authors examine a claim about the origin of the modern fortune cookie. FacTool with ChatGPT rejects the United States attribution while describing evidence that puts the relevant event in San Francisco. The example shows a verdict at odds with the evaluator’s own account. It locates the problem after evidence has been retrieved and gives a reason why the same search-assisted design may succeed more often with a different checker.

Changing the prompted stages

The comparison between FacTool configurations keeps the extractor in place and varies the prompted work done afterward. On knowledge answers, this can improve both the formulation of searches and the judgment made from the snippets. The observed advantage for GPT-4 combines the effects of those stages. The experiment tells the reader what happens under the joint substitution, while the individual cases indicate where particular errors arise.

One GPT-4 failure on a planetary density claim makes that distinction especially clear. The evidence contains enough information to compare Jupiter with Saturn, but the checker mishandles the direction of the comparison. A second density case presents differing numerical descriptions for Jupiter. There the challenge is deciding how to treat apparent conflict or differences in precision. These cases call for different reasoning even though the claims concern a similar attribute. The first invites a direct ordering of values. The second calls for deciding how the numerical descriptions relate to one another.

Where the synthetic references break

In HumanEval/64, the generated inputs use lower-case letters exclusively. The input collection consequently provides evidence about that part of the behavior and leaves upper-case behavior unexercised. Each test can run correctly and return an accurate observation while the collection still misses a requirement. Examining the types of inputs therefore explains a failure that would be hard to diagnose from a simple count of test outcomes.

HumanEval/79 illustrates a different weakness. When given the zero input, the generated alternatives all mishandle the required binary-conversion output. Their agreement can make that output look like a strong reference under the voting rule. The rule measures consensus among the implementations. In this case, the specification reveals that the common answer is wrong. Taken together, the cases identify separate dependencies on the diversity of inputs and the correctness of reference behavior.

Where a precise check has a narrow scope

For arithmetic, one reported false rejection concerns a division answer expressed as 5037002.83. The authors attribute the failure to round-off in the execution-based comparison. Computing a quotient and deciding how to compare it with an answer written to a certain precision are distinct operations. A Python equality gives a definite result for the values in the check, while the accuracy of the verdict depends on how the comparison represents the answer’s intended precision.

The other math example involves a purchase with a reduced price for alternating items. The generated solution applies the full price throughout. FacTool inspects the arithmetic it can extract but misses the mistake about which price to use. Here the multiplication may be assessed correctly on its own terms. The reasoning error enters before that arithmetic operation, when the generated answer chooses how to represent the purchase.

The citation failures likewise arise at identifiable parts of the comparison. The authors report an existing publication concerning MDMA-assisted psychotherapy whose title fails the match. Title abbreviation is one reason that exact comparison can cause problems. They also report a publication on unsupervised multitask learning for which the checker rejects a valid author list. These cases exercise different mechanisms: rigid comparison of title strings and a prompted judgment about names. Each can produce a false rejection even when the task concerns the identity of a real work.

Limitations

Boundaries identified by the authors

The authors explicitly set aside whether a cited paper is the most appropriate choice. Their scientific experiment concerns agreement among titles, dates, and author names. A review may contain a correctly described paper and still misstate its results or use it to support the wrong proposition. Those are questions about the content of the publication and its relationship to the review. FacTool’s evidence in this workflow is a metadata record, which gives the citation check a narrower target.

The math check has a different stated boundary. Its extraction prompt selects arithmetic on known quantities. The authors acknowledge that this leaves the reasoning process open to mistakes such as overlooking a discount. The whole-response decision made by FacTool is a function of the extracted checks. The experimental reference is the answer to the problem. The gap between those criteria is relevant whenever an answer computes accurately from a faulty interpretation.

For code, the authors identify inadequate variety among generated inputs and erroneous reference implementations. Majority voting can reduce the influence of an implementation that produces an unusual result, given that the others produce the correct one. When the alternatives share a mistake, the vote can preserve it. The candidate is tested on the generated inputs and judged against this provisional reference, so the evidence speaks directly to those calls under those expected results.

For knowledge answers, the paper identifies ambiguity, conflicting snippets, and mistakes in reasoning. A vague claim about how widely people enjoy fortune cookies illustrates ambiguity about the assertion itself. Additional evidence can support different readings when the scope of the claim is unsettled. In a factual assertion with a precise numerical value, the question can shift to how to interpret two results that give different levels of precision. These are limits on the verdict as well as on the process that produces it.

The paper also reports an operational issue with structured responses. The authors sometimes had to rerun samples because the experimental versions supplied invalid JSON, the format their pipeline expected. They anticipated that later versions named gpt-3.5-turbo-0613 and gpt-4-0613 could reduce the inference cost through better structured output. That expectation is separate from the reported effectiveness of the tested configurations. The observed retries concern whether a stage produced usable data in the required format.

Limits that follow from the setup

The extraction metric is directional. A returned claim contributes the similarity of its best human match, and a human unit omitted entirely need never enter as a term of its own. Several machine claims may even choose the same best reference. The metric therefore measures the resemblance of what was returned to the available references. Coverage of every human unit would require a separate assessment. This matters later because a fact omitted during extraction supplies no input to the verification stages.

The extraction study also uses reference summaries and human content units from RoSE. This is a suitable source for investigating compact factual statements. Code snippets, arithmetic steps, and bibliographic tuples have different extraction requirements, with success conditions beyond textual resemblance to a human summary unit. The main experiment provides end-to-end evidence across those tasks, while the dedicated quantitative extraction result pertains to RoSE. Human review of the resulting claims labels their factuality under the chosen unit definitions.

The search workflows inherit dependencies on what the services return. A Google snippet may contain the relevant number while leaving its context outside the text passed to the verifier. The Scholar workflow expects the desired record to rank first under the supplied title. A judgment in either branch starts from a selected result, so retrieval quality affects the evidence available for the comparison. The binary label then records an outcome of the procedure. For a citation, a failed verdict can arise from retrieving a different work, a title variant, or disagreement about an author name, as well as an incorrect citation.

The benchmark construction narrows the population represented by the scores. The GSM-Hard sample has positive targets because the authors wanted to reduce implausible transformed exercises. The citation prompts explicitly call for relevant research literature. The code prompts follow a particular HumanEval preparation with examples removed. These choices make the tasks more interpretable. They also define the conditions to which the measured values apply. The recurring pipeline makes another task conceivable once its units and tests are specified, while the reported evidence for performance comes from these experiments.

The audit is comparative under the checker’s judgments. Its weighted claim rate reflects the greater allocation to knowledge questions, and the response measure uses the corresponding set of replies. GPT-4 also participates both as a generator in the audit and as a component of its evaluator. The outcome combines properties of the generated answers with whatever differences in reliability the detector exhibits across their claims. The earlier comparison with benchmark labels supplies evidence about detector performance, and its failure analysis identifies ways that mistakes can carry through into an audit.

Finally, the verifier’s prompt can invite a repair after it diagnoses an error. The measured outcomes concern how the original claims and replies are labeled. An explanation and a proposed replacement are additional outputs with their own truth conditions. The experiments establish comparative performance for detection under the stated rules, leaving the reliability of resulting corrections as a separate empirical question.

What came after

Making the object of verification more explicit

The later citing work includes a distinction already visible in FacTool: a check needs an identifiable object. The same factuality question can be asked of a whole answer, a claim that admits independent evidence, or a stage in a reasoning chain. Papers that study these units can be compared by asking what their verdict applies to. The citation relationship establishes that these works refer to FacTool. Their stated topics support connections to particular parts of its approach.

VeriScore takes verifiable claims as the focus of factuality evaluation for long-form generation. That focus brings attention to the selection that precedes a verdict. FacTool likewise extracts units before gathering evidence, and its ambiguity cases help explain the significance of the word “verifiable.” A passage can contain information that can be checked alongside judgments whose meaning or standard of support is hard to fix. The later work places the verifiable claims of long texts at the center of the evaluation question. VeriScore

Long-form factuality research addresses the broader setting in which the response contains many assertions. FacTool gives an example of how the unit of review affects both evidence collection and reporting. An individual claim can be searched for directly, while a whole response measure has to account for the status of all the claims it covers. The later work on long-form factuality takes up that scale of generation as its subject. Long-form factuality

Work on fine-grained detection and editing brings another purpose to small units of review. A detection result can locate the part of the text where an edit would have to occur. FacTool’s knowledge checker can propose a correction, but its principal evaluation concerns the initial label. The later paper addresses detection together with editing at a fine-grained level, asking about an outcome beyond a judgment on the original output. Fine-grained Hallucination Detection and Editing

Verification, correction, and evidence

Chain-of-Verification addresses the reduction of hallucinations through a verification chain. Its focus connects with FacTool’s decision to make checking a sequence of identifiable operations after generation. FacTool’s math failures also illustrate a question for any such sequence: the chain needs to represent the decisions that determine the answer, such as how a pricing rule applies as well as how the multiplication is carried out. A later benchmark for verifiers of reasoning chains takes the assessment of those chains as its subject. Chain-of-Verification · A Chain-of-Thought Is as Strong as Its Weakest Link

Self-Checker addresses fact-checking through modules that can be plugged into a checking process. It shares a modular view of verification with a system whose extraction, search, and agreement stages serve different purposes. FacTool makes the dependencies between stages visible: the judgment needs a claim, and the evidence needs a query suited to it. The later work places modular fact-checking at the center of its contribution. Self-Checker

The critical survey of self-correction asks under what conditions a system can actually repair its errors. FacTool bears on that question through the contrast between self-checking and a procedure that can obtain new information, including the result where the weaker tool-assisted checker still reasons incorrectly. A wider survey of automated correction strategies considers correction across a range of approaches. Together these topics locate FacTool between diagnostic checking and repair, with evidence acquisition an explicit part of its account of diagnosis. When Can LLMs Actually Correct Their Own Mistakes? · Automatically Correcting Large Language Models

Factuality when information is available

RAGTruth contributes a hallucination corpus for retrieval-augmented generation. FacTool uses retrieval to assess an answer that has already been produced, whereas the setting named by RAGTruth concerns generation with retrieved information. The connection is the need to characterize errors even in a workflow that includes access to external material. The presence of a source creates a basis for an evidence judgment, and the relationship between that source and the generated statement still has to be established. RAGTruth

The survey of knowledge conflicts takes up a problem FacTool encounters when different snippets give competing descriptions. Its subject is conflict itself, a more general question than how to label a particular assertion with the evidence in hand. The survey on factuality, knowledge, retrieval, and domain specificity covers several of the dimensions FacTool combines in a single checker. In FacTool those dimensions have tangible consequences: the retrieval mechanism determines what can be seen, and the domain defines what would count as agreement. Knowledge Conflicts for LLMs · Survey on Factuality, Knowledge, Retrieval and Domain-Specificity

The work on token-level uncertainty brings a different source of information to fact-checking. It foregrounds uncertainty associated with the generated tokens, while FacTool foregrounds claims and observations from searches or execution. These are different measurements of a reply. A search can locate an incorrect date in a confident assertion, and an uncertainty measure can call attention to a part of an output that deserves inspection. The progression across the citing work is from the broad question of whether an answer is factual towards more specific questions about the unit, the available evidence, and the interpretation of a verdict. Fact-Checking via Token-Level Uncertainty Quantification

 Institutions

 Fields, topics and concepts

Appears in

Mentioned in articles aboutHong Kong

Cite

Cite as I-Chun Chern, Steffi Chern, Shiqi Chen, Weizhe Yuan, Kehua Feng, Chunting Zhou, Junxian He, Graham Neubig and Pengfei Liu. 2023. FacTool: Factuality Detection in Generative AI — A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarios. arXiv:2307.13528.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2307.13528 · arXiv 2307.13528

@misc{chern2023factool,
  title = {{FacTool: Factuality Detection in Generative AI — A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarios}},
  author = {I-Chun Chern, Steffi Chern, Shiqi Chen, Weizhe Yuan, Kehua Feng, Chunting Zhou, Junxian He, Graham Neubig and Pengfei Liu},
  year = {2023},
  doi = {10.48550/arxiv.2307.13528},
  eprint = {2307.13528},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2307.13528}
}

References

41 references, from the paper's own bibliography.

  1. Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712. our card
  2. Bei Chen, Fengji Zhang, Anh Nguyen, Daoguang Zan, Zeqi Lin, Jian-Guang Lou, and Weizhu Chen. 2022. Codet: Code generation with generated tests. arXiv preprint arXiv:2207.10397. OpenAlex ↗ · Scholar ↗
  3. Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. 2017. Reading Wikipedia to answer open-domain questions (https://doi.org/10.18653/v1/P17-1171). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1870–1879, Vancouver, Canada. Association for Computational Linguistics. our card
  4. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. 2021. Evaluating large language models trained on code (http://arxiv.org/abs/2107.03374). our card
  5. Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. 2023. Teaching large language models to self-debug. arXiv preprint arXiv:2304.05128. our card
  6. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. our card
  7. Alexander Fabbri, Chien-Sheng Wu, Wenhao Liu, and Caiming Xiong. 2022. QAFactEval: Improved QA-based factual consistency evaluation for summarization (https://doi.org/10.18653/v1/2022.naacl-main.187). In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2587–2601, Seattle, United States. Association for Computational Linguistics. our card
  8. Luyu Gao, Zhuyun Dai, Panupong Pasupat, Anthony Chen, Arun Tejasvi Chaganty, Yicheng Fan, Vincent Y. Zhao, Ni Lao, Hongrae Lee, Da-Cheng Juan, and Kelvin Guu. 2022a. Rarr: Researching and revising what language models say, using language models (http://arxiv.org/abs/2210.08726). our card
  9. Luyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. 2022b. Pal: Program-aided language models. arXiv preprint arXiv:2211.10435. OpenAlex ↗ · Scholar ↗
  10. Rahul Jha, Reed Coke, and Dragomir Radev. 2015. Surveyor: A system for generating coherent survey articles for scientific topics. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 29. OpenAlex ↗ · Scholar ↗
  11. Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. 2023. Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12):1–38. our card
  12. Ryo Kamoi, Tanya Goyal, Juan Diego Rodriguez, and Greg Durrett. 2023. Wice: Real-world entailment for claims in wikipedia. arXiv preprint arXiv:2303.01432. our card
  13. Mojtaba Komeili, Kurt Shuster, and Jason Weston. 2022. Internet-augmented dialogue generation (https://doi.org/10.18653/v1/2022.acl-long.579). In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8460–8478, Dublin, Ireland. Association for Computational Linguistics. our card
  14. Amrith Krishna, Sebastian Riedel, and Andreas Vlachos. 2022. ProoFVer: Natural logic theorem proving for fact verification (https://doi.org/10.1162/tacl_a_00503). Transactions of the Association for Computational Linguistics, 10:1013–1030. OpenAlex ↗ · Scholar ↗
  15. Wojciech Kryscinski, Bryan McCann, Caiming Xiong, and Richard Socher. 2020. Evaluating the factual consistency of abstractive text summarization (https://doi.org/10.18653/v1/2020.emnlp-main.750). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9332–9346, Online. Association for Computational Linguistics. our card
  16. Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, et al. 2020. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:9459–9474. our card
  17. Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, Yuhuai Wu, Behnam Neyshabur, Guy Gur-Ari, and Vedant Misra. 2022. Solving quantitative reasoning problems with language models (http://arxiv.org/abs/2206.14858). our card
  18. Yaobo Liang, Chenfei Wu, Ting Song, Wenshan Wu, Yan Xia, Yu Liu, Yang Ou, Shuai Lu, Lei Ji, Shaoguang Mao, Yun Wang, Linjun Shou, Ming Gong, and Nan Duan. 2023. Taskmatrix.ai: Completing tasks by connecting foundation models with millions of apis (http://arxiv.org/abs/2303.16434). OpenAlex ↗ · Scholar ↗
  19. Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. 2023. Let's verify step by step (http://arxiv.org/abs/2305.20050). our card
  20. Chin-Yew Lin. 2004. ROUGE: A package for automatic evaluation of summaries (https://aclanthology.org/W04-1013). In Text Summarization Branches Out, pages 74–81, Barcelona, Spain. Association for Computational Linguistics. our card
  21. Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring how models mimic human falsehoods (https://doi.org/10.18653/v1/2022.acl-long.229). In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214–3252, Dublin, Ireland. Association for Computational Linguistics. our card
  22. Pengfei Liu, Jinlan Fu, Yang Xiao, Weizhe Yuan, Shuaichen Chang, Junqi Dai, Yixin Liu, Zihuiwen Ye, and Graham Neubig. 2021. ExplainaBoard: An explainable leaderboard for NLP (https://doi.org/10.18653/v1/2021.acl-demo.34). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations, pages 280–289, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  23. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2023. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9):1–35. our card
  24. Yixin Liu, Alexander R Fabbri, Pengfei Liu, Yilun Zhao, Linyong Nan, Ruilin Han, Simeng Han, Shafiq Joty, Chien-Sheng Wu, Caiming Xiong, et al. 2022. Revisiting the gold standard: Grounding summarization evaluation with robust human evaluation. arXiv preprint arXiv:2212.07981. our card
  25. Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattwa Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. 2023. Self-refine: Iterative refinement with self-feedback (http://arxiv.org/abs/2303.17651). our card
  26. OpenAI. 2023. Gpt-4 technical report (http://arxiv.org/abs/2303.08774). our card
  27. Ofir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah A. Smith, and Mike Lewis. 2022. Measuring and narrowing the compositionality gap in language models (http://arxiv.org/abs/2210.03350). OpenAlex ↗ · Scholar ↗
  28. Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. 2023. Toolformer: Language models can teach themselves to use tools (http://arxiv.org/abs/2302.04761). our card
  29. John Schulman. 2023. Reinforcement learning from human feedback: Progress and challenges. OpenAlex ↗ · Scholar ↗
  30. Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. 2023. Hugginggpt: Solving ai tasks with chatgpt and its friends in huggingface (http://arxiv.org/abs/2303.17580). OpenAlex ↗ · Scholar ↗
  31. Freda Shi, Daniel Fried, Marjan Ghazvininejad, Luke Zettlemoyer, and Sida I. Wang. 2022. Natural language to code translation with execution (https://aclanthology.org/2022.emnlp-main.231). In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 3533–3546, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics. our card
  32. Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, Anthony Hartshorn, Elvis Saravia, Andrew Poulton, Viktor Kerkez, and Robert Stojnic. 2022. Galactica: A large language model for science (http://arxiv.org/abs/2211.09085). our card
  33. Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. 2022. Lamda: Language models for dialog applications. arXiv preprint arXiv:2201.08239. our card
  34. James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018a. FEVER: a large-scale dataset for fact extraction and VERification (https://doi.org/10.18653/v1/N18-1074). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 809–819, New Orleans, Louisiana. Association for Computational Linguistics. our card
  35. James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018b. FEVER: a large-scale dataset for fact extraction and VERification. In NAACL-HLT. our card
  36. Alex Wang, Kyunghyun Cho, and Mike Lewis. 2020. Asking and answering questions to evaluate the factual consistency of summaries (https://doi.org/10.18653/v1/2020.acl-main.450). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5008–5020, Online. Association for Computational Linguistics. our card
  37. Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. Self-instruct: Aligning language models with self-generated instructions (http://arxiv.org/abs/2212.10560). our card
  38. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, and Denny Zhou. 2023. Chain-of-thought prompting elicits reasoning in large language models (http://arxiv.org/abs/2201.11903). our card
  39. Pengcheng Yin and Graham Neubig. 2017. A syntactic neural model for general-purpose code generation (https://doi.org/10.18653/v1/P17-1041). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 440–450, Vancouver, Canada. Association for Computational Linguistics. our card
  40. Wanjun Zhong, Jingjing Xu, Duyu Tang, Zenan Xu, Nan Duan, Ming Zhou, Jiahai Wang, and Jian Yin. 2020. Reasoning over semantic-level graph for fact checking (https://doi.org/10.18653/v1/2020.acl-main.549). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6170–6180, Online. Association for Computational Linguistics. our card
  41. Chunting Zhou, Pengfei Liu, Puxin Xu, Srini Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, Lili Yu, et al. 2023. Lima: Less is more for alignment. arXiv preprint arXiv:2305.11206. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/chern-2023-factool-factuality-detection-generative-ai/