Skip to main content
QUICK REVIEW

[Paper Review] AlignScore: Evaluating Factual Consistency with a Unified Alignment Function

Yuheng Zha, Yichi Yang|arXiv (Cornell University)|May 26, 2023
Topic ModelingComputer Science7 citations
TL;DR

This paper introduces AlignScore, a unified factual consistency metric that leverages a general text-to-text alignment function trained on 4.7 million diverse examples from seven NLP tasks. By fine-tuning RoBERTa models (125M–355M parameters), AlignScore achieves state-of-the-art performance across 22 benchmarks—including 19 zero-shot datasets—matching or exceeding metrics based on GPT-4 despite being significantly smaller.

ABSTRACT

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.

Motivation & Objective

  • To address the limited generalizability of existing factual consistency metrics that rely on narrow, task-specific functions like NLI or QA.
  • To develop a holistic, unified alignment function capable of evaluating diverse factual inconsistencies across varying text lengths and domains.
  • To train a general-purpose alignment model using a broad, diverse data distribution spanning seven established NLP tasks.
  • To create a lightweight yet highly effective metric that generalizes to unseen evaluation scenarios without requiring task-specific fine-tuning.
  • To demonstrate that a smaller, unified model can outperform much larger models like GPT-4 in factual consistency evaluation.

Proposed method

  • Train a unified text-to-text alignment function using 4.7 million examples from seven tasks: NLI, QA, paraphrasing, fact verification, information retrieval, semantic similarity, and summarization.
  • Reformat and aggregate 15 datasets into a unified alignment learning objective, enabling the model to learn general information alignment across diverse text pairs.
  • Use a context-splitting strategy: divide long contexts into coarse-grained chunks and claims into fine-grained sentences to improve alignment accuracy for long-form text.
  • Aggregate per-pair alignment scores between context-chunks and claim-sentences to compute a final factual consistency score.
  • Fine-tune RoBERTa-base and RoBERTa-large models (125M and 355M parameters) for the alignment function, using a contrastive learning objective.
  • Evaluate the final AlignScore metric on 22 large-scale benchmarks, including SummaC and TRUE, with 19 datasets held out during training (zero-shot evaluation).

Experimental results

Research questions

  • RQ1Can a unified alignment function trained on diverse NLP tasks generalize to factual consistency evaluation across multiple tasks and text types?
  • RQ2How does a lightweight model (355M parameters) compare to large language models like GPT-4 in factual consistency evaluation?
  • RQ3To what extent does the context-splitting strategy improve performance on long-form text generation tasks?
  • RQ4Does the unified training framework lead to better zero-shot generalization than task-specific metrics?
  • RQ5Can a single alignment function effectively capture diverse factual inconsistencies, including contradictions and hallucinations?

Key findings

  • AlignScore achieves substantial improvements over previous metrics across 22 evaluation datasets, including 19 that were not seen during alignment training.
  • The 355M-parameter AlignScore model matches or exceeds the performance of GPT-4-based metrics, despite being orders of magnitude smaller.
  • AlignScore demonstrates strong zero-shot generalization, performing well on 19 out of 22 benchmarks not used in alignment training.
  • Ablation studies confirm that the context-splitting strategy significantly improves performance, especially on long-form text.
  • The unified training framework with diverse data sources leads to a more robust and generalizable alignment function than task-specific alternatives.
  • The model’s performance is consistent across diverse tasks, including summarization, dialogue, and fact verification, confirming its holistic design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.