PaperVoyager : Building Interactive Web with Visual Language Models

Dasen Dai, Biao Wu, Meng Fang, Wenhao WangarXiv 2026

TL;DR

PaperVoyager is an autonomous agent framework that transforms static PDF research papers into executable, interactive web applications without human intervention. By breaking down the generation process into structured, block-wise modules and using visual feedback to filter the results, it shifts scientific paper comprehension from passive reading to active, hands-on exploration.

What Problem Does This Paper Address?

When reading technical papers, understanding complex mechanisms, state transitions, and dynamic algorithms (such as network routing protocols, optimization steps, or physics simulations) requires significant mental effort. Traditional reading forces the reader to passively simulate these dynamics in their head.

While modern AI document assistants can convert PDFs into other formats, they typically generate static artifacts like text summaries, Markdown files, or slide decks. They fail to provide an environment where a user can manipulate inputs and directly observe system behaviors. The authors address this gap by building an autonomous agent capable of turning a static paper into a fully functional, interactive web dashboard.

Figure 1: Traditional Reading vs. Interactive Explo- ration.Left: conventional paper comprehension relies on passive reading and mental simulation. Right: our approach enables interactive exploration, where users manipulate controls in an executable interface and ob- serve state changes to better understand the paper’s key mechanisms and dynamics.

Methods

Instead of generating an entire web application's code in a single monolithic pass—which often causes large language models (LLMs) to omit complex components or generate broken logic—PaperVoyager introduces a multi-stage structured pipeline:

  1. Mechanism-Aware Understanding: A multimodal parsing module processes the PDF pages to extract text, equations, pseudocode, and diagrams, prioritizing core methodology and system design sections over peripheral text.
  2. Structured Specification Generation: The model reasons about which mechanisms should be exposed through interactive visualizations and creates a numbered "Module Plan" detailing user controls, states, and expected visual outputs.
  3. Block-Level Generation: The application is decomposed into independent blocks based on the Module Plan. Each block is generated independently $k$ times to create a diverse pool of candidate React/TypeScript components.
  4. Candidate Filtering: Each candidate component is compiled and rendered in a headless browser. A lightweight vision-language model (VLM), Qwen3-VL-4B-Instruct, reviews the screenshots against the block specification, using token logit ratios to rank and select the highest-quality implementation.
  5. Block Merging: A high-capacity LLM unifies the selected blocks into a single, self-contained App.tsx file, integrating them under a shared sidebar navigation interface with a consistent visual design.
Figure 2: Overview of the PaperVoyager pipeline. Starting from a static PDF paper, the agent performs multimodal document parsing, identifies core mechanisms suitable for interaction, designs a structured generation specification, and synthesizes code via an LLM to produce an executable WebPaper.

Datasets

The authors introduce a new evaluation benchmark specifically designed for paper-to-interactive-system synthesis. It consists of 19 topic-conditioned web tasks spanning seven scientific domains:

  • Algorithms (e.g., Dynamic Programming, Graph Pathfinding)
  • Data Structures (e.g., Balanced BSTs, Cuckoo Hashing)
  • Distributed Systems (e.g., Raft Consensus)
  • Mathematics (e.g., Lorenz Attractor, Fourier Series)
  • Machine Learning (e.g., Gradient Descent, K-Means Clustering)
  • Physics (e.g., 2D Fluid Simulation, N-body Gravity)
  • Systems (e.g., CPU Scheduling, Virtual Memory & Paging)

Each task is rooted in a landmark paper or foundational algorithm and is paired with a high-quality, expert-built interactive web system whose source code serves as the ground-truth reference.

Key Insights and Ideas

  • Monolithic Generation Fails on Complexity: Standard LLMs struggle to generate complete interactive systems in one go. Under monolithic generation, models frequently simplify or omit complex components (e.g., substituting the Adam optimizer with simpler SGD or dropping hyperparameter control panels) to fit within their generation budget.
  • Visual Feedback is Crucial for Code Selection: Code syntax checking alone cannot verify if an interactive UI actually works or responds correctly to user input. Utilizing a VLM to evaluate actual rendered screenshots of the UI components drastically improves the robustness of the final system.
  • Domain Complexity Varies Systematically: Natural science topics (like physics simulations) typically require fewer interactive elements because physical motion is inherently visual and compact. Conversely, abstract computer systems concepts (like virtual memory) require highly modular interfaces with significantly larger codebases to expose hidden intermediate states.

Key Results

The generated web systems were evaluated using a two-branch protocol combining Checklist Matching Evaluation (to measure design compliance) and Interactive Exploration Evaluation (using a VLM agent to test functional responsiveness after random UI actions).

Figure 4: Two-branch evaluation protocol for generated interactive web systems, combining checklist comple- tion and interaction failure analysis into a final quality score.
  • State-of-the-Art Performance: PaperVoyager achieved the highest overall performance on the benchmark with an average success rate of 84.4%, substantially outperforming standard baseline models like Gemini-3-Pro, GPT-5.2, and Qwen-Max.
  • High Algorithmic Fidelity: In specific algorithmic tasks like Graph Pathfinding (Alg-GP), PaperVoyager reached a success rate of 90.4%, demonstrating its capability to accurately capture complex algorithmic dynamics.
  • Value of Interaction Trajectories: Ablation studies showed that increasing the number of trajectory screenshots provided to the VLM evaluator steadily improved selection quality, climbing from 57.5% (with 0 screenshots) to 84.4% when the full interaction trajectory was utilized.

Limitations and Future Work

  • High Construction Cost: Creating the benchmark requires substantial human-in-the-loop effort from PhD-level experts to verify pedagogical fidelity and technical correctness, making it expensive to scale to hundreds of papers.
  • No Dedicated Training Set: The current work focuses purely on zero-shot agent execution; there is no training or fine-tuning dataset provided to optimize models specifically for this task.
  • Evaluation Scope: The experiments primarily focused on evaluating representative VLMs under a fixed evaluation setting, leaving broader model comparisons and larger-scale testing for future research.

Summary updated

BibTeX
@misc{dai2026papervoyager,
  author = {Dasen Dai and Biao Wu and Meng Fang and Wenhao Wang},
  title = {{PaperVoyager : Building Interactive Web with Visual Language Models}},
  year = {2026},
  eprint = {2603.22999},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.22999},
}
Figure