Manuscript Offprint
arXiv:2610.21739Reliable Knowledge Acquisition for Continual Learning Agents
Abstract
As agents powered by foundation models move into open-ended environments, continual learning from experience becomes essential. For agents built on models with fixed parameters, this learning requires reusing prior task experience in context to improve performance and efficiency on future tasks. Existing memory and experience-learning systems typically focus on either retained facts or procedures, and lack a mechanism for establishing the reliability of claims extracted from the ongoing task stream. Indeed, we find that approximately 12–33% of entries produced by representative systems harm future task performance when reused. To address these limitations, we propose RIKA (Reliable Knowledge Acquisition), which combines hierarchical extraction of factual, conceptual, procedural, and metacognitive knowledge with Evidence-based Knowledge Admission, which uses source evidence and subsequent experience to govern which claims enter the task agent's context, without additional validation tasks. Across six task streams from Continual Learning Bench and four model backbones, RIKA achieves the highest aggregate score on every backbone.
1 Introduction
Foundation-model agents increasingly operate in open-ended environments, where they encounter ongoing streams of tasks whose demands cannot be fully anticipated during training (Zhang et al., 2025; Liu et al., 2024; Shu et al., 2026; Zheng et al., 2025). Their experience provides a continuing source of learning (e.g., lessons from failures). For agents built on black-box language models with fixed parameters, this learning takes place through context: knowledge acquired from prior trajectories is supplied to guide subsequent decisions (Shinn et al., 2023). Continual learning therefore requires organizing past experience into reusable knowledge that can inform future tasks.
A central challenge in reusing experience is whether extracted knowledge can be trusted to guide future decisions. Existing memory systems (Chhikara et al., 2025; Xu et al., 2026; Liu et al., 2026) often lack an explicit mechanism accounting for the reliability of extracted knowledge. Some experience-learning systems validate extracted knowledge by replaying tasks (Li et al., 2026) or evaluating on held-out tasks (Yang et al., 2026b), both of which require additional task execution that may be unavailable in continual settings, where environment states cannot be revisited or reset. Our quantitative evaluation of artifacts produced by representative systems shows that approximately 12–33% of evaluated atomic claims reduce subsequent task performance when reused. A complementary qualitative case study further reveals how such failures arise. Extracted knowledge may rely on information unavailable at reuse time, mismatch the requirements of subsequent tasks, or become outdated as the environment changes (Section 3.1).
Beyond reliability, continual learning also requires deciding what knowledge to acquire. Memory systems mostly retain facts and events, while experience-learning systems distill skills, workflows, reflections, and strategic guidance (Wang et al., 2024; Zhang et al., 2026b; Ni et al., 2026; Yang et al., 2026b; Shinn et al., 2023). Beyond observations and procedures, agents also need to learn underlying principles and when to apply or revise a method. This motivates a structured approach to learning complementary forms of knowledge and organizing the relationships among them.
To address these two challenges, we propose RIKA (Reliable Knowledge Acquisition), a continual learning framework that transforms agents' task experience into structured knowledge for future decisions. To ensure reliable reuse, RIKA introduces Evidence-based Knowledge Admission (EKA), which draws on sequential hypothesis testing and truth maintenance (Wald, 1992; Doyle, 1979) to admit and revise atomic claims as evidence accumulates from the ongoing task stream. Claims directly established by their source trajectories can be admitted immediately, while those requiring broader support remain pending until sufficient evidence accumulates; subsequent experience can also challenge earlier admissions. This process requires no additional validation tasks. For knowledge extraction, RIKA draws on a knowledge taxonomy from educational psychology (Anderson and Krathwohl, 2001) to acquire four complementary types of knowledge: factual, conceptual, procedural, and metacognitive. Its hierarchical extractor grounds conceptual abstractions in factual knowledge and metacognitive abstractions in procedural knowledge, organizing both concrete experience and higher-level understanding for reuse.
Our contributions are threefold:
• We identify and quantify a reliability problem in experience reuse, finding that approximately 12–33% of evaluated entries from representative systems harm subsequent task performance.
• We propose RIKA, combining evidence-based knowledge admission with hierarchical extraction of factual, conceptual, procedural, and metacognitive knowledge.
• We demonstrate RIKA’s effectiveness across different task streams and model backbones, achieving the highest aggregate score on all backbones.
2.1 Memory for Agents
Agent memory systems maintain information from prior interactions for later use. Much of this work is rooted in conversational personal assistants, where memory centers on past events, personal information, and user preferences (Maharana et al., 2024; Wu et al., 2024; Hu et al., 2026b). These systems develop memory storage, extraction, and organization mechanisms to retain and retrieve information across interactions (Sumers et al., 2023; Zhong et al., 2024; Packer et al., 2023; Chhikara et al., 2025; Xu et al., 2026; Liu et al., 2026). Together, these efforts help agents preserve relevant context across interactions.
2.2 Learning from Task Experience
Another line of work extracts reusable knowledge from task experience. Some approaches distill experience into executable skills (Wang et al., 2023; Ni et al., 2026), action workflows (Wang et al., 2024), reflections (Shinn et al., 2023), reasoning insights (Ouyang et al., 2026), and playbooks (Zhang et al., 2026b). While several methods validate acquired knowledge before reuse, they rely on replaying tasks or evaluating on held-out tasks (Alzubi et al., 2026; Li et al., 2026; Yang et al., 2026b), which requires additional task execution that is costly and often infeasible once the environment changes. In contrast, our method assesses knowledge using evidence from the ongoing task stream.
2.3 Reliability of Agentic Memory
The reliability of stored knowledge can deteriorate as agents accumulate experience. Recent studies identify errors introduced by repeated consolidation (Zhang et al., 2026a), stale knowledge under environmental change (Chao et al., 2026), and failures when agents consume conflicting memories (Chen et al., 2026). Complementary empirical work examines how memory management affects agents' experience-following behavior (Xiong et al., 2026). Beyond characterizing these risks, TrustMem evaluates memory updates for coverage, preservation, and faithfulness, and uses preference-guided reinforcement learning to improve consolidation (Yang et al., 2026a). Our work focuses on assessing the reliability of extracted knowledge using evidence from the ongoing task stream.
3 Reliability of Knowledge Extraction in Existing Systems
We first diagnose reliability failures in artifacts produced by four representative systems: Mem0 (Chhikara et al., 2025), ACE (Zhang et al., 2026b), Trace2Skill (Ni et al., 2026), and SkillOpt (Yang et al., 2026b). We then introduce EKA to govern knowledge reuse and evaluate it with the SkillOpt and Trace2Skill extractors. All analyses in this section use DeepSeek-V4-Flash (DeepSeek-AI, 2026) on three task streams (DB, COHORT, and CODEBASE) from Continual Learning Bench (Asawa et al., 2026) (Section 5.1).
3.1 How Reliable Is Extracted Knowledge?
Quantitative analysis. We examine the reliability of extracted knowledge through a leave-one-entry-out evaluation. Specifically, we remove one knowledge entry at a time and compare downstream task performance with and without that

Figure 1: Extracted knowledge that fails under reuse.
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| Mem0 | 11.7% | 13.4% | 12.5% |
| ACE | 20.2% | 18.9% | 23.1% |
| Trace2Skill | 32.7% | 28.8% | 26.0% |
| SkillOpt | 25.9% | 26.1% | 28.0% |
Table 1: Harmful entry rates under leave-one-entry-out evaluation. Rates are computed over entries within each artifact and averaged equally across artifacts.
entry. This allows us to identify harmful entries, whose inclusion significantly degrades performance on subsequent tasks.
Since systems package knowledge at different granularities, we decompose every artifact into atomic claims and treat each claim as one entry. Following influence analyses of contextual elements (Nguyen and Wong, 2023; Xie et al., 2025; Hu et al., 2026a), we define the contribution of an entry in a frozen artifact as
where contains the future tasks on which the original system would expose . We classify as harmful if the confidence interval of lies entirely below zero (Appendix A).
Table 1 shows that approximately of evaluated entries reduce subsequent task performance across the four systems and three task streams. A substantial fraction of retained knowledge therefore hurts future decisions.
Case study. To understand how such failures arise, we compare claims extracted by these systems with their source trajectories and the requirements of subsequent tasks. Figure 1 presents four representative cases. Extracted knowledge may rely on information unavailable at reuse time, mismatch the requirements of subsequent tasks, or become outdated as the environment changes.
Together, these findings show that extraction and admission should be treated separately: a plausible claim is not necessarily reliable enough to guide future decisions. This motivates mechanisms for deciding which knowledge to admit and revising those decisions as new evidence accumulates.
3.2 Evidence-Based Knowledge Admission
We introduce Evidence-based Knowledge Admission (EKA) to govern reuse through evidence. EKA distinguishes claims by whether environment feedback in their source trajectories already establishes them. A claim directly verified by such feedback can be admitted immediately. For example, after an agent inspects a database schema, the claim “in schema version 1, order amounts are stored in orders.amount” is confirmed by the inspection output. In contrast, a claim that generalizes beyond what was observed remains pending until corroborated by subsequent experience. For example, the rule “for realized-revenue queries, pending orders do not contribute to revenue” is inferred from the records seen in a single task, so it is admitted or rejected only after further evidence emerges. The ongoing task stream thus serves as a source of both knowledge and evidence for its reuse. EKA encompasses atomization, claim routing, relation judgment, evidence accumulation, admission and forgetting, and rendering for reuse (Section 4.4).
3.3 Applying EKA to Other Extractors
We evaluate EKA using knowledge extracted by SkillOpt and Trace2Skill, coupling each extractor with EKA and comparing them with their original counterparts. See details in Appendix B.
Table 2 demonstrates that EKA improves both systems on DB and COHORT, supporting the effectiveness of the mechanism with different extractors.
4 Method
RIKA combines hierarchical knowledge extraction with EKA (Figure 2). The extractor acquires four complementary types of knowledge; EKA processes its outputs through atomization, routing, re-
1 Interact
2 Extract knowledge
3 Route and relate

