Skip to main navigation Skip to search Skip to main content

Laying Anchors: Semantically Priming Numerals in Language Modeling

  • Mandar Sharma
  • , Rutuja Murlidhar Taware
  • , Pravesh Koirala
  • , Nikhil Muralidhar
  • , Naren Ramakrishnan
    • Virginia Polytechnic Institute and State University
    • Vanderbilt University

    Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

    5 Scopus citations

    Abstract

    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 performance on tasks requiring numeric comprehension. We introduce strategies to semantically prime numerals in any corpus by generating anchors governed by the distribution of numerals in said corpus, thereby enabling mathematically grounded representations of these numeral tokens. We establish the superiority of our proposed techniques through evaluation on a range of numeracy tasks for both in-domain (seen) and out-domain (unseen) numerals. Further, we expand our empirical evaluations to numerals ranging from 1 to 10 billion, a significantly broader range compared to previous studies of the same nature, and we demonstrate significant improvements in the mathematical grounding of our learned embeddings.

    Original languageEnglish
    Title of host publicationFindings of the Association for Computational Linguistics
    Subtitle of host publicationNAACL 2024 - Findings
    EditorsKevin Duh, Helena Gomez, Steven Bethard
    Pages2653-2660
    Number of pages8
    ISBN (Electronic)9798891761193
    DOIs
    StatePublished - 2024
    Event2024 Findings of the Association for Computational Linguistics: NAACL 2024 - Hybrid, Mexico City, Mexico
    Duration: 16 Jun 2024 → 21 Jun 2024

    Publication series

    NameFindings of the Association for Computational Linguistics: NAACL 2024 - Findings

    Conference

    Conference2024 Findings of the Association for Computational Linguistics: NAACL 2024
    Country/TerritoryMexico
    CityHybrid, Mexico City
    Period16/06/24 → 21/06/24

    Fingerprint

    Dive into the research topics of 'Laying Anchors: Semantically Priming Numerals in Language Modeling'. Together they form a unique fingerprint.

    Cite this