Introduction
While the vast majority of global data exists in unstructured formats—such as text, video, audio, and diagrams—modern computing infrastructure remains primarily optimized for structured data like tables and graphs. Current AI-driven solutions typically follow a "one-way translation" model, where information is extracted from a document to answer a specific query. This paper argues that this "read-only" approach is insufficient for complex workflows. Instead, we propose a "read-write" paradigm—computing on unstructured data—where information is not just retrieved but manipulated, updated, and re-projected into rich, human-readable formats.
The XTP Pipeline and MXFlow
To enable this paradigm, we introduce MXFlow, a system built around the eXtract–Transform–Project (XTP) pipeline. This framework treats unstructured data as a format containing latent semantic structures that can be articulated and processed with the rigor of traditional data systems.
Core Components
The XTP pipeline consists of three distinct phases:
- Extract: Raw unstructured data is ingested and converted into a structured internal representation, such as a relational database or a symbolic program.
- Transform: Traditional data processing techniques—including optimization, validation, and imputation—are applied to the structured data.
- Project: The modified structured data is translated back into an unstructured format (e.g., updated text or new diagrams) for human consumption.
MXFlow implements this pipeline using hybrid operators. It combines the flexibility of neural models (LLMs and vision models) for data understanding with the deterministic correctness of symbolic tools (SQL and Python) for verification. A central Query Planner treats these tools as fungible operators, selecting the optimal tool based on Service-Level Objectives (SLOs) such as token cost, latency, and accuracy.
Dynamic Dataflow and Provenance
Unlike rigid, linear pipelines, MXFlow supports dynamic dataflow. If a symbolic validator identifies an error during the transformation phase, the system can "loop back" to the extraction phase to re-attempt the process with adjusted parameters. This iterative refinement is crucial for maintaining high accuracy in complex tasks. Furthermore, the system maintains strict provenance, tracking the relationship between specific segments of raw input and their structured counterparts to ensure that "write-backs" to the final document are faithful to the source.
Case Study: Engineering Diagrams
To demonstrate the power of the XTP approach, we applied MXFlow to an engineering use case involving electrical circuit blueprints. The system ingested a U.S.-standard blueprint, extracted it into a symbolic graph, and validated it against specific regulatory codes (e.g., Canadian electrical standards).
As shown in the figure above, when the ValidateTopology step identifies a failure, the system loops back to re-extract domain information. Once validated, the system simulates expansion (e.g., adding 100 new racks) and computes costs. Finally, it projects a multimodal output: a new, updated visual blueprint and a corresponding bill of materials.
Conclusion and Future Work
MXFlow demonstrates that unstructured data can be treated as a first-class citizen in computing. By closing the loop between extraction and projection, the system mirrors human cognition—extracting structure to reason and then communicating results through language or visuals.
However, significant challenges remain. The non-deterministic nature of LLMs can lead to hallucinations, and identifying a "one-size-fits-all" intermediate representation for diverse data types is difficult. Future research will focus on developing more sophisticated dynamic cost models to balance the high expense of LLM tokens against the necessity for rigorous, high-accuracy data extraction.
Summary updated