BRAT: Bonus oRthogonAl Token for Architecture Agnostic Textual Inversion

James Baker
8/8/2024
cs.CV

Official code: jamesBaker361/tex_inv_plus (3 stars, last commit 2024-10-21).

Abstract

Textual Inversion remains a popular method for personalizing diffusion models, in order to teach models new subjects and styles. We note that textual inversion has been underexplored using alternatives to the UNet, and experiment with textual inversion with a vision transformer. We also seek to optimize textual inversion using a strategy that does not require explicit use of the UNet and its idiosyncratic layers, so we add bonus tokens and enforce orthogonality. We find the use of the bonus token improves adherence to the source images and the use of the vision transformer improves adherence to the prompt. Code is available at https://github.com/jamesBaker361/tex_inv_plus.

View on arXivView PDF

Code Implementations(1)

31PythonApr 12, 20242 years ago

Similar Papers

Cite this paper

@article{baker2024brat,
  title  = {BRAT: Bonus oRthogonAl Token for Architecture Agnostic Textual Inversion},
  author = {James Baker},
  year   = {2024},
  eprint = {2408.04785},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.04785v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.04785.svg)](https://codeofpaper.com/paper/2408.04785)

Discussion