scimeatlas

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

Addressing Order Sensitivity of In-Context Demonstration Examples in Causal Language Models

Yanzheng Xiang, Hanqi Yan, Lin Gui, Yulan He

ACL 2024Large language models › Language, safety and interpretabilityapproach: Linguistic encoding in LLM representationsopen problems in this approach27 citations (OpenAlex)

King's College London · The Alan Turing Institute

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

13measured effects
7improved
4no 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
Use a PrefixLM (full attention) instead of a CausalLMFlan-T5-XXL vs Llama2-chat-13B · SST-5 (10-shot)Partial correct ratio: 6.7% vs 58.4% of test cases partially correctImproved
Scale model from 7B to 13BLlama2-chat and Vicuna · SST-5 (10-shot)Partial correct ratio: Llama 0.566 -> 0.605; Vicuna 0.469 -> 0.524Hurt
Add information augmentation (contrastive alignment to last-position representation) (ablation)Llama-7B · SST-5 (10-shot)Partial correct ratio: 0.566 -> 0.271Improved
Add consistency loss on top of information augmentation (ablation)Llama-7B · SST-5 (10-shot)Partial correct ratio: 0.271 -> 0.159Improved
Add information augmentation (ablation)Llama-7B · QQP (10-shot)Majority voting accuracy: 0.665 -> 0.702Improved
Add consistency loss on top of information augmentation (ablation)Llama-7B · QQP (10-shot)Majority voting accuracy: 0.702 -> 0.697No clear effect
Add InfoAC fine-tuningVicuna-7B · SST-5 (10-shot)Majority voting accuracy: 0.502 -> 0.500No clear effect
Use KNN or One-Shot example selection instead of randomLlama-7B · SST-5 (10-shot)Partial correct ratio: 0.566 (random) vs 0.581 (KNN), 0.594 (One-Shot)No clear effect
Add InfoAC to KNN selectionLlama-7B · SST-5 (KNN selection)Partial correct ratio: 0.581 -> 0.162Improved
Increase number of in-context examples k (ablation)Llama-7B · SST-5Partial correct ratio: 0.556 -> 0.592 -> 0.643 (k=4, 20, 50)Hurt
Apply InfoAC trained at k=10 to k=20Llama-7B · SST-5 (k=20)Partial correct ratio: 0.592 -> 0.224Improved
Apply InfoAC trained at k=10 to k=4All four causal models · SST-5 and Sequence Next Term (k=4)Majority voting accuracyImproved

Open problems in linguistic encoding in LLM representations

Do the linguistic signals found in LLM representations play a causal role, and do they hold across languages and model scales?

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