UniArk: Improving Generalisation and Consistency for Factual Knowledge Extraction through Debiasing

Yijun Yang, Jie He, Pinzhen Chen, Víctor Gutiérrez-Basulto, Jeff Z. Pan
4/1/2024
cs.CL

No official code found. Best implementation: Thomasyyj/UniArk (2 stars, last commit 2024-08-04).

Abstract

Several recent papers have investigated the potential of language models as knowledge bases as well as the existence of severe biases when extracting factual knowledge. In this work, we focus on the factual probing performance over unseen prompts from tuning, and using a probabilistic view we show the inherent misalignment between pre-training and downstream tuning objectives in language models for probing knowledge. We hypothesize that simultaneously debiasing these objectives can be the key to generalisation over unseen prompts. We propose an adapter-based framework, UniArk, for generalised and consistent factual knowledge extraction through simple methods without introducing extra parameters. Extensive experiments show that UniArk can significantly improve the model's out-of-domain generalisation as well as consistency under various prompts. Additionally, we construct ParaTrex, a large-scale and diverse dataset for measuring the inconsistency and out-of-domain generation of models. Further, ParaTrex offers a reference method for constructing paraphrased datasets using large language models.

View on arXivView PDF

Code Implementations(1)

Thomasyyj/UniArkCommunity100%

The official repository for the NAACL 2024 paper "UniArk: Improving Generalisation and Consistency for Factual Knowledge Extraction through Debiasing"

20Shell, PythonMar 25, 20242 years ago

Similar Papers

Cite this paper

@article{yang2024uniark,
  title  = {UniArk: Improving Generalisation and Consistency for Factual Knowledge Extraction through Debiasing},
  author = {Yijun Yang and Jie He and Pinzhen Chen and Víctor Gutiérrez-Basulto and Jeff Z. Pan},
  year   = {2024},
  eprint = {2404.01253},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.01253v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.01253.svg)](https://codeofpaper.com/paper/2404.01253)

Discussion