Research map / Large language models / Language, safety and interpretability
ICL CIPHERS: Quantifying ``Learning'' in In-Context Learning via Substitution Ciphers
Zhouxiang Fang, Aayush Mishra, Muhan Gao, Anqi Liu, Daniel Khashabi
Johns Hopkins University
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use Bijective instead of Non-Bijective cipher (ablation) | Llama3.1 · Amazon (r=0.6), 20-shot | accuracy: 64.7 -> 72.3 | Improved |
| use Bijective instead of Non-Bijective cipher (ablation) | Qwen2.5 · HellaSwag (r=0.3), 20-shot | accuracy: 52.8 -> 62.3 | Improved |
| use Bijective instead of Non-Bijective cipher (ablation) | Llama3.1, Qwen2.5, Olmo, Gemma2 · SST-2 (r=0.5), 20-shot | accuracy: +4.8, +4.5, +5.0, +3.7 | Improved |
| use Bijective instead of Non-Bijective cipher (ablation) | Gemma2 · HellaSwag (r=0.3), 20-shot | accuracy: 37.1 -> 36.6 | Hurt |
| use Bijective instead of Non-Bijective cipher (ablation) | Olmo · WinoGrande (r=0.1), 20-shot | accuracy: 53.4 -> 53.1 | Hurt |
| use Bijective instead of Non-Bijective cipher (ablation) | Llama3.1 8B · WinoGrande (r=0.1), 20-shot | accuracy: 53.7 -> 55.5 | Improved |
| increase demonstrations from 5 to 50 (ablation) | Llama3.1 8B Bijective gap · Amazon (r=0.6) | accuracy gap: +4.7 -> +10.1 | Improved |
| vary shuffle rate (ablation) | Llama3.1 8B · Amazon | accuracy gap | Mixed |
| use instruction-tuned Llama-3.1-8B-Instruct (ablation) | Llama-3.1-8B · ciphered tasks | accuracy gap | No clear effect |
| scale from Llama-3.1-8B to 70B (ablation) | Llama-3.1 · ciphered tasks | accuracy gap | No clear effect |
| restrict ciphering to nouns only (ablation) | Llama3.1 8B · WinoGrande (r=0.1), 20-shot | accuracy gap: +1.8 -> +2.4 | No clear effect |
| use random instead of priority sampling of demos (ablation) | Llama 3.1 8B · Amazon, SST-2 | accuracy | No clear effect |
Open problems this paper states
- “Largest model tested is Llama 3.1 70B, and aligned models such as GPT-4-o1 or Gemini are not evaluated.” → Models stop at about 1B to 8B parameters, so larger ones are untested. (an open problem in reasoning mechanisms and failure modes)
Open problems in reasoning mechanisms and failure modes
Do mechanistic findings about reasoning and language in LLMs hold for larger models, other languages and other architectures?
- Only one model family or one architecture is tested. · 19 papers state it
- Models stop at about 1B to 8B parameters, so larger ones are untested. · 18 papers state it
- Effects are observed but the mechanism behind them is not explained. · 18 papers state it
Closest papers by meaning
- ICLShield: Exploring and Mitigating In-Context Learning Backdoor Attacks (ICML 2025 · similarity 0.86)
- Emergence and Effectiveness of Task Vectors in In-Context Learning: An Encoder Decoder Perspective (ICML 2025 · similarity 0.86)
- From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and When (NeurIPS 2024 · similarity 0.85)
- How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representations (ICLR 2024 · similarity 0.85)
- Can In-context Learning Really Generalize to Out-of-distribution Tasks? (ICLR 2025 · similarity 0.85)
- Provable In-Context Vector Arithmetic via Retrieving Task Concepts (ICML 2025 · similarity 0.85)
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.