Work

Text or Pixels? Evaluating Efficiency and Understanding of LLMs with Visual Text Inputs

Year: 2025
Type: conference-paper
Abstract: Large language models (LLMs) and their multimodal variants can now process visual inputs, including images of text. This raises an intriguing question: Can we compress textual inputs by feeding them as images to reduce token usage while preserving performance? In this paper, we show that *visual text representations* are a practical and surprisingly effective form of input compression for decoder LLMs. We exploit this idea by rendering long text inputs as a single image and providing it directly to the model. This approach dramatically reduces the number of decoder tokens required, offering a new form of input compression. Through experiments on two distinct benchmarks — RULER (long-context retrieval) and CNN/DailyMail (document summarization) — we demonstrate that this text-as-image method yields substantial token savings *without degrading task performance*.
Authors: Yanhong Li, Zixuan Lan, Jiawei Zhou
Language: English
Open Access status: hybrid
OpenAlex ID: W4416034845
FWCI: 3.163
Cites: 39
Cited by: 22
Related to: 10