首页 > AI前沿 > Where You Backpropagate Matters: Token Hypothesis for Memory-Efficient Fine-Tuning

Where You Backpropagate Matters: Token Hypothesis for Memory-Efficient Fine-Tuning

arXiv自然语言 2026-11-30 06:15 5 阅读 查看原文

背景与现有方法

Fine-tuning large transformers routes gradients through every token position, paying the cost in activation memory that scales linearly with sequence length and dominates the GPU budget. Existing efficient methods reduce the parameter side (low-rank adapters, prefix tuning, weight-decomposed updates) but leave the activation footprint untouched.

Token Hypothesis 与理论分析

We present the Token Hypothesis, a memory-efficient fine-tuning procedure motivated by a Neural Tangent Kernel analysis of how fine-tuning signal is distributed across token positions. We prove that every position is a low-dimensional capacity bottleneck whose width does not grow with the model, that positions with aligned hidden-state geometry are interchangeable in bidirectional models, and that causal positions form a monotone capacity chain in which later positions strictly dominate earlier ones.

位置选择准则

The analysis yields an assumption-qualified criterion for how many positions are needed and which ones, using quantities computable from forward passes alone: in bidirectional models, small arbitrary subsets are predicted to suffice when position-wise kernels are aligned, while in causal models, later positions are predicted to carry the richest fine-tuning signal.

方法与实验结果

The resulting procedure backpropagates through only a small subset of positions while running the full forward pass over the rest. Empirically, it matches or exceeds full-sequence fine-tuning in nearly all settings across six task families (commonsense reasoning, mathematical reasoning, visual question answering, video question answering, GLUE, and image classification) and five backbones spanning bidirectional and causal architectures. It substantially reduces activation memory, yielding up to about 19% lower total GPU memory (about 31 GB) on visual question answering while exceeding full-sequence accuracy, and composes cleanly with LoRA and DoRA.