Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numbers

05/21/2018
by   Georgios P. Spithourakis, et al.
0

Numeracy is the ability to understand and work with numbers. It is a necessary skill for composing and understanding documents in clinical, scientific, and other technical domains. In this paper, we explore different strategies for modelling numerals with language models, such as memorisation and digit-by-digit composition, and propose a novel neural architecture that uses a continuous probability density function to model numerals from an open vocabulary. Our evaluation on clinical and scientific datasets shows that using hierarchical models to distinguish numerals from words improves a perplexity metric on the subset of numerals by 2 and 4 orders of magnitude, respectively, over non-hierarchical models. A combination of strategies can further improve perplexity. Our continuous probability density function model reduces mean absolute percentage errors by 18 strategy for each dataset, respectively.

READ FULL TEXT
research
10/23/2022

Do Language Models Understand Measurements?

Recent success of pre-trained language models (PLMs) has stimulated inte...
research
08/04/2023

A Survey of Spanish Clinical Language Models

This survey focuses in encoder Language Models for solving tasks in the ...
research
05/25/2021

Estimating Redundancy in Clinical Text

The current mode of use of Electronic Health Record (EHR) elicits text r...
research
11/07/2022

Probing neural language models for understanding of words of estimative probability

Words of estimative probability (WEP) are expressions of a statement's p...
research
04/01/2016

A Compositional Approach to Language Modeling

Traditional language models treat language as a finite state automaton o...
research
10/20/2016

Clinical Text Prediction with Numerically Grounded Conditional Language Models

Assisted text input techniques can save time and effort and improve text...

Please sign up or login with your details

Forgot password? Click here to reset