Unraveling Indirect In-Context Learning Using Influence Functions
Import the versions from OpenReview: the same title at other venues
@openreview[bot] · 2026-11-22 19:54 UTC · a23024bf1da4
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,26 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "14pg6z2RoP"+ }+ ],+ "title": "Unraveling Indirect In-Context Learning Using Influence Functions",+ "authors": [+ "Hadi Askari",+ "Shivanshu Gupta",+ "Terry Tong",+ "Fei Wang",+ "Anshuman Chhabra",+ "Muhao Chen"+ ],+ "abstract": "In this work, we introduce a novel paradigm for generalized In-Context Learning (ICL), termed Indirect In-Context Learning. In Indirect ICL, we explore demonstration selection strategies tailored for two distinct real-world scenarios: Mixture of Tasks and Noisy ICL. We systematically evaluate the effectiveness of Influence Functions (IFs) as a selection tool for these settings, highlighting the potential of IFs to better capture the informativeness of examples within the demonstration pool. For the Mixture of Tasks setting, demonstrations are drawn from 28 diverse tasks, including MMLU, BigBench, StrategyQA, and CommonsenseQA. We demonstrate that combining BertScore-Recall (BSR) with an IF surrogate model can further improve performance, leading to average absolute accuracy gains in 3-shot and 5-shot setups when compared to traditional ICL metrics. In the Noisy ICL setting, we examine scenarios where demonstrations might be mislabeled or have adversarial noise. Our experiments show that reweighting traditional ICL selectors (BSR and Cosine Similarity) with IF-based selectors boosts accuracy on noisy GLUE benchmarks. For the adversarial sub-setting, we show the utility of using IFs for task-agnostic demonstration selection for backdoor attack mitigation. Showing a reduction in Attack Success Rate compared to task-aware methods. In sum, we propose a robust framework for demonstration selection that generalizes beyond traditional ICL, offering valuable insights into the role of IFs for Indirect ICL.",+ "year": 2026,+ "venue": "ICLR 2026 submission",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
versions/v_8f2xjxku.json added
+++ b/versions/v_8f2xjxku.json@@ -0,0 +1,18 @@+{+ "date": "2025-09-19",+ "kind": "submitted",+ "label": "ICLR 2026",+ "submissions": [+ {+ "venue": "ICLR 2026",+ "status": "rejected",+ "url": "https://openreview.net/forum?id=14pg6z2RoP"+ }+ ],+ "title": "Unraveling Indirect In-Context Learning Using Influence Functions",+ "url": "https://openreview.net/forum?id=14pg6z2RoP",+ "evidence": [+ "https://openreview.net/forum?id=14pg6z2RoP"+ ],+ "abstract": "In this work, we introduce a novel paradigm for generalized In-Context Learning (ICL), termed Indirect In-Context Learning. In Indirect ICL, we explore demonstration selection strategies tailored for two distinct real-world scenarios: Mixture of Tasks and Noisy ICL. We systematically evaluate the effectiveness of Influence Functions (IFs) as a selection tool for these settings, highlighting the potential of IFs to better capture the informativeness of examples within the demonstration pool. For the Mixture of Tasks setting, demonstrations are drawn from 28 diverse tasks, including MMLU, BigBench, StrategyQA, and CommonsenseQA. We demonstrate that combining BertScore-Recall (BSR) with an IF surrogate model can further improve performance, leading to average absolute accuracy gains in 3-shot and 5-shot setups when compared to traditional ICL metrics. In the Noisy ICL setting, we examine scenarios where demonstrations might be mislabeled or have adversarial noise. Our experiments show that reweighting traditional ICL selectors (BSR and Cosine Similarity) with IF-based selectors boosts accuracy on noisy GLUE benchmarks. For the adversarial sub-setting, we show the utility of using IFs for task-agnostic demonstration selection for backdoor attack mitigation. Showing a reduction in Attack Success Rate compared to task-aware methods. In sum, we propose a robust framework for demonstration selection that generalizes beyond traditional ICL, offering valuable insights into the role of IFs for Indirect ICL."+}
versions/v_b4hq38sw.json added
+++ b/versions/v_b4hq38sw.json@@ -0,0 +1,17 @@+{+ "date": "2025-02-16",+ "kind": "submitted",+ "label": "ARR 2025 February",+ "submissions": [+ {+ "venue": "ARR 2025 February",+ "url": "https://openreview.net/forum?id=ULXFJI23s2"+ }+ ],+ "title": "Unraveling Indirect In-Context Learning Using Influence Functions",+ "url": "https://openreview.net/forum?id=ULXFJI23s2",+ "evidence": [+ "https://openreview.net/forum?id=ULXFJI23s2"+ ],+ "abstract": "In this work, we introduce a novel paradigm for generalized In-Context Learning (ICL), termed Indirect In-Context Learning. In Indirect ICL, we explore demonstration selection strategies tailored for two distinct real-world scenarios: Mixture of Tasks and Noisy Demonstrations. We systematically evaluate the effectiveness of Influence Functions (IFs) as a selection tool for these settings, highlighting the potential of IFs to better capture the informativeness of examples within the demonstration pool. For the Mixture of Tasks setting, demonstrations are drawn from 28 diverse tasks, including MMLU, BigBench, StrategyQA, and CommonsenseQA. We demonstrate that combining BertScore-Recall (BSR) with an IF surrogate model can further improve performance, leading to average absolute accuracy gains of 0.37% and 1.45% for 3-shot and 5-shot setups when compared to traditional ICL metrics. In the Noisy Demonstrations setting, we examine scenarios where demonstrations might be mislabeled. Our experiments show that reweighting traditional ICL selectors (BSR and Cosine Similarity) with IF-based selectors boosts accuracy by an average of 2.90% for Cosine Similarity and 2.94% for BSR on noisy GLUE benchmarks. In sum, we propose a robust framework for demonstration selection that generalizes beyond traditional ICL, offering valuable insights into the role of IFs for Indirect ICL."+}
versions/v_vgiw7zd6.json added
+++ b/versions/v_vgiw7zd6.json@@ -0,0 +1,18 @@+{+ "date": "2026-07-27",+ "kind": "submitted",+ "label": "TMLR",+ "submissions": [+ {+ "venue": "TMLR",+ "status": "under_review",+ "url": "https://openreview.net/forum?id=o4LnWGTc2E"+ }+ ],+ "title": "Unraveling Indirect In-Context Learning Using Influence Functions",+ "url": "https://openreview.net/forum?id=o4LnWGTc2E",+ "evidence": [+ "https://openreview.net/forum?id=o4LnWGTc2E"+ ],+ "abstract": "In-context learning commonly assumes access to a clean pool of demonstrations from the same task as the test input. We study a broader setting, which we call Indirect In-Context Learning, in which the candidate pool is imperfect because demonstrations come from heterogeneous tasks, contain corrupted labels, or have been adversarially poisoned. We investigate influence functions (IFs) as a functional signal that complements semantic retrieval in these settings. For Mixture of Tasks, we first retrieve a small candidate set using BERTScore-Recall or cosine similarity and then rerank it using influence scores computed from either a fine-tuned surrogate model or the language model. Across five language models, multiple shot counts, two pool sizes, and two surrogate architectures, the gains over semantic retrieval are modest but directionally consistent; a pooled bootstrap over 120 paired task observations estimates a mean improvement of +0.78 accuracy points with a 95% confidence interval of [+0.13, +1.48]. For Noisy ICL, softly combining influence and similarity scores improves accuracy on four controlled noisy GLUE benchmarks, whereas hard influence-based pruning consistently hurts performance despite identifying many mislabeled examples with high precision. This separation shows that detecting corruption and selecting useful prompt context are not the same objective. Finally, in a task-agnostic backdoor setting, influence-guided selection reduces attack success rates for both sentence- and style-based attacks. These results position IFs not as a universal replacement for semantic retrieval or an exact attribution mechanism for non-convex models, but as a useful complementary ranking signal when semantic similarity and functional utility diverge."+}