Exact path geometry
Derive the minimum transport action across endpoint regimes and construct optimal prompts on short arcs in a realizable attention head.
Bézier Paths for
Vision Foundation Model Adaptation
Reaching two good endpoints does not mean shared visual prompts can take the shortest path between them.
As prompts change, a frozen vision model’s image features move. Each image’s content competes for attention, so the same prompt update can move different images in different directions. We study the extra transport cost of keeping the entire journey realizable.
A frozen vision foundation model can be adapted by learning a few prompt tokens shared across all images. When prompts are updated as data shift or tasks change, the distribution of image features moves from one endpoint to another. Prior theory asks which endpoints prompts can reach; we ask whether they can travel between them along the shortest path. Because shared prompts compete with each image’s own content for attention, they often cannot. We quantify this restriction as the extra transport cost that shared attention imposes over the shortest path. In an exactly solvable attention model, the reachable features form a cone; unrolling it into a plane gives the exact minimum action for every pair of endpoints and explicit optimal prompts on short arcs. The analysis reveals a sharp threshold in content normalization, which measures how much attention each image’s own tokens absorb: for same-sign endpoints, at most two distinct levels allow prompts to follow the shortest path, whereas three or more force a strictly positive extra cost unless the endpoints differ only by rescaling. This gap persists with more prompts, small content perturbations, and aligned multihead outputs. On ViT-B/16 with VTAB-1k, a quadratic Bézier prompt path that minimizes feature action reduces held-out transport action relative to linear and cross-entropy-trained paths between the same endpoints and improves intermediate and online accuracy under unlabeled distribution shift, while cross-entropy-trained paths retain higher minimum accuracy when labeled calibration data are available. Reachable endpoints do not guarantee a reachable shortest path: how prompts move matters, not only where they end.
Derive the minimum transport action across endpoint regimes and construct optimal prompts on short arcs in a realizable attention head.
Three distinct content normalizers force an intrinsic gap for same-sign, non-rescaling endpoints in the core model.
Separate the cost of a longer route from the cost of uneven speed, then evaluate feature-action paths between fixed ViT prompts.
Between identical prompt endpoints, the training objective changes the journey through feature space.
Held-out transport action ↓ Lower is better
| Objective | Min. accuracy |
|---|---|
| Cross-entropy | 68.8% |
| CE + feature action | 68.7% |
| Feature action | 67.4% |
There is a tradeoff: pure feature action reduces motion, while cross-entropy retains higher minimum accuracy. The hybrid stays within 0.1 percentage points of CE.
ViT-B/16 · 19 VTAB-1k tasks · fixed endpoints and classifier · 128 held-out images per task · five endpoint pairs per task. Mean values from Table 2; action evaluated at 128 intervals.
Feature-action Bézier improves minimum shifted accuracy by +1.6 / +1.8 pp over unlabeled entropy Bézier for Shallow / Deep.
Fixed-endpoint transitions · 7 VTAB-Natural tasks · Gaussian noise, severity 3 · disjoint 128-image calibration and evaluation sets. Table 13.Matched animal photographs at the midpoint of two Bézier prompt paths: cross-entropy and feature action.
Swipe across the figure to see all six photographs. Tap to enlarge.
Each column shares the same crop and scale across methods. These snapshots illustrate spatial diagnostics; full-path action and prediction quality are evaluated separately.
Moving at a constant speed removes timing cost. It cannot straighten a curved route or remove the intrinsic gap.
@misc{zheng2026beyondendpoints,
title = {Beyond Endpoints: B\'ezier Paths for
Vision Foundation Model Adaptation},
author = {Chenzhi Zheng and Xi Xiao and Chih-Ting Liao
and Qizhen Lan and Jingwen Lin and Tianyang Wang
and Hao Xu and Xin Cao},
year = {2026},
url = {https://xixiaouab.github.io/Beyond-Endpoints/}
}