Manuscript Offprint

arXiv:2610.06603

Word-Level Text Unmixing via Evidence-Preserving Ownership Routing with Language Models

Jinglin He, Siyang Jiang, Lixing He, Guoliang Xing, Hongkai Chen

ABSTRACT

Text from multiple sources can become interleaved into a single sequence when attribution metadata is lost, such as overlapping speech transcripts, complex document reading flows, or concurrent agent streams. While all observed words remain present, their underlying source ownership is unknown. We formalize this challenge as Word-Level Text Unmixing: given an interleaved lexical stream and the source count K, recover the original source sequences while preserving every word occurrence and its within-source order exactly. Conventional large language model (LLM) paradigms approach this by generating separated source texts directly. However, coupling latent ownership inference with lexical regeneration frequently causes LLMs to omit, duplicate, or hallucinate words, violating the exact-reconstruction objective. To resolve this, we propose Evidence-Preserving Ownership Routing (EPOR), a framework that clearly separates ownership prediction from sequence reconstruction. During training, EPOR adapts a causal LLM to predict canonical ownership routes conditioned on the interleaved stream and prior routing decisions, inducing dynamic, history-conditioned source contexts without lexical regeneration. At inference, EPOR pairs completion-safe constrained decoding with deterministic indexed reconstruction, guaranteeing structurally valid K-source partitions that preserve every observed token occurrence exactly once. For systematic evaluation, we introduce UNMIXBENCH, spanning controlled synthetic mixtures, timestamp-derived speech from AMI and ICSI, layout-derived document streams from ReadingBank, and simulated concurrent digital outputs. Across five evaluation tracks, a 4B EPOR model achieves the lowest minimum-permutation word error rate (MP-WER) among finetuned baselines, reducing the five-track mean by 22.3% relative to compact source-array generation and competing favorably with zero-shot frontier LLMs. These findings indicate that when lexical evidence is fully observed, decoupling ownership routing from sequence reconstruction can provide a more reliable and structurally sound alternative to generative decoders.

1 INTRODUCTION

Text from multiple sources frequently becomes interleaved into a single sequence when attribution metadata is lost during downstream processing. Although the observed words remain intact, the mapping between each word occurrence and its original source is unknown. Recovering these latent source assignments is critical for restoring readable transcripts, coherent document structures, and interpretable digital records across several primary settings. In temporal interleaving for speech processing, transcribed words from multiple speakers merge into a single chronological stream due to overlaps or interruptions, making source attribution essential for speaker-aware analysis (Paturi et al., 2023; Wang et al., 2024). In spatial interleaving, document extraction systems often serialize two-dimensional layouts like multi-column pages into an incorrect linear order (Wang et al., 2021; Zhang et al., 2023). Furthermore, concurrent interleaving occurs in digital systems when collaborative agents or unlabelled event logs emit partial outputs into a shared stream where only the arrival order is preserved (Wu et al., 2024; Wang et al., 2025).

∗^{*}Corresponding author.

Figure

Figure 1: The Word-Level Text Unmixing problem. Temporal, spatial, and concurrent serialization motivate recovery from an interleaved lexical stream. Given the observed words and known source count K, recover the latent sources while preserving every occurrence and its within-source order.

All these scenarios share a fundamental structure where the observed words are available but their source ownership is unknown. We formalize this problem as Word-Level Text Unmixing, as shown in Figure 1. Given a completely interleaved word stream and source count K, the objective is to recover the distinct source sequences such that every observed word occurrence is used exactly once and its original within-source order is preserved. Unlike coarser text separation tasks like utterance-level conversation disentanglement (Elsner & Charniak, 2008; Kummerfeld et al., 2019), paragraph-level style-change detection (Zangerle et al., 2022), or temporally grounded speaker diarization (Paturi et al., 2023; Wang et al., 2024), word-level text unmixing requires resolving ownership shifts between adjacent words using solely the mixed lexical stream.

While generative large language models (LLMs) are commonly used for text-to-structure extraction (Lu et al., 2022; Wang et al., 2023; Sainz et al., 2024), directly prompting them to generate separated source arrays presents two fundamental limitations for word-level text unmixing. First, because each ownership assignment alters the partial source contexts needed to interpret subsequent words, models must perform history-conditioned routing decoupled from lexical reconstruction. Second, standard free-generation paradigms couple ownership inference with text generation. This allows structurally correct ownership deductions to be corrupted by the omission, duplication, or alteration of observed words, directly violating the exact-reconstruction objective.

To resolve this, we introduce Evidence-Preserving Ownership Routing (EPOR), a framework that decouples learned source ownership from deterministic reconstruction. During training, a causal language model predicts a single ownership label per observed word, conditioned on the interleaved stream and prior routing decisions. This enables history-conditioned ownership prediction rather than prone-to-error lexical regeneration. At inference, EPOR a completion-safe constrained beam search to evaluate candidate routes, ensuring the selected paths can form complete K-source partitions. Indexed reconstruction then mechanically gathers the original word occurrences based on these routes, enforcing structural validity and exact evidence preservation.

For systematic evaluation, we construct UNMIXBENCH, a benchmark covering controlled synthetic mixtures, timestamp-derived speech from AMI and ICSI, layout-derived reading flows from ReadingBank, and simulated concurrent digital streams via WikiText. Across the five principal evaluation tracks, a 4B EPOR model achieves the lowest mean minimum-permutation word error rate (MP-WER) among task-finetuned free-generation and structured baselines, yielding a 22.3% error reduction relative to compact source-array generation. Furthermore, EPOR remains highly competitive with zero-shot frontier language models.

Our key contributions include the following.

• We formalize word-level text unmixing, a fine-grained de-interleaving problem aimed at recovering the ownership of each word occurrence from mixed text.

• We propose Evidence-Preserving Ownership Routing (EPOR), a structured framework that decouples history-conditioned source ownership prediction from evidence-preserving reconstruction.

• We introduce UNMIXBENCH to evaluate text unmixing across temporal, spatial, and concurrent serialization scenarios, demonstrating EPOR’s superior performance across multiple domains.

References (60)