scimeatlas

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

Revisiting subword tokenization: A case study on affixal negation in large language models

Thinh Hung Truong, Yulia Otmakhova, Karin Verspoor, Trevor Cohn, Timothy Baldwin

NAACL 2024Large language models › Language, safety and interpretabilityapproach: Text generation and evaluation metricsopen problems in this approach13 citations (OpenAlex)

University of Melbourne · RMIT University · MBZUAI

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

11measured effects
7improved
2no clear effect
2hurt

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 SentencePiece tokenization (vs. not)subword tokenizers · affixal negation lexiconNegMorph correctImproved
use few-shot prompt with explicit instructions and two examples instead of zero-shotGPT-4 · Affix Negaccuracy: 0.783 -> 0.890Improved
use few-shot prompt instead of zero-shotLLaMA-2-13B · Affix Negaccuracy: 0.707 -> 0.767Improved
use few-shot prompt instead of zero-shotFlan-T5-xxl · Affix Negaccuracy: 0.867 -> 0.855No clear effect
hyphenate words (un-intended) so the affix is not broken down (ablation)GPT-4 · Affix (few-shot) Negaccuracy / NegMorph correct: accuracy 0.890 -> 0.916; NegMorph 0.670 -> 0.929Improved
hyphenate words (ablation)LLaMA-2-13B · Affix (few-shot) Negaccuracy / NegMorph correct: accuracy 0.767 -> 0.956; NegMorph 0.658 -> 0.984Improved
hyphenate words (ablation)Flan-T5-xxl · Affix (few-shot) Negaccuracy / NegMorph correct: accuracy 0.855 -> 0.948; NegMorph 0.750 -> 0.968Improved
correct negative-affix tokenization (NegMorph) as predictor of accuracymodels on Affix Neg set · AffixPearson correlation with accuracyNo clear effect
prepend negative affixes to nonce wordsGPT-4, LLaMA-2-13B, Flan-T5-xxl · affixal nonce words (Neg)accuracy: 0.434 / 0.575 / 0.627 (GPT-4 / LLaMA-2 / Flan-T5)Hurt
replace affixal negation with 'not' + word (ablation)LLMs · SST-2 and Rotten Tomatoes sentimentaccuracy: slight decreaseHurt
fine-tune small models (<1B) on affix lexiconBERT, RoBERTa, AlBERT, XLNet, GPT-2 · Affix test (80/20 split)accuracy: >93% accuracyImproved

Open problems in text generation and evaluation metrics

Do language, text and evaluation results hold beyond one language, one corpus and one LLM judge?

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