LogicTree-RAG: Logic Tree-guided Retrieval-Augmented Generation for Long-form Patent Drafting
Organizations: National University of Singapore · Zhejiang University
Abstract
Long-form technical text generation underpins knowledge-intensive workflows, yet remains challenging for large language models (LLMs) due to the need for globally consistent logical structuring and faithful technical reasoning beyond local coherence. Patent drafting is a canonical instance of this challenge, demanding holistic generation of a legally compliant and technically exhaustive document through sustained multi-expert collaboration. Existing approaches often focus on partial section generation or rely on manually crafted outlines, limiting scalable automation in realistic settings. In this work, we propose LogicTree-RAG, a logic tree-guided retrieval-augmented generation framework that induces a hierarchical logic tree as a global organizational backbone to organize and ground technical disclosures, without relying on expert-defined drafting priors. Each node in the logic tree represents a technical element and is constructed through evidence-guided recursive generation. A hybrid traversal mechanism then maps the logic tree into patent sections, enabling controllable and section-balanced generation. Extensive experiments show that LogicTree-RAG consistently improves content quality and language conformity over strong LLM-based baselines and achieves longer structured generation with high token efficiency, demonstrating the effectiveness of logic-centric generation for complex technical document drafting.
Figures & tables
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Notation | Description |
| A patent-paper pair, where is the source (pre-publication) research paper and is the corresponding patent document. | |
| Source paper represented as a collection of text spans. | |
| Patent document represented as a collection of text spans. | |
| Semantic chunks produced from after layout-aware semantic chunking, with . | |
| Logic tree, a directed rooted tree with node set , edge set , and root node . | |
| Set of logic tree nodes, each representing a technical element (e.g., principle, step, subsystem). |
| Method | Output Tokens | Content-level | Language-level | Time (s) / Patent (Token) | |||||
| Coverage | Factuality | Semantic Similarity | Style | Repetition Rate | Coherence | ||||
| Heuristic Skyline | |||||||||
| Reference Patent (GT) | 18.16k | 89.05 | 88.74 | 88.80 | 100 | 100 | 13.91 | 100 | - |
| Source Paper | 8.03k | 44.77 | 46.06 | 88.68 | 39.37 | 39.26 | 8.39 | 98.60 | - |
| Outline (Long) | 1.43k | 39.11 | 61.79 | 61.93 | 10.16 | 23.22 | 20.14 | 85.69 | - |
| Method | Fully (%) | Partial (%) | Unsupported (%) |
| LLM-as-judge | |||
| COPGEN | 70.4 | 20.2 | 9.4 |
| LogicTree-RAG | 85.6 | 12.0 | 2.4 |
| Human Audit | |||
| COPGEN | 60 | 30 | 10 |
| LogicTree-RAG | 75 | 25 | 0 |
| Computational Cost (/patent) | Cost Breakdown |
| LLM Calls: 20 | chunking&tree init 5%, tree construction 45%, traversal 50% |
| Runtime: 311s | chunking&tree init 16%, tree construction 39%, traversal 45% |
| Total Input Tokens: 7.60k | chunking&tree init 29%, tree construction 37%, traversal 34% |
| Method | Overall | Legality | Claim Structure | Antecedent Basis | Fidelity |
| Ours vs Qwen3-80B | 75.7 | 69.8 | 84.6 | 84.8 | 88.5 |
| Ours vs DeepseekV3 | 84.4 | 65.1 | 88.5 | 90.1 | 90.2 |
| Ours vs LongWriter | 78.8 | 76.5 | 90.6 | 92.0 | 85.9 |
| Ours vs COPGEN | 70.5 | 65.7 | 85.2 | 82.1 | 78.5 |
Long-Form Document Generation
Long-form document generation studies methods for producing coherent, factual, well-structured books, reports, and other extended texts with AI.
See all 32 papers