Native Multimodal LLMs: Visual Reconstruction from Handwritten Notes to LaTeX

    This article uses handwritten-note-to-LaTeX restoration as a test case to examine visual understanding in native multimodal LLMs. It presents a four-layer evaluation design covering character recognition, formula and layout reconstruction, style mapping, and diagram-to-code generation; reviews observed gains in fine-grained detail, geometric reasoning, and generation speed; discusses failure modes; and analyzes the cost, latency, and architecture implications for engineering workflows.

    Native Multimodal LLMs: Visual Reconstruction from Handwritten Notes to LaTeX

    1. Background: Why Native Multimodality Is a Key Dividing Line

    For a long time, the visual capabilities of large language models relied mainly on bolt-on approaches: an independent visual encoding module was attached outside the main model, images were first converted into intermediate representations, and the language model then interpreted those representations. Such approaches are fast to deploy and inexpensive to train, but they inherently suffer from information loss. Visual details are compressed when passed across modules, and fine-grained information such as spatial relationships, layer order, and perspective structure is often hit hardest.

    “Native multimodal” means that the model incorporates images, text, and other modalities into the same representation space and training objective during pretraining, rather than stitching them together later. The industry generally considers this architecture to have clear advantages in scenarios such as:

    • Tasks that require precise restoration of visual details, such as handwriting recognition and layout reconstruction;
    • Tasks that require understanding spatial structure and occlusion relationships, such as diagrams and chart understanding;
    • Multi-turn image-text Agent workflows, where it can reduce the overhead of model switching and context transfer.

    This article does not benchmark a specific vendor’s model version. Instead, it uses a typical task—restoring handwritten notes into a LaTeX-formatted document—as a touchstone to discuss how to systematically evaluate the visual understanding level of native multimodal models and what such capabilities mean in practice for developers.

    2. Evaluation Task Design: Why Handwritten Notes to LaTeX

    This task is chosen as an evaluation baseline because it naturally covers multiple difficulty levels of visual understanding and serves as a comprehensive checkup for multimodal capabilities.

    1. Foundation layer: character and symbol recognition
    Handwritten character recognition is far more difficult than printed text recognition. Differences in handwriting style, connected strokes, and messy abbreviations all require the model to have robust low-level visual feature extraction.

    2. Structure layer: formula and layout reconstruction
    Mathematical formulas involve superscripts, subscripts, fractions, radicals, integrals, and other two-dimensional structures. The model must not only “recognize” symbols but also understand the structural relationships between them and express those relationships correctly in LaTeX syntax.

    3. Style layer: mapping visual attributes
    Visual attributes such as highlights, underlines, and annotation colors need to be mapped to style instructions in the document, such as color package commands. This tests the ability to convert visual attributes into semantic instructions.

    4. Reasoning layer: converting geometric diagrams into code
    This is the most discriminative part. The model needs to identify coordinate axes, vertices, and auxiliary lines, understand occlusion and solid/dashed line relationships when a 3D structure is projected into 2D, and finally compile visual understanding into coordinates, paths, filled regions, and drawing order in drawing code such as TikZ. This step is essentially a complete chain of “visual understanding → spatial reasoning → code generation.”

    3. Evaluation Observations: Where Newer Models Improved

    Based on comparative tests across multiple generations of models on the task above, several broadly meaningful improvement directions emerged.

    First, fine-grained element restoration improved significantly. Early vision-enhanced models often failed in a “capture the big picture but miss the small details” pattern when processing handwritten notes: the main text was recognized correctly, but secondary elements such as highlights, annotations, and colors were largely lost. Newer native multimodal models show clearly higher recall on such details. The vast majority of highlighted regions can be recognized and mapped to corresponding style code. Even when individual colors are slightly off—for example, a red highlight is rendered in another color—the overall layout remains high-fidelity.

    Second, geometric diagram understanding improved by a large margin. On simple diagrams containing coordinate systems and function curves, older approaches often produced misaligned coordinates and distorted curve shapes in the generated drawing code; newer approaches can correctly locate vertices and coordinate axes, with drawing order and layer relationships largely correct. In more complex 3D structure diagrams, the model must infer occlusion relationships and decide between solid and dashed lines—a direct reflection of perspective understanding—and the new approach delivers clearly more usable outputs on such tasks.

    Third, generation speed improved substantially. A notable phenomenon is that better visual capability did not come at the expense of inference speed; on the contrary, token generation throughput improved markedly. This may involve lightweight visual encoder design, KV Cache optimization, or engineering improvements at the inference framework level, suggesting that multimodality and low latency are not mutually exclusive.

    4. Limitations: Failure Cases Are Also Valuable

    Any evaluation should not show only success cases. Tests also revealed failures: for example, the model drew an extra ray in a diagram, which was a misjudgment of the number of geometric elements. The causes of such errors typically include:

    • Statistical bias toward similar compositions in training data, leading the model to “fill in” common elements that do not actually exist;
    • Dispersed long-range visual attention, where thin lines are weakened during encoding;
    • Cumulative error in the code-generation stage.

    For developers, this suggests two things. First, production workflows involving precise graphic generation must retain human verification. Second, prompt constraints can reduce the probability of hallucination—for example, asking the model to first list all recognized geometric elements and then generate code. This two-stage “describe first, generate later” strategy has proven effective in practice.

    5. Engineering Perspective: Cost, Latency, and Architecture Benefits

    From an engineering deployment perspective, the benefits of native multimodality go beyond “being able to see images.”

    Cost: For tasks such as image-to-LaTeX document conversion, the token consumption of a single call consists of image encoding tokens and text generation tokens. Compared with a two-stage approach in which a vision model extracts descriptions and a text model generates code, end-to-end invocation reduces the overhead of generating intermediate description text and avoids the network and billing costs of multiple requests. When evaluating cost, developers should focus on the combined token consumption per thousand tasks rather than the unit price of a single call.

    Architecture: In Agent workflows, if visual understanding, file processing, and code generation can be completed within the same model context, the complexity of model switching, context transfer, and tool orchestration can be significantly reduced. This directly lowers the number of system weak points and latency.

    Ecosystem: With general cloud infrastructure such as object storage, message queues, and logging services, developers can build a standardized pipeline—upload image → asynchronous parsing → persist results—and embed multimodal capabilities seamlessly into existing business systems.

    6. Conclusion

    From the micro-task of handwritten note reconstruction, it is clear that native multimodality is pushing visual understanding from an auxiliary capability toward a core capability. Character recognition and formula restoration are only the baseline; what truly differentiates models is spatial reasoning and the ability to generate code. For developers, this is a good time to reassess technology choices: build evaluation sets from real business samples and establish quantitative baselines across four dimensions—restoration accuracy, failure modes, token cost, and latency—so that model capabilities serve production value rather than remaining at the demo level.