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
TL;DR
This work addresses biases in extracting factual knowledge from pretrained LMs by framing the probing objective probabilistically and uncovering two core biases: object-likelihood bias and template-prior bias. It introduces UniArk, an adapter-based, bias-mitigating framework with two modules—max-entropy regularization and self-data augmentation—to improve generalisation to unseen prompts while maintaining accuracy. To evaluate generalisation and bias, the authors construct ParaTrex, a large, diverse paraphrase dataset, and show that UniArk yields significant improvements in out-of-domain performance and consistency across paraphrases, outperforming baselines like adapters and MeCoD. The provisioning of ParaTrex as a benchmarking resource, along with a scalable, modular debiasing approach, offers a practical pathway for robust factual knowledge extraction in real-world, paraphrase-rich settings.
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.
