mlsanityData to 24 Nov 2026

Gradient-Free Few-Shot Adaptation of Vision Models via Agentic Coding

arXiv 2611.28105 ↗Submitted 17 Nov 2026Announced 24 Nov 2026cs.CVcited by 0

On the map: LLM agents and tool use → Multimodal and embodied agents

Abstract (arXiv)

Adapting a vision model to new classes from a few labeled images usually relies on gradient fine-tuning, which is unstable with so few images. We ask whether a coding agent can replace gradient descent for this task. We propose the Agent edit, a method in which a coding agent writes a program that sets the new class weights in the class head of a frozen COCO-trained detector, with no gradient step. The agent runs the detector on the labeled images a limited number of times and sees how much its edit lowers COCO mAP; the program rebuilds the weights without the agent. In the same head and with the same labels, the Agent edit outperforms full-decoder fine-tuning at five shots on 2 of four fine-grained sets, by 11.2 and 12.3 F1 points, and ties on the rest. At ten shots, fine-tuning ties with or outperforms it. Moreover, when the new classes are scored jointly with the COCO classes, the AP of the COCO class to which they belong falls by up to 33.3 points, and limiting that loss lowers F1 on the new classes. Most of the agent's programs share three parts, which we write as a formula that needs no agent. A classifier on frozen backbone features reaches a higher F1 than every method inside the head on every set. Hence a coding agent can replace gradient descent only in part: inside the head and at five shots.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Multimodal and embodied agents, one of 16 directions in LLM agents and tool use. Builds on 64 of its 85 references that are in the map. Submitted 17 Nov 2026, announced 24 Nov 2026.

Builds on

64 of 85 references.

References · 64

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
  2. 2014Microsoft COCO: Common Objects in Contextcited by 18,045
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,989
  4. 2017Prototypical Networks for Few-shot Learningcited by 3,087
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  6. 2016Learning without Forgettingcited by 2,595
  7. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,384
  8. 2021Learning to Prompt for Vision-Language Modelscited by 2,355
  9. 2013Describing Textures in the Wildcited by 2,183
  10. 2013Fine-Grained Visual Classification of Aircraftcited by 1,811
  11. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,548
  12. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,502
38 more
  1. 2022Editing Models with Task Arithmeticcited by 1,272
  2. 2025SAM 3: Segment Anything with Conceptscited by 1,187
  3. 2022Mass-Editing Memory in a Transformercited by 1,110
  4. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 1,078
  5. 2023Large Language Models as Optimizerscited by 985
  6. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
  7. 2021Robust fine-tuning of zero-shot modelscited by 850
  8. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 796
  9. 2019A Closer Look at Few-shot Classificationcited by 698
  10. 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 572
  11. 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 445
  12. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 426
  13. 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 388
  14. 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 386
  15. 2020Frustratingly Simple Few-Shot Object Detectioncited by 289
  16. 2025AIDE: AI-Driven Exploration in the Space of Codecited by 281
  17. 2018Few-shot Object Detection via Feature Reweightingcited by 270
  18. 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 249
  19. 2017All-but-the-Top: Simple and Effective Postprocessing for Word Representationscited by 243
  20. 2019iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Imagescited by 212
  21. 2019SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learningcited by 203
  22. 2019Meta R-CNN : Towards General Solver for Instance-level Few-shot Learningcited by 185
  23. 2023RanPAC: Random Projections and Pre-trained Models for Continual Learningcited by 182
  24. 2021FSCE: Few-Shot Object Detection via Contrastive Proposal Encodingcited by 173
  25. 2018xView: Objects in Context in Overhead Imagerycited by 155
  26. 2020Rewriting a Deep Generative Modelcited by 112
  27. 2021DeFRCN: Decoupled Faster R-CNN for Few-Shot Object Detectioncited by 108
  28. 2020Incremental Few-Shot Object Detectioncited by 103
  29. 2023FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learningcited by 99
  30. 2019Lifelong Machine Learning with Deep Streaming Linear Discriminant Analysiscited by 95
  31. 2021Generalized Few-Shot Object Detection without Forgettingcited by 89
  32. 2023Permutation Equivariant Neural Functionalscited by 85
  33. 2025Text-to-LoRA: Instant Transformer Adaptioncited by 78
  34. 2021Editing a classifier by rewriting its prediction rulescited by 72
  35. 2024LP++: A Surprisingly Strong Linear Probe for Few-Shot CLIPcited by 66
  36. 2024A Hard-to-Beat Baseline for Training-free CLIP-based Adaptationcited by 60
  37. 2023Neural Functional Transformerscited by 56
  38. 2021Incremental Few-Shot Instance Segmentationcited by 50

50 most cited of 64 All 64 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026On the Few-Shot Adaptation of Vision-Language Models: A Few Gradient Signs Are All You Need
  2. 2022Localized Latent Updates for Fine-Tuning Vision-Language Models
  3. 2026Scalable Minimal-Change Learning for Controllable Image Editing
  4. 2025Rethinking Few-Shot Adaptation of Vision-Language Models in Two Stages
  5. 2025Generalizable Vision-Language Few-Shot Adaptation with Predictive Prompts and Negative Learning
  6. 2023A Closer Look at the Few-Shot Adaptation of Large Vision-Language Models
  7. 2026Domain-Grounded Candidate Selection for Agentic Image Editing: A Shadow Removal Case
  8. 2026ImageEdit-R1: Boosting Multi-Agent Image Editing via Reinforcement Learning