scimeatlas

Research map / Architectures and efficiency / RNNs and normalization

Language Models Implement Simple Word2Vec-style Vector Arithmetic

Jack Merullo, Carsten Eickhoff, Ellie Pavlick

NAACL 2024Architectures and efficiency › RNNs and normalizationapproach: LSTM design and memoryopen problems in this approach134 citations (OpenAlex)

Brown University · University of Tübingen

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

11measured effects
5improved
1no clear effect
4hurt
1mixed

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
patch in the FFN output vector o_city (layers 18-23) in a context with no capital cueGPT2-Medium · world capitals, random-token contextmean reciprocal rank of target city: roughly 10th -> 3rd ranked wordImproved
patch in o_past for past-tense verbsGPT2-Medium · regular and irregular verbsreciprocal rank of past form: approx. 7th -> 3rd (regular), 6th -> 3rd (irregular)Improved
remove top FFN sublayers on abstractive vs extractive tasks (ablation)Bloom, colored objects one-shot · colored objectsaccuracy: abstractive -73% (to 1%), extractive -17%Hurt
replace FFNs in layers 16-24 with +o_case instead of ablating them (ablation)GPT2-Medium · colored objects, abstractiveaccuracy: 4.5% -> 29.5%Improved
subtract o_case instead of adding it, abstractive task (ablation)GPT2-Medium · colored objects, abstractiveaccuracy: to 0%Hurt
add o_city intervention (FFNs 19-23) in zero-shot promptGPT2-Medium · world capitals zero-shotaccuracy: 5.6% -> 33.0%Improved
add o_past intervention in zero-shot promptGPT2-Medium · past tense mapping zero-shotaccuracy: about +4.2% over one-shotImproved
replace a single FFN layer with o vector instead of several layers (ablation)GPT2-Medium · random-token interventionreciprocal rank of targetHurt
apply the o-vector mechanism to non one-to-one relationsGPT2-Medium · six additional tasksargument promotion in early decodingNo clear effect
transfer the o-vector procedure from GPT2-Medium to GPT-JGPT-J · uppercasing, capitals, past tenseintervention effectMixed
target word capitalizes to multiple subtokens (ablation)o_upper intervention · random-token task, 100 words eachtarget probabilityHurt

Open problems in LSTM design and memory

How far do the memory and long-range results of recurrent models hold beyond their narrow theory and test settings?

All 3 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