TL;DR for operators
Technical documentation assistants can retrieve passages about the correct command while missing the parameters, examples, or constraints needed to answer a question completely. Improving semantic similarity alone does not resolve this evidence-fragmentation problem.
A new function-aware retrieval framework groups complementary documentation artifacts around operational functions. In a 100-question OpenROAD evaluation, organizing evidence into functional units raised ROUGE-L from 0.345 to 0.426. Hybrid retrieval and query–unit alignment subsequently increased it to 0.461 and 0.473. The largest measured improvement came from changing how evidence was organized.
For technical-support teams, the results support testing function-centered indexing when answers depend on multiple document sections. The trade-offs are material: generation context fell by 16.6%, but retrieval latency rose by approximately 33.7%, and offline construction required substantial LLM processing. Semantic extraction accuracy was not independently established.
A relevant passage may still be an incomplete answer
A technical-support assistant receives a question about configuring an engineering tool. It finds the command description and returns the expected syntax. Yet the correct answer may also require a parameter table, an executable example, and a constraint explained elsewhere in the documentation.
Each passage may be relevant on its own. The problem is that the documentation describes one operation through several different kinds of evidence, while the retrieval system treats those passages as independent search results.
This is particularly consequential in electronic design automation (EDA), where command names, file references, configuration options, procedures, and diagnostic messages frequently appear across related documents. Similar terminology can also describe operationally different situations.
In From Chunks to Functional Evidence: Function-Aware Retrieval for EDA Documentation QA, Xiaotian Qiu and colleagues examine whether retrieval improves when documentation is organized around the functions those artifacts collectively describe.1
Their central contribution is a change to the retrieval unit itself.
Organizing evidence around the function it describes
The framework introduces a functional unit: a collection of related documentation artifacts associated with an identifiable EDA command or file.
Instead of indexing only isolated text passages, the system identifies code blocks, inline commands, tables, figures, procedures, descriptions, constraints, diagnostics, and file artifacts. Structural parsing establishes local document boundaries, while LLM-based extraction identifies semantic relationships.
Artifacts are first grouped into source-local occurrences. Cross-document connections are then restricted by canonical command or file anchors rather than arbitrary shared vocabulary. A cross-document merge requires contributions from at least two documents and at least two artifact types.
These rules matter because unrestricted linking could combine passages that use similar terminology but describe different operations.
Each resulting functional unit is represented as a hyperedge, which can connect multiple artifacts within one structured relationship. Unlike a collection of independent pairwise links, this representation preserves the higher-order membership of artifacts participating in the same operation.
Crucially, the structure retains document and chunk provenance. The system creates a type-structured summary for retrieval, but the generator ultimately receives original source chunks rather than relying on the generated summary as its evidence.
This distinction makes the architecture more suitable for traceable technical answers: the retrieved relationship helps identify the relevant evidence, while the answer remains grounded in source passages.
Hybrid retrieval keeps precise passages accessible
The framework does not discard conventional semantic search.
It retrieves the ten highest-ranked functional units through a function-aware encoder and five original chunks through a base semantic encoder. Selected functional units are expanded back into their provenance-linked chunks. The candidates are merged, deduplicated, and reranked to select five source chunks for generation.
The function-aware encoder is fine-tuned using 1,250 generated query–unit pairs. Its contrastive objective combines semantic relevance with artifact-type coverage: whether a candidate contains the kinds of evidence a question requires.
For example, two candidate units may both concern the correct command, but only one contains the relevant parameter table and constraint information.
The training objective encourages preference for the better-covered unit. It does not independently supervise the semantic correctness of inferred functional relationships or assign separately labeled functional roles.
The largest gain comes before the more elaborate retrieval components
The authors evaluate the system using EDADocEval-QA, an author-constructed benchmark containing 100 questions from 33 OpenROAD documents. The questions are divided equally among parameter lookup, syntax retrieval, procedure synthesis, and debugging or constraint analysis.
The cumulative ablation in Section 4, Table 2 isolates the successive measured changes as components are added.
| Retrieval configuration | ROUGE-L | Incremental gain |
|---|---|---|
| Chunk RAG baseline | 0.345 | — |
| + Functional-unit organization | 0.426 | +0.081 |
| + Hybrid retrieval | 0.461 | +0.035 |
| + Query–unit alignment | 0.473 | +0.012 |
Functional-unit organization accounts for the largest observed increment. The subsequent retrieval components improve performance further, but neither produces a gain of comparable magnitude.
In the main end-to-end comparison, the complete system reaches ROUGE-L 0.473, BLEU 0.189, and LLM-Score 93.6. Conventional Chunk RAG using Qwen2.5-72B reaches 0.345, 0.052, and 88.3, respectively. The ROUGE-L difference represents a 37.1% relative improvement in lexical overlap, not a 37.1-percentage-point improvement in factual correctness.
The proposed system also exceeds HyperGraphRAG’s ROUGE-L of 0.304 and ReAct’s 0.374 under the reported configurations.
Those comparisons should not be interpreted as proof that hypergraphs are inherently superior to ordinary graphs. The complete system combines functional organization, trained retrieval, hybrid candidate selection, and reranking. Their individual architectural effects are not all isolated.
Likewise, the final 0.012 improvement attributed to query–unit alignment comes from a single completed evaluation without confidence intervals or significance testing.
The reported LLM-Score provides complementary evidence, but it is not an independent factuality assessment: Qwen2.5-72B serves as both generator and evaluator for several configurations.
Better generated answers do not imply equally large retrieval gains
The authors also evaluate the approach on ORD-MMBench, an existing public multimodal EDA documentation benchmark, using GPT-4o for answer generation.
Against the reported VISTA-RAG generation baseline, ROUGE-L improves from 0.317 to 0.412, a 30.0% relative increase. BLEU rises from 0.180 to 0.240, while LLM-Score rises from 69.6 to 79.6.
Document retrieval presents a narrower difference. Compared with the published MM-GRADE results, Recall@1 increases from 0.679 to 0.700, and Recall@5 from 0.896 to 0.917. Each improvement is only 0.021 in absolute terms.
The generation and retrieval comparisons use different baseline systems and measure different outcomes. They cannot establish precisely how much of the answer-quality improvement results from recovering additional correct documents, organizing evidence more coherently, or other differences in the retrieval pipeline.
Nevertheless, the public-benchmark evaluation extends the observed generation advantage beyond the newly constructed question set, while remaining within EDA documentation.
The indexing bill arrives before the answer
For operators, retrieval accuracy is only one part of the system-design calculation.
The proposed framework reduces average generation-context length from 1,697 to 1,415 tokens, a 16.6% reduction. However, retrieval latency increases from 20.69 to 27.67 milliseconds, approximately 33.7%.
The smaller final context therefore does not establish lower total serving cost.
Offline construction is also substantial. Processing the 33-document corpus requires 427,824 LLM tokens and 1,668.0 seconds. This expenditure covers building the functional evidence structure before normal question answering.
The appendix examines index maintenance rather than providing a second answer-quality result. In an incremental update from 32 to 33 documents, the system reuses 402 functional units, rebuilds two, and matches all seven checked index outputs from a full reconstruction.
A separate formatting-robustness experiment finds identical semantic graphs across four equivalent Markdown variants, although only three produce byte-identical serialized outputs.
These tests support specific claims about incremental assembly and structural stability. They do not demonstrate equivalent behavior at substantially larger scale, and the reported assembly timings do not include the complete LLM extraction pipeline.
Semantic extraction remains the critical validation gap
The framework checks provenance, structural consistency, and index integrity. Those checks establish that functional units retain valid source references and obey construction rules.
They do not establish that LLM-extracted artifacts and functional relationships are semantically correct.
The paper does not report extraction precision or recall against independently validated annotations. Consequently, a structurally valid functional unit could still connect evidence that should remain separate, or omit an artifact necessary for the operation.
For technical-support operators, this matters because a confidently generated answer may be supported by a coherent-looking but incorrectly assembled evidence set.
Cognaptus inference: A practical pilot should compare passage-only retrieval with function-aware indexing on questions known to require multiple artifact types. Evaluation should separately measure answer correctness, required-evidence coverage, cross-document linking errors, retrieval latency, and the cost of rebuilding or updating the index.
These are proposed deployment checks, not outcomes established by the paper. The supporting evidence is limited to EDA documentation QA; it does not demonstrate equivalent improvements across other enterprise knowledge systems or correctness in autonomous EDA tool execution.
The retrieval unit is an engineering choice
The paper’s strongest result is that organizing complementary evidence around an operational function can improve technical question answering before additional encoder training or retrieval fusion is introduced.
For documentation systems where commands, parameters, examples, and constraints are distributed across different sections, functional-unit indexing is a credible architectural candidate. Its provenance-preserving design also maintains access to original evidence instead of making the generator depend entirely on extracted summaries.
The business case remains conditional. Better benchmark scores must be weighed against extraction errors, substantial preprocessing, additional retrieval latency, and the maintenance characteristics of the actual documentation corpus.
The general lesson is narrower and more actionable than claiming that structured retrieval always wins: when an answer depends on several connected artifacts, the way evidence is grouped can matter as much as how well individual passages are matched.
Cognaptus: Automate the Present, Incubate the Future.
-
Xiaotian Qiu and Kairui Liu and Shi Chenyi and Jinyuan Deng and Qi Sun and Cheng Zhuo (2026). From Chunks to Functional Evidence: Function-Aware Retrieval for EDA Documentation QA. arXiv:2610.09361. https://arxiv.org/abs/2610.09361 ↩︎