5 Knowledge State Rendering and Injection
4 Evidence-Based Knowledge Admission
Figure 2: RIKA: hierarchical extraction with evidence-based knowledge admission.
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| SkillOpt | 0.147 | -0.062 | 0.567 |
| SkillOpt + EKA | 0.192 | -0.045 | 0.573 |
| Trace2Skill | 0.158 | -0.053 | 0.538 |
| Trace2Skill + EKA | 0.224 | -0.043 | 0.570 |
Table 2: Task performance of SkillOpt and Trace2Skill with and without EKA. Scores are averaged over five runs. Each + EKA variant retains the system's extractor and applies EKA thereafter.
lation judgment, evidence accumulation, admission and forgetting, and rendering for reuse.
4.1 Setup: Continual Learning from Task Streams
We consider a task agent that interacts with an environment over a stream of tasks
Solving task produces a trajectory consisting of the agent's actions, environment observations, and feedback. We focus on agents built on black-box models whose parameters remain fixed; continual learning therefore occurs through reusable knowledge acquired from past trajectories and supplied in context for future tasks. The goal is to improve task performance and execution efficiency as experience accumulates.
We define the -th batch as
After completing , the system updates its persistent knowledge state from to and produces a textual knowledge file for solving the subsequent batch. The remaining question is how this knowledge state should be constructed and updated from task experience.
Throughout, a claim denotes a self-contained unit of reusable knowledge, whether newly extracted or stored in the persistent state. Equivalent extracted claims are consolidated into a canonical claim, stored with its metadata, provenance, evidence, relations, and admission route. We use u for a newly extracted claim and v for a stored claim. Admission is reassessed after each batch.
4.2 Knowledge Representation
Inspired by a knowledge taxonomy from educational psychology (Anderson and Krathwohl, 2001), we represent task experience using four complementary knowledge types, illustrated below with examples from the DB task. Factual knowledge captures task-relevant properties of entities, states, and outcomes (e.g., “fdbk_g1.ts stores Unix timestamps in milliseconds”). Conceptual knowledge captures relations or regularities that organize multiple facts (e.g., “timestamp encodings differ across feedback tables: milliseconds, seconds, or ISO date strings”). Procedural knowledge specifies executable methods or workflows (e.g., “to filter by a top-level category, use cat_lvl = 1 AND cat_nm = ’<Category>’”). Metacognitive knowledge concerns when to apply, select, or revise a method (e.g., “when a category filter returns unexpected results, verify the hierarchy level before revising the query”).
4.3 Hierarchical Knowledge Extraction
The four knowledge types differ in their level of abstraction (Anderson and Krathwohl, 2001). Factual and procedural knowledge describe concrete observations and task-solving operations (Anderson, 1982), which can be directly grounded in environment feedback and agent trajectories. In contrast, conceptual and metacognitive knowledge capture higher-level regularities and strategic judgment (Nelson, 1990), which typically require further abstraction over factual and procedural knowledge, respectively. We therefore organize knowledge extraction into two stages: first extracting factual and procedural knowledge, and then deriving abstract conceptual and metacognitive knowledge from them, respectively.
For each batch , since each type requires a distinct extraction objective, we instantiate four type-specific extraction subagents that operate without access to stored claims. We first extract first-order factual and procedural knowledge grounded in the environment feedback in the trajectories:
Second-order knowledge is then extracted conditioned on both the trajectories and the corresponding first-order knowledge:
where and denote conceptual and metacognitive knowledge, respectively. Each extractor processes the trajectories in the batch jointly.
4.4 Evidence-Based Knowledge Admission (EKA)
EKA evaluates claims from the ongoing task stream. Inspired by sequential hypothesis testing (Wald, 1992) and truth maintenance (Doyle, 1979), we keep eligible but insufficiently corroborated claims pending and update their evidence as subsequent trajectories provide support or opposition. EKA proceeds through stages below.
4.4.1 Atomization
An extractor output may bundle multiple claims within a single item. Admitting or rejecting such an item as a whole using EKA might let the unsupported part into context or discard the supported part. Inspired by atomic decomposition (Min et al., 2023), we use an atomizer across all four knowledge types, splitting claims only when their components are self-contained and independent. Each resulting atom must be grounded in the environment feedback relevant to its own content, either directly or, for second-order knowledge, through its first-order claims. The atomic claims serve as the basic units for relation judgment and evidence accumulation. We denote those extracted from batch by . Appendix C reports technical details including prompts and output schemas.
4.4.2 Claim Routing and Relation Judgment
Admission routing. A routing agent examines each atomic claim u, its cited environment-feedback spans, and the explanation linking them. A claim is directly grounded if the cited feedback itself states the claim under its stated scope, and indirectly grounded if it follows from such feedback through inference or abstraction, possibly via its first-order parent claims; claims with neither are excluded. The grounding type determines the admission route. Directly grounded claims follow the immediate admission path, since the feedback already establishes them. Indirectly grounded claims follow the deferred admission path, since their full scope still requires corroboration, for example because of causal attribution or conditions beyond those observed. We denote the route by
The route depends on whether the evidence covers a claim’s scope, not on its knowledge type. A factual claim such as “schema versions use completed as the finalized label” is deferred, since an observation from version 1 does not cover its cross-version scope. Conversely, a conceptual claim can be admitted immediately when it only relates directly observed facts within their observed scope, such as “timestamp encodings differ across fdbk_g1, fdbk_g2, and fdbk_g3”. Routing decisions are recorded when extracted claims are integrated into the persistent state.
Relation judgment. Inspired by natural-logic approaches to textual inference (MacCartney and Manning, 2007), we compare each new extracted claim with existing claims. For a new extracted claim u and an existing claim v, the relation judge predicts one or more material logical relations between u and v. We define to contain EQUIVALENT, SPECIALIZE, GENERALIZE, CONTRADICT, OVERLAP, and INDEPENDENT. The relations are defined as follows:
• EQUIVALENT: u and v entail each other under the same scope.
• SPECIALIZE: The new claim u entails the broader stored claim v.
• GENERALIZE: The stored claim v entails the broader new claim u.
• CONTRADICT: The claims cover overlapping scope but cannot both hold.
• OVERLAP: Shared content without entailment or contradiction.
• INDEPENDENT: No logical relationship.
These judgments determine how subsequent experience supports or challenges stored claims.
4.4.3 Evidence Accumulation, Admission, and Forgetting
After each batch, we update the evidence for all active claims and reassess their admission, including claims admitted in earlier batches. Full update rules are provided in Appendix D.
Relation-guided evidence accumulation. Each stored claim v maintains a cumulative net evidence count . Let and denote the supporting and opposing evidence counts from batch . We update
with the count initialized to zero for a new claim.
Fresh trajectories support a claim when they ground an equivalent or more specific claim, and oppose it when they ground a contradictory claim. Equivalent claims are merged into a entry. Entailment edges form a directed acyclic graph from specific claims to general claims: support propagates to reachable generalizations, but not in the reverse direction. OVERLAP and INDEPENDENT relations transfer no evidence.
Admission. We use the admission threshold , set to 1 for immediate claims and k for deferred claims. Claims directly established by their source trajectories thus require no additional corroboration, whereas deferred claims require sufficient accumulated net evidence. After each batch, a claim is admitted if its updated evidence count satisfies and remains pending otherwise, regardless of its previous admission status. A change in admission does not reset its evidence history.
Forgetting. To keep the state bounded, a claim is forgotten if its evidence stays below its admission threshold for m consecutive batches; reaching the threshold resets this window. The window tolerates temporary lack of support, during which the claim remains pending in the state.
4.5 Knowledge State Rendering and Injection
After all updates for batch are complete, we render the admitted claims in the resulting state , i.e., those satisfying , into a structured textual knowledge file
Motivated by findings that repeated memory updates can degrade stored knowledge (Zhang et al., 2026a; Yang et al., 2026a), we reconstruct the file from the current state rather than incrementally rewriting .
Finally, the complete rendered file is supplied in context to the task agent while it solves the subsequent batch (Appendix D.5). The resulting trajectories provide the next source of experience, closing the continual learning loop.
5 Experiments
We evaluate whether RIKA enables a task agent to continually improve from its task-solving experience across task streams and model backbones.
5.1 Experimental Setup
Benchmark. We utilize Continual Learning Bench, evaluating on six heterogeneous task streams: DB, POKER, COHORT, BSM, SALES, and CODEBASE (Asawa et al., 2026). See task details and scoring in Appendix E.1 and Appendix E.2.
Baselines. We choose five representative baselines: ICL (Asawa et al., 2026), which directly reuses past trajectories in context; Mem0 (Chhikara et al., 2025), a general-purpose memory system; ACE (Zhang et al., 2026b), which maintains an evolving playbook; and Trace2Skill (Ni et al., 2026) and SkillOpt (Yang et al., 2026b), which distill trajectories into reusable skills.
Model backbones. We evaluate all methods on four backbones: GPT-5.4 (OpenAI, 2026), DeepSeek-V4-Flash (DeepSeek-AI, 2026), MiniMax-M3 (Lai et al., 2026), and Gemini-3-Flash (Google DeepMind, 2025). Appendix E.3 reports model versions and the shared configuration, context management, and adaptation settings.
| Model | Method | DB | POKER | COHORT | BSM | SALES | CODEBASE | Agg. | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Score | Gain | Score | Gain | Score | Gain | Score | Gain | Score | Gain | Score | Gain | Score | Gain | ||
| GPT-5.4 | RIKA | 0.351 | +0.213 | 1.247 | +0.134 | -0.020 | -0.013 | 0.579 | +0.360 | 0.808 | +0.342 | 0.551 | +0.053 | 0.232 | +0.232 |
| ICL | 0.347 | +0.209 | 0.798 | -0.315 | -0.028 | -0.021 | 0.513 | +0.294 | 0.769 | +0.303 | 0.534 | +0.036 | 0.183 | +0.183 | |
| Mem0 | 0.431 | +0.293 | 0.612 | -0.501 | -0.034 | -0.027 | 0.375 | +0.156 | 0.651 | +0.185 | 0.584 | +0.086 | 0.140 | +0.140 | |
| ACE | 0.196 | +0.058 | 1.196 | +0.083 | -0.004 | +0.003 | 0.220 | +0.001 | 0.510 | +0.044 | 0.609 | +0.111 | 0.067 | +0.067 | |
| Trace2Skill | 0.138 | +0.000 | 1.115 | +0.002 | -0.032 | -0.025 | 0.318 | +0.099 | 0.689 | +0.223 | 0.513 | +0.015 | 0.071 | +0.071 | |
| SkillOpt | 0.189 | +0.051 | 0.971 | -0.142 | -0.024 | -0.017 | 0.443 | +0.224 | 0.566 | +0.100 | 0.607 | +0.109 | 0.105 | +0.105 | |
| DeepSeek-V4-Flash | RIKA | 0.281 | +0.221 | 1.141 | +0.489 | -0.042 | +0.076 | 0.234 | +0.015 | 0.847 | +0.333 | 0.575 | +0.063 | 0.141 | +0.233 |
| ICL | 0.256 | +0.196 | 0.755 | +0.103 | -0.084 | +0.034 | 0.518 | +0.299 | 0.639 | +0.125 | 0.548 | +0.036 | 0.074 | +0.176 | |
| Mem0 | 0.274 | +0.214 | 0.732 | +0.080 | -0.038 | +0.080 | 0.348 | +0.129 | 0.522 | +0.008 | 0.547 | +0.035 | 0.049 | +0.129 | |
| ACE | 0.135 | +0.075 | 0.637 | -0.015 | -0.059 | +0.059 | 0.222 | +0.003 | 0.563 | +0.049 | 0.529 | +0.017 | -0.020 | +0.071 | |
| Trace2Skill | 0.158 | +0.098 | 0.858 | +0.206 | -0.053 | +0.065 | 0.293 | +0.074 | 0.602 | +0.088 | 0.538 | +0.026 | 0.025 | +0.115 | |
| SkillOpt | 0.147 | +0.087 | 0.435 | -0.217 | -0.062 | +0.056 | 0.218 | -0.001 | 0.658 | +0.144 | 0.567 | +0.055 | 0.017 | +0.113 | |
| MiniMax-M3 | RIKA | 0.327 | +0.191 | 0.623 | +0.758 | 0.012 | +0.017 | 0.257 | +0.037 | 0.758 | +0.561 | 0.554 | +0.181 | 0.163 | +0.239 |
| ICL | 0.284 | +0.148 | 0.407 | +0.542 | -0.020 | -0.015 | 0.337 | +0.117 | 0.535 | +0.338 | 0.483 | +0.110 | 0.043 | +0.147 | |
| Mem0 | 0.303 | +0.167 | 0.235 | +0.370 | 0.003 | +0.008 | 0.289 | +0.069 | 0.501 | +0.304 | 0.402 | +0.029 | 0.018 | +0.132 | |
| ACE | 0.189 | +0.053 | 0.509 | +0.644 | -0.026 | -0.021 | 0.230 | +0.010 | 0.772 | +0.575 | 0.513 | +0.140 | 0.082 | +0.159 | |
| Trace2Skill | 0.175 | +0.039 | 0.612 | +0.747 | -0.031 | -0.026 | 0.219 | -0.001 | 0.638 | +0.441 | 0.533 | +0.160 | 0.039 | +0.128 | |
| SkillOpt | 0.180 | +0.044 | 0.559 | +0.694 | -0.028 | -0.023 | 0.234 | +0.014 | 0.672 | +0.475 | 0.517 | +0.144 | 0.050 | +0.137 | |
| Gemini-3-Flash | RIKA | 0.387 | +0.298 | 0.952 | -0.688 | -0.058 | +0.001 | 0.434 | +0.215 | 0.628 | +0.189 | 0.614 | +0.207 | 0.130 | +0.201 |
| ICL | 0.376 | +0.287 | 0.790 | -0.850 | -0.034 | +0.025 | 0.367 | +0.148 | 0.707 | +0.268 | 0.390 | -0.017 | 0.084 | +0.160 | |
| Mem0 | 0.355 | +0.266 | 0.863 | -0.777 | -0.038 | +0.021 | 0.334 | +0.115 | 0.544 | +0.105 | 0.583 | +0.176 | 0.084 | +0.153 | |
| ACE | 0.239 | +0.150 | 0.452 | -1.188 | -0.074 | -0.015 | 0.378 | +0.159 | 0.591 | +0.152 | 0.517 | +0.110 | 0.020 | +0.101 | |
| Trace2Skill | 0.098 | +0.009 | 0.539 | -1.101 | -0.095 | -0.036 | 0.395 | +0.176 | 0.538 | +0.099 | 0.622 | +0.215 | -0.005 | +0.079 | |
| SkillOpt | 0.103 | +0.014 | 0.588 | -1.052 | -0.087 | -0.028 | 0.385 | +0.166 | 0.559 | +0.120 | 0.605 | +0.198 | 0.004 | +0.086 | |
Table 3: Continual-learning performance across streams and backbones. SCORE: stream-level score; GAIN: improvement over the shared stateless control for the same backbone and task; AGG.: averages of normalized scores and gains across six streams. See Appendices E and F for setup details and 95% confidence intervals.
Evaluation. By default, RIKA uses batch size ( for SALES, which has only 12 instances), deferred admission threshold , and forgetting window . All results are averaged over five runs (Appendix E.4).
For each stream in Table 3, we report the mean task reward (SCORE) and its improvement over a no-learning reference (GAIN). The reference is the mean of five stateless runs for the same backbone and task, shared across all methods. Since reward scales differ across tasks, we also report normalized aggregates (AGG.). For learning dynamics, we plot cumulative gain over the stateless control (defined in Appendix E.5). Curves show the mean over five runs with confidence intervals.
5.2 Main Results
Table 3 presents the results across all six task streams and four model backbones.
Consistent gains across backbones. RIKA achieves the highest aggregate score on all backbones, exceeding the strongest baseline on each by 0.046–0.081. For instance, it improves the aggregate score from 0.183 to 0.232 on GPT-5.4. Its aggregate gain over the stateless agent is positive on all backbones, ranging from +0.201 to +0.239. Broad improvement across task streams. RIKA achieves the best result in 14 of 24 model-task combinations. The remaining wins are distributed among task-specific baselines, particularly on COHORT, BSM, and CODEBASE, showing that RIKA's advantage is broad but not uniform.
Structured knowledge outperforms direct experience reuse. RIKA outperforms ICL in aggregate on every backbone by 0.046–0.120, suggesting that structured, selectively admitted claims enable more effective reuse than directly exposing the agent to past trajectories.
6 Analysis
We examine RIKA's learning dynamics, the contributions of its main components, and its sensitivity to batch size and admission threshold. All ablations use DeepSeek-V4-Flash on three representative task streams: DB, COHORT, and CODEBASE. Additional ablations are provided in Appendix G.
6.1 Dynamics
Figure 3 shows cumulative gain relative to the stateless DeepSeek-V4-Flash agent on DB and COHORT. On DB, RIKA establishes an early lead over the baselines and maintains it after the migration

