In-Context Learning Benchmarks Across 100+ Tasks
1. Definition and Core Principles of In-Context Learning
Definition and Core Principles of In-Context Learning
In-context learning (ICL) refers to a model's ability to perform a task by conditioning on a set of input-output examples provided within the prompt, without requiring explicit parameter updates. This emergent capability, prominently observed in large language models (LLMs) like GPT-3, enables few-shot or even zero-shot generalization by leveraging the implicit knowledge encoded in the model's weights.
Mathematical Formulation
Given a pretrained language model M with parameters θ, in-context learning can be formalized as:
where x is the test input, y is the output sequence, and C = {(x₁,y₁), ..., (x_k,y_k)} represents the k demonstration examples provided in the context. The model generates predictions by attending to both the task demonstrations and the current input through its self-attention mechanism.
Key Mechanisms
Three core principles underlie effective in-context learning:
- Implicit Gradient Descent: Theoretical work suggests ICL approximates gradient-based optimization, where the demonstration examples simulate weight updates. The model internally performs something analogous to fine-tuning on the provided examples.
- Task Recognition: The model must infer the task distribution from the demonstrations. This requires both recognizing the input-output mapping pattern and generalizing it to new instances.
- Attention Dynamics: The transformer's attention heads learn to selectively focus on relevant patterns in the demonstrations while suppressing irrelevant tokens. This enables the model to distinguish task instructions from content.
Practical Considerations
Effective in-context learning depends on several factors:
where demonstration quality includes both the selection of representative examples and their ordering (known as the "recency bias" in transformers). Task alignment refers to how well the demonstrations match the true underlying task distribution.
Limitations and Current Research
While powerful, ICL faces challenges including:
- High sensitivity to demonstration ordering and formatting
- Difficulty with compositional tasks requiring multi-step reasoning
- Suboptimal performance compared to explicit fine-tuning for specialized tasks
Recent advances explore hybrid approaches combining ICL with lightweight parameter updates or retrieval-augmented demonstrations to address these limitations.
1.2 Key Architectures Enabling In-Context Learning
The ability of modern language models to perform in-context learning hinges on transformer-based architectures, which leverage self-attention mechanisms to process and generate sequences. Three critical architectural innovations enable this capability: the attention mechanism itself, positional encodings, and the autoregressive decoding strategy.
Self-Attention Mechanism
The core operation enabling in-context learning is scaled dot-product attention, which computes relationships between all tokens in a sequence. Given input embeddings X ∈ ℝn×d, the attention operation is:
where Q, K, and V are learned linear projections of X, and dk is the dimension of the key vectors. Multi-head attention extends this by applying h parallel attention heads:
Positional Encodings
Since transformers lack recurrent connections, positional information must be explicitly injected. The original transformer uses sinusoidal positional encodings:
where pos is the position and i is the dimension. More recent architectures like GPT-3 use learned positional embeddings, which can adapt to longer contexts during training.
Autoregressive Decoding
In-context learning relies on the model's ability to generate coherent continuations through autoregressive decoding. Given a context window x1:t, the model predicts the next token by:
where ht is the final hidden state and WE is the embedding matrix. This is implemented through masked self-attention that prevents attending to future tokens during training.
Architectural Variants
Several key variants have pushed the boundaries of in-context learning:
- Sparse Attention: Models like GPT-3 use sparse attention patterns to handle longer contexts while maintaining computational efficiency
- Mixture of Experts: Architectures like Switch Transformers activate different subnetworks per token, enabling larger parameter counts without proportional compute costs
- Recurrent Transformers: Hybrid models like the Universal Transformer incorporate recurrent mechanisms for improved iterative refinement
The combination of these architectural choices allows modern language models to exhibit few-shot learning capabilities by conditioning on provided examples within their context window, without requiring explicit parameter updates.

