scimeatlas

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

Exploiting Language Model Prompts Using Similarity Measures: A Case Study on the Word-in-Context Task

Mohsen Tabasi, Kiamehr Rezaee, Mohammad Taher Pilehvar

ACL 2022Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach4 citations (OpenAlex)

Iran University of Science and Technology · Cardiff University · Khatam University

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

11measured effects
6improved
3no 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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
compare mask embeddings of two prompts via Spearman similarity instead of a single prompt responseprompt-based few-shot · WiC testaccuracy: 49.4 (GPT3) -> 70.2Improved
use Spearman instead of cosine similarity (ablation)Similarity Prompting (RoBERTa-Large) · WiC testaccuracy: 63.6 -> 70.2Improved
use Spearman instead of cosine similarity (ablation)Similarity Prompting · SST-2 and SICK-Eaccuracy: SST-2 manual 89.1 -> 89.2No clear effect
zero the most dominant embedding dimension for cosine similarity (ablation)SP-Cosine · WiCaccuracy: around +10 absoluteImproved
zero the most dominant embedding dimension for cosine similarity (ablation)SP-Cosine · SST-2 and SICK-EaccuracyNo clear effect
use SP with a manual prompt instead of AutoPrompt's manual promptAutoPrompt · SST-2 testaccuracy: 85.2 -> 89.2Improved
use SP with auto-generated prompt instead of AutoPromptAutoPrompt · SST-2 testaccuracy: 91.4 -> 91.8 (Spearman), 90.7 (cosine)No clear effect
use SP instead of AutoPrompt with auto-generated promptAutoPrompt · SICK-E test (standard)accuracy: 65.0 -> 62.1 (cosine), 61.6 (Spearman)Hurt
use SP with manual prompt instead of AutoPrompt auto-generated prompt (ablation)SP · SICK-E test (standard)accuracy: 62.1 -> 77.3 (cosine)Improved
switch PLM from RoBERTa-Large to BERT-Large-Cased with cosine (ablation)SP-Cosine · WiC testaccuracy: 63.6 -> 69.4Improved
use smaller or causal PLM (GPT2-Base, Spearman) (ablation)SP-Spearman · WiC testaccuracy: 70.2 -> 62.6Hurt

Open problems in in-context learning analysis

Which in-context learning methods hold up beyond English classification on small open models, and what do they 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