Multi-page document vision-language models encode each page independently, creating a feature-level discontinuity at page boundaries: visual tokens are formed without access to content on adjacent pages, and the language model must reason over these page representations formed in isolation. We introduce DocSEAM (Document Selective Enrichment via Anchored Masking), a lightweight module inserted between a pretrained vision encoder and the language model that injects the inductive bias of local cross-page context into visual representations. For each page, DocSEAM forms a local triplet with its two neighbors, applies center-anchored masked self-attention with directional salience gates to fuse information from neighbor pages, and returns only the enriched center-page tokens, leaving the visual token count unchanged. After a supervised cross-page warm-up and multi-page fine-tuning with DocSEAM frozen, our 9B-parameter model achieves state-of-the-art results among the evaluated open-weight models of up to 10B parameters on five multi-page document VQA benchmarks. We further show that under controlled re-pagination, DocSEAM reduces sensitivity to boundary placement and improves cross-page span localization
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Evan: Welcome to Daily Paper Cast. Ashley: Today, we're discussing a paper from the Hugging Face daily paper list of November 26, 2026, which has received 23 upvotes. Evan: The paper is titled 'DocSEAM: Bidirectional Cross-Page Encoding for Multi-Page Document Understanding.' Ashley: The first two authors are Hoang-Nhat Nguyen and Chen Change Loy, who is also the corresponding author. They are affiliated with S-Lab, Nanyang Technological University, and Synvo AI.
Evan: Alright, Ashley, can you start by summarizing the background and objectives of this paper? Ashley: Sure, multi-page document vision-language models, or VLMs, typically encode each page independently. This creates a feature discontinuity at page boundaries, where visual tokens are formed without access to content on adjacent pages. The language model then has to reason over these isolated page representations, which can be problematic. Evan: So, the models end up missing the continuity of content across pages...
Ashley: Exactly. Paragraphs can continue across page breaks, tables can carry over rows to the next page, and section headings can introduce content that spans multiple pages. Without considering adjacent page content, the visual encoder commits to a representation that the language model must repair, which can lead to performance issues. Evan: Can the language model handle these discontinuities on its own? Ashley: In many cases, yes, the language model can compensate by attending across pages and comparing redundant evidence, but this compensation is fragile.
The paper shows empirically that pagination sensitivity affects the performance significantly when page breaks disrupt tables and paragraphs. Evan: Interesting. So, what is the paper's main proposal to address this issue? Ashley: The authors propose DocSEAM, which stands for Document Selective Enrichment via Anchored Masking. It's a lightweight module inserted between a pretrained vision encoder and the language model. The key idea is to inject the inductive bias of local cross-page context into visual representations before they reach the language model.
Evan: And how does DocSEAM work specifically? Ashley: DocSEAM forms a local triplet consisting of a page and its immediate neighbors. It applies center-anchored masked self-attention with directional salience gates to fuse information from the neighboring pages. This process returns only the enriched center-page tokens, maintaining the original visual token count. Evan: So it enriches the representation without increasing the visual token budget. What's the training strategy for this module? Ashley: The authors employ a two-stage training strategy.
First, DocSEAM undergoes supervised cross-page warm-up tasks to learn cross-page alignment. After this initial training, DocSEAM is frozen and the multi-page document understanding model is fine-tuned. This allows the learned cross-page priors to transfer across diverse tasks seamlessly. Evan: What kind of improvements does DocSEAM provide? Ashley: The 9-billion-parameter model incorporating DocSEAM achieves state-of-the-art results among evaluated open-weight models of up to 10-billion parameters on five multi-page document visual question answering (VQA) benchmarks.
Additionally, DocSEAM reduces sensitivity to page boundary placement and improves cross-page span localization. Evan: That sounds like a significant contribution. Can you break down their contributions for us? Ashley: Their contributions are threefold. Firstly, they identify pagination sensitivity in conventional document VLMs and design a diagnostic to measure it. Secondly, they introduce DocSEAM, which integrates cross-page context into visual representations through center-anchored attention and directional salience gates.
Lastly, they present an effective two-stage training strategy for learning the cross-page context and applying it to diverse tasks. Evan: Great, thanks for the thorough explanation, Ashley. That's the end of the Introduction section. Evan: So Ashley, let's dive into the methods proposed in this paper. How exactly does DocSEAM enhance multi-page document understanding? Ashley: Sure, Evan. To implement DocSEAM, the authors start by processing each document page through a pretrained vision encoder, which produces a sequence of visual tokens for each page.
Typically, these sequences are concatenated into a single sequence for the language model to process. Evan: And that's where the initial problem was identified, right? Encoding each page independently without considering adjacent pages creates a discontinuity at the boundaries. Ashley: Exactly. DocSEAM steps in by replacing the visual token sequence of each page with an enriched version that incorporates information from neighboring pages. For each page, DocSEAM forms a local triplet comprising the current page and its immediate neighbors—the previous page and the next page.
Evan: How does DocSEAM actually process this triplet? Is it a complex procedure? Ashley: It's quite elegant, actually. The module concatenates the visual token sequences from the triplet of pages. Then, it employs masked self-attention where the mask restricts direct interaction between the previous and next pages. This center-anchored triplet attention allows the current page to attend to its neighbors, while all cross-page information flows through the center page. This prevents two-hop leakage, meaning information from non-adjacent pages within a single layer cannot directly interact.
Evan: I see. So it forces the interaction to be mediated through the center page, ensuring that each layer processes local context effectively. What about the salience gates you mentioned earlier? How do they fit into this process? Ashley: Great question. DocSEAM uses directional salience gates to modulate cross-page attention. Each visual token on the page has four learnable gates that control sending and receiving information to and from neighboring pages. These gates are influenced by the token's representation and its positional features, which indicate its distance from content frontiers.
Evan: Content frontiers? Could you explain what those are? Ashley: Certainly. Content frontiers refer to the areas of the page where actual content, like text or images, begins and ends. For instance, directions such as sending information to the next page or receiving information from the previous page are aligned with these content boundaries. Tokens near headers, footers, or whitespace margins typically have lower salience because they're less likely to provide continuation evidence. Evan: That makes sense. So these gates essentially act as filters, allowing the model to selectively process cross-page context based on where the content is most likely to continue.
Ashley: Exactly. By modulating the attention weights with these gates, DocSEAM can enhance visual token representations with relevant neighboring-page context while suppressing irrelevant areas like margins. The result is a more coherent representation that the language model can then process effectively. Evan: Sounds well thought out. Now, what about the training strategy for DocSEAM? How is it integrated into the larger model training process? Ashley: DocSEAM is trained in two distinct stages.
The first stage involves a supervised cross-page boundary alignment task where DocSEAM is exclusively trained, and the vision encoder and language model remain frozen. This stage focuses on aligning the gates and masked attention with cross-page evidence tasks, such as merging text or tables that span across page boundaries. Evan: So it's learning how to best integrate cross-page context right from the start? Ashley: Precisely. In Stage A, the model uses an objective that combines the cross-entropy loss for task-level supervision with an auxiliary gate alignment loss.
This auxiliary loss helps align gates with the content frontiers and suppresses activations over whitespace. Evan: And then in Stage B, DocSEAM is frozen and the rest of the model, including the language model, is fine-tuned on downstream tasks. How does this help? Ashley: Freezing DocSEAM allows it to retain the learned cross-page priors from Stage A, while the rest of the model adapts to work effectively with these enriched tokens. This approach isolates the cross-page enrichment step from the main fine-tuning, ensuring that the specialized improvements are transferred directly to multi-page document understanding tasks without interference.
Evan: What kind of tasks and datasets do they use in Stage B? Ashley: Stage B employs a mixture of multi-page document VQA datasets, including MP-DocVQA, DUDE, SlideVQA, and other similar benchmarks. Additionally, multi-page reasoning data from various sources is used to ensure that the model adapts to diverse tasks requiring long-context understanding and reasoning. Important metrics like ANLS and accuracy help evaluate the performance across these benchmarks.
Evan: So they're not only fine-tuning for question answering but also ensuring the model can handle complex reasoning across multiple pages. Did they conduct any specific evaluations to determine how well DocSEAM handles cross-page span localization? Ashley: The authors performed a series of evaluations visualizing attention patterns and conducting span localization benchmarks to assess how accurately the model can identify and merge cross-page evidence. DocSEAM showed significantly improved accuracy in cross-page lookup and span localization, outperforming the baseline models.
Evan: That's impressive. It must be a notable improvement if it can seamlessly integrate information across pages and enhance the overall document understanding. Ashley: Indeed, Evan. DocSEAM is particularly effective in reducing pagination sensitivity and improving robustness to page boundary changes, proving its value in practical applications for document understanding. Evan: Thanks for unpacking the methods section so clearly, Ashley. This sounds like a promising advancement.
Ashley: My pleasure, Evan. That wraps up the Method section. Evan: Alright, Ashley, let's move on to the Experiment and Results section. How do the authors evaluate DocSEAM in practice? Ashley: The evaluation is quite thorough, Evan. The authors test DocSEAM on five multi-page document visual question answering benchmarks. These include DUDE, MP-DocVQA, SlideVQA, MMLongBench-Doc, and LongDocURL. Each of these benchmarks has different characteristics and challenges that help validate DocSEAM's effectiveness across various document types and reasoning tasks.
Evan: What kind of metrics or criteria did they use to evaluate the performance? Ashley: They primarily used ANLS, which stands for Average Normalized Levenshtein Similarity, for DUDE and MP-DocVQA. This metric evaluates the accuracy of the answers by comparing the predicted and ground-truth text spans. For SlideVQA, MMLongBench-Doc, and LongDocURL, the primary metric is exact-match accuracy, which measures the percentage of correct answers matching the ground truth exactly.
Evan: How did DocSEAM perform compared to other models? Ashley: DocSEAM achieved state-of-the-art performance among the evaluated open-weight models with fewer than 10 billion parameters on all five benchmarks. On DUDE, it scored 63.0 in ANLS, surpassing the previous best model by 5.4 points. For MP-DocVQA, it reached 89.2, which is 1.0 point higher than the best prior model. On SlideVQA, DocSEAM achieved 87.1 in accuracy, exceeding the top model by 10 points.
Evan: That's quite impressive. What about MMLongBench-Doc and LongDocURL? How did it fare there? Ashley: On MMLongBench-Doc, DocSEAM scored 58.3 in accuracy, which was 1.2 points higher than the zero-shot baseline and 13.8 points higher than the fine-tuned baseline. For LongDocURL, it achieved 62.9, which is not only 10.7 points higher than the previous best model but also performed significantly well on tasks that require long-context understanding.
Evan: Those are substantial improvements. Did the paper include any specific analysis on pagination sensitivity and robustness that we discussed earlier? Ashley: Yes, indeed. The authors conducted controlled re-pagination tests to measure the robustness of DocSEAM. They split each page of the benchmarks into two half-pages and measured the performance under structure-preserving and structure-breaking conditions. DocSEAM reduced the performance gap between structure-preserving and structure-breaking re-pagination to just 0.8 and 0.7 percentage points on MMLongBench-Doc and LongDocURL, respectively.
Evan: Did they run any other evaluations or benchmarks? Ashley: They also performed ablation studies to understand the contributions of different components of DocSEAM. For instance, they tested variants with causal triplet attention, full three-page attention without gates, and anchored mask without gates. The full setup with anchored mask and directional gates consistently performed the best, highlighting the importance of each design choice. Evan: Did they evaluate DocSEAM on any additional tasks beyond VQA?
Ashley: Yes, they tested DocSEAM on a multi-page document parsing benchmark, MPDocBench-Parse. This benchmark covers tasks like text merging, table merging, and logical structure recovery. DocSEAM showed substantial improvements there as well, particularly in truncating text merging and table merging, proving its benefits in tasks requiring detailed document understanding. Evan: It sounds like the authors covered their bases thoroughly in evaluating DocSEAM across various benchmarks and tasks.
Thanks for the great summary, Ashley. That ends the Experiment section. Evan: Now that we've covered the experiments and results, Ashley, let's delve into the Related Work section. How does this paper position itself within the broader context of multi-page document understanding? Ashley: Sure, Evan. The paper fits into several significant areas within the domain of document visual question answering and multi-page document understanding. Firstly, document VQA was originally posed as a single-page problem.
Then subsequent benchmarks like MP-DocVQA and DUDE extended it to multi-page settings where cross-page reasoning is essential. Evan: Right, and handling multi-page documents adds a layer of complexity compared to single-page VQA. Ashley: Exactly. Current approaches to multi-page document VQA generally fall into three main families. First, retrieval-augmented methods such as VisRAG, SV-RAG, and VDocRAG focus on selecting relevant pages before reading them.
Even though these methods aim to improve efficiency and accuracy, they still encode each page independently, leading to the same representational discontinuity issues we've been discussing. Evan: So even with retrieval-focused methods, the visual tokens are processed independently, causing gaps at the page boundaries. Ashley: Exactly. Secondly, agentic methods decompose reasoning into multi-step workflows or multi-agent pipelines. For example, MACT uses separate agents for analysis, localization, and reasoning tasks.
While this approach can provide detailed and structured understanding, per-page visual representation is still never modified. Evan: Interesting. What's the third approach? Ashley: The third approach includes end-to-end methods like GRAM, DocSeeker, mPLUG-DocOwl2, URaG, and Leopard. These methods compress or reallocate visual tokens but continue to treat each page as an independently encoded unit. The visual token near a page break is computed as if the page were self-contained, leaving the cross-page reasoning to the subsequent language model processing.
Evan: So across all three families, whether retrieval-augmented, agentic, or end-to-end, the common issue is the independent encoding of pages causing feature discontinuity. Ashley: That's right, Evan. DocSEAM differentiates itself by modifying the page representation before it reaches the language model, retriever, or agent, and does so densely and directionally for every token and specific neighbors. Evan: How does DocSEAM compare to other visual encoders for documents?
Ashley: There's also a parallel line of work improving single-page visual encoders. Methods like native-resolution ViTs avoid aspect-ratio distortion, DAVE pretrains an encoder specifically for documents, DeepEncoder V2 learns intra-page reading order via causal queries, UNIT unifies image and text recognition, and mPLUG-DocOwl2's H-Reducer compresses tokens while preserving layout. Evan: So while these approaches improve intra-page representation quality, DocSEAM operates post-encoder on the token grid, injecting cross-page interaction.
Ashley: That's correct. DocSEAM is designed to sit after the visual tokens have been generated by whatever per-page encoder was used and opens a channel between previously isolated token grids. Evan: How does DocSEAM relate to broader work on multi-image and stateful encoding methods? Ashley: Most multi-image VLMs use late fusion, meaning images are encoded independently, and cross-image reasoning happens later. Stateful VLMs propagate visual memory forward like streaming VLMs but mainly target temporal compression.
The closest architectural prior to DocSEAM is SVE, which injects causal cross-image interaction inside the ViT stack to condition on a previous image. However, DocSEAM leaves the vision encoder unchanged and operates post-encoder using a bidirectional neighborhood tailored for documents. Evan: So DocSEAM complements these other methods by focusing on document-specific bidirectional interactions without modifying the encoder itself. Ashley: Exactly. It uses gates that learn which tokens should communicate across pages, suppressing irrelevant tokens like margins and headers.
DocSEAM's approach of ensuring cross-page communication before the tokens are consumed by the language model is unique among the current approaches. Evan: That's a comprehensive roundup of the related works in this domain and a clear differentiation for DocSEAM's approach. Thanks for breaking that down, Ashley. That concludes the Related Works section. Evan: Alright, Ashley, as we wrap up, let's summarize the key contributions and takeaways from this paper. What stands out the most about DocSEAM?
Ashley: Evan. The most notable contribution of DocSEAM is how it addresses the feature discontinuity at page boundaries in multi-page document VLMs. By forming local triplets and applying center-anchored masked self-attention with directional salience gates, DocSEAM enriches visual token representations with cross-page context without increasing the visual token budget. Evan: And this mechanism effectively reduces pagination sensitivity, ensuring that the visual representations are coherent and maintain the continuity of content across pages.
Ashley: Exactly. Moreover, the two-stage training strategy—with DocSEAM being warmed up on supervised cross-page alignment tasks and then frozen during downstream fine-tuning—ensures that the learned cross-page priors are seamlessly integrated into diverse tasks. This approach led to state-of-the-art results across five major multi-page document VQA benchmarks. Evan: That’s impressive. Especially considering the improvements in metrics like ANLS and accuracy, and the robustness tests against pagination showed how well DocSEAM handles structure-preserving and structure-breaking page splits.
Ashley: Indeed. To sum it up, DocSEAM offers a robust solution to the challenge of cross-page context in document VLMs, enhancing both performance and robustness across various document types and benchmarks. It stands out through its innovative approach to integrating context before the language model processes the tokens. Evan: That’s a wrap for today’s episode on 'DocSEAM: Bidirectional Cross-Page Encoding for Multi-Page Document Understanding.' Ashley: We hope you found this discussion insightful and informative.
We look forward to bringing you more deep dives into groundbreaking papers in AI, NLP, CV, and related fields. Evan: Thank you for tuning in to Daily Paper Cast. Don't forget to subscribe and join us for future episodes. Ashley: Until next time, stay curious and keep learning.