scimeatlas

Research map / Large language models / Language, safety and interpretability

Laying Anchors: Semantically Priming Numerals in Language Modeling

Mandar Sharma, Rutuja Murlidhar Taware, Pravesh Koirala, Nikhil Muralidhar, Naren Ramakrishnan

NAACL 2024Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach5 citations (OpenAlex)

Virginia Tech · Vanderbilt University · Stevens Institute of Technology

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
1no clear effect
4hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add GMM-derived numeral anchors during pre-training (Anchors vs GenBERT/MWP-BERT)BERT · Numeral decoding, all in-domainlog-RMSE: 0.0575 (MWP-BERT) -> 0.0424Improved
use log-normalized anchors (ln Anchors) instead of linear anchors (ablation)Anchors · Numeral decoding, all in-domainlog-RMSE: 0.0424 -> 0.0304Improved
use log-normalized anchors instead of linear anchors (ablation)Anchors · Numeral addition, all in-domainlog-RMSE: 0.0401 -> 0.0329Improved
add directional tokens (<LA>/<RA>) to linear anchors (ablation)Anchors · Numeral decoding, all in-domainlog-RMSE: 0.0424 -> 0.0422No clear effect
add directional tokens to log anchors (ablation)ln Anchors · Numeral decoding, all in-domainlog-RMSE: 0.0304 -> 0.0525Hurt
add directional tokens to anchors (ablation)Anchors (directional) · Numeral decoding, in-domain [10k, 10^10]log-RMSE: 0.0344 -> 0.0290Improved
add directional tokens to log anchors (ablation)ln Anchors · Numeral decoding, in-domain [1,100]log-RMSE: 0.0279 -> 0.1729Hurt
add directional tokens to log anchors (ablation)ln Anchors · List maximum, all in-domainaccuracy: 89.37% -> 89.87%Improved
add directional tokens to log anchors (ablation)ln Anchors · List minimum, all in-domainaccuracy: 90.50% -> 92.50%Improved
use anchor models instead of baselines on out-of-domain numeralsAnchors (directional) · Numeral decoding, OOD [10k, 10^10]log-RMSE: 0.0537 (MWP-BERT) -> 0.0278Improved
anchors vs MWP-BERT on small numeralsAnchors · Numeral addition, in-domain [1,100]log-RMSE: 0.0077 (MWP-BERT) -> 0.0449Hurt
anchors vs baselines at 1k to 10k list maximumAnchors · List maximum, in-domain [1k, 10k]accuracy: 85.00% (MWP-BERT) -> 63.00%Hurt

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy