AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: Why NeoMME Is The Future Of Multimodal-native And Multilingual AI Solutions on ThorstenMeyerAI.com

TL;DR

Hugging Face has released NeoMME, a family of multimodal encoders that process text and images within one shared Transformer, aiming to improve retrieval efficiency and reduce storage. While initial results are promising, independent validation is pending. This development could reshape multilingual, visual-document AI applications.

Hugging Face has released NeoMME, a family of 260-million- and 800-million-parameter multimodal encoders capable of processing text tokens and raw image patches within a shared multimodal encoder architecture. This innovative approach aims to simplify multimodal retrieval systems by eliminating the need for separate vision or language towers, potentially offering more efficient, scalable solutions for multilingual visual-document retrieval.

NeoMME divides images into non-overlapping 32-by-32-pixel patches and processes them alongside text tokens through a multimodal encoding system. Both sizes support a 16,384-token context window, dynamic image resolution, and a mixture of sliding-window and global attention. The models are trained from scratch using a masked discrete-diffusion objective, where text tokens are masked at varying rates to encourage the model to rely on visible image evidence for reconstruction. Hugging Face reports that the models have been trained on approximately 524 billion input tokens, including multilingual text, code, mathematical content, and natural and document images.

For retrieval tasks, Hugging Face fine-tuned NeoMME into a variant called NeoMME-Retriever, which directly ranks images of document pages, preserving layout, tables, and typography without OCR. For more details, see the future of software rendering solutions. The design employs a dual-head architecture that produces dense and late-interaction embeddings in a single forward pass, aiming to improve efficiency and storage. The company claims the shared encoder reduces computational complexity and storage, with the 260M model encoding about 51 pages per second on an NVIDIA L40S GPU, roughly doubling the throughput of comparable models. Storage savings are significant, with a reported 255-fold reduction in late-interaction storage per page while maintaining over 95% of baseline retrieval quality.

At a glance
announcementWhen: announced March 2024
The developmentHugging Face announced the release of NeoMME, a new family of multimodal encoders designed for integrated text and image processing, with potential impacts on document retrieval and AI deployment efficiency.
At a glance
announcementWhen: Released by Hugging Face; the supplied…
The developmentHugging Face released NeoMME models, checkpoints and Transformers support for multilingual, image-native encoding and visual document retrieval.

Implications for Multilingual Visual-Document Retrieval

NeoMME’s integrated approach could significantly streamline multimodal retrieval systems, reducing deployment complexity and hardware requirements. By removing the separate vision and language components, it offers a unified architecture that could lead to faster, more cost-effective solutions for document search, visual question answering, and related AI tasks. Its support for multilingual data and complex visual layouts makes it particularly relevant for global applications where diverse languages and document types are involved. However, the initial results are based on vendor-reported benchmarks, and independent validation is needed to confirm these benefits across different hardware, languages, and real-world scenarios.

Amazon

multimodal AI encoder

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background and Development of Multimodal Encoders

Traditional multimodal AI systems typically rely on separate pretrained vision encoders and language models, which are combined through additional projectors or causal decoders. Hugging Face’s NeoMME departs from this paradigm by training a single shared encoder from scratch, processing both text and images directly. Previous efforts, such as ModernVBERT, used efficient text architectures with separate vision components, but NeoMME aims for a more integrated solution that preserves spatial and visual information more effectively. This approach aligns with ongoing industry trends toward unified models capable of handling multiple modalities without complex pipelines, aiming to improve efficiency, scalability, and ease of deployment.

“NeoMME’s shared encoder architecture offers a promising path toward more efficient, scalable multimodal retrieval systems that can handle diverse document types and languages.”

— Thorsten Meyer, AI researcher

Amazon

visual document retrieval software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Validation and Real-World Performance Unclear

While Hugging Face reports promising benchmarks, the performance figures are vendor-reported and have not yet been independently verified. It remains uncertain how NeoMME will perform across different hardware configurations, document types, languages, and in operational environments, especially regarding real-world latency, cost, and handling of complex visual layouts. The impact on low-quality scans, handwritten material, or rare languages is also still unknown. Further testing and peer review are needed to confirm the model’s robustness and practical advantages.

Amazon

multilingual image processing tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Upcoming Independent Testing and Deployment Trials

The immediate next step is for external researchers and developers to evaluate the released NeoMME checkpoints via Hugging Face Transformers. Expect independent benchmarks measuring latency, memory use, and retrieval quality across various hardware setups and document types. Results from these tests will clarify whether NeoMME’s efficiency claims hold in diverse real-world scenarios. Additionally, ongoing research may explore adaptations for handwritten, low-resolution, or multilingual documents, as well as integration into enterprise search and AI-powered document management systems.

Amazon

AI document search engine

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What makes NeoMME different from existing multimodal models?

NeoMME uses a single shared encoder to process both text and images directly, removing the need for separate vision or language towers. This design simplifies architecture, reduces computation and storage, and aims for faster, more scalable retrieval systems.

Can NeoMME handle multiple languages and document types?

Yes, the models are trained on multilingual text, code, mathematical content, and various image types, including natural and document images. However, real-world performance on low-quality or handwritten documents remains to be validated.

Has NeoMME been independently tested?

No, the current performance figures are vendor-reported. Independent testing is needed to verify the reported throughput, storage savings, and retrieval quality across different settings.

What are the practical benefits of NeoMME for AI deployment?

By consolidating processing into one encoder, NeoMME could lower deployment costs, simplify system architecture, and improve retrieval speed, especially in multilingual and complex document scenarios.

What are the main limitations or uncertainties right now?

It is still unclear how NeoMME performs on diverse real-world data, including low-resolution scans, handwritten notes, or rare languages. Validation across different hardware and production environments is pending.

Primary source: Hugging Face · via ThorstenMeyerAI.com

You May Also Like

Show HN: PicoMQ – Durable Streams Over HTTP, On Object Storage

PicoMQ, a new Rust-based server, enables durable, URL-addressable streams over HTTP using object storage, promising scalable, cost-effective data streaming.

How To Engage Internal Teams For Better AI Outcomes

Learn how organizations are effectively involving internal teams to improve AI deployment success, overcoming organizational resistance and data challenges.

RavynOS: Pre-alpha Open-source OS Based On Darwin, FreeBSD, Apple Open-source

A new pre-alpha open-source operating system named RavynOS emerges, built on Darwin, FreeBSD, and Apple open-source components, sparking interest in the tech community.

Take Your AI Projects Further With OlmoEarth Embeddings

OlmoEarth Studio now supports on-demand generation of satellite data embeddings for enhanced land analysis, offering new tools for researchers and developers.