TL;DR
TALK-TO-YOUR-SLIDES is a high-efficiency slide editing agent that bypasses pixel-based visual processing to manipulate a presentation's underlying structured data model directly. By translating natural language instructions into precise API actions, it achieves 34% faster processing and an 87% reduction in cost compared to traditional vision-based GUI agents.
What Problem Does This Paper Address?
Automated slide generation has seen significant progress, but editing existing slides—such as updating product prices across a 120-slide deck or translating a 50-page lecture—remains a tedious, manual chore.
Recently, multimodal LLM-powered GUI agents have attempted to automate these tasks by interacting with software interfaces via screenshots, mouse clicks, and keyboard inputs. However, these visual agents suffer from high computational latency, massive token costs, and text recognition errors caused by OCR limitations.
The authors ask a fundamental question: Is the image modality actually necessary to control a slide application? For text-centric, structural, and batch-processing tasks, relying on pixels is highly inefficient.
Methods
The authors introduce TALK-TO-YOUR-SLIDES, a framework that interacts with presentation software using language modality rather than vision. It features a hierarchical architecture that splits slide editing into high-level (semantic) and low-level (execution) layers across four distinct modules:
- Instruction Understanding (High-level): Interprets natural language commands into structured, actionable JSON plans detailing target slides, elements, and actions.
- Document Understanding (Low-level): A custom rule-based parser that extracts slide metadata and fine-grained object attributes (shapes, images, and text boxes at the "run-level" to preserve formatting) into a structured JSON format.
- Document Editing (High-level): An LLM modifies the parsed JSON data to reflect the user's requested changes.
- Code Generator (Low-level): Translates the delta between the original and edited JSON states into executable Python code using the COM protocol (for Windows) or AppleScript (for macOS).
To handle execution failures robustly, the framework incorporates a self-reflection mechanism. If the code triggers a runtime error, the agent analyzes the full error trace, reflects on the syntax or logical flaw, and regenerates the code iteratively.
Datasets
Because existing benchmarks focus primarily on slide generation, the authors introduced TSBench, a human-verified benchmark dataset specifically designed for slide editing.
- TSBench: Contains 379 instruction-slide pairs categorized into four task types:
TextEditing,VisualFormatting,LayoutAdjustment, andSlideStructure. - TSBench-Hard: A challenging subset featuring visual-dependent tasks (requiring spatial reasoning), ambiguous instructions (requiring aesthetic inference), and cross-modal tasks (designed to test if the agent can correctly refuse execution rather than hallucinate).
Key Insights and Ideas
- DOM Manipulation > Pixel Rendering: Operating on the Document Object Model (DOM) guarantees that unmentioned slide elements remain completely untouched. Re-rendering slides from scratch via code or visual agents frequently introduces unintended layout shifts or content hallucinations.
- Run-Level Parsing is Essential: Parsing text at the placeholder level is insufficient because a single text box can contain multiple font styles. Parsing at the "run-level" (contiguous segments of text with consistent formatting) allows the agent to make precise, style-preserving edits.
- The Power of Self-Correction: Incorporating a self-reflection loop provides a massive boost to complex, multi-step tasks. It acts as a safety guard, dropping catastrophic failure rates significantly by fixing data type mismatches and API syntax errors at test time.
Key Results
Evaluated against state-of-the-art GUI agents (like Microsoft's UFO), TALK-TO-YOUR-SLIDES demonstrated substantial improvements in both performance and efficiency:
- Fidelity and Success: Achieved an overall execution success rate of 96.84% using DeepSeek V3, outperforming the UI Agent baseline by over 20 percentage points.
- Speedup: Reduced execution time to 66% of the UI Agent's latency (enabling 34% faster processing).
- Cost Efficiency: Operated at an 87% lower cost than the GUI baseline, driven by an overwhelming advantage in input token efficiency (using only 4% of the input tokens required by vision-based models).
- Robustness: On the
TSBench-Hardsubset, the framework outperformed the strongest baseline by +16.5 points overall and achieved a 64.7% Refusal Accuracy on impossible cross-modal requests.
Limitations and Future Work
While highly efficient, a purely language-driven structural agent has clear operational boundaries:
- Layout Stability: When text length changes drastically (e.g., translating concise text into a wordier language), text can overflow its bounding box. Detecting this purely from structured data without visual feedback is computationally complex and error-prone.
- Visual Aesthetics: Subjective instructions like "make the slide look professional" inherently require spatial perception.
The authors conclude that the ideal ultimate architecture is a Hybrid Agent. In such a system, the language-driven structural module handles the heavy lifting of batch processing and text editing, while vision capabilities (VLMs) are selectively invoked purely for layout verification and aesthetic quality assurance.
Summary updated