English

Parameter-Efficient Fine-Tuning of DINOv2 for Large-Scale Font Classification

Computer Vision and Pattern Recognition 2026-04-06 v2 Machine Learning

Abstract

We introduce GoogleFontsBench, the first public benchmark for classifying open-source web fonts, addressing a gap left by existing benchmarks that cover only commercial typefaces. GoogleFontsBench comprises 394 font variants across 32 Google Fonts families, a reproducible synthetic data generation pipeline (~575 images per variant, ~226K total), and a typographically-grounded evaluation metric (SWER) that weights errors by visual severity. We establish baselines using six fine-tuning strategies on a DINOv2 Vision Transformer backbone. Parameter-efficient adaptation with LoRA achieves 99.0% top-1 accuracy while training only 1% of the model's 87.2M parameters, with errors 140x less severe than random guessing. We release the benchmark, all trained models, and the full training pipeline as open-source resources.

Cite

@article{arxiv.2602.13889,
  title  = {Parameter-Efficient Fine-Tuning of DINOv2 for Large-Scale Font Classification},
  author = {Daniel Chen and Zaria Zinn and Marcus Lowe},
  journal= {arXiv preprint arXiv:2602.13889},
  year   = {2026}
}
R2 v1 2026-07-01T10:37:06.484Z