paper-with-me

홈 › Papers

Predicting Numerals in Natural Language Text Using a Language Model Considering the Quantitative Aspects of Numerals

2021-06-01 · NAACL (DeeLIO) 2021 6 · Taku Sakamoto, Akiko Aizawa

Numerical common sense (NCS) is necessary to fully understand natural language text that includes numerals. NCS is knowledge about the numerical features of objects in text, such as size, weight, or color. Existing neural language models treat numerals in a text as string tokens in the same way as other words. Therefore, they cannot reflect the quantitative aspects of numerals in the training process, making it difficult to learn NCS. In this paper, we measure the NCS acquired by existing neural language models using a masked numeral prediction task as an evaluation task. In this task, we use two evaluation metrics to evaluate the language models in terms of the symbolic and quantitative aspects of the numerals, respectively. We also propose methods to reflect not only the symbolic aspect but also the quantitative aspect of numerals in the training of language models, using a loss function that depends on the magnitudes of the numerals and a regression model for the masked numeral prediction task. Finally, we quantitatively evaluate our proposed approaches on four datasets with different properties using the two metrics. Compared with methods that use existing language models, the proposed methods reduce numerical absolute errors, although exact match accuracy was reduced. This result confirms that the proposed methods, which use the magnitudes of the numerals for model training, are an effective way for models to capture NCS.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Common Sense ReasoningLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Laying Anchors: Semantically Priming Numerals in Language Modeling

2024-04-02 · Mandar Sharma, Rutuja Murlidhar Taware, Pravesh Koirala, Nikhil Muralidhar 외

Off-the-shelf pre-trained language models have become the de facto standard in NLP pipelines for a multitude of downstream tasks. However, the inability of these models to properly encode numerals limits their performanc…

Language ModelingLanguage Modelling

Generating Natural Language Numerals with TeX

2020-09-01 · CLIB 2020 9 · Ivan Derzhanski, Milena Veneva

Sometimes one needs to produce a text in which many numbers have to be written out in words. Writing such a text and ensuring it is error-free can be a burden, especially if the author is not fluent in the language. Such…

Learning Numeral Embedding

2020-11-01 · Findings of the Association for Computational Linguistics 2020 · Chengyue Jiang, Zhonglin Nian, Kaihao Guo, Shanbo Chu 외

Word embedding is an essential building block for deep learning methods for natural language processing. Although word embedding has been extensively studied over the years, the problem of how to effectively embed numera…

Word Similarity

Learning Numeral Embeddings

2019-12-28 · Chengyue Jiang, Zhonglin Nian, Kaihao Guo, Shanbo Chu 외

Word embedding is an essential building block for deep learning methods for natural language processing. Although word embedding has been extensively studied over the years, the problem of how to effectively embed numera…

Word Similarity

Agglomerative Clustering of Handwritten Numerals to Determine Similarity of Different Languages

2020-11-22 · Md. Rahat-uz-Zaman, Shadmaan Hye

Handwritten numerals of different languages have various characteristics. Similarities and dissimilarities of the languages can be measured by analyzing the extracted features of the numerals. Handwritten numeral dataset…

Clustering