AlignScore: Evaluating Factual Consistency with a Unified Alignment Function
About
Many text generation applications require the generated text to be factually consistent with input information. Automatic evaluation of factual consistency is challenging. Previous work has developed various metrics that often depend on specific functions, such as natural language inference (NLI) or question answering (QA), trained on limited data. Those metrics thus can hardly assess diverse factual inconsistencies (e.g., contradictions, hallucinations) that occur in varying inputs/outputs (e.g., sentences, documents) from different tasks. In this paper, we propose AlignScore, a new holistic metric that applies to a variety of factual inconsistency scenarios as above. AlignScore is based on a general function of information alignment between two arbitrary text pieces. Crucially, we develop a unified training framework of the alignment function by integrating a large diversity of data sources, resulting in 4.7M training examples from 7 well-established tasks (NLI, QA, paraphrasing, fact verification, information retrieval, semantic similarity, and summarization). We conduct extensive experiments on large-scale benchmarks including 22 evaluation datasets, where 19 of the datasets were never seen in the alignment training. AlignScore achieves substantial improvement over a wide range of previous metrics. Moreover, AlignScore (355M parameters) matches or even outperforms metrics based on ChatGPT and GPT-4 that are orders of magnitude larger.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Factual Consistency Evaluation | SummaC | CGS86.4 | 52 | |
| Factual Consistency Evaluation | QAGS XSUM | Spearman Correlation57.2 | 39 | |
| Factual Consistency Evaluation | QAGS CNNDM | Spearman Correlation73.9 | 38 | |
| Factual Consistency Evaluation | TRUE benchmark | PAWS (AUC-ROC)98.4 | 37 | |
| Factual Consistency Evaluation | SummEval | Spearman Correlation46.6 | 36 | |
| Factual Consistency Evaluation | FRANK CNNDM | Spearman Correlation60.9 | 30 | |
| Factual Consistency Evaluation | SamSum | Spearman Correlation43.8 | 30 | |
| Factual Consistency Evaluation | FRANK-XSum (FRK-X) | Spearman Correlation29 | 30 | |
| Veracity Assessment | FactCheck-Bench | Macro-F183.7 | 26 | |
| Fact Checking | PubHealth | Balanced Accuracy64.4 | 26 |