Manuscript Offprint
arXiv:2610.26782RESIN: Multi-Chain Reasoning with Entity-Structured Indexing
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Multi-chain reasoning is a challenging task not only because the multi-chain evidence is dispersed, but also because different parts of reasoning may require distinct, interacting chains of support. Flat retrieval can flood a model with loosely related text, whereas early selection of a single reasoning path can discard evidence that becomes useful only after other facts are considered. We introduce RESIN (Reasoning with Entity Structured Indexing), which uses structure to locate evidence while keeping the original source as the basis for reasoning. RESIN decomposes a question into focused one-hop needs, retrieves a small set of source-grounded units for each hop, and places only this relevant evidence in a compact reasoning buffer. The buffer preserves alternative supports until final composition, making intermediate decisions explicit without forcing a brittle path. On the full HolisQA benchmark, RESIN achieves 82.92 context recall and 76.70 answer relevancy over all questions, with higher reported CR and AR across five domains and higher F1 in four domains than the published baselines. Ablations show that both typed evidence diversity and hop-wise decomposition are essential, supporting a clear conclusion: Precise evidence organization and delayed commitment make multi-chain reasoning effective and auditable. Our code is available at github.com/RamonMeng/RESIN.
1 Introduction
Multi-chain reasoning requires a model to assemble several kinds of evidence chains whose roles are not interchangeable. One kind may identify an entity; another may catch a property or a state transition; and the third may conduct reasoning by following certain rules. The challenge is therefore not simply to find relevant text, but to assign evidence to the right inferential role while preserving entity identity, scope, condition, and direction.
Such distinct mechanisms make multi-chain reasoning a rich but challenging task. A passage that share many words with the question may not eventually contribute to the reasoning path, whereas a less obvious passage may later supply the bridge for effective multi-chain reasoning. A system that ranks evidence only against the complete question cannot handle such complexity. Thus a system that commits to the first locally plausible chain risks the opposite error: it may explain one part of the answer while losing a parallel chain needed for another.
Existing evidence-access strategies tend to encounter difficulties at handling such complexity. A single broad search compresses all information needs into one query, which can blur their roles, introduce distracting context, and impose the same granularity on every step (Liu et al., 2024; Chen et al., 2024; Jiang et al., 2024). Repeated search exposes intermediate information needs (Trivedi et al., 2023; Jiang et al., 2023; Asai et al., 2024), but untyped passages still leave entity and state bindings implicit. Graph-based systems make relations explicit (Edge et al., 2024; Jiménez Gutiérrez et al., 2025; Li et al., 2025; Guo et al., 2025), yet extraction and edge ranking are uncertain: pruning to one node, edge, or path can remove correct support before all chains are reconciled. This is especially risky in scientific text, where a relation may change with the condition, population, or state (Parekh et al., 2026).
The underlying mismatch is between the object that can be indexed in advance and the object required to answer a particular question. Evidence records should be reusable and query independent, whereas a valid chain is query specific: the same statement may be central for one question, a bridge for another, and irrelevant for a third. Precomputing every possible chain is neither tractable nor robust, because the number of combinations grows quickly and every extracted edge becomes an early

