Research map / Large language models / Retrieval and knowledge
Learning vs Retrieval: The Role of In-Context Examples in Regression with Large Language Models
Aliakbar Nafar, Kristen Brent Venable, Parisa Kordjamshidi
Michigan State University · Florida Institute for Human and Machine Cognition · University of West Florida
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 |
|---|---|---|---|
| replace true outputs of in-context examples with random Gaussian numbers (ablation) | GPT-3.5, LLaMA 3 70B, GPT-4 (Named Features) · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | Hurt |
| increase number of in-context examples when outputs are random (ablation) | LLMs with Randomized Ground Truth · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | Hurt |
| add real feature names (Named Features vs Anonymized Features) (ablation) | GPT-3.5, LLaMA 3 70B, GPT-4 · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | Improved |
| give in-context examples with anonymized features instead of no examples | GPT-3.5, LLaMA 3 70B, GPT-4 · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | Improved |
| replace feature names with random unrelated names of the same range (ablation) | Named Features prompt · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | No clear effect |
| add feature names when few in-context examples (10) | LLMs · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | Improved |
| add feature names when 100 in-context examples are given | LLMs · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | No clear effect |
| use Named Features LLMs instead of Ridge/RandomForest with 10 or 30 examples | GPT-3.5, LLaMA 3 70B, GPT-4 · regression datasets, 3 features | MSE | Improved |
| use 100 in-context examples against Ridge/RandomForest | LLMs · regression datasets, 3 features | MSE | No clear effect |
| add more features (Anonymized Features, 100 examples) | LLMs · Insurance Cost, Used Car Prices | MSE | Improved |
| add more features | LLMs · Admission Chance | MSE | No clear effect |
| use more than 100 in-context examples | LLMs · Admission Chance, Insurance Cost, Used Car Prices regression | MSE | No clear effect |
Open problems in knowledge editing in LLMs
Do knowledge editing and factuality methods hold up on larger models, closed models and real-world editing?
- Experiments stay on small or mid-sized models. · 24 papers state it
- Needs logits or internal access, so closed models are out. · 12 papers state it
- Tested on short factual answers, not reasoning or long text. · 10 papers state it
Closest papers by meaning
- Meta-in-context learning in large language models (NeurIPS 2023 · similarity 0.92)
- What In-Context Learning ``Learns'' In-Context: Disentangling Task Recognition and Task Learning (ACL 2023 · similarity 0.92)
- Revisiting In-Context Learning with Long Context Language Models (ACL 2025 · similarity 0.92)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.91)
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering (ICML 2024 · similarity 0.90)
- Dual Operating Modes of In-Context Learning (ICML 2024 · similarity 0.90)
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.