Multimodal dataset distillation (MDD) aims to reduce the cost of vision-language training by synthesizing a small set of image-text pairs. Generative MDD methods synthesize the images with pretrained generative models and generalize better to unseen architectures than trajectory-matching methods, but they pair each image with a heuristic text embedding. Since the text encoder is frozen, this embedding is the target with which the student learns to align the image, and an embedding that describes the image well is not necessarily a good training target. We propose Text Embedding Distillation (TED), a post-distillation module that learns the text targets of the generated images. To make each text embedding a good training target, TED optimizes it by back-propagating through the entire training of a surrogate student and minimizing the student's loss on real data. Since the surrogate differs from the students used in evaluation, we further introduce an anchor loss that keeps each embedding close to its original, so that the learned targets transfer to unseen architectures. Extensive experiments on the Flickr30K and MS-COCO datasets demonstrate that TED consistently improves PDS and EDGE, achieving gains of up to 4.9 points in mean recall.
翻译:暂无翻译