Figure 1: RESIN at a glance. Offline, entity-structured records serve as addresses into source-grounded evidence. Online, a dependency-aware plan creates focused one-hop needs; each retrieves a small candidate set, and the resulting evidence buffer remains available until final composition.
commitment. Deferring all organization until generation avoids that early commitment but returns the model to a large, weakly structured context. What is needed is an intermediate representation that is fine grained enough to locate precise evidence, yet flexible enough to assemble different chains on demand.
We propose a different division of labor. Structure should tell the system where to look; whereas source-grounded evidence should tell it what to believe. RESIN organizes evidence into typed, provenance-linked units that act as precise addresses. It then builds a small reasoning buffer for the current question rather than exposing the model to the full text or index. The buffer assigns a candidate set to each planned hop and retains alternatives until final composition. Thus, structure improves access without becoming a brittle, prematurely fixed reasoning path.
Figure 1 makes this separation concrete. The upper half is query independent: source passages are organized around their central entities, converted into compact reasoning units, and linked back to exact evidence. The lower half begins with the question: a planner expresses it as focused one-hop needs, retrieval fills a bounded candidate set for each need, and local answers expose what each set supports. The final composer sees the original question and the complete buffer. Dependency metadata records how the subquestions fit together, while the evidence itself remains available for global reconciliation.
This architecture offers three practical advantages. First, it bounds the model’s working context by the number of planned needs and the per-hop candidate budget, rather than by corpus size. Second, it makes failures inspectable: one can distinguish a missing indexed unit, a retrieval miss, an incorrect local interpretation, and a composition error. Third, it keeps competing evidence recoverable until the system has seen all parts of the question. These properties motivate our central hypothesis: multi-chain reasoning improves when evidence is localized early but selected late. The experiments test both sides of this claim by varying the unit representation, the decomposition strategy, and the number of candidates retained per hop.
Our contributions are:
• an entity-structured index that localizes composable, typed evidence while preserving exact source provenance;
• a hop-wise reasoning buffer that retrieves focused candidate sets and delays hard evidence selection until the complete question can be considered; and
• evaluation on HolisQA and two general-domain QA benchmarks, with ablations showing when decomposition, evidence diversity, and retrieval budget matter.
Iterative retrieval and multi-step reasoning. Chain-of-thought and ReAct make intermediate decisions visible (Wei et al., 2022; Yao et al., 2023). IRCoT alternates retrieval with reasoning, FLARE retrieves during generation, and Self-RAG learns when to retrieve and critique (Trivedi et al., 2023; Jiang et al., 2023; Asai et al., 2024). Their central insight—reasoning should guide evidence access—also motivates RESIN. Our distinction is representational: planned hops search a typed index, and all retrieved alternatives remain in a bounded buffer for final reconciliation instead of being reduced immediately to a single intermediate statement.
Structured, entity-centered, and causal retrieval. GraphRAG, HippoRAG2, StructRAG, and LightRAG organize entities and relations to support global, associative, or structure-aware retrieval (Edge et al., 2024; Jiménez Gutiérrez et al., 2025; Li et al., 2025; Guo et al., 2025). SARG searches explicit relational chains (Parekh et al., 2025), while CausalRAG2 builds hierarchical causal graphs and applies top-down pruning for HolisQA (Wang et al., 2026). Such structure is valuable, but a selected path can conflate indexing with reasoning: an extraction or pruning error may remove evidence before the answer is composed. Entity structure has also proved useful in other settings: EnSI-RAG uses it to connect properties and relations to source passages (Meng et al., 2026b), EnSIMem uses it to organize verifiable long-term agent memories (Meng et al., 2026a), and open-schema discovery extracts entity–attribute–value structure without a fixed ontology (Xu et al., 2026). These applications illustrate the general utility of entities as stable access keys, but address different tasks. RESIN targets multi-chain reasoning by using typed structure as an address into evidence and retaining a small buffer of source-linked alternatives, rather than treating the structure as an irrevocable answer path.
3 RESIN
3.1 Design Goal and Running Example
Given corpus D and question q, RESIN uses entity structure to find the relevant original text, then reasons directly over that text. Offline, it builds searchable, source-linked records. Online, it plans focused searches, retrieves records for each need, recovers their source passages, and composes an answer from a small selected evidence buffer (Figure 1).
Consider an illustrative commute: Should I take the bus or metro to reach work within 40 minutes and spend at most 4, with a 10-minute walk and a 35-minute ride; the metro costs $8, with a 5-minute walk and a 25-minute ride. Assuming no waiting, the bus takes 45 minutes and the metro 30. Only the metro satisfies both constraints. Answering requires separate evidence chains for the two routes, keeping fares and travel times attached to the correct option.
3.2 Design Rationale
Give each answer component a search. The planner asks separately for the bus’s fare and journey times and for the metro’s corresponding values. Each need gets its own candidate set, so many matches about one route cannot consume the entire retrieval budget. The hops identify what must be found; they do not decide which route to recommend.
Keep facts attached to their meaning. A record binds a value to its entity, property, and qualifiers: the bus ride takes 35 minutes, not simply 35. This distinguishes ride time from total journey time and bus facts from metro facts. Its source pointer recovers the wording needed to check those distinctions.
| Field group | Stored fields | Purpose and example |
|---|---|---|
| Identity | kind; stable unit ID | Distinguishes a fact from a rule or directed transition. |
| Core claim | subject; entity type; predicate; object | Binds “bus fare is $4” to the correct route and property. |
| Logical structure | conditions and conclusion; source and target states | Preserves conditions and direction, e.g., congestion increasing ride time. |
| Qualifiers | modality; polarity; scope; confidence | Keeps a weekday travel-time estimate distinct from an unrestricted claim. |
| Grounding | evidence quote; passage and sentence IDs | Links every normalized record back to the exact source span. |
Table 1: Functional schema of a reasoning unit. Optional fields are populated only when supported by the source.
Make the decision from original evidence. The final composer receives the original question and selected source passages, not generated hop answers. It calculates each journey's total time and checks both constraints together. An early conclusion such as “the bus is cheaper” therefore need not determine the recommendation before arrival time is considered.
3.3 Source-Linked Evidence Organization
Offline processing groups contiguous sentences around an entity and evidence role, preserves their text and sentence IDs, and extracts minimal evidence-backed units. The bus's ride-time statement becomes a searchable record linked to its route passage; unrelated service announcements need not enter that record. The record is an access handle, while the original passage remains the evidence.
Table 1 groups fields by function: claim identity, composition constraints, qualifiers, and provenance. Optional fields require source support.
Table 2 distinguishes six kinds of support. A route's fare is an entity fact; a source-stated effect of congestion on ride time is a directed transition. Rules retain their conditions, and generic type properties remain separate from entity membership. Only source-supported fields are extracted: journey totals are computed at answer time, not inserted as facts during indexing.
The fields guide the LLM, not a symbolic proof checker: they distinguish evidence roles and expose direction, binding, and qualification for inspection.
3.4 The Index as an Evidence Address
The searchable store is
where is normalized retrieval text and links to the evidence quote, passage, and source sentences. Auxiliary entity, type, property, state, and relation views provide lookup handles. A sentence encoder caches embeddings of ; the main online backend uses dense unit retrieval, not graph traversal.
In Equation 1, makes “bus ride time” searchable, and leads back to the route passage. This separates finding a relevant fact from deciding how to use it; bus and metro records need no pre-existing connection in the index.
3.5 Planning and Need-Specific Retrieval
A planner maps to an ordered plan . Each hop specifies an evidence need, target and bridge terms, a reasoning type, and optional dependencies. Here, asks for the bus's fare, walk, and ride times; asks for the metro's. All hops are planned upfront and retrieve independently: the second does not use an answer generated for the first. Failed planning falls back to the original question as one hop.
For retrieval text formed from the subquestion, target, and bridge terms, we select
Equation 2 retrieves bus records into and metro records into , with a separate top- budget for each need. Retrieval returns evidence candidates, not route recommendations. The main setting permits at most four hops and units per hop.
Multiple hops also increase total capacity; the decomposition ablation is not budget-matched. Upfront planning can miss a bridge entity not expressible from the question.
3.6 Buffer Construction and Final Composition
Provenance maps the retrieved units to original passages. Let be these passages, deduplicated and packed by alternating across hops at each candidate rank within a 16,000-character budget. The final evidence buffer is
Table 2: Reasoning-unit kinds and canonical representations. Colors mark entity, type, property, value, relation, state, and condition slots.
| Unit kind | Representation | Why it is useful |
|---|---|---|
| ENTITY-FACT | entity | property | value | Retrieves an attribute stated for one named entity. |
| TYPE-PROPERTY | type | property | value | Stores a generic property that may support type inheritance. |
| ENTITY-TYPE | entity | is-a | type | Supplies explicit membership evidence before a type property is applied. |
| RELATION | entity or type | relation | entity or concept | Preserves a typed link that is neither causal nor conditional. |
| CAUSAL-EDGE | source state → target state | Keeps causal direction and state change explicit. |
| RULE | conditions → conclusion | Prevents a conclusion from being used when its antecedents are absent. |
where the selector uses the question, article titles, and source snippets to choose up to two article groups and retain their packed passages. A failed selection falls back to question-term ranking of up to three groups. Selection uses neither gold answers nor generated hop answers.
The composer receives only and , not the query plan or intermediate answers. From both route passages, it computes minutes for the bus and for the metro. Both fares are within budget, but only the metro meets the deadline. The hops found the inputs; final composition makes the comparison. Auxiliary hop-solver outputs are still recorded by the implementation but are unused in this generation path. Evidence lost during extraction, retrieval, or source selection remains a limitation.
4 Experiments
4.1 Research Questions
We ask: (1) Does entity-structured reasoning improve evidence coverage and answer relevance? (2) Does the approach transfer beyond HolisQA? (3) Which parts of the evidence buffer matter? and (4) What costs accompany its more explicit reasoning process?
4.2 Datasets
We evaluate on the full HolisQA release (Wang et al., 2026), 500 queries from MS MARCO (Bajaj et al., 2016), and 426 queries from QASC (Khot et al., 2020). Together, the benchmarks cover scientific synthesis, web-search QA, and two-fact science composition. Appendix A.1 gives full benchmark details.
4.3 Baselines, Metrics, and Setup
We compare with the published CausalRAG2 suite (Wang et al., 2026). Baseline accuracy and efficiency entries are transcribed from that paper; only RESIN is measured in our environment. Appendix A.2 describes the baselines. On HolisQA, we report answer-overlap F1 alongside RAGAS answer relevancy (AR) and context recall (CR) (Es et al., 2024). F1 measures token overlap with the reference answer; AR measures whether an answer addresses the question, whereas CR asks whether retrieved passages cover claims in the reference answer. Appendix A.4 defines AR and CR. All scores are percentages; overall HolisQA AR and CR are query-weighted means across domains.
Our runs use RAGAS 0.4.3 with strictness 3, source-passage contexts, and Gemini-3.5-Flash-Lite as judge. GPT-5-nano performs passage construction, unit extraction, planning, hop solving, and composition; all-MiniLM-L6-v2 performs dense retrieval. The main setting allows at most four hops and retrieves units per hop.
Reproduction scope. Full-scale CausalRAG2 indexing did not finish within a practical window in our environment. A Biology testing run was completed to verify pipeline execution, not full-dataset performance. We therefore retain published baseline rows. The scores obtained in this test closely match those reported in the CausalRAG2 paper, providing support for the comparability of our evaluation results.
4.4 Main Results
RESIN exceeds the transcribed baselines in reported CR and AR across all five HolisQA domains
Table 3: HolisQA results across five domains and all questions. F1 measures answer overlap; CR and AR denote context recall and answer relevancy. All scores are percentages. Baseline scores are transcribed from the published CausalRAG2 table; only the RESIN row is measured in our experiment. Highest and second-highest values are bold and underlined; cross-system evaluation caveats are discussed in the text.
| Method | Medicine | Computer Science | Business | Biology | Psychology | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| F1 | CR | AR | F1 | CR | AR | F1 | CR | AR | F1 | CR | AR | F1 | CR | AR | |
| Naive baselines | |||||||||||||||
| NaiveGeneration | 12.63 | 0.00 | 44.70 | 18.93 | 0.00 | 48.79 | 18.58 | 0.00 | 46.14 | 11.71 | 0.00 | 45.76 | 22.91 | 0.00 | 50.00 |
| BM25 | 17.72 | 52.04 | 50.64 | 24.00 | 39.12 | 52.40 | 28.11 | 37.06 | 55.52 | 19.61 | 43.02 | 52.32 | 30.46 | 33.44 | 56.63 |
| StandardRAG | 26.87 | 61.08 | 56.24 | 28.87 | 49.44 | 57.10 | 47.57 | 46.79 | 67.42 | 28.31 | 42.69 | 57.58 | 37.19 | 52.21 | 59.85 |
| Graph-based RAG | |||||||||||||||
| GraphRAG Global | 17.13 | 54.56 | 48.19 | 23.75 | 37.65 | 53.17 | 23.62 | 25.01 | 48.12 | 20.67 | 40.90 | 52.41 | 31.09 | 34.26 | 54.62 |
| GraphRAG Local | 19.03 | 56.07 | 49.52 | 25.10 | 39.90 | 53.30 | 25.01 | 27.36 | 49.05 | 22.21 | 41.88 | 52.73 | 32.31 | 35.22 | 55.02 |
| LightRAG | 12.16 | 52.38 | 44.15 | 22.59 | 41.86 | 51.62 | 29.98 | 34.22 | 54.50 | 17.70 | 41.24 | 50.32 | 33.63 | 45.54 | 56.42 |
| Structural / causal augmented | |||||||||||||||
| HippoRAG2 | 21.12 | 57.50 | 51.08 | 16.94 | 21.05 | 47.29 | 21.10 | 18.34 | 45.83 | 12.60 | 16.85 | 44.56 | 20.10 | 34.13 | 46.77 |
| LeanRAG | 34.25 | 60.43 | 56.60 | 30.51 | 57.61 | 55.45 | 48.30 | 59.29 | 60.35 | 33.82 | 58.43 | 56.10 | 42.85 | 57.46 | 58.65 |
| CausalRAG | 31.12 | 58.90 | 58.77 | 30.98 | 54.10 | 57.54 | 45.20 | 44.55 | 66.10 | 33.50 | 51.20 | 58.90 | 42.80 | 55.60 | 61.90 |
| CausalRAG2 | 36.45 | 69.91 | 60.65 | 31.60 | 60.94 | 58.34 | 51.51 | 67.34 | 68.76 | 34.80 | 61.97 | 59.99 | 44.42 | 60.87 | 63.53 |
| RESIN | 45.43 | 80.95 | 75.43 | 50.96 | 86.27 | 75.09 | 49.61 | 84.97 | 79.05 | 47.21 | 84.86 | 75.86 | 46.48 | 77.95 | 77.93 |
Table 4: General-domain results. The RESIN row uses 500 MS MARCO queries and 426 QASC queries; baseline F1/CR/AR are transcribed from the published CausalRAG2 full-benchmark table. Highest and second-highest values are bold and underlined.
| Method | MS MARCO | QASC | ||||
|---|---|---|---|---|---|---|
| F1 | CR | AR | F1 | CR | AR | |
| Naive baselines | ||||||
| NaiveGeneration | 5.28 | 0.00 | 15.06 | 2.69 | 0.00 | 13.74 |
| BM25 | 6.97 | 45.78 | 20.33 | 2.49 | 6.12 | 13.17 |
| StandardRAG | 14.93 | 48.55 | 31.11 | 2.01 | 5.50 | 13.16 |
| Graph-based RAG | ||||||
| GraphRAG Global | 9.41 | 3.65 | 13.08 | 0.68 | 3.38 | 3.56 |
| GraphRAG Local | 30.87 | 25.71 | 57.76 | 8.30 | 9.54 | 46.59 |
| LightRAG | 37.70 | 54.22 | 63.54 | 8.20 | 20.40 | 44.35 |
| Structural / causal augmented | ||||||
| HippoRAG2 | 23.35 | 45.45 | 55.18 | 14.73 | 4.38 | 49.94 |
| LeanRAG | 38.02 | 54.01 | 58.49 | 13.19 | 22.80 | 45.51 |
| CausalRAG | 27.66 | 39.38 | 46.03 | 7.65 | 46.86 | 35.56 |
| CausalRAG2 | 38.40 | 60.48 | 66.02 | 13.35 | 70.80 | 49.40 |
| RESIN | 38.73 | 91.65 | 69.68 | 37.09 | 84.51 | 58.77 |
and in F1 across four domains (Table 3). Business F1 is 49.61, below CausalRAG2's 51.51; Table 4 reports general-domain CR and AR. CausalRAG2 leads the baseline suite across all five HolisQA domains, making it the main reference for our architectural comparison. We therefore focus the following analysis on what RESIN adds beyond hierarchical causal retrieval. Evaluator differences and different general-domain query sets remain relevant when interpreting the reported score gaps.
Evidence beyond a causal explanation. Causal-RAG2 uses hierarchical gates and causal refine- ment to recover coherent explanations. However, multi-chain questions can also require attributes, experimental observations, and comparative properties that do not form another step in the dominant causal chain. An evidence selection centered on that chain may retain a plausible explanation while omitting support for another requested component. RESIN makes these heterogeneous claims independently addressable through complementary unit kinds, so their retrieval does not require membership in one connected explanation.
Coverage of distinct information needs. A single question-level ranking can allocate much of its evidence budget to the most salient component. Several highly relevant items may then repeat the same mechanism instead of covering different parts of the answer. RESIN decomposes the question into focused needs and assigns each its own candidate set. This organization gives less prominent components a retrieval opportunity and reduces competition between different evidence roles. The CR drop when decomposition is removed, together with the losses from single-kind retrieval, supports the value of decomposed access and complementary representations.
Joint composition without premature exclusion. Evidence can also be lost after retrieval: an early selection may discard a claim whose importance becomes apparent only when another component is considered, or final synthesis may fail to use an available distinguishing fact. RESIN maps retrieved candidates back to their original passages and gives the final composer the original question and selected source evidence, without the query plan or generated hop answers. The composer can therefore consider explanatory, supporting, and comparative claims together in their original wording rather than inheriting intermediate answer summaries. This changes the reasoning interface from selecting a plausible explanation to assembling support for the question's distinct requirements.
These differences explain why RESIN is particularly useful when an answer depends on heterogeneous, unevenly salient, or interacting evidence. Appendix B provides detailed case studies tracing these failure patterns and the corresponding evidence recovered by RESIN.
4.5 Ablation Studies
Ablations reuse the same HolisQA subset, preprocessing, generator, evaluator, and encoder. Each changes the named component; AR/CR aggregation excludes failed evaluator calls.
Per-hop candidate budget. Figure 2(a) varies while holding the query plan and all other settings fixed. CR rises from 69.7 at to 86.5 at and 89.3 at . Increasing the budget further yields only small, non-monotonic changes: CR is 89.0 at and 90.1 at . AR remains comparatively stable, reaching 77.0 at both and , before declining to 75.7 at . Thus, offers a practical balance between answer relevance, evidence coverage, and context size.
Table 5: Effect of hop-wise query decomposition on a fixed HolisQA subset. The full method uses candidates per hop; the single-query variant has one set of .
| Variant | AR | CR |
|---|---|---|
| Full RESIN | 77.03 | 89.30 |
| w/o hop decomposition | 70.04 | 42.33 |
Typed unit diversity. Figure 2(b) compares the complete mixed index with six variants that retain only one unit kind. The mixed index obtains 77.0 AR and 89.3 CR. Among the single-kind variants, ENTITY-FACT is strongest (74.0 AR and 77.9 CR), followed by CAUSAL-EDGE (61.1 AR and 65.9 CR). No individual representation matches the mixed index. The substantially lower scores of type properties, generic relations, and rules indicate that these representations alone provide insufficient evidence coverage. These results support treating the six unit kinds as complementary evidence representations rather than interchangeable schemas.
Hop decomposition. Table 5 replaces the ordered subquestions with a single retrieval over the original query. Removing decomposition reduces AR by 6.99 points and CR by 46.97 points. The larger CR loss supports decomposed evidence access, while the smaller AR loss suggests that an answer can remain topical despite missing support. Because the full method also allocates candidates across multiple hops, this experiment does not isolate query specificity from total evidence budget.
4.6 Efficiency
Unit extraction increases offline tokens; planning, hop solving, and composition add online latency. Appendix A.3 gives the cost table, with Causal-RAG2 efficiency left as unverified paper-reported values.
5 Discussion and Future Work
Long-context multi-chain reasoning. RESIN is architecturally suited to long contexts because its offline construction processes each passage independently. Moving from a short to a long corpus changes the number of indexed units, but not the amount of text handled by any single construction call. At inference, the complete corpus is never placed in the model context; only the top-k units

