Apple ML Research→ original

Apple Research: LensVLM Teaches VLM Models to Read Text in Heavily Compressed Images

Apple ML Research published LensVLM — a framework for vision-language models (VLM) that solves a critical problem: heavy image compression renders characters…

AI-processed from Apple ML Research; edited by Hamidun News
Apple Research: LensVLM Teaches VLM Models to Read Text in Heavily Compressed Images
Source: Apple ML Research. Collage: Hamidun News.
◐ Listen to article

Apple's ML Research division has published a paper on LensVLM — a framework for vision-language models that enables them to reliably read text from heavily compressed images. The development solves a problem that has hindered the use of the visual channel for processing long documents.

Why text as an image is promising

Modern vision-language models (VLM) can perceive text not through tokenization, but directly as a rendered image: literally 'see' what is written. This is fundamentally different from how traditional language models work.

In the classical approach, each character or subword is converted into a numerical token, and a long document produces a long sequence. This strains memory and limits the context window. Visual encoders in VLMs work differently: they always produce a fixed number of tokens from an image, regardless of how much text it contains.

From this comes an appealing idea: by lowering the rendering resolution, you can fit more text into the same 'token budget'. This turns resolution into a flexible regulator of compression degree. For processing books, PDF reports, and long documents, such an approach is potentially much more economical than standard tokenization.

Why high compression breaks accuracy

With aggressive compression, VLM accuracy drops sharply. The reason is mechanical: characters in the image shrink below the effective resolution of the visual encoder. Letters blur together, become indistinguishable, and the model loses the ability to read text — even if technically it 'sees' the image.

The result is an undesirable trade-off: the higher the compression, the more text fits in the context, but the worse the model understands it. This barrier has so far limited the practical application of the visual approach to long documents.

How LensVLM solves the problem

The key idea from Apple ML Research is the selective context expansion mechanism. Instead of uniformly processing the entire image, the model learns to scan it adaptively: paying additional attention to areas with dense or small text.

The name LensVLM alludes to the metaphor of an optical lens: just as a lens focuses on the desired detail while ignoring the rest, the model 'focuses' on critical fragments. Thanks to this, the overall compression degree remains high, while local resolution increases only where it is truly necessary.

The framework is implemented through two complementary components:

  • Inference framework — determines how the model views the image during inference: when and how much to increase attention to a specific region
  • Post-training recipe — adapts existing VLMs to work with compressed text representations without requiring training from scratch

This approach makes LensVLM practical: it can be integrated into existing models without needing to develop a new architecture from scratch.

What this means

LensVLM demonstrates that the visual channel is capable of becoming a full alternative to tokenization for long documents. If the approach proves scalable, it could change how VLMs work with books, PDF files, and other documents: fewer tokens, wider context, higher reading accuracy.

ZK
Hamidun News
AI news without noise. Daily editorial selection from 400+ sources. A product by Zhemal Khamidun, Head of AI at Alpina Digital.

Need AI working inside your business — not just in your newsfeed?

I build production AI for companies — custom CRM, internal tools, autonomous agents, workflow automation. Owned by you, shaped to your process, no per-seat tax. Built by Zhemal Khamidun, CPO of AlpinaGPT (AI platform, 6,000+ users).

What do you think?
Loading comments…