FUSE-ing Language Models: Zero-Shot Adapter Discovery for Prompt Optimization Across Tokenizers
<|reference_start|>FUSE-ing Language Models: Zero-Shot Adapter Discovery for Prompt Optimization Across Tokenizers: The widespread use of large language models has resulted in a multitude of tokenizers and embedding spaces, making knowledge transfer in prompt discovery tasks difficult. In this work, we propose FUSE (Flexible Unification of Semantic Embeddings), an inexpensive approach to approximating an adapter layer that maps from one model's textual embedding space to another, even across different tokenizers. We introduce a third-order tensor-based representation of a model's embedding space that aligns semantic embeddings that have been split apart by different tokenizers, and use this representation to derive an approximation of the gradient of one model's outputs with respect to another model's embedding space. We show the efficacy of our approach via multi-objective optimization over vision-language and causal language models for image captioning and sentiment-based image captioning.<|reference_end|>
@article{williams2024fuse-ing,
    title={FUSE-ing Language Models: Zero-Shot Adapter Discovery for Prompt
  Optimization Across Tokenizers},
    author={Joshua Nathaniel Williams, J. Zico Kolter},
    journal={arXiv preprint arXiv:2408.04816},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.04816},
    primaryClass={cs.CL cs.LG}
}