arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.30943

LogicTree-RAG: Logic Tree-guided Retrieval-Augmented Generation for Long-form Patent Drafting

Jiaqi Zhu, Naili Xing, Hexiang Pan, Haotian Gao, Jianwei Yin, Xiaokui Xiao, Beng Chin Ooi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiaqi Zhu

National University of Singapore

jiaqi77@nus.edu.sg

Hexiang Pan

National University of Singapore

panh@u.nus.edu

Naili Xing

National University of Singapore

xingnl@comp.nus.edu.sg

Haotian Gao

National University of Singapore

gaohaotian@comp.nus.edu.sg

Jianwei Yin

Zhejiang University

zjuyjw@zju.edu.cn

Xiaokui Xiao

National University of Singapore

xkxiao@nus.edu.sg

Beng Chin Ooi

Zhejiang University

ooibc@zju.edu.cn

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.

1 Introduction

Patents are a cornerstone of intellectual property protection, safeguarding technological innovations and enabling their translation into practical applications [1, 2]. Drafting a patent, however, is a highly specialized task that requires both a comprehensive understanding of the underlying technical contribution and a detailed knowledge of the formal and legal conventions of patent documents [3, 4]. In practice, this process often involves close collaboration between inventors, who possess the technical expertise but typically lack familiarity with patent law, and patent attorneys, who are well-versed in legal conventions but may not fully understand the technical intricacies of the invention. Consequently, such multi-expert collaboration often necessitates repeated discussion and iterative refinement, making the drafting process labor-intensive and time-consuming.

Accepted by NeurIPS 2026.

Recent advances in large language models (LLMs), which have demonstrated remarkable performance across a wide range of natural language processing (NLP) tasks, open up new possibilities for automating and accelerating patent drafting [5, 6, 7]. Prior work in this area has primarily focused on generating specific sections of patent applications [8, 9, 10, 11, 12, 13, 14], such as title, abstract, or claims, rather than producing a complete document. While useful for targeted drafting assistance, such partial generation fails to address the core challenge of producing a logically structured patent application in its entirety, where interdependencies across sections are essential.

While a few recent studies have explored full-patent generation, they typically rely on substantial manual pre-design and drafting efforts. For instance, AutoPatent [15] presupposes user-provided draft information, while Pap2Pat [16] assumes a detailed outline of each patent section written in advance. In their task setups, both methods approximate such user-provided inputs by extracting supervision from reference patents, which distances their designs from real-world patent drafting conditions and ultimately limits automation and scalability.

To address the above-mentioned problems, we formulate patent drafting as a long-text generation task, focusing on producing a complete and logically structured patent application from a pre-publication research paper serving as a proxy for the invention report (IR) [16]. This formulation captures the practical scenario in many research environments, where research papers frequently serve as the initial disclosure for patent drafting. Despite its practical relevance, advancing toward fully automated patent drafting entails several non-trivial challenges. First, patent applications are inherently long-form technical documents, requiring the generation of substantially long and complete texts that remain challenging for LLMs to sustain [17, 18]. Second, beyond producing long outputs, effective patent drafting demands globally consistent logical organization and balanced elaboration, a constraint that becomes increasingly difficult to maintain as generation length grows. Third, robust automation requires minimizing dependence on manually crafted priors, as such reliance limits scalability and generalization across drafting scenarios.

To tackle these challenges, we propose LogicTree-RAG, a logic tree-guided retrieval-augmented generation framework for long-form patent drafting. Unlike prior methods that depend on flat-generation LLMs with manually crafted outlines or templates, LogicTree-RAG introduces a structured generative paradigm in which logic precedes content: it automatically derives a hierarchical logic tree from the input research paper as a global organizational backbone and progressively transforms it into well-formed patent sections in a principled and controllable manner.

As the first step, LogicTree-RAG incorporates a semantic chunking mechanism that structures the input document into semantically coherent units, which are embedded into a vectorized document knowledge base. Upon this foundation, we introduce an evidence-guided recursive generation process for constructing a logic tree that captures the conceptual structure of the underlying research. This process leverages a novel node-aware semantic search strategy equipped with complementary expansion and refinement procedures, enabling section-level coherence and structural balance. Each node in the tree corresponds to a technical element, such as a principle, subtask, or subsystem, and is dynamically grounded by evidence retrieved from the knowledge base. Finally, a hybrid traversal strategy transforms the completed logic tree into patent sections, yielding a long-form, logically organized patent draft without requiring expert-defined priors. By serving as a logic-centric intermediate representation, logic tree bridges factual evidence with global generative control, enabling scalable long-form patent drafting.

We summarize our main contributions as follows:

• We propose LogicTree-RAG, a logic-centric generative framework for research-to-patent transformation that produces long-form, logically structured patent drafts without reliance on expert-defined drafting priors.

• We present an evidence-guided recursive generation approach that constructs a logic tree to model the conceptual dependencies and technical contributions with explicit factual grounding in the source document.

• We introduce a node-aware semantic search with a discriminative relevance scoring that jointly accounts for semantic similarity and structural distinctiveness, improving balanced elaboration and global structural coherence in patent drafting.

• Extensive experiments under a curated suite of evaluation metrics demonstrate that LogicTree-RAG improves technical completeness by 11.03% and content fidelity by 6.33% over strong LLM-based baselines, while enabling longer structured generation with high token efficiency.

References (56)