Skip to content

Multimodal Chunking

Definition

Multimodal Chunking is a strategy for slicing documents containing multiple modalities (text, images, tables, diagrams) into fragments that preserve semantic integrity and connections between different types of elements. The goal is to ensure efficient search and context transmission of relevant multimodal blocks to LLMs.

Approaches to Chunking

Approach Description Applicability
Page-based Each page of a PDF is a separate chunk Slide decks, scans
By sections Chunking by headings and structure Long documents
By modalities Separate chunks for text and images Mixed content
Semantic Grouping by meaning, considering connections Complex documents

Features of Multimodal Chunking

  • The need to preserve links between text and related images.
  • Considering the size of images when forming the context.
  • Using multimodal embeddings to assess semantic proximity.
  • Balancing between the completeness of the fragment and its size.

See also