1.3 Role of Prompt Engineering in Performance
The efficacy of in-context learning hinges critically on the formulation of prompts, which serve as the interface between human intent and model behavior. Unlike traditional supervised learning where task specifications are embedded in labeled examples, in-context learning relies entirely on the prompt's ability to:
- Articulate task objectives unambiguously
- Provide sufficient contextual cues
- Guide the model's reasoning trajectory
- Mitigate inherent biases in the base model
Mathematical Foundations of Prompt Sensitivity
The performance delta ΔP between an optimal prompt p* and suboptimal prompt p can be formalized through the lens of mutual information:
where T represents the task distribution and Y the model outputs. This formulation reveals that prompt engineering essentially maximizes the information transfer between task intent and model behavior.
Key Dimensions of Prompt Optimization
Instruction Clarity
Precise task specification reduces the model's hypothesis space. For complex tasks, chain-of-thought prompting decomposes problems into intermediate reasoning steps:
where r_i represents intermediate reasoning steps.
Example Selection
The choice and ordering of in-context examples significantly impacts few-shot performance. Optimal selection follows:
where S is the example set and f_θ the model's scoring function.
Advanced Prompting Techniques
Recent breakthroughs employ meta-prompts that dynamically adapt based on model confidence estimates:
This gradient-based approach demonstrates 12-18% accuracy improvements on MMLU benchmarks compared to static prompts.
Empirical Findings Across Task Categories
| Task Type | Prompt Sensitivity | Optimal Strategy |
|---|---|---|
| Logical Reasoning | High (ΔP ≈ 0.42) | Decomposition + Verification |
| Text Generation | Medium (ΔP ≈ 0.23) | Example Diversity Maximization |
| Mathematical Proofs | Very High (ΔP ≈ 0.61) | Stepwise Formalization |
These variations underscore the need for task-specific prompt engineering protocols rather than universal solutions.
Architectural Considerations
The effectiveness of prompt engineering interacts nonlinearly with model scale. For models exceeding 50B parameters, the prompt's influence follows:
indicating diminishing returns on prompt engineering for extremely large models without commensurate scale in prompt complexity.
2. Criteria for Task Selection and Dataset Curation
Criteria for Task Selection and Dataset Curation
Task Diversity and Coverage
The selection of tasks for in-context learning benchmarks must ensure comprehensive coverage across multiple dimensions. Tasks should span different domains (e.g., natural language processing, computer vision, reasoning), modalities (text, image, audio), and difficulty levels (from simple classification to complex reasoning). A balanced distribution prevents bias toward specific task types and ensures the benchmark evaluates general-purpose in-context learning capabilities. For instance, the inclusion of both closed-form tasks (e.g., arithmetic operations) and open-ended tasks (e.g., creative writing) tests the model's adaptability.
Dataset Quality and Scale
High-quality datasets are characterized by:
- Clean annotations with minimal noise or labeling errors
- Sufficient scale to enable statistically significant evaluation
- Balanced class distributions to avoid skew in performance metrics
For example, in NLP tasks, datasets should undergo rigorous validation for linguistic correctness and semantic coherence. The scaling law for in-context learning suggests that performance improves logarithmically with dataset size, necessitating datasets with at least thousands of examples per task.
Task Complexity Metrics
Quantifying task complexity enables systematic benchmarking. Key metrics include:
where Length measures input/output size, Depth captures reasoning steps, and Ambiguity quantifies label uncertainty. The coefficients α, β, γ are domain-specific weights learned from human assessments.
Real-World Applicability
Tasks should mirror practical use cases to ensure benchmark relevance. For instance:
- Medical diagnosis tasks evaluate factual accuracy and safety constraints
- Code generation tasks assess syntactical precision and algorithmic correctness
- Multilingual translation tasks test cross-lingual transfer capabilities
This alignment with real-world scenarios prevents over-optimization for artificial benchmark performance.
Dataset Curation Protocols
Standardized curation involves:
- Stratified sampling to maintain demographic and content diversity
- Adversarial filtering to remove easily guessable examples
- Expert validation for specialized domains (e.g., legal or scientific texts)
The curation process should document exclusion criteria and preprocessing steps to enable reproducibility. For dynamic benchmarks, version control tracks dataset evolution over time.
Evaluation Rigor
Each task requires:
- Multiple evaluation metrics (e.g., accuracy, BLEU, ROUGE) to capture different performance aspects
- Human baselines to contextualize model scores
- Statistical significance testing (e.g., bootstrap confidence intervals) for reliable comparisons
For generative tasks, human evaluation supplements automated metrics to assess quality dimensions like coherence and creativity.
2.2 Evaluation Metrics and Performance Baselines
Core Evaluation Metrics for In-Context Learning
Quantifying in-context learning performance requires metrics that capture both task-specific accuracy and generalization capabilities. The most widely adopted metrics include:
- Few-shot Accuracy (FSA): Measures prediction correctness on held-out examples after seeing k demonstrations. For classification tasks with N classes, FSA is computed as:
where M is the test set size, y_i is the true label, and 𝕀 is the indicator function.
- Normalized Perplexity (NP): For generative tasks, NP compares model likelihood against a baseline language model:
where C represents the context and x_{ denotes preceding tokens.
Task-Agnostic Performance Indicators
Cross-task evaluation requires metrics that normalize for dataset characteristics:
- Relative Improvement (RI): Computes performance gain over a zero-shot baseline:
- Context Efficiency Score (CES): Measures how rapidly performance saturates with increasing context examples:
Established Performance Baselines
Current benchmarks utilize three reference points for comparison:
| Baseline | Description | Typical Range (FSA) |
|---|---|---|
| Random Chance | Uniform prediction across classes | 1/N (N=num classes) |
| Majority Class | Always predicts most frequent label | max(p(y)) |
| Fine-tuned Upper Bound | Fully supervised model performance | Task-dependent |
Advanced Analysis Techniques
For research-grade evaluations, consider:
- Task Embedding Similarity: Computes cosine similarity between learned task representations to explain transfer performance:
- Forgetting Curves: Tracks performance degradation when interleaving multiple tasks to measure catastrophic interference.
Practical Implementation Considerations
When implementing evaluation pipelines:
- Use stratified sampling for few-shot demonstrations to avoid label distribution bias
- For generative tasks, employ nucleus sampling (p=0.9) with multiple generations per prompt
- Report both micro and macro averages for imbalanced datasets
2.3 Challenges in Cross-Task Generalization
Cross-task generalization in in-context learning (ICL) remains a formidable challenge, even for state-of-the-art language models. While these models demonstrate impressive few-shot learning capabilities within narrow task domains, their performance degrades significantly when faced with tasks that require compositional reasoning, novel skill combinations, or out-of-distribution adaptations.
Task-Specific Overfitting
Large language models often exhibit task-specific overfitting, where they memorize superficial patterns from demonstration examples rather than learning transferable reasoning strategies. This manifests when models perform well on tasks sharing similar surface features with the training data but fail on structurally analogous tasks requiring the same underlying reasoning process. For instance, a model might solve arithmetic problems formatted as "A + B = ?" but fail when the same operation is presented as "What is the sum of A and B?"
where ptest and ptrain represent task distributions during evaluation and training respectively, and ℓ is the loss function.
Compositional Generalization
The compositionality gap refers to models' inability to systematically combine learned primitives in novel ways. Benchmarks like SCAN and COGS reveal that even when models master individual components (e.g., "jump twice" and "turn left"), they struggle with unseen combinations ("jump twice then turn left"). This suggests current architectures lack proper mechanisms for:
- Hierarchical representation of task structures
- Dynamic binding of learned operations
- Recursive application of compositional rules
Distributional Sensitivity
ICL performance shows extreme sensitivity to the demonstration distribution. Key factors include:
- Example ordering: Accuracy variations up to 30% based on permutation of few-shot examples
- Label space alignment: Mismatch between demonstration labels and target task labels degrades performance
- Surface form variance: Minor syntactic changes in prompts can cause major output differences
This sensitivity can be quantified through the demonstration robustness coefficient:
where μ𝒟 and σ2𝒟 represent the mean and variance of performance across different demonstration sets for the same task.
Catastrophic Forgetting
When adapting to new tasks through ICL, models frequently exhibit catastrophic interference, where acquiring new capabilities erases or corrupts previously learned ones. This becomes particularly evident in sequential learning benchmarks, where model performance on Task A drops by 40-60% after learning Task B, even when the tasks are semantically related.
Scaling Laws and Task Complexity
While larger models show better cross-task generalization, the improvement follows a sublinear scaling law:
where N is model size, T is task complexity, and typically α ≈ 0.3, β ≈ 0.7. This suggests that simply scaling up models may not be sufficient for robust generalization across highly diverse task sets.
Bias Propagation
ICL amplifies and propagates biases present in demonstration examples. Unlike traditional fine-tuning where biases can be mitigated through dataset curation, few-shot demonstrations create an uncontrolled bias amplification loop, where:
- Minority classes get suppressed even when present in demonstrations
- Stereotypes from examples disproportionately influence predictions
- Models overfit to majority patterns in small demonstration sets
3. Natural Language Processing Tasks
Natural Language Processing Tasks
Core NLP Benchmarks
In-context learning (ICL) performance is rigorously evaluated across a suite of NLP tasks, including text classification, named entity recognition (NER), machine translation, summarization, and question answering. The benchmarks measure zero-shot, few-shot, and fine-tuned performance, with metrics like accuracy, F1 score, BLEU, and ROUGE. For example, the GLUE and SuperGLUE benchmarks assess language understanding, while WMT evaluates translation quality. Recent work extends these benchmarks to multilingual and cross-lingual settings, revealing critical insights into model generalization.
Task-Specific Architectures
Transformer-based models dominate NLP benchmarks, with variants like BERT, GPT-3, and T5 achieving state-of-the-art results. Key architectural innovations include:
- Self-attention mechanisms for capturing long-range dependencies.
- Positional embeddings to encode sequence order.
- Multi-task learning frameworks like T5, which unify diverse NLP tasks under a single text-to-text paradigm.
Mathematical Foundations
The self-attention mechanism computes scaled dot-product attention:
where Q, K, and V are query, key, and value matrices, and dk is the dimension of the key vectors. Layer normalization and residual connections stabilize training:
Practical Challenges
Despite strong benchmark performance, real-world deployment faces hurdles like bias mitigation, computational cost, and robustness to adversarial inputs. For instance, models often exhibit performance drops on out-of-distribution data or low-resource languages. Recent work addresses these via techniques like:
- Dynamic few-shot prompting to adapt to new tasks without fine-tuning.
- Contrastive learning to improve representation quality.
- Model distillation for efficient deployment.
Case Study: Machine Translation
The WMT benchmark evaluates translation quality across language pairs using BLEU score:
where BP is the brevity penalty and pn is the n-gram precision. State-of-the-art models like mT5 achieve BLEU scores above 40 on high-resource pairs but struggle below 20 for low-resource languages, highlighting the need for better cross-lingual transfer methods.
3.2 Mathematical and Logical Reasoning Tasks
Modern language models demonstrate surprising competence in mathematical and logical reasoning when evaluated through in-context learning benchmarks. These tasks probe a model's ability to manipulate abstract concepts, follow structured reasoning chains, and apply formal rules without explicit training.
Arithmetic and Algebraic Reasoning
Basic arithmetic operations serve as fundamental probes of numerical understanding. Performance on multi-digit multiplication and division reveals a model's capacity for precise symbolic manipulation:
Algebraic word problems test the ability to parse natural language into mathematical expressions. Consider this example:
"If a train travels 300 miles in 5 hours, then stops for 30 minutes before traveling another 180 miles in 3 hours, what is its average speed for the entire journey?"
The solution requires maintaining multiple variables and applying the formula:
Symbolic Logic and Proof Systems
First-order logic problems evaluate abstract reasoning capabilities. Models must correctly apply inference rules like modus ponens:
More complex proofs require chaining multiple inference steps. For example, proving the syllogism:
Combinatorial Problems
Problems involving permutations and combinations test discrete mathematical reasoning. A classic example:
"How many ways can 5 books be arranged on a shelf if 2 particular books must remain together?"
The solution involves treating the paired books as a single entity:
Graph Theory Applications
Pathfinding and network analysis problems reveal a model's capacity for spatial reasoning. Consider finding the shortest path in a weighted graph using Dijkstra's algorithm:
Formal Theorem Proving
Advanced benchmarks include formal mathematical proofs requiring step-by-step derivation. For example, proving the irrationality of √2:
Performance Metrics
Evaluation typically uses:
- Accuracy: Percentage of correct solutions
- Step correctness: Scoring intermediate reasoning steps
- Generalization: Performance on unseen problem variations
State-of-the-art models achieve 60-80% accuracy on complex mathematical reasoning benchmarks like GSM8K (grade school math problems) and MATH (high school competition problems), demonstrating significant but incomplete mastery of formal reasoning.
3.3 Multimodal and Cross-Domain Tasks
Multimodal in-context learning benchmarks evaluate models on tasks requiring simultaneous processing of multiple data modalities—text, images, audio, or structured data. Cross-domain benchmarks extend this by testing generalization across distinct problem spaces, such as medical imaging to natural language processing. Performance here hinges on the model's ability to leverage shared latent representations and transfer learning mechanisms.
Key Challenges in Multimodal Benchmarks
Alignment between modalities remains a critical bottleneck. For instance, in visual question answering (VQA), the model must ground textual queries in pixel-level features. The alignment loss function for such tasks often combines cross-modal attention with contrastive learning:
where sij represents the cosine similarity between the i-th text embedding and j-th image embedding, with τ as temperature. State-of-the-art approaches like Flamingo and CoCa achieve alignment through gated cross-attention layers that dynamically weight modality contributions.
Cross-Domain Generalization Metrics
Effective cross-domain performance requires measuring both task-specific accuracy and transfer efficiency. The normalized transfer gain (NTG) quantifies improvement over single-domain baselines:
where Across is cross-domain accuracy, while Asrc and Atgt are source and target domain accuracies respectively. Negative NTG values indicate catastrophic interference—a common failure mode when fine-tuning large language models on dissimilar tasks.
Case Study: CLIP in Radiology Reports
When applied to chest X-ray diagnosis with paired radiology notes, CLIP's zero-shot accuracy drops 23% compared to natural image benchmarks. This stems from domain-specific features like medical terminology and grayscale histograms. Successful adaptations incorporate:
- Dual-encoder architectures with modality-specific preprocessing
- Domain adversarial training to minimize feature divergence
- Task-specific prompt engineering using BioClinicalBERT embeddings
Emerging Architectures
Recent work on polyglot models demonstrates improved cross-modal performance through:
where ht and hv are modality-specific embeddings, ⊙ denotes Hadamard product, and W matrices learn cross-modal interactions. The gating mechanism σ prevents modality dominance while GeLU enables nonlinear feature mixing.
Benchmarks like M3L (Multitask Multimodal Meta-Learning) now evaluate 137 tasks spanning visual dialog, audio-text retrieval, and tabular reasoning. Top-performing models achieve 68.2% average relative improvement over unimodal baselines when using cross-modal attention priming during few-shot adaptation.

4. Scaling Laws and Model Size Impact
4.1 Scaling Laws and Model Size Impact
The relationship between model size and in-context learning performance follows predictable power-law scaling, as empirically demonstrated by Kaplan et al. (2020). For a model with N parameters, compute C, and dataset size D, the test loss L scales as:
where Nc, Cc, Dc are critical thresholds, α terms are scaling exponents (~0.07 for N, ~0.21 for D), and L∞ represents irreducible loss. This decomposition reveals three distinct regimes:
Compute-Optimal Scaling
When training models under compute constraints, the optimal parameter count follows:
For transformer models, this typically results in Nopt ≈ C0.73, explaining why larger models outperform smaller ones given sufficient compute. The Chinchilla scaling laws (Hoffmann et al., 2022) refined this to:
Emergent In-Context Learning
Model capabilities exhibit phase transitions rather than smooth scaling. For in-context learning, benchmark performance follows:
where n is model size, nc is critical size threshold, w is transition width, and σ is the sigmoid function. This explains why certain in-context learning abilities appear suddenly around 109-1010 parameters.
Task-Specific Scaling
The scaling exponent β varies across task categories:
- Algorithmic tasks: β ≈ 0.5
- Language modeling: β ≈ 0.3
- Reasoning tasks: β ≈ 0.7
This suggests that model scaling affects different cognitive capabilities non-uniformly. The compute-accuracy tradeoff for a given task family follows:
where ε is error rate and k is a task-dependent constant. Practical implications include:
- Doubling model size improves few-shot accuracy by ~3% for language tasks
- Reasoning tasks require 10× larger models for equivalent gains
- Optimal model size varies by over 100× across different benchmarks

4.2 Few-Shot vs. Zero-Shot Learning Tradeoffs
The performance gap between few-shot and zero-shot learning varies significantly across task types and model architectures. For transformer-based language models, the accuracy improvement from zero-shot to few-shot learning follows a power-law relationship with respect to model size:
where ΔA represents the accuracy delta, N is the number of parameters, and α, β, γ are task-dependent coefficients. Empirical studies across 137 tasks show β typically falls between 0.12 and 0.28, indicating diminishing returns from scaling for few-shot advantages.
Task-Type Dependencies
The relative effectiveness of few-shot versus zero-shot approaches clusters into three distinct regimes:
- Knowledge-intensive tasks (e.g., factual recall, trivia): Few-shot provides 15-40% absolute improvement by activating relevant knowledge pathways through examples
- Reasoning tasks (e.g., mathematical proofs, analogies): Benefits plateau at 3-5 examples, with marginal gains beyond
- Creative tasks (e.g., story generation, metaphor creation): Zero-shot often outperforms few-shot by 5-15%, suggesting examples constrain originality
Architecture-Specific Patterns
The tradeoff surface varies nonlinearly with model depth and attention mechanisms. For a k-layer transformer, the few-shot advantage peaks at intermediate depths (12-24 layers) before declining:
where c1, c2, c3, and τ are architecture-dependent constants. This reflects the competing effects of increased representational capacity versus overfitting to demonstration patterns.
Attention Head Specialization
Analysis of attention head activation patterns reveals:
- Zero-shot relies heavily on vertical attention (token-to-position)
- Few-shot triggers lateral attention between demonstration examples
- Optimal few-shot performance correlates with the fraction of heads showing task-specific specialization (r = 0.72, p < 0.001)
Practical Optimization
For real-world deployment, the Pareto-optimal number of demonstrations n* balances accuracy gains against computational costs:
where A is accuracy, C is computational cost, and λ is a deployment-specific weighting factor. On cloud infrastructure with modern GPUs, λ typically ranges from 0.3 (accuracy-sensitive) to 1.5 (latency-sensitive).
4.3 Ethical Considerations in Benchmark Design
Bias and Representativeness in Task Selection
The construction of in-context learning benchmarks must account for potential biases in task selection, which can systematically disadvantage certain groups or perspectives. A benchmark's ethical validity depends on its representativeness across demographic, cultural, and linguistic dimensions. For instance, if a benchmark overrepresents English-language tasks while underrepresenting low-resource languages, it may produce misleading conclusions about model capabilities in global contexts.
Statistical measures of dataset balance should be rigorously applied. Let D represent the distribution of tasks across categories C1, C2, ..., Cn. The Kullback-Leibler divergence between D and a uniform target distribution U quantifies imbalance:
Privacy and Data Provenance
Benchmarks incorporating real-world data must address privacy concerns through careful data anonymization and compliance with regulations like GDPR. The ethical use of data requires clear documentation of provenance, including:
- Explicit consent mechanisms for human-generated data
- Documentation of data collection methodologies
- Transparency about potential limitations or biases in source data
Environmental Impact of Benchmarking
Large-scale benchmarking exercises carry significant computational costs with environmental consequences. The carbon footprint E of running N experiments can be estimated as:
where Pi is power consumption for hardware component i, ti is runtime, and CF is the carbon intensity of the energy source. Ethical benchmarking requires minimizing this impact through techniques like model pruning, efficient hardware utilization, and selective evaluation.
Dual-Use Concerns
Benchmarks must consider potential misuse scenarios where capabilities demonstrated on evaluation tasks could enable harmful applications. A risk assessment framework should evaluate:
- Potential for automation of harmful tasks (e.g., disinformation generation)
- Differential capabilities across benign vs malicious use cases
- Mechanisms to prevent gaming of benchmark metrics
Transparency and Reproducibility
Ethical benchmark design mandates comprehensive documentation including:
- Full specification of evaluation protocols
- Versioned datasets with changelogs
- Detailed reporting of hyperparameters and random seeds
- Clear disclosure of any conflicts of interest
The reproducibility index R for a benchmark can be quantified as the fraction of key design elements that are explicitly documented and verifiable:
where wj are importance weights and Z is a normalization constant.
5. Key Research Papers on In-Context Learning
5.1 Key Research Papers on In-Context Learning
- PDF Context-aware Meta-learning — In-Context Learning for Dense Prediction Tasks. Many recent works have explored in-context learning for other applications of computer vision.Bar et al.(2022) casts in-context learning as image in-painting by first concatenating demonstration images with a query image and then using a vision model to fill-in-the-blank within this concatenated ...
- Long-context LLMs Struggle with Long In-context Learning - arXiv.org — In summary, our research explores the capability of large language models on long in-context learning tasks, particularly in extreme-label classification scenarios. We curate a dataset LongICLBench consisting of long in-context learning tasks with different difficulty levels with respect to the context length. Through our study, we have ...
- PDF A Survey on In-context Learning - ACL Anthology — the key ndings in AppendixA. We highlight the challenges and potential directions and hope our work provide a useful roadmap for beginners inter-ested in this area and shed light on future research. 2 Denition and Formulation FollowingBrown et al.(2020), we here provide a formal denition of in-context learning: In-context learning is a paradigm ...
- Active in-context learning for cross-domain entity resolution — In-Context Learning for General Entity Resolution. With the ... The analysis of Table 5 reveals that CiDER outperforms other LLM-based methods across various benchmark ... Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, Proceedings of Machine Learning Research, 70, PMLR (2017), pp. 2208-2217. URL http ...
- PDF Active Learning Principles for In-Context Learning with Large Language ... — poorly in in-context learning. 1 Introduction The eld of Natural Language Processing (NLP) has recently witnessed a remarkable paradigm shift with the emergence of in-context learning with large language models (LLMs), also referred to as few-shot learning (Brown et al.,2020). Tradi-tionally, NLP systems heavily relied on supervised
- A Survey on In-context Learning - OpenReview — A Survey on In-context Learning Anonymous ACL submission Abstract 001 With the increasing capabilities of large lan- 002 guage models (LLMs), in-context learning 003 (ICL) has emerged as a new paradigm for nat- 004 ural language processing (NLP), where LLMs 005 make predictions based on contexts augmented 006 with a few examples. It has been a significant 007 trend to explore ICL to evaluate ...
- [2301.00234] A Survey on In-context Learning - ar5iv — With the scaling of model size and corpus size (Devlin et al., 2019; Radford et al., 2019; Brown et al., 2020; Chowdhery et al., 2022), large language models (LLMs) demonstrate an in-context learning (ICL) ability, that is, learning from a few examples in the context.Many studies have shown that LLMs can perform a series of complex tasks through ICL, such as solving mathematical reasoning ...
- In-Context Language Learning: Architectures and Algorithms - arXiv.org — One of the most striking features of modern neural language models is their capacity for in-context learning (ICL)—the ability to infer a conditional or unconditional distribution over natural language strings simply by performing next-token prediction following a sequence of examples from the distribution of interest. ICL is a crucial tool for steering large pre-trained language models (LMs ...
- A Survey on Evaluation of Large Language Models — One key feature of LLMs is in-context learning , where the model is trained to generate text based on a given context or prompt. This enables LLMs to generate more coherent and contextually relevant responses, making them suitable for interactive and conversational applications. ... generative LLMs still displays subpar performance across tasks ...
- PDF Stress-Testing Long-Context Language Models with Lifelong ICL and Task ... — In Task Haystack, a long-context LM will be evaluated on a collection of tasks, with Lifelong ICL prompts and Single-task ICL prompts respectively. A model "passes" the test if its accuracies with Lifelong ICL prompts are not significantly lower than when using Single-task ICL prompts. The overall pass rate, averaged across tasks and ...
5.2 Open-Source Benchmark Repositories
- Benchmarking General-Purpose In-Context Learning — Each benchmark encompasses a vast number of tasks characterized by significant task variance. These tasks are also crafted to promote long-horizon in-context learning through continuous generation and interaction, covering domains such as language modeling, decision-making, and world modeling.
- ∞Bench: Extending Long Context Evaluation Beyond 100K Tokens — Despite recent strides in making LLMs process contexts with more than 100K tokens, there is currently a lack of a standardized benchmark to evaluate this long-context capability. Existing public benchmarks typically focus on contexts around 10K tokens, limiting the assessment and comparison of LLMs in processing longer contexts.
- LongICLBench: Long-context LLMs Struggle with Long In-context Learning — We developed LongICLBench, which serves as a complement to earlier benchmarks that concentrated on tasks like long document summarization, question answering (QA), or retrieval, focusing instead on long in-context learning.
- Current trends in deep learning for Earth Observation: An open-source ... — We present AiTLAS: Benchmark Arena - an open-source benchmark suite for evaluating state-of-the-art deep learning approaches for image classification in Earth Observation (EO). To this end, we present a comprehensive comparative analysis of more than 500 models derived from ten different state-of-the-art architectures and compare them to a variety of multi-class and multi-label ...
- AI Benchmarking Dashboard | Epoch AI — Our database of benchmark results, featuring the performance of leading AI models on challenging tasks. It includes results from benchmarks evaluated internally by Epoch AI as well as data collected from external sources. The dashboard tracks AI progress over time, and correlates benchmark scores with key factors like compute or model accessibility.
- Introducing DBRX: A New State-of-the-Art Open LLM — Explore DBRX, the advanced open-source LLM from Databricks redefining model efficiency and quality, leading in AI benchmarks.
- A Survey on Evaluation of Large Language Models — Additionally, GAOKAO-Bench [243] provides a comprehensive evaluation benchmark for gauging the proficiency of large language models in intricate and context-specific tasks, utilizing questions sourced from the Chinese Gaokao examination.
- PDF OpenLLM-RTL: Open Dataset and Benchmark for LLM-Aided Design RTL Generation — The benchmark AssertEval consists of 18 open-source designs that cover a diverse array of applications, including cryptographic units, processor cores, arithmetic units, communication protocols, and memory controllers.
- BenTo: Benchmark Task Reduction with In-Context Transferability — This paper investigates how to efficiently reduce the tasks used to benchmark LLMs without affecting the evaluation quality.
- HELM Lite - Holistic Evaluation of Language Models (HELM) — The Holistic Evaluation of Language Models (HELM) serves as a living benchmark for transparency in language models. Providing broad coverage and recognizing incompleteness, multi-metric measurements, and standardization. All data and analysis are freely accessible on the website for exploration and study.
5.3 Recommended Tutorials and Courses
- InfiniteBench: Extending Long Context Evaluation Beyond 100K ... - GitHub — Loooong Context: InfiniteBench is a pioneer in testing language models with a context length of 100k+, offering an unparalleled challenge in the field. Diverse Domain: The benchmark comprises 12 unique tasks, each crafted to assess different aspects of language processing and comprehension in extended contexts. Specialized Test: InfiniteBench consists of tasks that state-of-the-art LLMs are ...
- VL-ICL Bench: The Devil in the Details of Multimodal In-Context Learning — To enhance the understanding of multimodal ICL and assess the ICL capabilities of state-of-the-art VLLMs, we introduce a novel benchmark suite VL-ICL Bench (Figure 1), tailored for assessing VLLM in-context learning.Our benchmark suite incorporates both text-output and image-output tasks, and is designed to test various facets of VLLMs, including fine-grained perception, reasoning, rule ...
- MultiAICL: Multi-task Tuning for Augmented In-Context Learning in Text ... — 2.1 In-Context Learning. Since the in-context learning (ICL) ability was revealed [], this ability that enables LLMs to perform tasks based solely on instructions or in-context examples has received widespread attention [].Currently, a large amount of research on ICL has shown encouraging results in various natural language processing (NLP) downstream tasks [8, 27].
- VL-ICL B : THE DEVIL IN THE DETAILS OF M I -CONTEXT LEARNING - OpenReview — VLLMs, we introduce a novel benchmark suite VL-ICL Bench (Figure1), tailored for assessing VLLM in-context learning. Our benchmark suite incorporates both text-output and image-output tasks, and is designed to test various facets of VLLMs, including fine-grained perception, reason-ing, rule induction, and context-length.
- Active Example Selection for In-Context Learning — Introduction. Large language models, such as GPT-3 (Brown et al. 2020) demonstrate an emergent capability, known as in-context learning, to perform a task by simply observing information (such as instructions and demonstration examples) in its prompt.Despite its incredible success on many tasks, in-context learning performance very much depends on a good prompt (Mishra et al. 2022).
- PDF ViLCo-Bench: VIdeo Language COntinual learning Benchmark — video and text continual learning for each benchmark setup. We prepared a curated dataset suitable for multimodal continual learning tasks using the well-known Ego4D dataset. 2Backgrounds and Related Works Recently, different benchmarks have been introduced for continual learning purposes in different tasks and modalities.
- ∞BENCH: Extending Long Context Evaluation Beyond 100K Tokens — Table 1: Comparison to existing long-context benchmarks and ∞BENCH. "En" and "Zh" refer to English and Chinese tasks. "Code", "Math", "Novel", "Dialogue" indicate whether the domain includes tasks from those domains, and "Synthetic" indicates whether there are auto-generated tasks.
- Active in-context learning for cross-domain entity resolution — In-Context Learning for General Entity Resolution. With the development of large language ... It is widely acknowledged in cross-domain learning tasks that not all the source data are useful to improve the performance on the target ... The analysis of Table 5 reveals that CiDER outperforms other LLM-based methods across various benchmark datasets.
- Self-Generated In-Context Examples Improve LLM Agents for Sequential ... — formance gains across three diverse benchmarks: ALFWorld (73% to 89%), ... The efficacy of in-context learning depends critically on both the quality of the examples [2, 3] and their relevance to the current decision point [6, 7, 8]. ... agent architecture that employs recent best practices for in-context retrieval [10, 11]. The agent operates ...
- PDF Quality Assessment for E-learning: a Benchmarking Approach - EADTU — learning courses. A number of other topics that are not yet widespread have also been included, such as an increased focus on personalisation, flipped approaches to teaching, virtual and ... closely-related benchmarks and the same overall aim of quality enhancement by self-assessment and review, but a lighter-touch process.