(a) Per-hop candidate budget

(b) Reasoning-unit representation
Figure 2: Ablations on a fixed HolisQA subset. (a) CR improves rapidly with the number of retrieved units and then saturates, while AR peaks near . (b) Restricting retrieval to any single unit kind underperforms the complete mixed index.
for at most H information needs enter the reasoning buffer. The composer’s context therefore scales with rather than corpus length, allowing the same reasoning procedure to operate over short and long collections.
Efficiency. Efficiency is a part that we can study further. Future systems could batch or distill extraction and planning, cache reusable plans and embeddings, update only passages whose source spans change, and choose the hop count and per-hop candidate budget adaptively. These changes would preserve the bounded reasoning buffer while reducing both preprocessing tokens and online latency.
Scaling to very large corpora. Long-context tolerance at inference does not make complete corpus indexing free. For heterogeneous collections at Wikipedia scale, constructing a fine-grained index over every domain may be unnecessary. A promising extension is query-conditioned coarse indexing: first route a query to a small set of plausible topical shards—for example, technology rather than politics or history—and then construct or activate the entity-structured index only within those shards. When routing is uncertain, cross-domain fallback retrieval can expand the search scope, preventing efficiency gains from making potentially relevant evidence irrecoverable.
Data sources. All datasets used in our experiments were obtained from publicly available benchmark releases and publicly accessible repositories.
6 Conclusion
We presented RESIN, a multi-chain reasoning framework that uses entity-structured index to find evidence and a compact buffer to reason over it. Focused hop retrieval narrows attention, source links keep every unit auditable, and delayed commitment prevents a locally attractive candidate from prematurely fixing the global answer. Across scientific and general-domain QA, the results and ablations show that this combination improves evidence coverage while making the reasoning process easier to inspect. More broadly, separating evidence addressing from final reasoning provides a practical foundation for extending multi-chain QA to longer and more heterogeneous corpora.
Limitations
A limitation of this study is that we do not empirically evaluate RESIN on long-context multi-chain reasoning. Existing long-context benchmarks primarily test multi-document question answering or fan-out evidence aggregation (Bai et al., 2024; Zhu et al., 2024; Wang et al., 2024); to our knowledge, they do not isolate the setting in which multiple distinct evidence chains must be preserved and reconciled within a single answer. We therefore lack an appropriate benchmark for directly validating the advantage under long-context multi-chain conditions. Our MS MARCO and QASC evaluations are also limited to 500 and 426 queries, respectively, rather than the complete evaluation splits. These subset results may not capture performance across the full range of questions; extending evaluation to the complete splits remains important when time and computational resources permit. In addition, the offline index is most suitable when one corpus serves many questions: its construction cost may not be well amortized for small or rapidly changing collections. Query planning, hop solving, and final composition also require several staged online calls. Finally, because RESIN is evaluated partly on scientific and medical questions, its outputs should support rather than replace expert judgment. Source grounding improves auditability but does not eliminate errors caused by incomplete corpora or mistakes in extraction, planning, and generation.
References
Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, and Hannaneh Hajishirzi. 2024. Self-RAG: Learning to retrieve, generate, and critique through self-reflection. In International Conference on Learning Representations.
Yushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu, Jiankai Tang, Zhidian Huang, Zhengxiao Du, Xiao Liu, Aohan Zeng, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. 2024. LongBench: A bilingual, multitask benchmark for long context understanding. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3119–3137, Bangkok, Thailand. Association for Computational Linguistics.
Payal Bajaj, Daniel Campos, Nick Craswell, Li Deng, Jianfeng Gao, Xiaodong Liu, Rangan Majumder, Andrew McNamara, Bhaskar Mitra, Tri Nguyen, Mir Rosenberg, Xia Song, Alina Stoica, Saurabh Tiwary, and Tong Wang. 2016. MS MARCO: A human generated Machine reading CComprehension dataset. arXiv preprint arXiv:1611.09268. Version 3.
Tong Chen, Hongwei Wang, Sihao Chen, Wenhao Yu, Kaixin Ma, Xinran Zhao, Hongming Zhang, and Dong Yu. 2024. Dense X retrieval: What retrieval granularity should we use? In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 15159–15177.
Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Truitt, Dasha Metropolitansky, Robert Osazuwa Ness, and Jonathan Larson. 2024. From local to global: A Graph RAG approach to query-focused summarization. arXiv preprint arXiv:2404.16130. Version 2.
Shahul Es, Jithin James, Luis Espinosa Anke, and Steven Schockaert. 2024. RAGAs: Automated evaluation of retrieval augmented generation. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, pages 150–158, St. Julians, Malta. Association for Computational Linguistics.
Zirui Guo, Lianghao Xia, Yanhua Yu, Tu Ao, and Chao Huang. 2025. LightRAG: Simple and fast retrieval-augmented generation. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 10746–10761, Suzhou, China. Association for Computational Linguistics.
Zhengbao Jiang, Frank F. Xu, Luyu Gao, Zhiqing Sun, Qian Liu, Jane Dwivedi-Yu, Yiming Yang, Jamie Callan, and Graham Neubig. 2023. Active retrieval augmented generation. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 7969–7992, Singapore. Association for Computational Linguistics.
Ziyan Jiang, Xueguang Ma, and Wenhu Chen. 2024. LongRAG: Enhancing retrieval-augmented generation with long-context LLMs. arXiv preprint arXiv:2406.15319. Version 3.
Bernal Jiménez Gutiérrez, Yiheng Shu, Weijian Qi, Sizhe Zhou, and Yu Su. 2025. From RAG to memory: Non-parametric continual learning for large language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 21497–21515. PMLR.
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, pages 6769–6781.
Tushar Khot, Peter Clark, Michal Guerquin, Peter Jansen, and Ashish Sabharwal. 2020. QASC: A dataset for question answering via sentence composition. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 8082–8090.
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, volume 33, pages 9459–9474.
Zhuoqun Li, Xuanang Chen, Haiyang Yu, Hongyu Lin, Yaojie Lu, Qiaoyu Tang, Fei Huang, Xianpei Han, Le Sun, and Yongbin Li. 2025. StructRAG: Boosting knowledge intensive reasoning of LLMs via inference-time hybrid information structurization. In International Conference on Learning Representations.
Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. 2024. Lost in the middle: How language models use long contexts. Transactions of the Association for Computational Linguistics, 12:157–173.
Xuanyu Meng, Xing Fan, Xinyi Fan, Chenlei Guo, Yixuan Xie, and Jiawei Han. 2026a. EnSIMem:
Entity-structured indexing for long-term agent memory. arXiv preprint arXiv:2609.27279. Version 2.
Xuanyu Meng, Jiashuo Sun, Jash Rajesh Parekh, and Jiawei Han. 2026b. EnSI-RAG: Entity-structure-indexed retrieval-augmented generation for long-document question answering. arXiv preprint arXiv:2608.21252. Version 1.
Jash Rajesh Parekh, Pengcheng Jiang, and Jiawei Han. 2025. Structure-augmented reasoning generation. arXiv preprint arXiv:2506.08364. Version 4.
Jash Rajesh Parekh, Wonbin Kweon, Joey Chan, Rezarta Islamaj, Robert Leaman, Pengcheng Jiang, Chih-Hsuan Wei, Zhizheng Wang, Zhiyong Lu, and Jiawei Han. 2026. Condition-gated reasoning for context-dependent biomedical question answering. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, pages 11774–11785.
Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT: Sentence embeddings using siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992.
Parth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna, Anna Goldie, and Christopher D. Manning. 2024. RAPTOR: Recursive abstractive processing for tree-organized retrieval. In International Conference on Learning Representations.
Harsh Trivedi, Niranjan Balasubramanian, Tushar Khot, and Ashish Sabharwal. 2023. Interleaving retrieval with chain-of-thought reasoning for knowledge-intensive multi-step questions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10014–10037.
Minzheng Wang, Longze Chen, Fu Cheng, Shengyi Liao, Xinghua Zhang, Bingli Wu, Haiyang Yu, Nan Xu, Lei Zhang, Run Luo, Yunshui Li, Min Yang, Fei Huang, and Yongbin Li. 2024. Leave no document behind: Benchmarking long-context LLMs with extended multi-doc QA. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 5627–5646, Miami, Florida, USA. Association for Computational Linguistics.
Nengbo Wang, Tuo Liang, Vikash Singh, Chaoda Song, Van Yang, Yu Yin, Jing Ma, Jagdip Singh, and Vipin Chaudhary. 2026. CausalRAG2: Hierarchical causal knowledge graph design for RAG. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 127971–127995. PMLR.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc V. Le, and Denny Zhou. 2022. Chain-of-thought prompting elicits reasoning in large language models. In
Advances in Neural Information Processing Systems, volume 35, pages 24824–24837.
Xueqiang Xu, Jinfeng Xiao, James Barry, Mohab Elkaref, Jiaru Zou, Pengcheng Jiang, Yunyi Zhang, Maxwell J Giammona, Geeth De Mel, and Jiawei Han. 2026. Zero-shot open-schema entity structure discovery. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7547–7561, Rabat, Morocco. Association for Computational Linguistics.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations.
Andrew Zhu, Alyssa Hwang, Liam Dugan, and Chris Callison-Burch. 2024. FanOutQA: A multi-hop, multi-document question answering benchmark for large language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 18–37, Bangkok, Thailand. Association for Computational Linguistics.
A Experimental Protocol
This appendix provides the benchmark, baseline, efficiency, metric, and implementation details omitted from the main paper.
A.1 Benchmark Details
| Benchmark | Domain and source | Question and reasoning focus | Evidence setting |
|---|---|---|---|
| HolisQA (Wang et al., 2026) | Scientific articles spanning biology, business, computer science, medicine, and psychology | Open-ended holistic questions whose answers require integrating statements distributed across an article, including entity properties, relations, conditions, and causal processes | Gold answers and multiple supporting sentences are linked to the source articles. We evaluate the complete released dataset and report results separately for its five domains. |
| MS MARCO (Bajaj et al., 2016) | Anonymized queries sampled from a production web-search system, paired with passages from retrieved web documents | Open-ended question answering in which a system must identify useful evidence among noisy, partially relevant search passages and produce a concise response | Candidate web passages accompany each query, and human annotators provide reference answers grounded in passages judged to contain sufficient information. |
| QASC (Khot et al., 2020) | Grade-school science questions paired with a large corpus of elementary scientific facts | Multiple-choice questions are designed so that two complementary facts must be composed, commonly by connecting a concept in the question to the correct answer through an intermediate concept | Gold fact pairs expose the two-step evidence chain supporting each answer, allowing context recall to measure whether both complementary pieces of evidence were retrieved. |
Table 6: Benchmarks used in the main evaluation and the distinct evidence-reasoning capabilities they test.
A.2 Baseline Details
| Baseline | Family | Retrieval and reasoning mechanism |
|---|---|---|
| NaiveGeneration (Wang et al., 2026) | No retrieval | Generates an answer directly from the question, providing a retrieval-free reference for measuring the contribution of external evidence. |
| BM25 (Wang et al., 2026) | Sparse retrieval | Ranks passages by lexical term matching and inverse document frequency, then supplies the highest-ranked passages to the answer generator. |
| StandardRAG (Lewis et al., 2020) | Dense retrieval | Encodes the question and passages in a shared semantic space, retrieves the nearest passages, and conditions generation on their text. |
| GraphRAG Global (Edge et al., 2024) | Graph-based RAG | Aggregates community reports across a corpus-level entity graph to answer broad questions requiring global thematic evidence. |
| GraphRAG Local (Edge et al., 2024) | Graph-based RAG | Starts from query-matched entities and retrieves their local graph neighborhoods, associated relations, claims, and source text. |
| LightRAG (Guo et al., 2025) | Graph-based RAG | Builds a lightweight entity–relation graph and combines local entity retrieval with global concept-level retrieval. |
| HippoRAG2 (Jiménez Gutiérrez et al., 2025) | Structural RAG | Treats the corpus as a non-parametric associative memory and propagates activation over linked concepts for multi-step retrieval. |
| LeanRAG (Wang et al., 2026) | Structural RAG | Organizes extracted knowledge into a lightweight hierarchical graph and retrieves evidence across semantically related graph regions. |
| CausalRAG (Wang et al., 2026) | Causal RAG | Extracts causal relations and uses them to augment evidence retrieval, without explicit hierarchical causal reasoning. |
| CausalRAG2 (Wang et al., 2026) | Causal RAG | Constructs hierarchical causal knowledge graphs and applies top-down causal pruning to select evidence for answer generation. |
Table 7: Baselines transcribed from the CausalRAG2 evaluation suite. Their reported scores, efficiency values, and costs are taken from that work.
A.3 Efficiency Details
Table 8: Cost and latency on HolisQA. Baseline entries are transcribed from the CausalRAG2 efficiency table and were not independently reproduced; only the RESIN row is measured in our environment. Construction values are normalized per 1K corpus tokens, online values per query, and evaluation cost is excluded.
| Method | Construction (per 1K corpus tokens) | Online query (per query) | ||||
|---|---|---|---|---|---|---|
| Tokens | Time (s) | Cost ($) | Tokens | Time (s) | Cost ($) | |
| NaiveGeneration | 0.00 | 0.000 | 0.00000 | 553.63 | 0.354 | 0.000078 |
| BM25 | 0.00 | 0.000 | 0.00000 | 967.90 | 0.562 | 0.000110 |
| StandardRAG | 0.00 | 0.000 | 0.00000 | 1016.56 | 0.638 | 0.000120 |
| GraphRAG Global | 20241.49 | 19.694 | 0.00340 | 6566.85 | 1.850 | 0.000680 |
| GraphRAG Local | 20241.49 | 19.694 | 0.00340 | 4968.42 | 1.306 | 0.000510 |
| LightRAG | 11245.55 | 7.317 | 0.00150 | 1517.70 | 0.487 | 0.000180 |
| HippoRAG2 | 5404.08 | 4.647 | 0.00092 | 3125.54 | 0.641 | 0.000320 |
| LeanRAG | 8893.11 | 5.589 | 0.00120 | 5031.30 | 0.731 | 0.000460 |
| CausalRAG | 9764.49 | 9.022 | 0.00140 | 5468.44 | 0.849 | 0.000520 |
| CausalRAG2 | 9864.49 | 9.622 | 0.00150 | 5075.65 | 0.801 | 0.000490 |
| RESIN | 14328.85 | 6.880 | 0.00261 | 30333.35 | 2.601 | 0.00214 |
The offline token increase reflects two LLM stages that organize passages and extract source-grounded, typed units. Online cost is dominated by planning, per-hop solving, and final composition rather than dense retrieval. The values should not be read as a hardware-controlled head-to-head comparison: the baseline rows are paper-reported, and the released CausalRAG2 pipeline did not complete a full-scale local run in our environment.
A.4 RAGAS Evaluation Metrics
We use RAGAS answer relevancy (AR) and context recall (CR) (Es et al., 2024). Both metrics are computed on a 0–1 scale and reported as percentages in the main tables.
Answer relevancy. AR measures whether the generated answer directly addresses the input question. RAGAS generates N synthetic questions from the answer and compares their embeddings with that of the original question :
We use N = 3, corresponding to strictness 3. A high score indicates that the response is focused and pertinent; incomplete, tangential, or unnecessarily verbose responses receive lower scores. AR does not by itself establish factual correctness: an incorrect answer can still be relevant if it directly addresses the question.
Context recall. CR measures whether retrieval recovers the information required by the reference answer. The evaluator decomposes the reference answer into claims and judges whether each claim is attributable to the retrieved source passages:
Here, is the number of reference claims attributable to retrieved context, and is the total number of reference claims. A high CR therefore means that little required evidence was missed. It evaluates evidence coverage rather than response quality and does not penalize irrelevant retrieved passages. AR and CR are complementary: CR tests whether the system retrieved sufficient support, while AR tests whether the generated response remains aligned with the question.
A.5 Implementation Details
Offline construction. Each source article is segmented into sentence-aligned units and passed to an LLM passage constructor that returns contiguous entity-centered spans. The constructor records the main entity, entity type, semantic focus, evidence role, and source sentence IDs. These output records carry an explicit semantic-passage marker, and the reasoning runner preserves every marked record as one extraction input. Its fixed-character chunker is invoked only for unmarked compatibility inputs and is not used for the reported semantic-passage runs. A second LLM pass extracts typed reasoning units from each passage. The normalizer assigns a stable unit ID, canonical predicate, aliases, scope, confidence, evidence quote, and provenance pointer. The passage and extraction prompts never receive question, answer, or gold-context fields.
Online reasoning. The query planner returns the reasoning mode, expected answer type, entity mentions, properties, constraints, and an ordered list of one-hop subquestions. For each hop, the retriever embeds the concatenation of the subquestion, target, and bridge terms, compares it with the cached embeddings of all reasoning units, and retains the top-k candidates. The main configuration uses ; the budget ablation changes only this value. Each hop solver sees only its own subquestion, planner metadata, and candidate set; it does not receive earlier hop answers or gold evidence. Retrieved units are mapped back to their source passages, packed within the evidence budget, and selected for final composition. The final composer receives only the original question and selected source passages; local answers remain in the audit trace but are not passed to the composer. No separate verifier is invoked in this backend.
Models and reproducibility. The dense encoder is all-MiniLM-L6-v2 (Reimers and Gurevych, 2019). Reported RESIN runs explicitly select the hop-wise candidate backend, which skips the codebase's legacy graph-construction path. Generation stages use GPT-5-nano, and evaluation uses RAGAS 0.4.3 with Gemini-3.5-Flash-Lite. We serialize passages, units, auxiliary indexes, query plans, embedding caches, per-hop candidates, local answers, final answers, retrieved contexts, and evaluator inputs so that each result can be traced to its model and evidence state. The published Causal-RAG2 rows use the evaluator available to that work and are not presented as a same-runtime rerun.
We initially attempted to use Gemini-2.5-Flash-Lite, but the API reported that it was no longer available to new users, preventing access through our account; we therefore used Gemini-3.5-Flash-Lite. In a local rerun on a Biology subset of HolisQA, the resulting scores were close to those reported by CausalRAG2, providing a sanity check for our evaluation pipeline and supporting the use of its published results as reference comparisons, without establishing identical evaluation conditions.
Metrics. AR and CR use the RAGAS implementation and its configured judge model. HolisQA additionally reports token-level answer-overlap F1 against reference answers; it complements the judge-based metrics but is sensitive to wording. Sentence-ID recall is retained only as a provenance diagnostic rather than substituted for RAGAS context recall. Latency is measured from the first online model call through final composition, excluding one-time offline preprocessing unless explicitly stated.
A.6 Algorithms
The following pseudocode summarizes the executed candidate-set backend. It is intentionally expressed in terms of serialized passages, reasoning units, and ordered hop records rather than graph nodes or edges. In Algorithm 2, RETRIEVAL-TEXT concatenates a subquestion with its target and bridge terms.
Algorithm 1 Offline Reasoning-Unit Construction
Require: Corpus ; passage constructor Require: Unit extractor ; normalizer ; encoder Ensure: Unit store ; indexes ; embedding matrix 1: ; 2: for all documents do 3: 4: 5: for all passages do 6: 7: for all raw units do 8: 9: assign a stable unit identifier to 10: 11: 12: end for 13: end for 14: end for 15: 16: SERIALIZE() 17: return
Algorithm 2 Hop-Wise Candidate Retrieval
Require: Question ; planner ; unit store Require: Embeddings ; encoder Require: Budget ; maximum hops Ensure: Query plan ; ordered candidate trace 1: ; 2: for all .SUBQUESTIONS in order do 3: 4: 5: 6: 7: append to 8: end for 9: return
Algorithm 3 Candidate-Set Answer Generation
Require: Question ; query plan ; candidate trace ; provenance
Require: Hop solver ; source selector ; composer
Ensure: Final answer ; auditable intermediate trace
1:
2: for all do
3:
4: append to
5: end for
6:
7:
8: if contains no valid article identifiers then
9:
10: end if
11:
12:
13: SERIALIZE()
14: return
A.7 Prompt Templates
The boxes below reproduce the principal system prompts used by the released implementation. Runtime values such as the article text, question, query plan, and retrieved candidates replace the indicated placeholders. Gold answers and gold evidence are never included in construction, planning, retrieval, or generation prompts.
Passage Construction: System Prompt
You are the offline passage-construction module of RESIN.
Construct query-independent passages from a scientific article. Do not answer any question and do not summarize the whole article.
RESIN passage contract:
- Each passage has one primary entity, mechanism, intervention, finding, method, outcome, or other evidence-bearing topic.
- Keep adjacent sentences together when they jointly define the entity or explain its properties, relations, mechanism, or result.
- Split when the main evidence center changes.
- Passage lengths are semantic and variable. Do not use a fixed number of sentences, tokens, or characters as the passage definition.
- Return only contiguous ranges of the supplied source sentences.
- Do not paraphrase, reorder, or add outside knowledge.
- Unit IDs are 1-based integers. Copy start_unit and end_unit from the provided unit labels. Valid IDs range from 1 to N.
Return JSON only in this form: {"passages": [{"start_unit":1,"end_unit":3,"main_entity":"...","entity_type":"...","semantic_focus":"...","evidence_role":"..."}]}
Reasoning-Unit Extraction: System Prompt
You are the offline extractor for RESIN. Return JSON only: {"units": [...]} .
RESIN represents multi-chain reasoning as typed states and directed transitions. Extract the smallest evidence-backed units that can be composed. Each unit must have: kind: entity_fact, type_property, entity_type, causal_edge, relation, or rule; subject: subject_kind: entity, type, variable, event, state, or unknown; predicate: object; conditions; conclusion; source_state; target_state; aliases; scope; modality; polarity; confidence; evidence_quote.
Use these conventions:
- entity_fact: an ordinary fact about a specific entity.
- type_property: a generic property of a type, such as Humans are mortal.
- entity_type: an explicit membership assertion, such as Socrates is a human.
- causal_edge: a directed transition, such as enzyme deficiency causes substrate accumulation. Use source_state and target_state when the sentence expresses property-value states. Preserve the direction and any modality such as may, can, or is thought to.
- rule: only a conditional statement with non-empty conditions and a conclusion, such as If people drink more water, health improves. Do not use rule for a simple one-edge causal fact.
For a sentence containing multiple causal steps, emit multiple causal_edge units, one per supported transition, while keeping the same evidence_quote. Do not infer a transition merely because two entities occur in the same text. Do not merge a statue with the person it represents. Keep entity type, context, polarity, and uncertainty explicit. Every unit needs an exact short evidence_quote.
The extraction user message contains only article metadata and the delimited article chunk: ARTICLE_METADATA: {metadata} and ARTICLE_CHUNK: <<{text}>>.
Query Planning: System Prompt
You are the RESIN query planner. Do not answer the question. Decompose the question into an ordered list of minimal one-hop subquestions. Each subquestion must be answerable from a small set of evidence-backed reasoning units and should expose the bridge needed by the next hop. Do not write a multi-hop subquestion. Use at most the requested MAX_HOPS. Return JSON only: {"reasoning_mode":"entity_join | type_inheritance | conditional_rule | causal_chain | temporal | comparison | mixed", "answer_type":"entity | boolean | date | explanation | unknown", "target_description":"", "entity_mentions": [], "type_hints": [], "properties": [], "constraints": [], "source_constraints": [], "time_constraints": [], "bridge_terms": [], "subquestions": [{"hop":1,"question":"", "target": "", "depends_on": [], "bridge_terms": [], "reasoning_type": ""}]
The corresponding user template is MAX_HOPS: {max_hops} followed by QUESTION: {query}.
Hop Solving: System Prompt
You are a RESIN hop solver. Answer only the supplied one-hop subquestion using the candidate reasoning units for this hop. Do not use candidates from another hop and do not add outside knowledge. The answer should expose the entity, property, value, or bridge needed by later hops. If the candidates do not support the subquestion, return insufficient rather than guessing. Return JSON only: {"answer":"", "status":"supported | insufficient | conflicted", "supporting_unit_ids": [], "reasoning_step":"", "confidence":0.0}
At runtime, the user payload contains the hop number, subquestion, target, dependency metadata, and that hop's ranked candidate reasoning units. It contains neither gold evidence nor gold answers.
Final Composition: System Prompt
Use only the retrieved source passages to answer the research question.
Return JSON with answer first: {"answer":"...","status":"supported | insufficient","supporting_unit_ids":[]}.
Form a self-contained answer of two to four short sentences, about 55-85 words. Cover each requested factor, mechanism, comparison, outcome, and condition found in the passages. Reuse the source's exact technical terms and short phrases for the central findings; avoid broad synonyms that erase the findings. Preserve polarity and uncertainty.
Begin with the substantive answer. Do not describe the analysis, give background definitions, list unrelated possibilities, cite sources, or add a generic conclusion. If evidence is partial, give the supported facts without a long caveat. Never use a reference answer or outside knowledge.
The final user payload contains only the original question and selected source passages. It does not contain the query plan, candidate-unit records, or generated hop answers.
B Case Studies
We present selected cases in which CausalRAG2 omits a required evidence component and RESIN recovers it. The comparison examines original source evidence, saved CausalRAG2 prompts, and the latest RESIN answers. Each table isolates the missing component and its architectural significance; it does not equate recovering that component with complete correctness of every additional statement.
Table 9: Kandelia: preserving molecular findings alongside the dominant physiological explanation.
| Case component | Details |
|---|---|
| Question | What mechanisms explain low-temperature tolerance in the cold-tolerant Kandelia obovata population, and what molecular insights were obtained? |
| Required evidence | The answer needs antioxidant/metabolic adaptation, transcription-factor findings, and SNP/alternative-splicing evidence. A physiological explanation alone does not cover the requested molecular insights. |
| CausalRAG2 evidence | The exported recall context includes SNP and splicing information. The final generation prompt instead retains antioxidant activity, named transcription factors, and metabolic/signaling pathways, without the SNP/splicing findings. |
| CausalRAG2 response | The answer explains catalase-driven ROS management, WRKY/NAC/MYB/ERF expression, and enriched pathways, but does not report SNP or alternative-splicing findings. Missing molecular evidence. |
| Why the omission occurs | The recorded evidence assembly removes a distinct molecular evidence category before final generation. The answer then elaborates the retained antioxidant/transcriptional explanation rather than recovering the missing category. The trace locates this loss between broad recall and the final prompt, not at initial extraction. |
| RESIN organization | Typed units make molecular findings independently addressable. Decomposed needs can distinguish the physiological mechanism from molecular evidence; the latter need not depend on selection of the former’s causal chain. |
| RESIN source evidence | The latest mapped passages preserve both the transcription-factor findings and the statement that SNP diversity and alternative splicing may enhance protein function and contribute to cold tolerance. |
| RESIN response | The answer retains antioxidant/metabolic responses and the named transcription factors, and additionally reports potential SNP/splicing contributions to cold tolerance. Missing evidence category recovered. It does not further explain the proposed protein-function contribution. |
| Reference answer | The reference includes antioxidant and metabolic regulation, transcriptional/post-transcriptional responses, named TF families, and possible SNP/splicing contributions through enhanced protein function. |
| Key difference | Relevant evidence spans several molecular roles rather than one dominant mechanism. RESIN provides separate access to these roles and recovers their original passages for composition. The latest answer includes a category that is lost from CausalRAG2’s final evidence set. |
Table 10: CD1c: retaining a comparative structural property during answer composition.
| Case component | Details |
|---|---|
| Question | How does CD1c present lipids to TCRs, and how does this mechanism differ from other antigen-presenting molecules? |
| Required evidence | The mechanism combines simultaneous two-lipid loading with sideways presentation of bulky headgroups through a side portal. Two-lipid loading is a distinguishing property, not merely another step in the presentation pathway. |
| CausalRAG2 evidence | Its final generation prompt contains a fragment stating that two lipid antigens are presented from the top and side of the cleft. Its reranking draft also mentions two lipids. The required cardinality fact is therefore available before the final answer. |
| CausalRAG2 response | The answer describes lipid binding, sideways headgroups, the side portal, and TCR recognition, but omits simultaneous two-lipid loading. Missing distinguishing property. |
| Why the omission occurs | Available evidence is not fully carried into final synthesis: the answer explains how presentation works without preserving a central property needed to explain how it differs. This is a composition omission, not a failure to retrieve the two-lipid fact. |
| RESIN organization | An entity-specific property can be represented separately from the mechanistic transition. Need-specific retrieval locates the explanatory and comparative claims; source selection recovers original passages for direct final composition, without passing generated hop answers. |
| RESIN source evidence | The latest mapped passage explicitly states that two lipids, rather than one, bind in the CD1c cleft, and that bulky headgroups protrude laterally through a side portal while permitting TCR recognition. |
| RESIN response | The answer states that CD1c can bind two lipids simultaneously and explains sideways protrusion of bulky headgroups through the side portal. Distinguishing property recovered. Its additional peptide-MHC comparison is separate from this source-grounded finding. |
| Reference answer | The reference combines two-lipid binding, sideways orientation, headgroup protrusion, and TCR recognition to explain the distinctive presentation mechanism. |
| Key difference | Recovering a pathway does not automatically preserve the property that makes it distinctive. RESIN's interface gives explanatory and comparative evidence separate roles and keeps them jointly available; the latest answer preserves both in this case. |
Table 11: CKL12: separating a growth phenotype from evidence of BR regulation.
| Case component | Details |
|---|---|
| Question | How does CKL12 contribute to plant growth, and what evidence suggests regulation by brassinosteroid (BR) signaling? |
| Required evidence | The answer requires a growth phenotype and evidence of regulation. Insertion mutants suggest a contribution to hypocotyl and primary-root growth; promoter binding and reduced transcript after transcription-factor knock-down support the BR connection. |
| CausalRAG2 evidence | Its final prompt contains a BR-regulation fragment, including promoter sites and knock-down results, but no hypocotyl or primary-root finding. The saved trace does not identify which earlier processing step first excluded the phenotype. |
| CausalRAG2 response | The answer says CKL12’s exact growth role is unspecified in the provided items, then describes BR regulation. Growth component unanswered. |
| Why the omission occurs | Regulation and phenotype are different evidence roles. Retaining the regulatory fragment does not supply the missing growth observation, so the final answer cannot connect the two requested parts using its provided evidence. |
| RESIN organization | Growth effects and regulatory support are directly searchable claims, not interchangeable descriptions of CKL12. Need-specific retrieval allocates candidate capacity to each role; the final buffer can preserve the source passages supporting both roles. |
| RESIN source evidence | The latest mapped passage contains the tentative hypocotyl/root finding, transcript-end observations, promoter binding sites, and the knock-down experiment. The phenotype is therefore represented in the source evidence associated with the latest run. |
| RESIN response | The answer names hypocotyl and primary-root growth and includes the BR-related promoter sites. Missing phenotype recovered. It still omits insertion/knock-down details and strengthens the source’s tentative growth wording. |
| Reference answer | The reference says CKL12 appears to contribute to growth; insertion findings suggest a role for the transcript’s 3’ end, while promoter and knock-down results support downstream BR regulation. |
| Key difference | A regulator-centered evidence set can answer the signaling part while missing the phenotype. RESIN treats the two needs separately and retains their claims together. This case illustrates recovery of the missing growth component, not complete recovery of every supporting experiment. |