Kosmos-2.5: A Multimodal Literate Model
Authors: Tengchao Lv, Yupan Huang, Jingye Chen, Lei Cui, Shuming Ma, Yaoyao Chang, Shaohan Huang, Wenhui Wang, Li Dong, Weiyao Luo, Shaoxiang Wu, Guoxin Wang, Cha Zhang, Furu Wei
AI-generated Key Points
- Kosmos-2.5 is a multimodal literate model for machine reading of text-intensive images.
- It has been pre-trained on approximately 27.6 million pages of document images from various sources.
- The model excels in generating spatially-aware text blocks and producing structured text output in markdown format.
- It uses a shared Transformer architecture, task-specific prompts, and flexible text representations.
- Kosmos-2.5 has been evaluated on document-level text recognition and image-to-markdown text generation tasks with promising results.
- The model can be easily adapted for other text-intensive image understanding tasks through supervised fine-tuning.
- The training data includes diverse sources such as arXiv papers, PowerPoint slides, general PDFs, and web screenshots.
- For structured text output in markdown format, the model leverages data from README files, DOCX pages converted to markdown format, LATEX code converted to markdown information, and HTML files converted to markdown format.
- Different processing workflows are used depending on the type of data involved: scanned document images are processed using the Microsoft Read API, ArXiv papers, PowerPoint slides, and general PDFs are compiled into PDF files and parsed using the PyMuPDF parser, webpage screenshots are collected using Playwright and extracting HTML content using the lxml library, README files are collected from GitHub projects and converted to HTML using Pandoc with images obtained from the generated HTML content using wkhtmltopdf.
Abstract: We present Kosmos-2.5, a multimodal literate model for machine reading of text-intensive images. Pre-trained on large-scale text-intensive images, Kosmos-2.5 excels in two distinct yet cooperative transcription tasks: (1) generating spatially-aware text blocks, where each block of text is assigned its spatial coordinates within the image, and (2) producing structured text output that captures styles and structures into the markdown format. This unified multimodal literate capability is achieved through a shared Transformer architecture, task-specific prompts, and flexible text representations. We evaluate Kosmos-2.5 on end-to-end document-level text recognition and image-to-markdown text generation. Furthermore, the model can be readily adapted for any text-intensive image understanding task with different prompts through supervised fine-tuning, making it a general-purpose tool for real-world applications involving text-rich images. This work also paves the way for the future scaling of multimodal large language models.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.