首页 > AI前沿 > Full Fine-Tuning is not the Problem: Why Adam Fails and SGD Succeeds in Few-Shot CLIP Adaptation

Full Fine-Tuning is not the Problem: Why Adam Fails and SGD Succeeds in Few-Shot CLIP Adaptation

arXiv机器学习 2026-11-08 13:47 20 阅读 查看原文
首先,任务是作为专业的新闻排版工程师,将给定的纯文本新闻正文排版成语义化的HTML片段。规则很具体: 1. 只输出HTML片段本身:不要Markdown围栏(如```html),不要解释。只输出HTML代码。 2. 每个自然段落用`

`包裹:所以,我需要识别自然段落。给定的正文是一个连续的文本块,但看起来是一个学术摘要或新闻段落。我需要把它分成自然段落。 - 查看正文:它似乎是一个连贯的段落。但规则说“每个自然段落用`

`包裹”。在新闻中,自然段落可能基于逻辑划分。正文没有明显的段落分隔,所以我可能需要把它视为一个段落,或者根据内容拆分。 - 正文:"Few-shot CLIP adaptation is often treated as a parameterization problem. Full fine-tuning is assumed to overfit, so parameter-efficient fine-tuning (PEFT) methods are preferred. In this paper, we show that this conclusion conflates parameterization with optimization. Across 11 datasets, 3 CLIP backbones, and 5 shot levels, dense full fine-tuning with plain SGD outperforms representative PEFT methods under the reported evaluation protocol, whereas Adam/AdamW collapses. We trace this collapse to unreliable support-set preconditioning. The few-shot second moment systematically underestimates the corresponding full-data statistic, already at initialization. Adam's inverse-square-root normalization converts this error into an oversized adaptive update. Matching Adam's first-step update budget to SGD resolves most of the collapse, whereas numerator-side alignment does not explain the failure. Shampoo and SOAP also fail, so richer preconditioning alone does not resolve the problem. Theory formalizes how few-shot estimation error is amplified into unsafe updates. SGD succeeds because it avoids unreliable preconditioners and stays close to pretrained CLIP. Interpolation probes show low-loss connections along tested directions, and curvature probes show favorable directional curvature. These results identify optimizer-induced preconditioning, not dense full fine-tuning itself, as the main source of failure in few-shot CLIP adaptation." - 这个文本是一个长段落。在新闻排版中,可能需要拆分成几个段落以提高可读性。规则说“每个自然段落”,所以如果原文是一个段落,我就用一个`

`包裹整个。但为了可读性,我可以基于句子分组拆分。 - 规则说“保留原文所有信息,不得增删改内容”,所以我不能添加或删除内容,只能重新划分段落。原文没有明确的段落分隔,所以我应该保持为一个段落,除非有明显的逻辑分段。 - 看内容:它从问题陈述开始,到方法、结果、结论。或许可以拆分成: - 第一句:介绍问题。 - 然后:本文贡献。 - 结果部分。 - 原因分析。 - 解决方案。 - 结论。 但规则强调“保留原文所有信息”,所以我不能改变结构。我应该保持原文的连续性。可能原文就是设计为一个段落,所以用一个`

`包裹整个文本。 为了安全起见,我会用一个`

`包裹整个文本,因为原文看起来像一个单一段落。 3. 长文用`

`/`

`划分小节:规则说“长文用`

`/`

`划分小节”。但给定的文本不是很长;它只是一个摘要。可能不需要划分小节,因为它是连贯的叙述。规则说“长文”,但这里可能不算长文。所以,可能不需要`

`/`

`。检查规则:"长文用

/

划分小节",意思是如果文本很长,就用标题划分。但这个文本只有几句话,所以或许不适用。我应该只在必要时使用。 - 为了遵守规则,如果文本有逻辑小节,我可以用标题。但原文没有小标题,所以我不能添加。规则说“保留原文所有信息,不得增删改内容”,所以我不能添加标题。`

`/`

`是用于划分小节的,但如果原文没有小节,我就不能添加。 - 规则示例:"长文用

/

划分小节",意思是对于长文本,使用标题来组织。但这里文本不长,且没有预设小节,所以可能不需要。我会假设如果不显式有小节,就不使用标题。 4. 列表内容用`
  • `:原文中是否有列表?看文本:"Across 11 datasets, 3 CLIP backbones, and 5 shot levels" – 这不是一个列表;它是句子的一部分。没有明显的列表内容。例如,没有像"First, ... Second, ..."这样的结构。所以,可能不需要`
      `。 5. 引用用`
      `:原文中有引用吗?没有明显的引用部分。文本是自包含的叙述。 6. 代码用`
      `:原文中没有代码片段。
      
      7. 重要句子可用``:我可以使用``来强调重要句子。规则说“可用”,意思是可选的。但任务说“重要句子”,所以我需要识别哪些句子重要。在新闻中,可能结论或关键点用``。
      
         - 例如,最后一句:"These results identify optimizer-induced preconditioning, not dense full fine-tuning itself, as the main source of failure in few-shot CLIP adaptation." 这可能是一个重要结论。
      
         - 但规则是“可用”,不是必须。我可以选择性地使用。
      
         - 为了安全,我可以强调关键部分。
      
      8. 保留原文所有信息,不得增删改内容:这很重要。我必须确保HTML片段包含完全相同的文本,没有添加或删除。所以,当我包裹时,文本内容不变。
      
      9. 不要输出文档级标签:只输出HTML片段,如`

      ...

      `, `

      ...

      `等,不要``, ``等。 现在,决定如何结构化: - 整个文本似乎是一个段落。所以,用`

      `包裹整个文本。 - 但文本有点长,有多个句子。在HTML中,一个`

      `可以包含多个句子。 - 规则说“每个自然段落”,所以如果原文是一个段落,就用一个`

      `。 - 为了提高可读性,我可以拆分成多个`

      `,但规则说“保留原文所有信息”,如果原文没有段落分隔,拆分可能被视为修改内容。所以,我应该保持为一个段落。 - 检查原文:它没有换行或段落标记,所以很可能设计为一个连续段落。 所以,基本结构:`

      整个文本

      ` 现在,关于``:我可以使用它来强调重要部分。例如,在学术摘要中,关键发现用粗体。 - 例如:"dense full fine-tuning with plain SGD outperforms representative PEFT methods" 或 "optimizer-induced preconditioning, not dense full fine-tuning itself, as the main source of failure" - 但规则是“可用”,所以我可以选择性地使用。为了专业排版,我可以强调结论。 - 任务说“重要句子”,所以我应该识别。 - 重要句子可能包括: - "In this paper, we show that this conclusion conflates parameterization with optimization." - "dense full fine-tuning with plain SGD outperforms representative PEFT methods" - "We trace this collapse to unreliable support-set preconditioning." - "These results identify optimizer-induced preconditioning, not dense full fine-tuning itself, as the main source of failure" - 我可以用``包裹这些部分。 但规则说“重要句子”,不是整个句子。我可以包裹关键短语。 例如:`dense full fine-tuning with plain SGD outperforms representative PEFT methods` 但需要小心,不要改变内容;只添加标签。 现在,关于其他标签:没有列表、引用、代码,所以不需要`
        `, `
        `, `
        `。
        
        `

        `/`

        `:文本不长,且没有小节标题,所以不使用。 所以,可能输出:`

        Few-shot CLIP adaptation is often treated as a parameterization problem. ... [entire text] ... adaptation.

        ` 但为了优化,我可以拆分段落。在新闻排版中,长段落可能被拆分。 规则说“每个自然段落”,如果我认为它是自然的,我可以拆分。 看句子