Litcius/Paper detail

X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Models

Zhengbao Jiang, Antonios Anastasopoulos, Jun Araki, Haibo Ding, Graham Neubig

202081 citationsDOIOpen Access PDF

Abstract

Language models (LMs) have proven surprisingly successful at capturing factual knowledge by completing cloze-style fill-in-theblank questions such as "Punta Cana is located in _." However, while knowledge is both written and queried in many languages, studies on LMs' factual representation ability have almost invariably been performed on English. To assess factual knowledge retrieval in LMs in different languages, we create a multilingual benchmark of cloze-style probes for 23 typologically diverse languages. To properly handle language variations, we expand probing methods from single-to multi-word entities, and develop several decoding algorithms to generate multi-token predictions. Extensive experimental results provide insights about how well (or poorly) current state-of-theart LMs perform at this task in languages with more or fewer available resources. We further propose a code-switching-based method to improve the ability of multilingual LMs to access knowledge, and verify its effectiveness on several benchmark languages. Benchmark data and code have be released at https: //x-factr.github.io.

Topics & Concepts

Computer scienceBenchmark (surveying)Natural language processingArtificial intelligenceCode (set theory)Task (project management)Decoding methodsWord (group theory)Security tokenLinguisticsProgramming languageGeographyEconomicsGeodesySet (abstract data type)ManagementComputer securityTelecommunicationsPhilosophyTopic ModelingNatural Language Processing TechniquesMultimodal Machine Learning Applications
X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Models | Litcius