Research map / Large language models / Instruction and fine-tuning
Naive Bayes-based Context Extension for Large Language Models
Jianlin Su, Murtadha Ahmed, Wenbo, Luo Ao, Mingren Zhu, Yunfeng Liu
Zhuiyi Technology Co. Ltd
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 NBCE instead of PCW with 9 windows | LLaMA-7B · text classification (14 datasets, B=9) | accuracy: e.g. TREC 41.2 -> 88.8; BANKING77 11.2 -> 58.9 | Improved |
| use NBCE instead of PCW as number of classes grows | GPT2 models · NLU Intent, BANKING77, CLINIC150 | accuracy: 3.6 to 5.1 points | Improved |
| use NBCE instead of PCW with few classes and small models | GPT-2-Large, OPT-1.3B · datasets with five or fewer classes | accuracy | No clear effect |
| increase windows with PCW from B=3 to B=9 | LLaMA-7B · TREC | accuracy: 81.1 -> 41.2 | Hurt |
| increase windows with NBCE from B=3 to B=9 | LLaMA-7B · TREC | accuracy: 83.5 -> 88.8 | Improved |
| use NBCE instead of PCW (multi-choice) | LLaMA-7B · multiple-choice tasks (B=2 to 6) | accuracy: OpenBookQA 35.1 -> 50.3; ARC-Easy 70.8 -> 73.5 at B=6 | Mixed |
| add more demonstrations via more windows | LLaMA-7B · multiple-choice tasks | accuracy | No clear effect |
| add entropy-based voting instead of random window selection (ablation) | NBCE · DBPedia, LLaMA-7B (B=9) | accuracy: 82.8 -> 96.8 | Improved |
| add entropy-based voting instead of random window selection (ablation) | NBCE · CB, GPT2-Large (B=9) | accuracy: 46.1 (RAN) vs 45.1 | Hurt |
| use entropy-based max pooling instead of average pooling (ablation) | NBCE · text classification, GPT2 models | accuracy | Improved |
| vary beta among 0.25, 0.5, 0.75 (ablation) | NBCE · text classification, GPT2 models | accuracy | No clear effect |
| use NBCE instead of PCW with larger model | LLaMA-13B / 30B / OPT-6.7B · text classification | accuracy | Improved |
Open problems in efficient LLM fine-tuning systems
Do efficient fine-tuning methods keep their gains on larger models, other languages and open-ended tasks, and what do they cost?
- Larger models than 8B to 30B were not tested. · 20 papers state it
- Experiments cover English or a few languages only. · 12 papers state it
- The method adds training, memory or inference cost. · 12 papers state it
Closest papers by meaning
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering (ICML 2024 · similarity 0.87)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.87)
- In-Context Language Learning: Architectures and Algorithms (ICML 2024 · similarity 0.87)
- Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspective (ICML 2024 · similarity 0.87)
- Probing the Decision Boundaries of In-context Learning in Large Language Models (NeurIPS 2024 · similarity 0.86)
- In-Context Learning through the Bayesian Prism (ICLR 2024 · similarity 0.86)
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.