arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.02597

GRAFT: Growing Agglomerative Foundation Models via Continual Teacher Distillation

Zhenghao Zhao, Chi Zhang, Qingshuang Chen, Yelin Kim

ABSTRACT

Vision foundation models such as DINOv2, SigLIP2, and MAST3R develop complementary capabilities from different pretraining objectives, yet their knowledge remains distributed across separate, specialized models. Multi-teacher knowledge distillation offers a path toward consolidating these capabilities into a single agglomerative backbone, but existing approaches assume a fixed set of teachers, and incorporating a new teacher requires repeating expensive joint distillation over the entire teacher set. We introduce GRAFT, a continual multi-teacher distillation framework that enables a unified backbone to progressively acquire capabilities from an open-ended sequence of foundation models. When a new teacher arrives, GRAFT treats the previously distilled model as a teacher for preserving learned capabilities, while the current student jointly learns from both the previous model and the incoming teacher. Furthermore, to reconcile the incompatible representation geometries of heterogeneous teachers, we introduce Teacher Specific Readout Tokens, which grant each teacher an independent read-out of the shared encoder, together with Geometry Agnostic Relational Loss that aligns a vision–language teacher by matching image–text similarity structures rather than raw feature values. We provide GRAFT model, which is a single, continually extensible backbone that unifies five domains, including image understanding, 2D dense prediction, 3D human pose estimation, 3D vision, and vision–language, delivering strong performance across all of them while acquiring each new capability at the cost of a single distillation rather than a full re-distillation.

1 INTRODUCTION

Progress in visual representation learning has produced an increasingly diverse ecosystem of foundation models (Oquab et al., 2023; Radford et al., 2021; Tschannen et al., 2025; Kirillov et al., 2023; Leroy et al., 2024; Baradel et al., 2024). Rather than converging toward a single generalist representation, these models develop complementary capabilities from different pretraining objectives and data sources. DINOv2 provides strong generic visual features, SigLIP2 aligns visual representations with language, MAST3R captures 3D geometry, and specialized models such as SAM target segmentation. Deploying a separate encoder for every capability, however, quickly becomes impractical when memory, computation, or inference latency is constrained. Agglomerative models such as AM-RADIO (Ranzinger et al., 2024b), DUNE (Saryildiz et al., 2025), SAK (Lu et al., 2025) and Theia (Shang et al., 2024) demonstrate that representations distilled from heterogeneous foundation models can coexist within a single encoder, typically through teacher specific projection heads and mechanisms for balancing multiple distillation objectives (Ranzinger et al., 2024a).

However, what existing agglomerative models shares is that the teacher set is fixed. Once training is complete, incorporating a newly available foundation model generally requires performing joint distillation again over the enlarged teacher set. This assumption conflicts with how foundation models evolve in practice. A stronger teacher is released, or a task the system did not originally require becomes necessary, and the desirable capability is one that appears after the student was trained. Adding it to an existing agglomerative student is not incremental under current methods.

∗^{*}Work done during an internship at Amazon.

The student must be re-distilled from scratch against the enlarged teacher set, a joint MTKD run that keeps every earlier teacher live. Reaching a target set of capabilities this way costs a full distillation run for every capability added, rather than one teacher's worth of work per step.

We study this setting as continual multi-teacher distillation. Given a student that has already absorbed several foundation models, and an incoming teacher, our goal is to incorporate the new teacher without accessing any of the original teachers and without restarting distillation from scratch. Meeting this goal raises two challenges. The first is catastrophic forgetting: because the earlier teachers are discarded, any drift of the shared trunk toward the incoming teacher silently erodes the tasks the student already supports, and no original teacher remains to repair the damage. The second is teacher heterogeneity: foundation models trained with different objectives can organize their representation spaces in substantially different ways. Forcing all of them to match a common representation through the same pointwise feature objective can introduce conflicting supervision. As illustrated in Figure 2, this heterogeneity can emerge early in the network rather than only at the final representation layer.

Figure

Figure 1: Compared to existing agglomerative models, GRAFT hold a comprehensive capability on various tasks with strong performance on each task.

We introduce GRAFT, a continual multi-teacher distillation framework that addresses forgetting through a key observation: the previous student already encodes the capabilities acquired from earlier teachers and can therefore serve as a compact surrogate for them during subsequent distillation. At each round, GRAFT initializes the student from the previously distilled model, freezes a copy of the distilled model as an anchor, and jointly distills from this previous model and the incoming teacher. The anchor model provides an anchor loss that discourages drift from previously acquired representations, while the incoming teacher provides supervision for the new capability. Each graft step therefore requires only two frozen reference models, the previous student and the incoming teacher, regardless of how many capabilities have already been accumulated. Historical knowledge is carried forward inside the student itself rather than through an ever growing buffer of past teachers.

GRAFT further addresses teacher heterogeneity at both the architectural and objective levels. Architecturally, we introduce Teacher Specific Readout Tokens, which provide each teacher with an independent global readout from the shared encoder. Each readout is paired with its own projector and normalization parameters, allowing heterogeneous teachers to extract different global summaries from a common trunk without forcing their representations into a single shared coordinate system. At the objective level, for vision-language teachers, we introduce a Geometry Agnostic Relational Loss that matches the image-text similarity structures rather than match teacher and student feature values directly. This allows the student to preserve the teacher's image text alignment while retaining a feature space compatible with previously acquired capabilities.

Together, we turn capability consolidation from a one time operation into a continual process. GRAFT progressively grows a single shared backbone by absorbing one foundation model at a time, requiring only a single incremental distillation stage for each incoming teacher. We evaluate the resulting model across five capability families spanning image understanding, 2D dense prediction, 3D human pose estimation, 3D vision, and vision language understanding. Compared with existing agglomerative models, GRAFT supports a comprehensive range of heterogeneous capabilities while maintaining strong performance across individual tasks, with the additional ability to continually incorporate new capabilities without full joint re-distillation.

Our contributions are summarized as follows:

• We formalize continual multi-teacher distillation for vision foundation models, a setting in which heterogeneous teachers arrive over time with no access to prior teachers.

• We introduce GRAFT, a continual distillation framework that addresses both forgetting and teacher heterogeneity. GRAFT uses the previously distilled student as a frozen re-

Figure

Figure 2: Per-patch feature geometry across depth. Each cell visualizes the top-3 PCA components of patch tokens (mapped to RGB, fit per cell) at a shallow, deep, and final block for four ViT-L teachers and GRAFT (ViT-B) on three ADE20K images. The teachers diverge from the shallowest blocks: DINOv2 resolves object structure, MAST3R shows geometric texture, SigLIP2 carries only positional patterns, and Multi-HMR progressively organizes around people. GRAFT unifies these in a single trunk—its patch tokens retain sharp object/part structure from its dense teachers (DINOv2, MAST3R, Multi-HMR), while SigLIP2's vision-language capability is grafted relationally onto a dedicated summary token ( §3.3§3.3) and thus does not appear in this patch view.

tention teacher to preserve accumulated capabilities while learning from each incoming teacher. To accommodate heterogeneous representations within a shared encoder, GRAFT further introduces Teacher Specific Readout Tokens for independent teacher specific readouts and a Geometry Agnostic Relational Loss that transfers vision-language knowledge by matching image text similarity structures rather than raw feature values.

• We demonstrate a distilled model spanning five capability families, including image understanding, 2D dense prediction, 3D human pose estimation, 3D vision, and vision language understanding, and show that GRAFT can acquire new capabilities while retaining previously distilled ones without full joint re-distillation over the accumulated teacher set.

References (55)