Article

Apple open-sourced LensVLM-9B:100 For documents, compress pages into images first,KV saving cache 84%Dongcha Beating AI news: Apple has open-sourced a vision-language model specifically designed to process long documents LensVLM-9B, trained on Qwen3.5-9B-Base. When processing long documents, it first compresses the entire document into low-resolution pages for a quick scan. After locating the relevant pages, it then reads the original text or high-resolution images within them.

This eliminates the need to feed the entire text into the model's context. In tests on a 100-page document, directly reading the full text required 51,273 tokens tokens tokens, while LensVLM used only 8,090 tokens. The corresponding KV cache decreased from approximately 1.6GB to 253MB, a reduction of 84.2%.

Accuracy also did not decline significantly after compression. 7 In 72.4%document question-answering tests, the average accuracy when directly reading the full text was 4.3. Even with approximately 68.9%× compression, LensVLM still achieved 5. Compared with directly converting the text into images for the model to recognize, at the same approximately 31.3%× compression, accuracy increased from 68.9%to 17.

However, it is currently slower. After LensVLM locates the relevant pages, it must make another tool call to read the original text, and therefore requires two consecutive rounds of inference. In the paper's tests, a single response took approximately 8 seconds; without this compression approach, directly inputting the entire document as text into Qwen3.5- required approximately https://m.theblockbeats.info/flash/368846