REVIEW 4 major objections 6 minor 43 references
Towards Compute-Optimal Many-Shot In-Context Learning
T0 review · 4 major / 6 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read The paper claims that a many-shot prompt can reach similarity-based accuracy while staying almost fully cacheable, by mixing a small per-test similar set with a large fixed demonstration pool.
desk verdict A practical, clearly-written hybrid selection recipe for many-shot ICL that mostly delivers on its cost/accuracy promise, though the evidence would be stronger with error bars, an s-ablation, and numeric tables. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is the hybrid many-shot prompt, in which a constant $s=20$ demonstrations selected by cosine similarity to the test embedding are added to a large fixed, cacheable block. The fixed block is either $r$ random demonstrations or $k$ demonstrations chosen by k-means centroid mapping: test-sample embeddings are clustered, the optimal number of clusters is set by the elbow method, and for each centroid the nearest demonstrations in the pool are cached. Attention-complexity accounting is the argument's engine: with key-value caching the per-query cost is $O(c(s+t))$ with cached token count $c$ dominating the similar demonstrations $s$ and the test tokens $t$, hence linear in $c$, whereas full per-query similarity selection costs $O(n^2)$. The diminishing-effectiveness premise justifies why $r$ or $k$ can greatly exceed $s$ without hurting accuracy.
What would settle it
Run a 200-shot comparison on a task where accuracy under full similarity-based selection still rises sharply between 100 and 200 shots; the hybrid predicts parity, so any large gap would show the cached majority is not neutral and would break the method.
Extended reading notes
Core claim
The paper's central discovery is that selection criteria have diminishing marginal value in many-shot in-context learning: after roughly 50 to 100 demonstrations, the few most similar demonstrations carry most of the benefit that similarity selection provides, so the rest can be chosen cheaply and cached. Concretely, an $n$-shot prompt is built as $s=20$ test-specific similar demonstrations plus $r$ (or $k$) cached random (or k-means centroid-selected) demonstrations with $r,k \gg s$. The authors argue that this hybrid is compute-optimal in the sense that it reaches the accuracy of fully dynamic similarity-based selection while preserving the $O(c)$ inference scaling of fully cached methods, instead of the $O(n^2)$ scaling of similarity selection. On their evaluated datasets, the hybrid matches or outperforms the strongest baseline, and the cached majority adds a compound benefit rather than diluting the similar demonstrations.
Load-bearing premise
The method assumes that when a prompt already contains a hundred or more demonstrations, the extra accuracy from choosing examples most similar to the test question is small, so most of the prompt can be filled with cheap cached examples without hurting performance.
Editorial extensions
If this is right
- Practitioners can adopt a largely cached many-shot prompt while still customizing it for each test sample, removing the main obstacle to scaling demonstrations.
- At 200 shots the estimated inference cost is around ten times lower than full similarity-based selection, with performance at parity or better on the evaluated tasks.
- The ratio of similar to cached demonstrations becomes a tunable hyperparameter that trades accuracy against inference cost in many-shot ICL.
- Even with only a 100-example demonstration pool, the hybrid strategies outperform using the full pool, so the approach does not require a large curated set.
- Because only the similar subset is recomputed, the method composes with any caching implementation, including key-value cache.
Reading between the lines
- The same cost argument should extend beyond 200 demonstrations: as long as the diminishing-effectiveness premise holds, the hybrid structure keeps inference linear while the cached pool grows, so the method could plausibly scale to thousands of demonstrations.
- The premise implies a testable boundary: tasks where later similar demonstrations still add accuracy, such as highly heterogeneous or label-dense tasks, may need a larger $s$, and adapting $s$ per task could be a practical follow-up the paper does not pursue.
- An implicit economic consequence is that the expensive part of computation shifts to offline embedding and clustering steps, which are amortized; whether that is worthwhile depends on query volume and context lengths, a comparison the paper does not quantify.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes two hybrid demonstration-selection strategies for many-shot in-context learning. The first combines a small number (s=20) of test-similar demonstrations with a much larger cached random set; the second replaces the random cached set with demonstrations chosen via k-means centroids computed from test-sample representations. The central claim is that these hybrids match or surpass fully similarity-based selection while keeping inference cost near that of fully cached methods, reducing the estimated cost by up to an order of magnitude at 200 shots. The paper evaluates the methods on Gemini Pro and Flash across ANLI, TREC, GSM Plus, and MetaTool, plus low-data BBH subsets, and reports performance-cost Pareto results. The motivation rests on a 'diminishing effectiveness of selection criteria' premise, which the authors say they verify in their own experiments.
Significance. If the central claim holds, the paper provides a simple and practical recipe for many-shot ICL that preserves most of the accuracy of dynamic similarity-based selection while remaining largely cacheable. The cost model is an analytic complexity bound rather than a fitted curve, which is a strength, and the paper includes two k-means baselines to isolate the effect of centroid mapping from test data. The proposed methods are model-agnostic and cache-agnostic. However, the empirical support is currently limited by the absence of repeated seeds, error bars, and numeric tables, and by the lack of an ablation on the key hyperparameter s=20. The significance of the contributions is therefore conditional on these being addressed.
major comments (4)
- [Section 3 (Experimental Setup) and Section 4.4 (Figure 5)] The main experiments fix s=20 similar demonstrations for all prompt sizes, and no ablation over s is reported for the primary four-dataset setup. The paper's own low-data results in Figure 5 show that increasing the similar share from 20 to 80 improves accuracy by about 3–6%, which indicates that s=20 is not universally sufficient to capture the similarity benefit. Because the central parity claim depends on the premise that similarity's marginal benefit beyond 20 examples is negligible, the absence of an s-ablation leaves the headline claim unsupported. Please add an ablation over s at fixed total n for at least a subset of the datasets and models, and provide a quantitative measure of diminishing returns as a function of the number of similar demonstrations.
- [Section 4.2 and Figure 4] The paper's own analysis of TREC states that random selection continues to improve up to 200 shots and has not yet approximated similarity-based selection by 200 shots. This directly weakens the diminishing-effectiveness premise for the random component within the tested range. Since the hybrid methods replace up to 180 of 200 demonstrations with cached random or k-means demonstrations, a task with a longer-tailed selection benefit could cause the cached majority to drag accuracy below the full-similarity baseline. The verification of the premise in Section 4.2 is qualitative (reading trends off Figure 4) rather than quantitative. Please report the marginal accuracy gain of similarity-based selection as a function of the number of similar demonstrations, rather than only visual inspection.
- [Section 4 and Figure 4] The paper reports no error bars, no repeated seeds, and no statistical significance tests, and it does not provide numeric tables of the plotted values. Claims such as 'consistently outperform random selection and surpass or match the most performant selection approach' in the abstract cannot be assessed for reliability without variance estimates. Please provide mean and standard deviation over at least three to five seeds (or an equivalent bootstrap) for the key configurations, and include the numerical values underlying Figures 2, 4, and 5 in an appendix or supplementary table.
- [Section 4.1 (Inference Cost Analysis)] The 'up to an order of magnitude' inference-cost reduction is derived from an asymptotic attention-complexity model, O(c(s+t)) versus O(n^2), and is not validated with any measured inference time. Since the paper's title and framing emphasize compute-optimality, the cost claim should either be supported by end-to-end latency measurements on the evaluated models or explicitly presented as a model-based estimate with the simplifying assumptions stated, including the treatment of output generation, prefill, and memory-bandwidth effects.
minor comments (6)
- [Section 2.3] The sentence 'This method aims to enhance our first strategy byencouraging diversity in demonstration selection' contains a typo ('byencouraging') and should read 'by encouraging'.
- [Section 4.3] The quantitative claims 'nearly two times lower in 50-shot settings and ten times lower in 200-shot settings' are not tied to a specific formula or table; please derive them explicitly from the cost model in Section 4.1 or cite the relevant panel in Figure 4.
- [Section 4.4] The low-data experiment varies the number of similar demonstrations and the number of cached demonstrations simultaneously while holding the total at 100, so the observed 3–6% gains conflate the effect of adding more similar demonstrations with the effect of removing cached ones. This should be acknowledged, and an additional ablation that varies s while keeping the cached-set size fixed would isolate the effect of s.
- [Figure 4] The panels do not include error bars or numeric labels for all data points, making it difficult to recover exact values; including a table of the plotted numbers in an appendix would improve reproducibility.
- [Section 3 (Models)] The paper states that temperature was set to zero 'to promote deterministic results,' but decoding can still be nondeterministic in some serving setups; please clarify whether greedy decoding was used and whether any runs were repeated to confirm determinism.
- [Section 2.1 and References] The diminishing-effectiveness premise is attributed to Agarwal et al. (2024) and Bertsch et al. (2024), but no specific sections, figures, or tables of those works are cited; pointing to the relevant evidence would make the premise more reproducible.
Circularity Check
No significant circularity: the paper's headline claims are empirical measurements plus an analytic cost model, with no fitted parameter relabeled as a prediction.
full rationale
The paper's central claims are empirical measurements of accuracy across selection strategies, not derived quantities. The hybrid method is constructed by combining s similar demonstrations with a cached random or k-means set, but the claim that it matches or surpasses similarity-based selection is tested against baselines on held-out test samples, not implied by the construction. The inference-cost analysis is an analytic complexity bound with no fitted parameters and is not a renamed empirical result; it follows from attention complexity and the assumption that cached content is reused. The 'diminishing effectiveness of selection criteria' premise is cited from Agarwal et al. (2024) and Bertsch et al. (2024), and the paper explicitly verifies it in Section 4.2 using the same experimental setup, so it is not assumed by construction. The only self-citation in this load-bearing motivation (Agarwal et al. 2024, where Rishabh Agarwal is a co-author of the present paper) is corroborated by an external citation and by the paper's own experiments, so it does not constitute circular reasoning. No fitted parameter is relabeled as a prediction, no uniqueness theorem is imported from the authors' prior work, and no known result is merely renamed. The paper is self-contained as an empirical study, and any concerns about the sufficiency of s=20 or test-data use in choosing k-means cluster counts are correctness or robustness issues, not circularity.
Assumptions & free parameters
free parameters (3)
- s = number of similar demonstrations =
20
- number of k-means clusters =
1 to 20, selected per dataset via elbow method
- r/k values for cached demonstrations =
0, 30, 80, 130, 180
assumptions (5)
- standard math Transformer attention cost is O(n^2) for uncached prompts and O(ct + t^2) with KV caching.
- domain assumption In many-shot ICL, similarity-based selection loses its advantage over random selection as the number of demonstrations grows, so a large cached random or k-means set is nearly as good as a similarity-selected set.
- domain assumption Gecko text embeddings with cosine similarity are a valid proxy for demonstration usefulness on these tasks.
- ad hoc to paper Test-sample representations may be used to choose cached demonstrations.
- domain assumption KV caching of demonstrations requires no recomputation and introduces no approximation error.
Cite this review
Pith. "Pith review of Towards Compute-Optimal Many-Shot In-Context Learning." pith.science (2026). https://pith.science/paper/VOUIEPHN
@misc{pith2026250716217,
author = {Pith},
title = {Pith review of: Towards Compute-Optimal Many-Shot In-Context Learning},
year = {2026},
howpublished = {\url{https://pith.science/paper/VOUIEPHN}},
note = {Machine review of arXiv:2507.16217}
}
read the original abstract
Long-context large language models (LLMs) are able to process inputs containing up to several million tokens. In the scope of in-context learning (ICL), this translates into using hundreds/thousands of demonstrations in the input prompt, enabling many-shot ICL. In practice, a fixed set of demonstrations is often selected at random in many-shot settings due to (1) high inference costs, (2) the benefits of caching and reusing computations, and (3) the similar performance offered by this strategy compared to others when scaled. In this work, we propose two straightforward strategies for demonstration selection in many-shot ICL that improve performance with minimal computational overhead. Our first method combines a small number of demonstrations, selected based on their similarity to each test sample, with a disproportionately larger set of random demonstrations that are cached. The second strategy improves the first by replacing random demonstrations with those selected using centroids derived from test sample representations via k-means clustering. Our experiments with Gemini Pro and Flash across several datasets indicate that our strategies consistently outperform random selection and surpass or match the most performant selection approach while supporting caching and reducing inference cost by up to an order of magnitude. We also show that adjusting the proportion of demonstrations selected based on different criteria can balance performance and inference cost in many-shot ICL.
Figures
Figures from the paper (16 more)
Reference graph
Works this paper leans on
-
[1]
Rishabh Agarwal, Avi Singh, Lei M Zhang, Bernd Bohnet, Luis Rosias, Stephanie Chan, Biao Zhang, Ankesh Anand, Zaheer Abbas, Azade Nova, et al. Many-shot in-context learning. arXiv preprint arXiv:2404.11018,
-
[3]
URL https://openreview.net/forum?id=cw5mgd71jW. Rohan Anil, Sebastian Borgeaud, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, Katie Millican, et al. Gemini: a family of highly capable multimodal models. arXiv preprint arXiv:2312.11805,
-
[5]
In-context learning with long-context models: An in-depth exploration
Amanda Bertsch, Maor Ivgi, Uri Alon, Jonathan Berant, Matthew R Gormley, and Graham Neubig. In-context learning with long-context models: An in-depth exploration. arXiv preprint arXiv:2405.00200,
-
[6]
impact of sample selection on in-context learning for entity extraction from scientific writing
Necva B¨ol ¨uc ¨u, Maciej Rybinski, and Stephen Wan. impact of sample selection on in-context learning for entity extraction from scientific writing. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 5090–5107, Singapore, December
work page 2023
-
[7]
doi: 10.18653/v1/2023.findings-emnlp.338
Association for Computational Linguis- tics. doi: 10.18653/v1/2023.findings-emnlp.338. URL https://aclanthology.org/2023. findings-emnlp.338/. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in ne...
-
[9]
Papailiopoulos, and Kangwook Lee
Tuan Dinh, Yuchen Zeng, Ruisu Zhang, Ziqian Lin, Michael Gira, Shashank Rajput, Jy-yong Sohn, Dimitris S. Papailiopoulos, and Kangwook Lee. LIFT: language- interfaced fine-tuning for non-language machine learning tasks. In Sanmi Koyejo, S. Mohamed, A. Agarwal, Danielle Belgrave, K. Cho, and A. Oh (eds.), Advances in Neural Information Processing Systems 3...
work page 2022
-
[11]
Data engineering for scaling language models to 128k context
10 Published as a conference paper at COLM 2025 Yao Fu, Rameswar Panda, Xinyao Niu, Xiang Yue, Hannaneh Hajishirzi, Yoon Kim, and Hao Peng. Data engineering for scaling language models to 128k context. arXiv preprint arXiv:2402.10171,
arXiv 2025
-
[12]
Gemini 1.5: Unlocking multimodal understand- ing across millions of tokens of context
Petko Georgiev, Ving Ian Lei, Ryan Burnell, Libin Bai, Anmol Gulati, Garrett Tanzer, Damien Vincent, Zhufeng Pan, Shibo Wang, et al. Gemini 1.5: Unlocking multimodal understand- ing across millions of tokens of context. arXiv preprint arXiv:2403.05530,
Show all 43 references
-
[13]
Time travel in llms: Tracing data contamina- tion in large language models
Shahriar Golchin and Mihai Surdeanu. Time travel in llms: Tracing data contamina- tion in large language models. In The Twelfth International Conference on Learning Rep- resentations, ICLR 2024, Vienna, Austria, May 7-11, 2024 . OpenReview.net,
2024
-
[14]
Shahriar Golchin, Mihai Surdeanu, Steven Bethard, Eduardo Blanco, and Ellen Riloff
URL https://openreview.net/forum?id=2Rwq6c3tvr. Shahriar Golchin, Mihai Surdeanu, Steven Bethard, Eduardo Blanco, and Ellen Riloff. Memorization in in-context learning. arXiv preprint arXiv:2408.11546,
-
[16]
Accessed: 2025-03-28
URL https:// cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings . Accessed: 2025-03-28. Yaru Hao, Yutao Sun, Li Dong, Zhixiong Han, Yuxian Gu, and Furu Wei. Structured prompting: Scaling in-context learning to 1,000 examples. arXiv preprint arXiv:2212.06713,
2025 arXiv
-
[17]
In-context learning creates task vectors
Roee Hendel, Mor Geva, and Amir Globerson. In-context learning creates task vectors. arXiv preprint arXiv:2310.15916,
-
[19]
Many-shot in-context learning in multimodal foundation models
Yixing Jiang, Jeremy Irvin, Ji Hun Wang, Muhammad Ahmed Chaudhry, Jonathan H Chen, and Andrew Y Ng. Many-shot in-context learning in multimodal foundation models. arXiv preprint arXiv:2405.09798,
-
[20]
In-context learning in large language models learns label relationships but is not conventional learning
Jannik Kossen, Tom Rainforth, and Yarin Gal. In-context learning in large language models learns label relationships but is not conventional learning. arXiv preprint arXiv:2307.12375,
-
[21]
Gecko: Versatile text embeddings distilled from large language models
Jinhyuk Lee, Zhuyun Dai, Xiaoqi Ren, Blair Chen, Daniel Cer, Jeremy R Cole, Kai Hui, Michael Boratko, Rajvi Kapadia, Wen Ding, et al. Gecko: Versatile text embeddings distilled from large language models. arXiv preprint arXiv:2403.20327,
-
[22]
Llms-as-judges: A comprehensive survey on llm-based evaluation methods
Haitao Li, Qian Dong, Junjie Chen, Huixue Su, Yujia Zhou, Qingyao Ai, Ziyi Ye, and Yiqun Liu. Llms-as-judges: A comprehensive survey on llm-based evaluation methods. CoRR, abs/2412.05579, 2024a. doi: 10.48550/ARXIV .2412.05579. URL https://doi.org/10. 48550/arXiv.2412.05579. Q...
-
[24]
What makes good in-context examples for gpt-3? arXiv preprint arXiv:2101.06804,
Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. What makes good in-context examples for gpt-3? arXiv preprint arXiv:2101.06804,
-
[26]
Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837,
Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837,
-
[27]
Many-shot in-context learning for molecular inverse design
Saeed Moayedpour, Alejandro Corrochano-Navarro, Faryad Sahneh, Shahriar Norooz- izadeh, Alexander Koetter, Jiri Vymetal, Lorenzo Kogler-Anele, Pablo Mas, Yasser Jangjou, Sizhen Li, et al. Many-shot in-context learning for molecular inverse design. arXiv preprint arXiv:2407.19089,
-
[28]
Adversarial nli: A new benchmark for natural language understanding
Yixin Nie, Adina Williams, Emily Dinan, Mohit Bansal, Jason Weston, and Douwe Kiela. Adversarial nli: A new benchmark for natural language understanding. arXiv preprint arXiv:1910.14599,
1910 arXiv
-
[29]
Can many-shot in-context learning help llms as evaluators? A preliminary empirical study
Mingyang Song, Mao Zheng, and Xuan Luo. Can many-shot in-context learning help llms as evaluators? A preliminary empirical study. In Owen Rambow, Leo Wanner, Marianna Apidianaki, Hend Al-Khalifa, Barbara Di Eugenio, and Steven Schockaert (eds.), Proceedings of the 31st Interna...
2025
-
[30]
Mirac Suzgun, Nathan Scales, Nathanael Sch¨arli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, et al
URL https://aclanthology.org/2025.coling-main.548/. Mirac Suzgun, Nathan Scales, Nathanael Sch¨arli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, et al. Challenging big- bench tasks and whether chain-of-thought can solve th...
2025 arXiv
-
[32]
Gomez, Lukasz Kaiser, and Illia Polosukhin
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V . N. Vishwanathan, and Roman Garnett ...
2017
-
[34]
press/v202/von-oswald23a.html
URL https://proceedings.mlr. press/v202/von-oswald23a.html. Xingchen Wan, Ruoxi Sun, Hootan Nakhost, and Sercan O Arik. Teach better or show smarter? on instructions and exemplars in automatic prompt optimization. arXiv preprint arXiv:2406.15708,
-
[35]
From few to many: Self-improving many-shot reasoners through iterative optimization and generation
Xingchen Wan, Han Zhou, Ruoxi Sun, Hootan Nakhost, Ke Jiang, and Sercan ¨O Arık. From few to many: Self-improving many-shot reasoners through iterative optimization and generation. arXiv preprint arXiv:2502.00330,
-
[36]
Ground-truth labels matter: A deeper look into input-label demonstrations
Kang Min Yoo, Junyeob Kim, Hyuhng Joon Kim, Hyunsoo Cho, Hwiyeol Jo, Sang-Woo Lee, Sang-goo Lee, and Taeuk Kim. Ground-truth labels matter: A deeper look into input-label demonstrations. arXiv preprint arXiv:2205.12685,
-
[37]
Sentiment analysis in the era of large language models: A reality check
Wenxuan Zhang, Yue Deng, Bing Liu, Sinno Jialin Pan, and Lidong Bing. Sentiment analysis in the era of large language models: A reality check. arXiv preprint arXiv:2305.15005,
-
[38]
Active example selection for in-context learning
Yiming Zhang, Shi Feng, and Chenhao Tan. Active example selection for in-context learning. arXiv preprint arXiv:2211.04486,
-
[39]
Calibrate before use: Improving few-shot performance of language models
Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In Marina Meila and Tong Zhang (eds.), Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Vi...
2021
-
[40]
In particular, green highlights the instruction, blue represents demonstrations selected ei- ther randomly or using k-means clustering, red indicates similar demonstrations that are dynamically included in the input prompt for each downstream test sample, and purple shows the ...
2025
-
[42]
This portion of the prompt is updated for each downstream test sample
How many years ago was Raymond’s son born? Solution: Figure 11: An example of the dynamic, uncached part of the input prompt for the GSM Plus dataset. This portion of the prompt is updated for each downstream test sample. 18 Published as a conference paper at COLM 2025 Instruc...
2025
-
[1953]
Robert Vacareanu, Vlad-Andrei Negru, Vasile Suciu, and Mihai Surdeanu
doi: 10.1007/BF02289263. Robert Vacareanu, Vlad-Andrei Negru, Vasile Suciu, and Mihai Surdeanu. From words to numbers: Your large language model is secretly a capable regressor when given in-context examples. arXiv preprint arXiv:2404.07544,
-
[1991]
Hypothesis: Oil prices will be affected by US elections. Label: Neutral – – – [...] other {Random Demonstrations } or {k-Means-Selected Demonstrations } – – – Figure 6: An example of the fixed, cached part of the input prompt for the ANLI dataset. This prompt is followed by dy...
2025
-
[2001]
Yue Huang, Jiawen Shi, Yuan Li, Chenrui Fan, Siyuan Wu, Qihui Zhang, Yixin Liu, Pan Zhou, Yao Wan, Neil Zhenqiang Gong, and Lichao Sun
URL https://www.aclweb.org/ anthology/H01-1069. Yue Huang, Jiawen Shi, Yuan Li, Chenrui Fan, Siyuan Wu, Qihui Zhang, Yixin Liu, Pan Zhou, Yao Wan, Neil Zhenqiang Gong, and Lichao Sun. Metatool benchmark: Deciding whether to use tools and which to use. arXiv preprint arXiv: 231...
-
[2002]
11 Published as a conference paper at COLM 2025 Ziqian Lin and Kangwook Lee
URL https://www.aclweb.org/anthology/ C02-1150. 11 Published as a conference paper at COLM 2025 Ziqian Lin and Kangwook Lee. Dual operating modes of in-context learning. arXiv preprint arXiv:2402.18819,
2025 arXiv
-
[2015]
That error will be one of the following types: Named Entities: An entity (names, places, locations, etc.) is changed to a different entity
The translation contains an error pertaining to (A) Modifiers or Adjectives (B) Numerical Values (C) Negation or Antonyms (D) Named Entities (E) Dropped Content (F) Facts Target: B – – – Input: The following translations from German to English contain a particular error. That ...
2025
-
[2017]
Johannes von Oswald, Eyvind Niklasson, Ettore Randazzo, Jo ˜ao Sacramento, Alexander Mordvintsev, Andrey Zhmoginov, and Max Vladymyrov
URLhttps://proceedings.neurips.cc/paper/2017/hash/ 3f5ee243547dee91fbd053c1c4a845aa-Abstract.html. Johannes von Oswald, Eyvind Niklasson, Ettore Randazzo, Jo ˜ao Sacramento, Alexander Mordvintsev, Andrey Zhmoginov, and Max Vladymyrov. Transformers learn in-context by gradient ...
2017
-
[2020]
Longrope: Extending llm context window beyond 2 million tokens
Yiran Ding, Li Lyna Zhang, Chengruidong Zhang, Yuanyuan Xu, Ning Shang, Jiahang Xu, Fan Yang, and Mao Yang. Longrope: Extending llm context window beyond 2 million tokens. arXiv preprint arXiv:2402.13753,
-
[2021]
Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity
Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. arXiv preprint arXiv:2104.08786,
-
[2022]
Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Jingyuan Ma, Rui Li, Heming Xia, Jingjing Xu, Zhiyong Wu, Tianyu Liu, et al
URL http://papers.nips.cc/paper files/paper/2022/hash/ 4ce7fe1d2730f53cb3857032952cd1b8-Abstract-Conference.html. Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Jingyuan Ma, Rui Li, Heming Xia, Jingjing Xu, Zhiyong Wu, Tianyu Liu, et al. A survey on in-context learning. arXiv prep...
2022 arXiv
-
[2023]
Revisit- ing in-context learning with long context language models.arXiv preprint arXiv:2412.16926,
Jinheon Baek, Sun Jae Lee, Prakhar Gupta, Siddharth Dalmia, Prateek Kolhar, et al. Revisit- ing in-context learning with long context language models.arXiv preprint arXiv:2412.16926,
-
[2024]
How do in-context examples affect compositional generalization? arXiv preprint arXiv:2305.04835,
Shengnan An, Zeqi Lin, Qiang Fu, Bei Chen, Nanning Zheng, Jian-Guang Lou, and Dongmei Zhang. How do in-context examples affect compositional generalization? arXiv preprint arXiv:2305.04835,
-
[2025]
Accessed: 2025-02-13
URL https://ai.google.dev/ gemini-api/docs/caching. Accessed: 2025-02-13. Google Cloud. Get text embeddings with generative ai. https://cloud.google.com/ vertex-ai/generative-ai/docs/embeddings/get-text-embeddings ,
2025
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Sign in to comment.