(a) DB

(b) COHORT
Figure 3: Cumulative gain on DB and COHORT with DeepSeek-V4-Flash. Curves show mean gain relative to the stateless control shared across methods within each task; shading indicates confidence intervals. The vertical line marks the DB migration at instance 20.
| METHOD | DB | COHORT | CODEBASE |
|---|---|---|---|
| RIKA | 0.281 | -0.042 | 0.575 |
| Imm. Only | 0.225 | -0.089 | 0.540 |
| Def. Only | 0.265 | -0.070 | 0.557 |
| Random Router | 0.249 | -0.084 | 0.549 |
Table 4: Admission-routing ablations.
event at instance 20, ending at a cumulative gain consistent with the stream-level gain in Table 3. On COHORT, its cumulative gain moves from negative to positive and finishes above most baselines but below Mem0, consistent with their respective stream-level gains of 0.076 and 0.080. These trends illustrate RIKA's gains over time, while showing that its relative advantage varies across task streams.
6.2 Ablations on Admission Routing
We compare RIKA's admission mechanism with: Imm. Only, which admits every claim immediately; Def. Only, which defers every claim; and Random Router, which assigns claims randomly.
Table 4 reports stream-level scores only; Appendix Table 13 provides the complete results. Relative to RIKA, Imm. Only causes the largest score degradation (0.047–0.056 on DB and COHORT). Def. Only performs better but still trails the full method, suggesting that conservative admission limits premature reuse while delaying directly supported knowledge. Random Router also underperforms on every stream, indicating that the improvements depend on evidence-aware routing.
6.3 Ablations on Hierarchical Knowledge Extraction
We compare our hierarchical extractor with Generic 1-type, which uses one undifferentiated extractor; Flat 4-type, which retains all knowledge types but removes first- to second-order conditioning; and variants that remove each type individually.
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| RIKA | 0.281 | -0.042 | 0.575 |
| Generic 1-type | 0.213 | -0.087 | 0.541 |
| Flat 4-type | 0.261 | -0.057 | 0.563 |
| -Factual | 0.253 | -0.060 | 0.547 |
| -Conceptual | 0.265 | -0.065 | 0.553 |
| -Procedural | 0.270 | -0.073 | 0.549 |
| -Metacognitive | 0.274 | -0.068 | 0.556 |
Table 5: Ablations of knowledge types and hierarchical extraction.
Table 5 reports stream-level scores only; Appendix Table 14 provides the complete results. Relative to RIKA, GENERIC 1-TYPE causes the largest score degradation (0.045–0.068 on DB and COHORT), while FLAT 4-TYPE also consistently underperforms, supporting the importance of hierarchical conditioning. Removing any individual type reduces performance, with the largest drops from removing factual knowledge on DB and procedural knowledge on COHORT.
7 Conclusion
We find that approximately 12–33% of entries retained by existing experience-reuse systems harm subsequent task performance. To address this, we propose RIKA, which combines hierarchical extraction of four knowledge types with EKA, admitting claims as evidence accumulates from the task stream without additional validation tasks. RIKA achieves the highest aggregate score on every backbone across six task streams, and EKA also improves SkillOpt and Trace2Skill.
Limitations
Our empirical study focuses on six text-based, tool-mediated task streams and four model backbones. Although the streams span heterogeneous domains and interaction patterns, the results may not directly transfer to more diverse settings, where experience also includes perceptual or physical feedback. In addition, we study continual learning through an external knowledge artifact while keeping the underlying model parameters fixed. How hierarchical extraction and evidence-based admission interact with parameter-updating approaches remains an open direction.
Ethical Considerations
Agent trajectories may contain personal information that could persist in the knowledge file, so deployment on real user interactions would require filtering or anonymizing trajectories first; our experiments use benchmarks without real personal data. Finally, our evaluation covers six text-based, tool-mediated task streams and four model backbones, and it does not show that RIKA is safe for high-stakes domains such as medicine, law, or finance, where domain-specific validation and human oversight would be required.
References
Salaheddin Alzubi, Noah Provenzano, Jaydon Bingham, Weiyuan Chen, and Tu Vu. 2026. Evoskill: Automated skill discovery for multi-agent systems. arXiv preprint arXiv:2603.02766.
John R Anderson. 1982. Acquisition of cognitive skill. Psychological review, 89(4):369.
Lorin W Anderson and David R Krathwohl. 2001. A taxonomy for learning, teaching, and assessing: A revision of Bloom's taxonomy of educational objectives: complete edition. Addison Wesley Longman, Inc.
Parth Asawa, Christopher M Glaze, Gabriel Orlanski, Ramya Ramakrishnan, Benji Xu, Asim Biswal, Vincent Sunn Chen, Frederic Sala, Matei Zaharia, and Joseph E Gonzalez. 2026. Continual learning bench: Evaluating frontier ai systems in real-world stateful environments. arXiv preprint arXiv:2606.05661.
Hanxiang Chao, Yihan Bai, Rui Sheng, Tianle Li, and Yushi Sun. 2026. Stale: Can llm agents know when their memories are no longer valid? arXiv preprint arXiv:2605.06527.
Yixiong Chen, Xinyi Bai, and Alan Yuille. 2026. The compliance trap: Diagnosing how ai agents
consume conflicting memory. arXiv preprint arXiv:2607.10608.
Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. 2025. Mem0: Building production-ready ai agents with scalable long-term memory. arXiv preprint arXiv:2504.19413.
DeepSeek-AI. 2026. DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence. Technical Report.
Jon Doyle. 1979. A truth maintenance system. Artificial intelligence, 12(3):231–272.
Google DeepMind. 2025. Gemini 3 Flash Model Card. Model Card.
Wentao Hu, Zhendong Chu, Yiming Zhang, Junda Wu, Ming Jin, Xiangyu Zhao, Yilei Shao, Yanfeng Wang, and Qingsong Wen. 2026a. Skillbrew: Multi-objective curation of skill banks for llm agents. arXiv preprint arXiv:2605.29440.
Yuanzhe Hu, Yu Wang, and Julian McAuley. 2026b. Evaluating memory in llm agents via incremental multi-turn interactions. In International Conference on Learning Representations, volume 2026, pages 156259–156291.
Xunhao Lai, Weiqi Xu, Yufeng Yang, Qiaorui Chen, Yang Xu, Lunbin Zeng, Xiaolong Li, Haohai Sun, Haichao Zhu, Vito Zhang, Jinkai Hu, Jiayao Li, Rui Gao, Zekun Li, Songquan Zhu, Jingkai Zhou, and Pengyu Zhao. 2026. MiniMax Sparse Attention. arXiv preprint arXiv:2606.13392.
Jiaxi Li, Ke Deng, Yun Wang, Jingyuan Huang, Yucheng Shi, Qiaoyu Tan, Jin Lu, and Ninghao Liu. 2026. Online skill learning for web agents via state-grounded dynamic retrieval. arXiv preprint arXiv:2606.04391.
Jiaqi Liu, Yaofeng Su, Peng Xia, Siwei Han, Zeyu Zheng, Cihang Xie, Mingyu Ding, and Huaxiu Yao. 2026. Simplemem: Efficient lifelong memory for llm agents. arXiv preprint arXiv:2601.02553.
Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, and 3 others. 2024. AgentBench: Evaluating LLMs as agents. In International Conference on Learning Representations, volume 2024, pages 52989–53046.
Bill MacCartney and Christopher D Manning. 2007. Natural logic for textual inference. In Proceedings of the ACL-PASCAL workshop on textual entailment and paraphrasing, pages 193–200.
Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. 2024. Evaluating very long-term conversational memory of llm agents. In Proceedings of the 62nd
Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13851–13870.
Sewon Min, Kalpesh Krishna, Xinxi Lyu, Mike Lewis, Wen-tau Yih, Pang Koh, Mohit Iyyer, Luke Zettlemoyer, and Hannaneh Hajishirzi. 2023. Factscore: Fine-grained atomic evaluation of factual precision in long form text generation. In Proceedings of the 2023 conference on empirical methods in natural language processing, pages 12076–12100.
Thomas O Nelson. 1990. Metamemory: A theoretical framework and new findings. In Psychology of learning and motivation, volume 26, pages 125–173. Elsevier.
Tai Nguyen and Eric Wong. 2023. In-context example selection with influences. arXiv preprint arXiv:2302.11042.
Jingwei Ni, Yihao Liu, Xinpeng Liu, Yutao Sun, Mengyu Zhou, Pengyu Cheng, Dexin Wang, Erchao Zhao, Xiaoxi Jiang, and Guanjun Jiang. 2026. Trace2skill: Distill trajectory-local lessons into transferable agent skills. arXiv preprint arXiv:2603.25158.
OpenAI. 2026. GPT-5.4 Thinking System Card. System Card.
Siru Ouyang, Jun Yan, I-Hung Hsu, Yanfei Chen, Ke Jiang, Zifeng Wang, Rujun Han, Long T. Le, Samira Daruki, Xiangru Tang, Vishy Tirumalashetty, George Lee, Mahsan Rofouei, Hangfei Lin, Jiawei Han, Chen-Yu Lee, and Tomas Pfister. 2026. Reasoningbank: Scaling agent self-evolving with reasoning memory. In International Conference on Learning Representations, volume 2026, pages 94327–94354.
Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G Patil, Ion Stoica, and Joseph E Gonzalez. 2023. Memgpt: Towards llms as operating systems. arXiv preprint arXiv:2310.08560.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: Language agents with verbal reinforcement learning. Advances in neural information processing systems, 36:8634–8652.
Yiheng Shu, Bernal Jiménez Gutiérrez, Saisri Padmaja Jonnalagedda, Yuguang Yao, Huan Sun, and Yu Su. 2026. AgentCL: Toward rigorous evaluation of continual learning in language agents. arXiv preprint arXiv:2606.02461.
Theodore R Sumers, Shunyu Yao, Karthik Narasimhan, and Thomas L Griffiths. 2023. Cognitive architectures for language agents. arXiv preprint arXiv:2309.02427.
Abraham Wald. 1992. Sequential tests of statistical hypotheses. In Breakthroughs in statistics: Foundations and basic theory, pages 256–298. Springer.
Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. 2023. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291.
Zora Zhiruo Wang, Jiayuan Mao, Daniel Fried, and Graham Neubig. 2024. Agent workflow memory. arXiv preprint arXiv:2409.07429.
Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang, and Dong Yu. 2024. Longmemeval: Benchmarking chat assistants on long-term interactive memory. arXiv preprint arXiv:2410.10813.
Shan Xie, Man Luo, Chadly Daniel Stern, Mengnan Du, and Cheng Lu. 2025. Demoshapley: Valuation of demonstrations for in-context learning. In 2025 IEEE International Conference on Big Data (BigData), pages 4081–4090. IEEE.
Zidi Xiong, Yuping Lin, Wenya Xie, Pengfei He, Zirui Liu, Jiliang Tang, Himabindu Lakkaraju, and Zhen Xiang. 2026. How memory management impacts llm agents: An empirical study of experience-following behavior. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 623–645.
Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. 2026. A-mem: Agentic memory for llm agents. Advances in Neural Information Processing Systems, 38:17577–17604.
Tianyu Yang, Sudipta Paul, Vijay Srinivasan, Vivek Kulkarni, and Srinivas Chappidi. 2026a. Trustmem: Learning trustworthy memory consolidation for llm agents with long-term memory. arXiv preprint arXiv:2606.25161.
Yifan Yang, Ziyang Gong, Weiquan Huang, Qihao Yang, Ziwei Zhou, Zisu Huang, Yan Li, Xuemei Gao, Qi Dai, Bei Liu, Kai Qiu, Yuqing Yang, Dongdong Chen, Xue Yang, and Chong Luo. 2026b. Skil-lopt: Executive strategy for self-evolving agent skills. arXiv preprint arXiv:2605.23904.
Dylan Zhang, Yanshan Lin, Zhengkun Wu, Yihang Sun, Bingxuan Li, Dianqi Li, and Hao Peng. 2026a. Useful memories become faulty when continuously updated by llms. arXiv preprint arXiv:2605.12978.
Kai Zhang, Xiangchao Chen, Bo Liu, Tianci Xue, Zeyi Liao, Zhihan Liu, Xiyao Wang, Yuting Ning, Zhaorun Chen, Xiaohan Fu, Jian Xie, Yuxuan Sun, Boyu Gou, Qi Qi, Zihang Meng, Jianwei Yang, Ning Zhang, Xian Li, Ashish Shah, and 11 others. 2025. Agent learning via early experience. arXiv preprint arXiv:2510.08558.
Qizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru, Jay Rainton, Chen Wu, Mengmeng Ji, Hanchen Li, Urmish Thakker, James Zou, and Kunle Olukotun.
2026b. Agentic context engineering: Evolving contexts for self-improving language models. In International Conference on Learning Representations, volume 2026, pages 86069–86100.
Junhao Zheng, Xidi Cai, Qiuke Li, Duzhen Zhang, ZhongZhi Li, Yingying Zhang, Le Song, and Qianli Ma. 2025. LifelongAgentBench: Evaluating LLM agents as lifelong learners. arXiv preprint arXiv:2505.11942.
Wanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye, and Yanlin Wang. 2024. Memorybank: Enhancing large language models with long-term memory. In Proceedings of the AAAI conference on artificial intelligence, volume 38, pages 19724–19731.
Appendix
A Protocol for Harmful-Entry Evaluation
This section details the artifact-freezing schedule, entry-use conditions, and repeated paired evaluations used in Section 3.1. We use DeepSeek-V4-Flash throughout this diagnostic evaluation. Each comparison pairs the complete artifact with a version that removes only the target entry.
A.1 Artifact Freezing and Evaluation Windows
For each method and task stream, we evaluate three frozen artifacts. We freeze each artifact at the prescribed point in its task stream and evaluate its entries on subsequent instances. All instance indices below are one-based and refer to positions in the ordered stream for the corresponding run.
• DB: we freeze the artifact immediately after instance 30 and evaluate its entries on the final 10 instances (31–40). The schema migration occurs between instances 20 and 21, before the artifact is frozen, so the evaluation window lies entirely within the post-migration stage.
• COHORT: we freeze the artifact after instance 10, halfway through the 20-instance stream, and evaluate its entries on instances 11–20.
• CODEBASE: we freeze the artifact after instance 9 (the Tablib stage) and evaluate its entries on instances 10–19 (the Tenacity stage).
Each evaluated artifact therefore contains only experience available at its freezing point, and every evaluation instance occurs strictly after that point. The artifact remains fixed throughout its evaluation window and across all five paired evaluation seeds for each entry.
A.2 Entry-Level Reuse Conditions
To ensure consistent entry granularity across systems, we first decompose every frozen artifact from every evaluated system into atomic claims. Each evaluation entry a denotes one atomic claim, and A denotes the complete collection of claims for that artifact. This normalization gives all systems the same unit of comparison, irrespective of how their original artifacts group knowledge into entries. We evaluate each claim by removing only that claim while retaining all other claims in the artifact. For retrieval-based systems, we include an instance in only if the system's retrieval mechanism would select a for that instance from the complete frozen artifact. The original system's exposure pattern determines the eligible task set for each claim. Entries that are never retrieved during the evaluation window, and hence have , are excluded from both evaluation and the denominator of the harmful-entry rate. For systems that supply the entire artifact as a knowledge file, all entries are exposed at every instance, so all instances in the corresponding evaluation window are eligible.
For each eligible instance, we first obtain the knowledge context from the complete frozen artifact A. The paired entry-removed condition deletes only a from that context, keeping all other supplied entries unchanged. For retrieval-based systems, both conditions use the same retrieved context, with only the target atomic claim removed in the paired condition. For systems that supply the entire artifact, the paired condition supplies . This measures the effect of retaining a while keeping the rest of the supplied context fixed.
A.3 Repeated Paired Evaluations and Harmfulness Classification
For each fixed artifact A and each eligible entry with , we perform five paired evaluations on the subsequent eligible task instances, indexed by evaluation seed . The same normalized artifact A, target atomic claim a, and claim-removed artifact are used in all five pairs. Within each seed, the two conditions are evaluated on the same eligible task instances with matched task settings and environment action budgets. Thus, each atomic claim is assessed within its own frozen artifact across all five evaluation seeds. For each seed, we first average per-instance scores over the eligible instances in the prescribed evaluation window, using the reward definitions in Appendix E.2. We then compute the paired score difference
where and are the mean scores on the same entry-specific task set using the complete artifact and the artifact with only removed, respectively. For this fixed artifact and entry, the estimated effect is the mean of the five paired differences, .
Following the uncertainty convention in Appendix E.4, we compute a 95% Student-t confidence interval from the variation in paired score differences across seeds:
where is the sample standard deviation of the five differences. An entry is classified as harmful only when the entire interval lies below zero.
Harmful-entry rates and aggregation. For artifact , let be the number of eligible entries and the number classified as harmful under the five-seed paired evaluation above. Its harmful-entry rate is . All eligible atomic claims contribute to ; counts the claims satisfying the harmfulness criterion. For each method and task stream, we report the unweighted arithmetic mean of the three artifact-level rates,
Table 1 expresses as a percentage. We average the three rates rather than pooling entries across artifacts; each artifact receives equal weight regardless of its number of eligible entries. The three artifacts and the five evaluation seeds serve distinct roles: harmfulness is assessed for each entry using five paired evaluations within its fixed artifact, then the resulting rates are averaged across artifacts.
A.4 Reliability of Admission Routing
To directly assess the reliability contribution of admission routing, we apply the harmful-entry protocol above to RIKA and the three routing variants in Section 6.2: Immediate-only admits every claim immediately, Deferred-only defers every claim, and Random Router assigns routes randomly while preserving RIKA's routing ratio. All four use DeepSeek-V4-Flash on DB, COHORT, and CODEBASE. The evaluated artifact is the frozen knowledge file supplied to the task agent, decomposed into atomic claims using the same normalization as above. The evaluation covers the claims exposed to the task agent.
We use exactly the same atomic-claim normalization, freezing points, subsequent evaluation windows, claim-removal conditions, and harmfulness criterion as in Appendix A. For each variant and task, we evaluate three frozen artifacts, with five paired evaluation seeds for every eligible entry in each fixed artifact. An entry is harmful only if the 95% confidence interval of its paired performance difference lies entirely below zero. Table 6 reports the unweighted mean of the three artifact-level harmful-entry percentages. This comparison measures the harmfulness of retained knowledge and complements the task-performance results in Table 4.
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| RIKA | 3.7 | 6.2 | 5.7 |
| Immediate-only | 22.1 | 16.3 | 20.1 |
| Deferred-only | 5.9 | 5.3 | 6.9 |
| Random Router | 14.2 | 19.6 | 15.2 |
Table 6: Harmful-entry rates (%) under admission-routing ablations. All variants follow the same harmful-entry evaluation protocol.
B EKA with Alternative Extractors
Integration. The adapted variants use only the extraction component of SkillOpt or Trace2Skill in place of RIKA's hierarchical extractor. All subsequent stages use EKA: atomization, immediate/deferred routing, semantic relation judgment, evidence accumulation, admission and forgetting, and knowledge-state rendering and context injection.
Evaluation protocol. We follow the setup in Section 5.1 and Appendix E.4, using DeepSeek-V4-Flash on DB, COHORT, and CODEBASE. Table 2 reports mean stream-level scores over five runs with the same fixed corpus and run-indexed task ordering as the main experiments. Both adapted variants use RIKA's default downstream settings: batch size , immediate threshold 1, deferred threshold , and forgetting window . Context management and model settings follow Appendix E.3.
The comparison with each original system measures the combined effect of replacing its downstream processing with EKA, including atomization and evidence-based reuse. Section 6.2 examines admission routing within RIKA.
C Prompts and Worked Example
This section specifies RIKA’s task-independent prompts, operational instructions, and output fields. Extraction prompts receive only the current trajectory batch and, for second-order extraction, the corresponding first-order outputs. All components are instructed to preserve evidential scope and to avoid filling missing details with model knowledge.
C.1 Prompt Templates and Output Schemas
Feedback-grounding requirement. All extracted claims must be grounded, directly or indirectly, in environment feedback contained in the source trajectories. Here, environment feedback includes environment observations, tool outputs, errors, and task outcomes. Each candidate must identify the relevant feedback and its connection to the claim; actions and agent reasoning provide context but do not independently justify extraction. Indirect grounding may involve inference or abstraction through factual or procedural claims, but must remain traceable to the original feedback. Claims without such a connection are excluded before admission routing.
Shared extraction instruction. Each extractor receives the following common instruction, followed by a type-specific objective:
Extract only reusable claims that have a direct or indirect grounding in environment feedback in the supplied trajectories. Environment feedback includes environment observations, tool outputs, errors, and task outcomes. Start from this feedback and identify what it establishes or reasonably suggests. Actions, plans, and agent reasoning may provide context, but cannot independently ground a claim; do not extract generic knowledge merely because it appears in the trajectory. For every claim, cite the minimal feedback spans, mark the grounding as direct or indirect, and explain the connection. For indirect claims, state the inference or abstraction and what remains unverified; trace any first-order parent claims back to their original feedback. Write self-contained claims whose scope states the task, entities, conditions, and environment version needed for reuse. Preserve uncertainty and exceptions. Do not infer success from an attempted action or present a hypothesis as an observed fact. Exclude every claim without this feedback connection. Return an empty list if no eligible reusable claim exists.
The factual and procedural extractors receive a serialized trajectories field. The conceptual extractor additionally receives factual_items, and the metacognitive extractor additionally receives procedural_items. These first-order items include their IDs, scopes, feedback spans, grounding explanations, and provenance fields.
The four type-specific objectives are:
• Factual extractor: identify concrete properties of entities, schemas, states, tool behavior, feedback, and observed outcomes. Cite the environment feedback establishing or suggesting each property, and keep statements tied to the versions and conditions actually observed.
• Procedural extractor: identify executable operations or workflows whose behavior is grounded in environment feedback in the trajectories. Specify ordered actions, required inputs or tools, prerequisites, expected outputs, and observed failure-recovery steps. Link the relevant actions to observed tool outputs, errors, or outcomes. Action sequences alone do not qualify. Do not claim that a procedure is generally effective merely because it appeared in a successful trajectory.
• Conceptual extractor: given the trajectories and extracted factual claims, identify relations or regularities that organize multiple facts. Each conceptual claim must cite the factual claim IDs on which it depends, trace them to the original feedback, and explain the abstraction connecting that feedback to the claim. It must not merely restate one fact.
• Metacognitive extractor: given the trajectories and extracted procedural claims, identify evidence-grounded guidance about when to select, avoid, monitor, or revise a procedure. Each metacognitive claim must cite the procedural claim IDs on which it depends, trace them to the original feedback, and explain how the observed success, failure, or recovery motivates the guidance.
Each extracted item follows a shared field-level schema:
• id, type, and claim: a local identifier, one of the four knowledge types, and a self-contained claim.
• scope: the task family, entities, conditions, prerequisites, and environment or schema version under which the claim is stated.
• source_trajectories and evidence_spans: immutable trajectory IDs and the minimal environment-feedback spans grounding the claim; action or reasoning context may accompany but cannot replace those spans.
• grounding_type and grounding_explanation: direct or indirect grounding, and a short explanation linking the cited feedback to the exact claim, including any inference, abstraction, or unverified extension.
• parent_ids: empty for first-order factual and procedural claims; factual IDs for conceptual claims; and procedural IDs for metacognitive claims.
Atomization. The atomizer is conditioned on the knowledge type and receives one extracted claim at a time:
Decompose the extracted claim into the smallest claims that can each stand alone and be reused independently. Split conjunctions only when each part remains meaningful with its own scope and evidence. Do not split inseparable steps, remove qualifiers, broaden scope, or introduce new content. For each atom, retain only the feedback spans that ground that atom, preserve the relevant parent lineage, and update the direct or indirect grounding explanation. Exclude an atom if no feedback span directly or indirectly grounds it. If the extracted claim is already atomic and feedback-grounded, return it unchanged.
For each output atomic claim, the schema contains atom_id, parent_id, type, claim, scope, source_trajectories, evidence_spans, grounding_type, and grounding_explanation.
Admission routing. For every eligible atomic claim, the router receives the claim, its cited environment-feedback spans, and its grounding explanation:
First verify that the claim has a direct or indirect connection to the cited environment feedback. Exclude a claim lacking this connection rather than routing it to DEFERRED. For an eligible claim, decide whether that feedback establishes the exact claim under its stated scope. Route it to IMMEDIATE only when environment observations, tool outputs, or explicit feedback are sufficient without extrapolation, assumed causality, or unavailable information. Route it to DEFERRED only when it is a feedback-grounded inference or generalization whose full scope needs corroboration, such as an extrapolation beyond the observed conditions or a causal interpretation not yet isolated. Knowledge type alone must not determine the route.
For eligible claims, the router returns atom_id, route, witness_trajectory_ids, witness_spans, and a short justification identifying either the direct warrant or both the feedback basis and the extension still requiring support.
Relation judgment. The relation judge receives a new atomic claim and relevant canonical claims from the persistent state:
Compare the claims under their explicit scopes. Return every material relation among EQUIVALENT, SPECIALIZE, GENERALIZE, CONTRA-DICT, OVERLAP, and INDEPENDENT. Treat two claims as equivalent only if they entail each other under the same scope. For directional entailment, identify which claim is more specific. Mark contradiction only when the scopes overlap and both claims cannot hold there. Shared vocabulary alone is not a relation. Cite the phrases and scope conditions that determine the judgment; do not alter either claim.
Each judgment contains new_id, stored_id, a set relations, entailment_direction when applicable, overlap_scope, and rationale. These judgments feed into the evidence-count and admission updates specified in Table 7.
Programmatic rendering and task-agent injection. Rendering programmatically concatenates the admitted claims. After each batch, admission is recomputed with thresholds of 1 for immediate claims and k for deferred claims. The program groups all currently admitted claims under the four knowledge-type headings and serializes each canonical claim once as a scoped bullet, as described in Appendix D.5. Stored claim text and its scope, prerequisites, exceptions, and environment version are preserved; internal IDs, evidence counts, provenance, routing decisions, and relation labels are omitted. Empty type headings are omitted. The resulting document replaces the previous knowledge block at each batch boundary.
C.2 End-to-End Worked Example
The following stylized DB example illustrates the information flow across three successive batches, each containing one relevant trajectory, with .
In the first batch, inspects schema version 1 and observes an orders(status, amount) table with completed and pending orders. For a realized-revenue query, summing all matching orders gives an incorrect answer, whereas filtering status = completed gives the correct answer. In the second batch, observes the same contrast on different order records under another query condition in version 1. Neither trajectory involves a schema change. After migration, attempts the old query, which fails because the old fields are unavailable. Inspection reveals version 2 fields state and value, with labels settled and pending. Summing all matching orders again gives an incorrect answer, whereas filtering state = settled gives the correct answer.
Hierarchical extraction and atomization. From , the factual extractor records the schema fields, lifecycle values, and feedback on the aggregation results. A compound schema description is atomized into separate claims about the lifecycle field and amount field, preserving their version scope and evidence spans. The procedural extractor records the demonstrated operation: in version 1, sum amount over orders satisfying the query conditions and status = completed.
Conditioned on the factual outputs, the conceptual extractor proposes: For realized-revenue queries in this order-processing task stream, finalized orders contribute to revenue, whereas pending orders do not. This relates the observed lifecycle states to their revenue contribution. Its content and scope remain unchanged across all three batches and describe the relationship between lifecycle states and revenue contribution.
The metacognitive claim is first extracted from , conditioned on the procedural record of failed reuse, schema inspection, and successful query revision: When a previously successful query fails after a schema change, re-inspect the current schema before reusing the earlier query procedure. The conceptual and metacognitive claims retain links to their factual and procedural parents, respectively. The metacognitive claim is supported by feedback from the schema-change recovery in .
Routing decisions. Version-specific schema facts are routed to IMMEDIATE because inspection directly establishes them. The demonstrated filtered-sum procedures are also immediate under the observed task conditions. The conceptual claim is deferred because its task-stream scope extends beyond the records and conditions observed in one trajectory. The metacognitive claim is deferred when it appears in the third batch because it generalizes one recovery into guidance for future schema changes. The schema-inspection output directly grounds the version-specific facts; the query-result feedback directly grounds the procedures under the observed conditions. The same feedback indirectly grounds the conceptual generalization through its factual parents, while the error and recovery feedback indirectly grounds the metacognitive guidance through its procedural parents. These decisions depend on evidence and scope, not knowledge type.
For comparison, suppose the extractor also proposes All database versions in this task stream use completed as the finalized label. Despite being factual in form, this overbroad claim is deferred because a version 1 observation does not establish its cross-version scope.
By contrast, a proposed claim that adding an index makes the query faster is excluded before routing: these trajectories contain no timing or query-plan feedback from which to derive it. An agent's suggestion to add an index would not supply the missing environment feedback. This differs from the fixed-label claim, which has a feedback basis but overgeneralizes its scope.
Subsequent support and counterevidence. The conceptual claim is independently re-derived from each trajectory and consolidated into entry . Each trajectory supplies one fresh source ID, increasing its evidence count from 1 to 2 to 3. It reaches k = 3 and is admitted after the third batch. Each trajectory contributes one source-level evidence unit, with parent claims and duplicate derivations linked to that same source.
The metacognitive entry is created only after , with , and remains pending. The schema-change recovery in supplies the supporting trajectory for this guidance.
In this illustration, the overbroad fixed-label claim is also re-derived from , raising its count from 1 to 2. The observation of settled in provides opposing evidence, reducing it to 1. It remains pending and is not rendered. The version 1 fact remains valid within its historical scope, which does not overlap the version 2 counterexample. New version 2 facts and the demonstrated query procedure are admitted through the immediate route.
Batch-wise reassessment. To illustrate the same rule for a previously admitted claim, consider a deferred claim with and . If the next batch supplies one opposing trajectory and no new support, then . The claim remains in the state but is omitted from the next knowledge file. If a later supporting trajectory arrives before the claim is forgotten, it restores the cumulative count to 3, making the claim eligible again and resetting its below-threshold counter. An immediate claim uses the same rule with threshold 1: a decrease from 1 to 0 makes it pending and starts its below-threshold counter. For either route, the claim is forgotten only after m consecutive batches below its admission threshold. A batch whose updated evidence remains below threshold increments this counter.
Rendered knowledge. After the third batch, the admitted entries produce the following document:
Factual Knowledge
• In schema version 1, orders.status includes completed and pending.
• In schema version 1, order amounts are stored in orders.amount.
• In schema version 2, orders.state includes settled and pending.
• In schema version 2, order amounts are stored in orders.value.
Conceptual Knowledge
• For realized-revenue queries in this order-processing task stream, finalized orders contribute to revenue, whereas pending orders do not.
Procedural Knowledge
• In schema version 1, sum amount over orders satisfying the query conditions and status = completed for the observed realized-revenue task.
• In schema version 2, sum value over orders satisfying the query conditions and state = settled for the corresponding observed task.
The metacognitive and overbroad fixed-label claims remain pending and are omitted, along with internal provenance, evidence counts, and relation annotations. The rendered document includes headings for knowledge types represented in the admitted set. Each entry is assessed using evidence relevant to its own content and scope.
D Algorithm and State-Update Details
Algorithm 1 and Table 7 specify the updates in Sections 4.4.2–4.5. Both admission routes use the same evidence-update procedure, with thresholds of 1 for immediate claims and k for deferred claims.
D.1 Claim Schema and Persistent State
The state contains canonical claims, entailment edges, other relation annotations, and an observation ledger. Each stored claim has:
• Content and scope: canonical ID, atomic content, aliases, knowledge type, task family, entities, prerequisites, and environment/schema version.
• Provenance and evidence: source trajectory IDs, batches, environment-feedback spans, direct or indirect grounding and its explanation, extraction lineage tracing parent claims to original feedback, batch-level support and opposition counts, and cumulative net evidence .
• Routing and activity: admission route and its source justification; creation and last-evidence batches; and below-threshold counter. Admission is derived from the current evidence count and route after each batch.
• Relations: incident edges and judgments with their provenance.
The admitted set is recomputed from the claims in . Claims below their admission threshold remain pending until they meet the forgetting condition. Forgetting removes the claim, its stored evidence, and its incident relations from the persistent state. If equivalent knowledge is extracted again later, it is processed as a new claim.
D.2 Batch Evidence Counts and Graph Updates
After each batch, the model outputs evidence counts based on the batch trajectories and the semantic relations between extracted and stored claims. A trajectory contributes support when new environment observations or task feedback ground an equivalent claim or a claim that entails the stored claim. Extraction is conditioned on the current trajectory batch and the corresponding first-order outputs. Evidence increments require new environment observations or task feedback supporting the claim.
Same-scope equivalent claims are consolidated, with their provenance and graph relations retained. If their admission routes disagree, the merged claim falls back to DEFERRED. In particular, an existing deferred claim remains deferred when a newly extracted equivalent claim is immediate. Changed scopes remain separate. Entailment edges point from more specific to more general claims, and the graph remains acyclic.
Let and denote the supporting and opposing evidence counts assigned from batch .
The cumulative net evidence is updated as
with initial count zero for a new claim before its source evidence is incorporated. The main text’s rules describe a single supporting or opposing observation. Support follows entailment from specific claims to reachable generalizations; opposition requires a grounded contradiction within the target’s scope. All active claims, including previously admitted claims, receive evidence updates. Fresh evidence is grounded in the current batch trajectories.
D.3 Batch-wise Admission and Forgetting
For a stored claim v, the route-specific threshold is
After updating evidence and applying forgetting, recompute the admitted set
Here is the current cumulative net evidence after batch j. Immediate claims therefore need one net unit of evidence, while deferred claims need at least k. The route is retained with the claim, with disagreements during equivalent-claim merging resolved as deferred; admission is recalculated from the updated state after every batch. Previously admitted claims receive the same support and opposition updates as other active claims. Counterevidence reduces the cumulative net evidence used in the batch-wise admission decision. A surviving claim can be included again whenever its cumulative evidence meets its threshold.
A claim is forgotten if its evidence count remains below its admission threshold for m consecutive batches. Let denote its number of consecutive below-threshold batches. After incorporating batch j:
The counter is initialized to zero when a claim is created, before evaluating its first batch. A claim first below threshold in batch j is therefore forgotten after batch if it remains below threshold throughout. Each batch whose updated evidence count remains below threshold increments the counter, as specified in Equation 7. Until the counter reaches m, the claim remains pending and is excluded from the rendered file. At , delete the claim, its evidence, and its incident relations. Later extraction of equivalent knowledge initializes a new claim and its evidence and activity counters.
Configuration. The default batch size is n = 5, the deferred admission threshold is k = 3, the immediate threshold is 1, and the forgetting window is m = 3 completed batches. Thus, a claim is forgotten after three consecutive batches below its admission threshold; reaching the threshold resets the counter.
D.4 End-to-End Pseudocode
Algorithm 1 combines model-based extraction, atomization, routing, and relation judgment with model-produced batch evidence counts, cumulative state updates, and batch-wise admission.
Atomic claims enter routing after their direct or indirect connection to environment feedback is established. Each surviving atom preserves the relevant feedback spans and grounding explanation; second-order claims remain traceable through their parents to the original feedback. Unresolved relations are re-judged or withheld. Extraction uses the current trajectories and corresponding first-order outputs. Each claim's admission route is determined by its cited environment feedback, while entailment edges transfer support. Forgetting and serialization follow Appendices D.3 and D.5.
D.5 Deterministic Rendering and Context Injection
The renderer programmatically concatenates all claims in the current admitted set , grouped by knowledge type. Each canonical claim is included once with its scope and qualifications; internal evidence records and routing metadata are omitted. An empty admitted set yields an empty file.
Insert the complete after system/tool instructions and before each task in as scoped guidance, replacing the previous knowledge block. Keep it fixed within the batch and preserve it during history compaction. Completed trajectories update the next file, and the complete admitted knowledge document is supplied to every task in the following batch.
| Relation or event | Claim and graph update | Evidence and admission update |
|---|---|---|
| EQUIVALENT | Merge claims and rewire edges. | Incorporate batch support counts; conflicting routes fall back to deferred. |
| SPECIALIZE | Keep both; add . | Transfer support along and onward to reachable generalizations. |
| GENERALIZE | Keep both; add . | Transfer support along and onward to reachable generalizations. |
| CONTRADICT | Keep both; annotate conflict in . | Apply the batch opposition count to the target; assess both claims by their own thresholds. |
| OVERLAP | Keep both; annotate overlap in . | Preserve each claim's evidence count. |
| INDEPENDENT | Keep claims separate and preserve their existing relations. | Initialize unmatched claims from their batch evidence counts; leave existing evidence unchanged. |
| Admission | Recompute the admitted set after every batch. | A surviving claim is admitted iff , where for immediate and for deferred claims. |
| Pending | Retain a surviving claim below its threshold. | Preserve accumulated evidence and route across pending batches. |
| Forgetting | Delete the claim and its incident relations. | Forget after consecutive batches with . Reaching the threshold resets the counter; a below-threshold batch increments it. |
Table 7: State updates for a new claim and stored claim . Evidence updates precede forgetting and batch-wise admission.
Algorithm 1 Batched RIKA updates
Require: Ordered stream ; batch size ; deferred threshold ; forgetting window 1: ; empty file 2: for each consecutive batch , including a final partial batch do 3: ; assign immutable trajectory IDs and observation batches 4: ; ; ; 5: 6: Retain in only atoms with direct or indirect environment-feedback grounding 7: 8: , including new–new pairs 9: 10: ; resolve route disagreements as deferred and check cycles 11: 12: Update for all affected claims 13: for each active claim do 14: if ; otherwise 15: if then 16: ▷ New claims start with counter zero 17: else 18: 19: end if 20: if then 21: Delete , its evidence, and its incident relations from 22: end if 23: end for 24: 25: ▷ Recompute from current state 26: ; replace the knowledge block for the next batch 27: end for 28: return final
E Experimental Setup and Reproducibility
All experiments on Continual Learning Bench strictly follow the benchmark protocols and settings provided in its official GitHub repository (Asawa et al., 2026), including task-stream construction, stage boundaries, within-stage permutations, environment action budgets, and reward computa- tion. We apply these benchmark-defined protocols consistently across RIKA and all baselines. The following subsections summarize the benchmark settings and separately describe RIKA's model configuration and adaptation procedure.
E.1 Task Streams
We evaluate continual adaptation on six ordered task streams from Continual Learning Bench (Asawa et al., 2026):
• Blind Spectrum Monitoring (BSM) contains 90 scans divided into three fixed stages of 30 scans each. The stream progresses from five predominantly active wideband channels to a mixed wideband/narrowband grid, and finally to the full 13-channel grid.
• Cohort Studies (COHORT) contains 20 databases from five studies in the fixed order HERALD, MERIDIAN, MOSAIC, FORGE, and CADENCE, with four region/draw instances per study.
• Database Exploration (DB) contains 40 questions: 20 before and 20 after a schema migration.
• Exploitable Poker (POKER) contains 120 hands across five opponent stages of lengths 20, 30, 10, 35, and 25.
• Sales Prediction (SALES) contains 12 chronological forecasting instances covering 2027–2038.
• Codebase Adaptation (CODEBASE) contains nine Tablib issues followed by ten Tenacity issues.
Stage order and boundaries remain fixed across runs. Repeated runs permute instances only within stages, except for SALES, whose chronological order is preserved in every run.
E.2 Scoring
For each task stream, the run-level score is the arithmetic mean of its per-instance rewards. Rewards are defined as follows:
• BSM: interval-set intersection over union (IoU) over long-run available spectrum.
• COHORT: the reduction in mean binary survival Kullback–Leibler (KL) divergence, measured in bits, relative to a study-wide flat predictor.
• DB: 1−q/15 for a correct answer submitted after q exploratory queries, and zero for an incorrect answer or an exhausted query budget.
• POKER: chip profit divided by the big blind.
• SALES: unclipped WAPE skill, computed as , where WAPE denotes weighted absolute percentage error and and are the predicted and observed values, respectively.
• CODEBASE: for an issue solved at command t, and zero for an unsolved issue.
Because rewards have heterogeneous units and ranges, we normalize each task before averaging across streams, following Continual Learning Bench (Asawa et al., 2026). For a fixed backbone and method in Table 3, let be the mean per-instance reward of learning run s on task t, and let be the shared stateless score for that backbone and task, averaged over the five ICL stateless control runs (Table 8). The same is used for all methods under that backbone. Let be the benchmark-defined maximum reward and the fixed external reference score, taken from the GPT-5.4 stateless baseline in the benchmark's ICL reference run. This external reference is shared across backbones for score normalization, whereas is backbone-specific and is used to measure gain.
With T = 6 task streams and S = 5 runs per task, we report
The shared control and its remaining headroom are fixed across methods and learning runs for each backbone and task. We average over the five learning runs and equally over the six tasks. Aggregate score measures performance relative to the fixed external reference, whereas aggregate gain measures improvement relative to the backbone-specific shared stateless control, normalized by its remaining headroom. The two aggregate metrics use their respective denominators in Equations 8 and 9. Task-level SCORE and GAIN retain their raw reward units.
E.3 Model Configuration and Adaptation
We use gemini-3-flash-preview, the 0731 version of DeepSeek-V4-Flash, MiniMax-M3, and GPT-5.4. Within each experiment, the task agent and RIKA's auxiliary components use the same backbone. All four backbones share the following settings: temperature zero, a maximum output length of 8,192 tokens per call, and a task-agent context limit of 128k tokens with a 500-token reserve.
The task-agent context is cleared between instances, and the current knowledge document is re-injected at the start of each instance. RIKA updates its knowledge state every five completed instances by default; for SALES, which contains only 12 instances, we use . Auxiliary calls are recorded separately from the task agent's environment-action budget.
E.4 Repeated Runs and Uncertainty Estimates
We conduct five runs indexed by . These indices determine reproducible within-stage permutations of the same fixed instance corpus and environments. For SALES, all five runs use the same chronological stream.
We report the mean and sample standard deviation of the five run-level scores. We compute 95% Student-t confidence intervals with four degrees of freedom as
where is the mean run-level score, is its sample standard deviation across runs, and is the 97.5th percentile of the Student-t distribution with four degrees of freedom.
E.5 Shared Stateless Controls
For the main comparison in Table 3 and the ablation and sensitivity analyses in Appendix G, we use one shared stateless reference for each backbone and task stream. The reference is the mean of the five stateless runs from the corresponding ICL evaluation, using the common no-memory configuration without retaining experience across instances. These control runs are executed independently of the learning methods; their mean is reused for all methods under the same backbone and task.
For a fixed backbone and task stream, let denote the score of method in run , and let denote the score of the shared stateless control in run . Define . The reported quantities are
Thus, every method is evaluated against the same stateless reference within each backbone–task combination. Table 8 reports these shared reference scores.
For learning dynamics, the cumulative gain over the stateless control is defined as
where and are the rewards of a method and the stateless control at instance in run .
| Backbone | DB | Poker | Cohort | BSM | Sales | Codebase |
|---|---|---|---|---|---|---|
| GPT-5.4 | 0.138 | 1.113 | -0.007 | 0.219 | 0.466 | 0.498 |
| DeepSeek-V4-Flash | 0.060 | 0.652 | -0.118 | 0.219 | 0.514 | 0.512 |
| MiniMax-M3 | 0.136 | -0.135 | -0.005 | 0.220 | 0.197 | 0.373 |
| Gemini-3-Flash | 0.089 | 1.640 | -0.059 | 0.219 | 0.439 | 0.407 |
Table 8: Shared stateless performance averaged over five runs. For each backbone and task stream, the reference is the mean of the five stateless controls from the corresponding ICL evaluation. All methods in Table 3 use this same reference to compute Gain and normalized aggregate Gain; the ablation and sensitivity analyses use the corresponding DeepSeek-V4-Flash reference for Gain.
F Main Results with 95% Confidence Intervals
Tables 9–12 report the Score and Gain means in Table 3. Entries with intervals use the format mean ± 95% confidence-interval half-width. Score intervals follow the five-run Student-t definition in Appendix E.4; aggregate Score intervals use run-level aggregate scores. Bold means follow the main table and do not indicate statistical significance.
Conditional intervals for task-level Gain. We treat each shared stateless reference in Table 8 as fixed. Subtracting this constant shifts the Score interval without changing its half-width: if the Score interval is , the corresponding Gain interval is . These intervals quantify variation in learning performance conditional on the reported reference; they exclude uncertainty in estimating the stateless reference itself. Aggregate Gain intervals are reported for all four backbones.
G Additional Ablations and Sensitivity Analyses
All experiments in this section use DeepSeek-V4-Flash on DB, COHORT, and CODEBASE, following the setup in Section 5.1. Where reported, Gain values in Tables 13–19 use the same shared stateless controls as the main comparison (Table 8): , , and . For every variant, .
| Method | Metric | DB | Poker | Cohort | BSM | Sales | Codebase | Agg. |
|---|---|---|---|---|---|---|---|---|
| RIKA | Score | |||||||
| Gain | ||||||||
| ICL | Score | |||||||
| Gain | ||||||||
| Mem0 | Score | |||||||
| Gain | ||||||||
| ACE | Score | |||||||
| Gain | ||||||||
| Trace2Skill | Score | |||||||
| Gain | ||||||||
| SkillOpt | Score | |||||||
| Gain |
Table 9: GPT-5.4 results with 95% confidence intervals. Means match Table 3. Task-level Gain intervals condition on the fixed shared control.
| Method | Metric | DB | Poker | Cohort | BSM | Sales | Codebase | Agg. |
|---|---|---|---|---|---|---|---|---|
| RIKA | Score | |||||||
| Gain | ||||||||
| ICL | Score | |||||||
| Gain | ||||||||
| Mem0 | Score | |||||||
| Gain | ||||||||
| ACE | Score | |||||||
| Gain | ||||||||
| Trace2Skill | Score | |||||||
| Gain | ||||||||
| SkillOpt | Score | |||||||
| Gain |
Table 10: DeepSeek-V4-Flash results with 95% confidence intervals. Means match Table 3. Task-level Gain intervals condition on the fixed shared control.
| Method | Metric | DB | Poker | Cohort | BSM | Sales | Codebase | Agg. |
|---|---|---|---|---|---|---|---|---|
| RIKA | Score | |||||||
| Gain | ||||||||
| ICL | Score | |||||||
| Gain | ||||||||
| Mem0 | Score | |||||||
| Gain | ||||||||
| ACE | Score | |||||||
| Gain | ||||||||
| Trace2Skill | Score | |||||||
| Gain | ||||||||
| SkillOpt | Score | |||||||
| Gain |
Table 11: MiniMax-M3 results with 95% confidence intervals. Means match Table 3. Task-level Gain intervals condition on the fixed shared control.
| Method | Metric | DB | Poker | Cohort | BSM | Sales | Codebase | Agg. |
|---|---|---|---|---|---|---|---|---|
| RIKA | Score | |||||||
| Gain | ||||||||
| ICL | Score | |||||||
| Gain | ||||||||
| Mem0 | Score | |||||||
| Gain | ||||||||
| ACE | Score | |||||||
| Gain | ||||||||
| Trace2Skill | Score | |||||||
| Gain | ||||||||
| SkillOpt | Score | |||||||
| Gain |
Table 12: Gemini-3-Flash results with 95% confidence intervals. Means match Table 3. Task-level Gain intervals condition on the fixed shared control.
G.1 Full Results for Main-Text Ablations
Tables 13 and 14 report the complete results corresponding to the score-only Tables 4 and 5 in the main text. SCORE is the raw stream-level task score, while GAIN is the improvement relative to the shared stateless control in the same raw reward units.
| METHOD | DB | COHORT | CODEBASE | |||
|---|---|---|---|---|---|---|
| Score | Gain | Score | Gain | Score | Gain | |
| RIKA | 0.281 | +0.221 | -0.042 | +0.076 | 0.575 | +0.063 |
| Imm. Only | 0.225 | +0.165 | -0.089 | +0.029 | 0.540 | +0.028 |
| Def. Only | 0.265 | +0.205 | -0.070 | +0.048 | 0.557 | +0.045 |
| Random Router | 0.249 | +0.189 | -0.084 | +0.034 | 0.549 | +0.037 |
Table 13: Full admission-routing ablation results. The score-only version appears in Table 4.
| Method | DB | COHORT | CODEBASE | |||
|---|---|---|---|---|---|---|
| Score | Gain | Score | Gain | Score | Gain | |
| RIKA | 0.281 | +0.221 | -0.042 | +0.076 | 0.575 | +0.063 |
| Generic 1-type | 0.213 | +0.153 | -0.087 | +0.031 | 0.541 | +0.029 |
| Flat 4-type | 0.261 | +0.201 | -0.057 | +0.061 | 0.563 | +0.051 |
| -Factual | 0.253 | +0.193 | -0.060 | +0.058 | 0.547 | +0.035 |
| -Conceptual | 0.265 | +0.205 | -0.065 | +0.053 | 0.553 | +0.041 |
| -Procedural | 0.270 | +0.210 | -0.073 | +0.045 | 0.549 | +0.037 |
| -Metacognitive | 0.274 | +0.214 | -0.068 | +0.050 | 0.556 | +0.044 |
Table 14: Full ablations of knowledge types and hierarchical extraction. The score-only version appears in Table 5.
Confidence intervals. Tables 15 and 16 supplement the corresponding main-text ablations with confidence intervals. Intervals follow the five-run Student-t definition in Appendix E.4.
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| RIKA | |||
| Imm. Only | |||
| Def. Only | |||
| Random Router |
Table 15: Admission-routing ablations with 95% confidence intervals. Entries report mean Score ± 95% confidence-interval half-width.
G.2 Ablations on Structural Components
We ablate three supporting mechanisms in RIKA: atomization, claim forgetting, and state-based rendering.
As shown in Table 17, removing any of these components consistently reduces performance. Without atomization, scores drop by 0.014–0.017 on DB and COHORT, reflecting less precise relation matching over compound claims. Disabling
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| RIKA | |||
| Generic 1-type | |||
| Flat 4-type | |||
| -Factual | |||
| -Conceptual | |||
| -Procedural | |||
| -Metacognitive |
Table 16: Ablations of knowledge types and hierarchical extraction with 95% confidence intervals. Entries report mean Score ± 95% confidence-interval half-width.
| Method | DB | COHORT | CODEBASE |
|---|---|---|---|
| RIKA | |||
| -Atomize | |||
| -Forget | |||
| Incremental write |
Table 17: Ablations of atomization, forgetting, and state-based rendering. Entries report mean Score ± 95% confidence-interval half-width.
forgetting also degrades performance, as stale unsupported pending claims accumulate in the state. Finally, replacing state-based rendering with incremental rewriting yields further drops, including 0.032 on DB, showing the benefit of regenerating the knowledge file from the current accumulation state rather than repeatedly editing previous text.
G.3 Sensitivity Analysis
We study RIKA's sensitivity to the batch size , which controls how many completed trajectories are jointly processed during each state update, and the deferred admission threshold , which controls the net evidence required for a deferred claim to be admitted after each batch. The immediate threshold remains fixed at 1.
Batch size. Table 18 varies from 1 to 10.
| Batch Size | DB | COHORT | CODEBASE |
|---|---|---|---|
| n = 1 | 0.257 ± 0.018 | -0.058 ± 0.009 | 0.567 ± 0.017 |
| n = 3 | 0.285 ± 0.021 | -0.039 ± 0.018 | 0.574 ± 0.014 |
| n = 5 | 0.281 ± 0.016 | -0.042 ± 0.016 | 0.575 ± 0.020 |
| n = 10 | 0.277 ± 0.016 | -0.046 ± 0.013 | 0.573 ± 0.016 |
Table 18: Sensitivity to batch size . Entries report mean Score confidence-interval half-width.
Processing one trajectory at a time consistently underperforms batched extraction, with drops of 0.024 and 0.016 relative to on DB and COHORT, respectively. A single trajectory provides less context for distinguishing reusable regularities from task-specific observations or accidental correlations. Performance is otherwise stable for
, suggesting that cross-trajectory context is useful but large batches are unnecessary.
Admission threshold. Table 19 varies from 2 to 5.
| Threshold | DB | COHORT | CODEBASE |
|---|---|---|---|
Table 19: Sensitivity to admission threshold . Entries report mean Score confidence-interval half-width.
Performance is generally stable across the evaluated thresholds. These results support the use of accumulated evidence from multiple trajectories for admission.
H Computational Cost
Table 20 reports the costs in USD corresponding to the main results in Table 3.
| System | DeepSeek GPT-5.4 | Gemini V4 Flash | 3 Flash | MiniMax-M3 |
|---|---|---|---|---|
| ICL | $16.32 | $0.75 | $3.22 | $1.60 |
| Mem0 | $16.43 | $0.64 | $3.35 | $1.57 |
| ACE | $62.35 | $2.33 | $11.98 | $6.44 |
| Trace2Skill | $23.74 | $1.03 | $5.21 | $2.35 |
| SkillOpt | $46.33 | $2.15 | $8.33 | $4.57 |
| RIKA | $25.89 | $1.21 | $5.11 | $2.53 |
Table 20: Costs corresponding to the main results. Costs are reported in USD for the systems and model backbones evaluated in Table 3.