Research map / Large language models / Language, safety and interpretability
On the In-context Generation of Language Models
Zhongtao Jiang, Yuanzhe Zhang, Kun Luo, Xiaowei Yuan, Jun Zhao, Kang Liu
Chinese Academy of Sciences · University of Chinese Academy of Sciences · Beijing Academy of Artificial Intelligence · Shanghai AI Laboratory
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 |
|---|---|---|---|
| increase composition arity M (from 2 to 3 and 4) (ablation) | Transformers of all sizes · synthetic pretrained distribution | ICTR^B_29 (overall ICG) | Improved |
| increase composition arity M (ablation) | X2L model · synthetic pretrained distribution | repeated-topic ratio rR needed to generalize: 1/64 (M=2) -> 1/2048 (M=3) | Improved |
| increase proportion of repeated topics rR (ablation) | Transformers · synthetic pretrained distribution | ICG-generalization | Improved |
| increase topic uncertainty gamma (0.01 to 0.05) (ablation) | model L · synthetic pretrained distribution | ICG-generalization | No clear effect |
| increase topic uncertainty gamma from 0.01 to 0.05 (ablation) | model L · synthetic pretrained distribution | ICTR^B_29: 0.92 -> 0.02 | Hurt |
| increase model size (ablation) | Transformers · synthetic pretrained distribution | ICTR^B_29 and ICG-generalization: 0.68 -> 0.93 (X2S to X2L, gamma 0.01) | Improved |
| increase model size with very few shots (N=2) (ablation) | Transformers · synthetic pretrained distribution | ICTR^B_2 | Hurt |
| increase attention window size (ablation) | model L · synthetic pretrained distribution | ICG and ICG-generalization | Improved |
| reduce number of attention heads (ablation) | XL model · synthetic pretrained distribution | model status | No clear effect |
| use nonrepeated topics instead of unseen topics (ablation) | Transformers · synthetic pretrained distribution | generalization | No clear effect |
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?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- In-Context Language Learning: Architectures and Algorithms (ICML 2024 · similarity 0.90)
- A Survey on In-context Learning (EMNLP 2024 · similarity 0.89)
- Beyond In-Context Learning: Aligning Long-form Generation of Large Language Models via Task-Inherent Attribute Guidelines (ACL 2025 · similarity 0.89)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.88)
- Towards Auto-Regressive Next-Token Prediction: In-context Learning Emerges from Generalization (ICLR 2025 · similarity 0.87)
- Understanding In-Context Learning from Repetitions (ICLR 2024 · similarity 0.87)
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.