Manuscript Offprint
arXiv:2611.08643FinEvolveKG: Controlled and Attributable Prompt Evolution for Financial Knowledge Graph Construction
Abhinav Arun*
Domyn
New York, USA
Jayita Bhattacharyya*
Domyn
Bengaluru, India
jayita.bhattacharyya@domyn.com
Fabrizio Dimino
Domyn
New York, USA
Bhaskarjit Sarmah
Domyn
Gurugram, India
Stefano Pasquali
Domyn
New York, USA
Abstract
Financial institutions construct knowledge graphs (KGs) from shared SEC 10-Ks to serve risk analysis, portfolio management, and investment research, whose analytical needs differ. Extraction must adapt to evolving needs without fragmenting shared grounding, typing, and temporal rules. Hand-authored persona prompts scale poorly, and persona-specific fine-tuning adds cost. Weight-free prompt optimization offers an alternative, but unconstrained evolution of a monolithic prompt can rewrite shared rules alongside persona guidance, obscuring changes and complicating review. To bound this change surface, we introduce FinEvolveKG, a KG-construction harness that separates a reusable general block from a persona-policy block and mechanically confines GEPA, a reflective prompt optimizer, to the designated block. During persona adaptation, the approved general block remains byte-stable and every optimizer edit is localized to a separately versioned persona policy. A dual objective balances generic temporal-KG quality with persona-relevant facts, motifs, and multi-hop connectivity. We evaluate five mutation scopes on ticker-disjoint 10-K splits, with three seeds for the persona-conditioned arms (v3–v5) across three personas. On the three-seed mean, the complete two-stage block-constrained workflow (v4) improves over the frozen prompt baseline (v1) by 19.4–30.9% and over the tested unconstrained full-prompt workflow (v5) by 2.2–6.4%, leading v5 on both objective components and winning all nine paired-seed comparisons while remaining the most seed-stable arm in every persona. Without further optimization, v4 also exceeds v5 across all evaluated out-of-distribution (OOD) shifts. An SME audit supports using the generated triplets as ground truth; a blinded two-SME audit favors v4 over v5 in 70.1% of contrast-enriched judgments. These results show that mechanically attributable evolution can coexist with strong empirical performance, without attributing the gains causally to the boundary.
Keywords
Financial Knowledge Graphs, Prompt Optimization, Candidate Selection, Large Language Models, SEC Filings
This creates two linked requirements: evidence integrity and analytical utility. Existing financial KG pipelines and evaluation frameworks emphasize generic properties such as faithfulness, precision, relevance, comprehensiveness, schema validity, and temporal quality [2, 5]. Those properties are necessary, but a graph can satisfy them while omitting or disconnecting the structures a particular analyst uses. We therefore treat persona-relevant fact recovery, topicality, and motif connectivity as optimization-time structural proxies for analyst usability, while retaining generic KG quality as a separate objective component. These proxies complement rather than replace downstream question-answering or retrieval evaluation. For financial deployment, both components must remain visible: improving one analyst's view should not silently weaken the shared evidence contract.
Hand-authoring a prompt for every persona creates costly, independently maintained forks, while persona-specific fine-tuning adds training, versioning, and deployment overhead. Prompt evolution offers a weight-free middle path. GEPA reflects over sampled LM-program outputs and evaluator feedback to propose instruction updates [1]; FinReflectKG provides a finance-specific precedent for reflection-driven KG construction and evaluation [2]. We extend this principle from refining individual graph outputs to evolving the reusable instructions that govern extraction. Weight-free evolution, however, is not inherently controlled. In a monolithic prompt, generic grounding, typing, and temporal rules can change together with persona priorities. Although the resulting diff records what changed, it does not assign each edit to a stable functional concern.
This ambiguity matters in finance because extraction policies are reused across filings, analysts, and downstream applications, and production changes must be reviewable. We introduce
*Both authors contributed equally to this research.
FinEvolveKG to make the change boundary explicit. It separates a reusable General KG-Construction Block from a Use-Case & Persona Block and mechanically exposes only the designated block to GEPA. During persona adaptation, the approved general block remains a named, byte-stable dependency, so optimizer edits are localized to the persona policy and can be reviewed or released independently. The mechanical guarantee is deliberately narrow: it establishes edit attribution, not which phrase caused a score change or whether end-to-end behavior remained invariant. Persona instructions can still affect graph density, typing, and temporal output. FinEvolveKG therefore combines generic and persona objectives, structured financial-KG feedback, ticker-aware sampling, and diversity-aware search, and evaluates five mutation-scope arms (Table 1) to characterize behavior under different editable surfaces. We study three questions:
(1) Does the complete FinEvolveKG workflow (v4) deliver strong generic KG quality and persona utility relative to a frozen prompt (v1) and the tested unconstrained workflow (v5)?
(2) What edit-control, attribution, and reviewability properties follow from mechanically bounded persona adaptation, and what extraction policies emerge?
(3) How well do the optimized prompt artifacts generalize across sector/temporal shifts without further optimization?
Across three optimization seeds, v4 improves over both v1 and v5 for every persona and wins all nine paired-seed comparisons. Without further optimization, canonical seed-42 v4 also exceeds v5 across all evaluated out-of-distribution (OOD) shifts. These descriptive results support coexistence of control and performance rather than universal dominance. By construction, each v4 artifact pairs a fixed general-block version with an independently reviewable persona-block diff.
Our key contributions are:
- Finance-specific formulation. We formulate persona adaptation as evolving one financial KG-construction pipeline toward different financial personas while retaining shared evidence-integrity requirements.
- Controlled architecture. We introduce a mechanically enforced two-block design that confines edits and packages block versions, diffs, and scores as a reviewable artifact.
- Persona-aware optimization. We develop a GEPA harness that combines generic KG quality with persona facts, topicality, and motif connectivity, using structured feedback and diversity-aware search over ticker-stratified data.
- Empirical evaluation. Across five arms on ticker-disjoint splits and three personas (v3–v5 over three seeds; v1 and v2 fixed by design), v4 leads v1 and v5 in-domain and, at the canonical seed-42, exceeds v5 in all 15 OOD comparisons. A stratified SME audit supports the generated triplet sets as optimization targets, and a blinded two-SME audit favors v4 over v1 and v5 on contrast-enriched cases.
2 Related Work
Financial KG construction and evaluation. LLM-based KG systems increasingly separate extraction, schema induction, canonicalization, and consolidation. EDC formalizes an extract–define–canonicalize pipeline [21]; AutoSchemaKG induces schemas at scale [4]; and KGGen emphasizes information retention and graph consolidation [13]. Financial systems construct dynamic graphs from news or event-enhanced graphs from research text [9, 10]. FinReflectKG targets source-grounded temporal graphs from SEC filings, with EvalBench providing multi-dimensional assessment [2, 5]. Its reflection-driven agentic loop is the closest financial-domain inspiration for our use of GEPA; FinEvolveKG shifts the reflective search target to a mechanically bounded prompt block and studies controlled adaptation of one extraction pipeline for multiple consumers. Hyper-KGGen is the closest KG-specific self-improvement framework: it evolves a global skill library from stability-based feedback for document-level hypergraph extraction [7]. FinEvolveKG instead targets typed temporal financial graphs and separates reusable construction rules from persona policies with different mutation and review lifecycles.
Prompt and context optimization. APE generates and selects instructions, OPRO uses an LLM as the optimizer, and ProTeGi and TextGrad turn natural-language feedback into textual update signals [15, 18, 20, 23]. DSPy and MIPRO extend optimization from single prompts to instructions and demonstrations within LM programs [8, 14]. GEPA combines reflection over sampled program executions with evolutionary, Pareto-based candidate selection [1]. ACE and SkillOpt similarly improve external context artifacts without modifying task-model weights [19, 22]. FinEvolveKG adopts this weight-free adaptation paradigm but makes the permitted mutation region a financial system-design and experimental variable.
Controlled and modular prompt optimization. Modular Prompt Optimization applies section-local textual gradients within a fixed prompt schema, while Adaptive Prompt Structure Factorization discovers semantic factors and uses interventional factor-level scoring to select one for update [11, 16]. Both address limitations of monolithic rewriting. FinEvolveKG's distinction is a predefined, domain-owned boundary between shared financial-KG rules and persona policy, mechanical freezing through a separate program input, and sequential reuse of an already optimized shared block. The resulting guarantee concerns where edits can occur; effects on composed-program behavior remain empirical.
Persona-relative KG utility. Intrinsic graph scores do not establish usefulness to a downstream consumer. KGrEaT evaluates KGs through applications [6], while KGCQual measures interpretable construction properties including entity completeness, resolution, connectivity, and predicate preservation [12]. In finance, FinReflectKG-MultiHop shows that recurring two- and three-hop paths support analyst-style questions with compact evidence contexts [3]. FinEvolveKG moves this structural signal inside the optimization loop: persona motifs and connectivity reward graphs likely to support a consumer's reasoning pattern, but remain proxies rather than substitutes for downstream task validation.
3 Problem Formulation
Let be a filing chunk and a consumer persona. The extractor produces a typed temporal graph
where contains general construction instructions and contains use-case and persona instructions. Each triplet has head and tail entities and types, a relation, start and end timestamps, and a timestamp-source flag.
Two instruction layers. defines the canonical evidence behavior: grounding, permitted schema, naming and deduplication, temporal treatment, and output structure. defines the utility view: business purpose, priority entity and relation types, and characteristic graph motifs. A persona changes what supported information is emphasized or materialized; it does not authorize a different financial truth.
Edit guarantees and behavioral effects. The block boundary provides two mechanical guarantees: GEPA can modify only the designated block, and every resulting textual edit is attributable to that block. These guarantees concern the prompt artifact, not the extracted graph. Because the LLM interprets the general and persona instructions jointly, persona-block changes may still affect generic extraction behavior. We therefore measure generic quality after adaptation rather than assume behavioral preservation.
Optimization objective. For general quality and persona utility , persona adaptation maximizes
Including makes generic degradation visible to candidate selection and penalizes it in the blended score. This is a soft trade-off rather than a hard preservation constraint: a sufficiently large persona gain may still offset lower generic quality, so behavioral preservation remains empirical.
4 FinEvolveKG Methodology
FinEvolveKG combines a bounded instruction architecture, teacher-generated reference graphs and dual evaluation, and a reflective search harness. We describe these components in the order needed to interpret the five mutation scopes.
4.1 Mechanically Bounded Evolution
GEPA rewrites a DSPy predictor's signature. instructions. FinEvolveKG places the mutable block in that field and supplies the frozen block through fixed_guidelines, an input to every call. For each extraction call, the task model receives both blocks. However, only the block assigned to signature. instructions is represented in GEPA's candidate state; fixed_guidelines is injected unchanged into every call. Assigning the general or persona block to the mutable field therefore changes the permitted edit surface while holding the extractor, data path, and output schema fixed.
Sequential reuse. As summarized in fig. 1, the workflow has three lifecycle stages comprising four operational steps. First, optimize on the dedicated generic ground-truth dataset and select the
best validation candidate. Second, complete the first stage by recording that artifact as a named general-block version. Third, for each persona, instantiate an extractor whose fixed_guidelines equals that version and expose only to GEPA. Finally, evaluate the composed program on held-out filings and release the block versions with their scores, persona diff, and source configuration for production KG construction and downstream analyst workflows. The result is a versioned prompt artifact rather than a fine-tuned checkpoint. A new persona repeats only the final two steps; changing the general block requires its dependent persona blocks to be re-evaluated.
4.2 Ground-Truth Generation and Validation
We generate four ground-truth (GT) KG datasets. The dedicated generic dataset applies core KG-construction instructions with a general financial-user context and supplies the references used to optimize v2. The other three datasets correspond to risk analysis, portfolio management, and investment research. Each persona dataset applies the same generic instructions together with detailed persona instructions. Every chunk in a persona dataset is additionally tagged as persona-relevant or non-relevant. Regardless of this tag, both and are computed for every per-chunk persona KG, and v3-v5 optimization uses all available persona records without filtering or rebalancing by it; the tag only defines the secondary persona-relevant subset used for a canonical-run diagnostic. For a given persona, v3, v4, and v5 use exactly the same chunks and reference KGs. Their differences therefore arise from mutation scope and, for v4, the inherited v2 artifact rather than different corpus slices. Test and OOD reference KGs are used only for final scoring and are never exposed to GEPA.
A parameterized generation template varies domain, use case, goal, application, and end-user context without requiring a separately authored extraction template for every persona. Exhaustive manual construction and triplet-level validation of financial KGs is prohibitively costly at corpus scale. We compared Claude Sonnet-4-6, GPT-4o, and DeepSeek-V4-Flash on five of the eight 2024 IT training tickers using the GEPA metric families, excluding self-match F1. Claude led each persona on the equal-weight blend: .939 for risk analysis, .921 for portfolio management, and .858 for investment research. Its mean blended score across the three personas was .906, exceeding GPT-4o's .791 and DeepSeek's .690. This relative result motivated generator selection but does not independently establish reference validity.
We therefore conducted a stratified audit of 50 chunks balanced across five IT tickers and five major 10-K sections, with two chunks per ticker-section cell, while avoiding administrative boilerplate. A financial-domain SME blindly evaluated each Claude-generated triplet set against its source chunk under the generic and three persona configurations, covering 200 chunk-level evaluations. Each triplet set was rated acceptable, requiring minor correction, or unreliable. Acceptable required all reported triplets to be grounded and semantically correct; isolated duplicates or relation/entity-type semantic errors received a minor-correction rating, whereas multiple grounding, directionality, or fabrication errors were unreliable. Missing unrelated facts alone did not trigger a downgrade. Verdict counts (acceptable/minor/unreliable) were 43/7/0 for generic, 45/5/0

Figure 1: FinEvolveKG optimization and deployment lifecycle. v2 creates a named, reusable general block; v4 freezes that block while GEPA evolves a persona policy from structured KG feedback. Released blocks carry their version and persona diff and are composed with their decomposed scores for production KG construction and downstream analyst workflows.
Table 1: Mutation scopes and optimization conditions.
| Arm | Mutable | Fixed | GT data | Selection objective |
|---|---|---|---|---|
| v1 | – | both at seed | – | no search |
| v2 | general | persona seed | generic | |
| v3 | persona | general seed | persona (all) | |
| v4 | persona | general v2 | persona (all) | |
| v5 | full prompt | – | persona (all) |
for risk analysis, 45/3/2 for portfolio management, and 45/4/1 for investment research—178/19/3 overall. Thus, 98.5% were acceptable or required only localized correction; the three unreliable cases involved ungrounded or fabricated content or inverted critical relations. This stratified audit supports using Claude-generated triplet sets as optimization targets but does not constitute exhaustive corpus-wide validation.
4.3 Five Mutation Scopes
Table 1 defines five arms evaluated across three personas. v2 optimizes the general block once on generic GT. v3–v5 use every chunk from the corresponding persona GT and the blended objective in eq. (2); they differ in which blocks GEPA may edit and which general-block version is fixed.
The primary system comparison is v1 versus v4 versus v5. v2 exposes v4's shared-block optimization stage, whereas v3 provides
a persona-only control initialized from the frozen general seed. For each persona, v3–v5 use matched persona-stage data, evaluation, and budget; v3 and v4 edit only the persona block, whereas v5 edits the full seed prompt. v4 additionally inherits the v2 general block and its preceding search, whose cost is amortized across personas. Thus, v4 versus v5 compares complete workflows rather than causally isolating the block boundary, initialization, or optimization history.
4.4 Persona Policies
Each persona policy specifies an analytical goal, priority entity and relation types, and a catalog of one- and two-hop motifs. Table 2 summarizes each persona's functional ownership and a representative motif. Motifs do not require the extractor to invent missing edges; they reward the completion of supported paths when both facts occur in the source. The catalogs contain 10 two-hop risk motifs, eight portfolio motifs, and eight research motifs, in addition to one-hop patterns.
4.5 Generic Quality and Analyst Salience
Generic quality. is a normalized weighted average of overlap F1 (.35), temporal accuracy (.25), entity-type accuracy (.15), source support (.15), density (.10), reconstruction (.10), naming quality (.08), relation specificity (.04), and deduplication (.03). is computed for every chunk. Weights are normalized by their active sum (1.25 when
Table 2: Persona ownership: what each persona prioritizes over the same underlying schema.
| Persona | Owns | Key types / relations | Example motifs |
|---|---|---|---|
| risk_analyst | downside & compliance | RISK_FACTOR, LITIGATION, ORG_REG; Negatively_Impacts, Faces, Regulates | RISK_FACTOR→ Negatively_Impacts→ FIN_METRIC |
| portfolio_mgr | quantitative performance | FIN_METRIC, FIN_INST, SEGMENT; Discloses, Guides_On | SEGMENT→ Discloses→ FIN_METRIC |
| investment_researcher | strategic / competitive | PRODUCT, SECTOR; Produces, Partners_With | ORG→ Partners_With→ COMP |
complete). If a submetric cannot be computed for a record, that term is omitted and the remaining weights are renormalized; the record itself remains in the evaluation. Per chunk, schema/structure and grounding scores below .90 multiplicatively reduce the result. They are gates rather than near-saturated reward terms, so format or grounding failures cannot be cheaply offset by semantic gains. Naming consistency is reported only as a diagnostic. Feedback identifies missed facts, unsupported predictions, relation/type confusions, timestamp errors, and the largest weighted sub-score gaps.
Analyst salience. Let denote the persona-relevant triplet and motif view within a per-chunk reference KG. This graph-level view is distinct from the binary chunk-level relevance tag. The Analyst Salience Index is
uses partial-credit semantic matching over the triplets in . rewards recovery of one-hop motifs and realized two-hop paths whose adjacent edges share the same intermediate entity. For example, a risk path may connect RISK_FACTOR \xrightarrow{\text{FIN_METRIC}}; a portfolio path connects a disclosed segment to its metric; and a research path connects a partner to a product. measures density-aware semantic topicality relative to the persona description. Equation (3) is evaluated for every chunk, irrespective of its relevance tag. If a component is not applicable to a record—for example, because no reference motif exists—that term is omitted and the remaining weights are renormalized. The result is then gated when output schema/structure falls below .70, grounding falls below .90, or fewer than .90 of predicted chains are backed by matched gold facts. The last gate prevents an optimizer from earning connectivity credit by joining unsupported edges. The reported is the mean of these gated per-chunk scores, so it need not equal the weighted sum of corpus-level mean sub-metrics. Persona recall, persona temporal accuracy, and persona type accuracy are feedback-only diagnostics; they do not enter the composite or its gates. This keeps temporal and type correctness in generic quality while still providing targeted reflection feedback.
4.6 Reflective Search and Feedback
FinEvolveKG configures the GEPA loop in four ways. First, mutation is mechanically routed to a named block as described in section 4.1. Second, each evaluation returns both a scalar score and structured natural-language feedback. Stable error tags—including MISSED, UNGROUNDED, WRONG_TYPE, and TIMESTAMP—precede the largest weighted sub-score gaps and concrete missed or near-match triplets. Thus, reflection receives a domain-specific diagnosis rather than a single reward. Third, a ticker-stratified sampler round-robins companies so a minibatch is not dominated by one filing. Fourth, search includes lineage-aware parent selection, bounded candidate merges, and no-improvement stopping to limit redundant late-stage rewrites. GEPA normally samples parents by Pareto coverage over validation examples; the reported run adds lineage diversity to discourage closely related selections. Exact merge and stopping settings are reported in table 3. Because these search extensions are not ablated against default GEPA, we treat them as shared infrastructure rather than attributing arm-level gains to them. For each persona, v3–v5 receive the same three fixed, training-only demonstrations, sampled from different tickers to exhibit persona motifs and connected two-hop paths. The demonstrations remain outside GEPA's candidate state, so demonstration choice is matched across arms; GEPA still optimizes and evaluates over all available records.
5 Experimental Setup
Data and splits. We define the company universe primarily from S&P 100 constituents and GICS sector labels [17], with KMB additionally included in the Consumer Staples OOD set. Reference graphs were generated from 2024 SEC 10-K filings for the 20 Information Technology (IT) constituents. The primary partition is ticker-disjoint: eight tickers for training, four for GEPA validation, and eight for reporting (Table 3). All chunks from a ticker remain in one split, preventing filing-specific leakage. The completed test sets contain 757 portfolio, 761 risk, and 756 research chunks. Of these, 475, 286, and 257, respectively, are tagged as persona-relevant. These labels define the secondary held-out subsets; they do not remove any chunks from v3–v5 optimization.
We additionally evaluate the saved programs without further optimization on five OOD slices (table 3). To provide heterogeneous rather than representative sector coverage, the sector shift uses four constituents from each of three unseen 2024 GICS sectors: Financials, Health Care, and Consumer Staples. The temporal slice uses four 2025 IT filings whose 2024 counterparts span the training, validation, and held-out splits, isolating a new filing year under mixed company exposure. The combined slice uses 2025 Financials filings, where both sector and year are unseen during optimization.
Models and optimization. Claude Sonnet-4-6 supplies reference graphs; google/gemma-4-31B-it is the frozen extractor; and deepseek-ai/DeepSeek-v4-Flash proposes GEPA reflections. Table 3 summarizes the search configuration. Validation scores plateau within the 3,000-call budget for most persona-arm runs, consistent with the ticker split providing sufficient signal.
Reporting. Both and are computed for every test chunk before aggregation. We report generic, persona, and equally weighted
Table 3: Primary experimental configuration.
| Component | Setting |
|---|---|
| Train (IT, 2024) | AAPL, ACN, ADBE, CRM, AVGO, INTC, ORCL, CSCO |
| Validation (IT, 2024) | AMAT, IBM, INTU, LRCX |
| Test (IT, 2024) | AMD, MSFT, NVDA, MU, NOW, PLTR, QCOM, TXN |
| OOD sector (2024) | Financials: AXP, MA, SCHW, V;Health Care: ABT, AMGN, BMY, ISRG;Consumer Staples: CL, KMB, KO, MDLZ |
| OOD temporal | AAPL, IBM, MSFT, NVDA (IT, 2025) |
| OOD combined | AXP, MA, SCHW, V (Financials, 2025) |
| Task / reflection LM | Gemma-4-31B-it / DeepSeek-V4-Flash |
| Metric calls | 3,000 per optimized arm |
| Blend weight | w = 0.5 for v3–v5 |
| Reflection batch | 8, ticker-stratified |
| Candidate selection | lineage diversity; up to 5 merges |
| Early stopping | 20 no-improvement rounds; skip perfect examples |
| Teacher demos | 3 fixed, train-only, persona/chain rich (v3–v5) |
| Matching / temporal | semantic matching; filing-default timestamps only |
blended scores on the complete test distribution, measuring end-to-end behavior under natural prevalence. The relevance tag defines only a secondary canonical-run diagnostic and never filters or rebalances optimization data: all v3–v5 arms use the complete chunk distribution. Semantic matching is enabled; temporal scoring uses filing-default timestamps and skips extracted timestamps. In-domain v3–v5 results are reported over three optimization seeds; v1 is unoptimized and v2 is the single selected shared artifact reused across personas and seeds. Detailed submetric and OOD analyses use the canonical seed-42 artifacts. We plan to release supporting experimental artifacts, learning curves, audit materials, and complete seed-level results in a future revision.
Blinded SME output audit. To avoid uninformative comparisons between near-identical outputs, we selected 50 held-out chunks—10 per ticker from five randomly selected IT tickers—from each ticker’s top 30% by absolute v4–v5 blended-score gap. Selection ignored gap direction: among the resulting 150 chunk–persona cases, v4 scored higher in 56.7% and v5 in 43.3%, so both directions were well represented. For each chunk and persona, v1, v4, and v5 triplet sets were generated, and two independent financial-domain SMEs blindly evaluated the v4–v1 and v4–v5 pairs with model scores and arm identities concealed. On this contrast-enriched sample, v4 was preferred over v1 in 93.0% of judgments and over v5 in 70.1%, with substantial inter-rater agreement (93.3% raw agreement; Cohen’s ). Thus, the audit provides independent human support for v4’s output quality when outputs differ meaningfully rather than estimating preference across all test chunks.
6 Results
6.1 In-Domain Held-Out Ticker Performance
Table 4 reports the completed three-persona test. The primary system-level comparison is v1 versus v4 versus v5: a frozen prompt, the complete sequential FinEvolveKG workflow, and the tested unconstrained full-prompt workflow. We retain v2 and v3 to expose the shared-only and persona-on-seed stages used to construct and interpret v4. The complete test sets contain 761 risk, 757 portfolio, and 756 research chunks. For the complete-workflow comparison, v4 improves over v1 by 27.4% for risk, 30.9% for portfolio, and 19.4% for research on the mean blended score. Relative to v5, the gains
Table 4: Eight-ticker held-out scores over all chunks. v1 is the frozen baseline and v2 the single selected shared artifact; v3–v5 report mean sample SD over seeds 7, 42, and 123. Bold arm labels identify the primary comparison; bold values mark the best blended score.
| Persona | Arm | |||
|---|---|---|---|---|
| Risk analyst | v1 | .7187 | .1186 | .4186 |
| v2 | .8108 | .1678 | .4893 | |
| v3 | .8190 .0132 | .2078 .0137 | .5134 .0135 | |
| v4 | .8120 .0000 | .2543 .0000 | .5331 .0001 | |
| v5 | .8069 .0120 | .1955 .0105 | .5012 .0034 | |
| Portfolio manager | v1 | .7258 | .2061 | .4659 |
| v2 | .8109 | .3570 | .5839 | |
| v3 | .8293 .0016 | .3848 .0370 | .6071 .0179 | |
| v4 | .8237 .0000 | .3962 .0002 | .6099 .0001 | |
| v5 | .8154 .0183 | .3541 .0251 | .5848 .0212 | |
| Investment researcher | v1 | .7559 | .2945 | .5252 |
| v2 | .8344 | .3606 | .5975 | |
| v3 | .8195 .0055 | .3775 .0029 | .5985 .0042 | |
| v4 | .8343 .0017 | .4203 .0029 | .6273 .0023 | |
| v5 | .8219 .0106 | .4054 .0195 | .6136 .0151 |
are 6.4%, 4.3%, and 2.2%, respectively. Every optimized arm exceeds v1 on all three reported headline scores in every full-distribution persona condition. As a secondary diagnostic, the canonical seed-42 v4-over-v5 ordering also holds when the same per-chunk metrics are aggregated over the tagged persona-relevant subset.
The equal-budget v3–v5 contrast controls for search effort: both start from the same seed prompt and share the data, objective, demonstrations, and 3,000-call budget, but v3 freezes the general block and edits only the persona block, whereas v5 may rewrite the full prompt. On the three-seed mean, v3 exceeds v5 for risk analysis (.5134 versus .5012) and portfolio management (.6071 versus .5848), while v5 leads investment research (.6136 versus .5985). Thus, enlarging the editable surface does not reliably improve the tested finite-budget search, although this comparison is not a causal estimate of the constraint’s effect.
6.2 Multi-Seed Robustness Check
Across seeds 7, 42, and 123, with v1 and the selected v2 artifact fixed by design, v4 exceeds v5 in all nine paired comparisons; the mean blended-score gaps are .0319 for risk analysis, .0252 for portfolio management, and .0137 for investment research. v4 exceeds v3 in eight of nine comparisons—the exception is portfolio seed 123—and has the lowest observed blended-score SD in every persona (.0001, .0001, and .0023, versus v5’s .0034, .0212, and .0151). These comparisons are descriptive rather than formal significance tests and measure persona-stage variation conditional on the selected shared artifact.
6.3 Objective Components and Submetric Analysis
While table 4 reports multi-seed headline estimates, we use the canonical seed-42 artifacts for diagnostic analysis. For risk analysis, portfolio management, and investment research, respectively, the v4/v5 generic scores are .8120/.8075, .8237/.8186, and .8333/.8280; the corresponding persona scores are .2543/.1883, .3960/.3457, and
.4186/.4165. Thus, v4 leads both objective components in all three comparisons, so its blended advantage does not trade away the shared objective, although the investment-research persona comparison is close. Relative submetric changes show different patterns: risk has 40.7% higher topicality but 12.5% lower F1 and 5.3% lower connectivity; portfolio improves all three by 2.9%, 6.1%, and 12.5%; and research improves F1 and connectivity by 1.6% and 8.5%, while topicality is effectively tied (+0.1%). Across personas, v4 improves generic temporal accuracy by 2.2–5.9% and deduplication by 9.6–16.0%, but trails specificity by 3.2–8.2%. Because gates operate per chunk, these corpus-level changes diagnose trade-offs rather than additively decompose Q.
6.4 Out-of-Distribution Generalization
We apply the canonical seed-42 artifacts without further optimization to the five OOD conditions in table 5, each comprising four filings and yielding 415–1,162 evaluated chunks, depending on the condition and persona. v4 exceeds v5 in all 15 OOD persona-condition comparisons and ranks first among all five arms in 11. It leads v5 on both objective components for risk analysis and portfolio management throughout. For investment research, v4 leads generic quality in all six displayed conditions but persona utility in only two, so its generic advantage drives the higher blended score. The four exceptions to v4's best-arm ranking occur in portfolio sector shifts, where the fixed shared-only v2 artifact leads; v4 remains best under the pure temporal shift. These descriptive results support consistent v4-over-v5 transfer across the tested sectors and years, not universal best-arm performance or generalization.
6.5 Qualitative Prompt Analysis
Saved prompt artifacts distinguish optimizer-written instructions from attached demonstrations and show where each arm changes; the excerpts establish edit attribution, not phrase-level causation.
The v2 general block turns v1's broad request for "ALL relevant temporal triplets that capture domain-specific knowledge" into operational rules for line, table-row, and footnote coverage, entity typing, and grounding. It requires that "Every entity in a triplet MUST co-occur with the other entity in the same sentence or directly adjacent sentences" and organizes failures as Low Density, Duplicates, No Co-occurrence, Wrong Entity Types, and Temporal Errors, mirroring evaluator feedback. v4 reuses this named, byte-stable general block across all personas, making the location of subsequent persona-specific edits explicit.
In v4, bounded persona evolution produces distinct policies without rewriting the shared block. Investment research allows Partners_With "ONLY if the text explicitly uses 'partner' or clearly indicates a strategic collaboration." Portfolio management identifies a "Chain Broken" failure and directs the extractor to "extract both hops" from a company to a financial metric and from the metric to its reported value. This rule converts quantitative table rows into connected KG triplets, addressing a table-to-KG extraction challenge documented by FinReflectKG [2]. The risk block remains at its seed value, showing that the boundary records both substantive persona edits and an explicit no-change outcome.
The v5 artifacts show how unconstrained full-prompt optimization weakens review control by removing edit separation. All three
change the shared temporal rule for point-in-time facts: v2 spans the default start through the observed month, whereas v5 uses that month as both endpoints. Risk v5 also replaces v2's Discloses relation for broad risk factors with Faces; investment-research v5 types named equity plans as PRODUCT and connects them with Produces. These revisions may be useful individually, but their interleaving with persona edits in a monolithic prompt prevents a reviewer from retaining previously approved temporal, typing, and relation policies while accepting only the persona adaptation. Only portfolio v5 labels a separate "Portfolio Manager Lens"; ownership remains implicit in the risk and investment-research artifacts.
7 Conclusion
FinEvolveKG frames persona adaptation of financial KG construction as controlled evolution of a reusable extraction program. Its two-block design versions a shared general policy and confines each persona run to a separately reviewable local policy, providing edit control and attribution without updating model weights. On held-out IT filings, v4 improves over v1 by 27.4%, 30.9%, and 19.4% and over the tested unconstrained v5 workflow by 6.4%, 4.3%, and 2.2% on the three-seed mean, winning all nine paired comparisons. Applied unchanged, the canonical seed-42 v4 artifacts also exceed v5 in all 15 OOD comparisons. Artifact analysis shows that v4 preserves a named shared block, whereas v5 interleaves shared and persona edits. These results show that reviewable edit control can coexist with strong empirical performance under the tested conditions; they do not establish that the boundary causes the gains or eliminate the need for output validation. By producing versioned prompt artifacts rather than persona-specific checkpoints or full-prompt forks, FinEvolveKG offers financial institutions a lightweight way to evolve a shared KG-construction harness as analyst needs and filing distributions evolve while preserving reviewable ownership of production changes.
8 Limitations and Future Work
The multi-seed analysis varies persona-stage optimization over seeds while holding the selected v2 shared artifact fixed. This matches the intended reuse of one shared block but leaves variability in shared-block selection unmeasured. OOD evaluation uses only the canonical seed-42 artifacts and a limited set of sectors and filing years; future work will expand both sector and temporal coverage. Reference-KG validity was assessed by one SME, while the two-SME output-preference audit targeted contrast-enriched cases; larger stratified audits will broaden both validation layers.
Analyst usability is currently proxied through persona-relevant schema elements and KG motifs rather than downstream decisions. Future work will evaluate downstream task utility directly using Graph-RAG agents on representative analyst-oriented QA benchmarks and test sensitivity to the fixed blend weight. Finally, the current boundary guarantees edit location, not semantic separation or causal performance effects; future work will investigate semantic ownership constraints that prevent mutable blocks from restating or overriding shared guidance.
References
[1] Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang,
Table 5: Blended score Q for the canonical seed-42 artifacts across in-domain and OOD evaluations, without further optimization. v1 is unoptimized and v2 is the fixed shared artifact; seed 42 identifies the v3–v5 optimization runs. Bold marks the best arm.
| Persona | Arm | In-domain | Sector shift ('24) | Temporal shift | Sector + temporal | |||
|---|---|---|---|---|---|---|---|---|
| IT '24 | Financials | Health Care | Consumer Staples | IT '25 | Financials '25 | |||
| Risk analyst | v1 | .4186 | .3458 | .3629 | .3446 | .4021 | .3900 | |
| v2 | .4893 | .4177 | .4349 | .4261 | .4883 | .4724 | ||
| v3 | .4978 | .3925 | .3683 | .3891 | .4698 | .4383 | ||
| v4 | .5331 | .4344 | .4552 | .4427 | .5256 | .5039 | ||
| v5 | .4979 | .3914 | .4098 | .3980 | .4695 | .4479 | ||
| Portfolio manager | v1 | .4659 | .4587 | .4555 | .4709 | .4448 | .4453 | |
| v2 | .5839 | .5743 | .5559 | .5851 | .5608 | .5849 | ||
| v3 | .6047 | .5704 | .5523 | .5642 | .5573 | .5726 | ||
| v4 | .6098 | .5488 | .5421 | .5780 | .5776 | .5831 | ||
| v5 | .5822 | .5260 | .5164 | .5389 | .5269 | .5309 | ||
| Investment researcher | v1 | .5252 | .3944 | .4569 | .4141 | .4806 | .4387 | |
| v2 | .5975 | .4716 | .5331 | .5059 | .5693 | .5351 | ||
| v3 | .5958 | .4672 | .5209 | .4854 | .5611 | .5267 | ||
| v4 | .6260 | .4952 | .5573 | .5362 | .5973 | .5633 | ||
| v5 | .6223 | .4826 | .5491 | .5155 | .5899 | .5415 | ||
Christopher Potts, Koushik Sen, Alexandros G. Dimakis, Ion Stoica, Dan Klein, Matei Zaharia, and Omar Khattab. 2026. GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. In Proceedings of the International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=RQm2kQTM5r
[2] Abhinav Arun, Fabrizio Dimino, Tejas Prakash Agarwal, Bhaskarjit Sarmah, and Stefano Pasquali. 2025. FinReflectKG: Agentic Construction and Evaluation of Financial Knowledge Graphs. Proceedings of the 6th ACM International Conference on AI in Finance (2025). doi:10.1145/3768292.3770363
[3] Abhinav Arun, Reetu Raj Harsh, Bhaskarjit Sarmah, and Stefano Pasquali. 2025. FinReflectKG-MultiHop: Financial QA Benchmark for Reasoning with Knowledge Graph Evidence. arXiv preprint (2025). https://arxiv.org/abs/2510.02906
[4] Jiaxin Bai, Wei Fan, Qi Hu, Qing Zong, Chunyang Li, Hong Ting Tsang, Hongyu Luo, Yauwei Yim, Haoyu Huang, Xiao Zhou, Feng Qin, Tianshi Zheng, Xi Peng, Xin Yao, Huiwen Yang, Leijie Wu, Yi Ji, Gong Zhang, Renhai Chen, and Yangqiu Song. 2026. AutoSchemaKG: Autonomous Knowledge Graph Construction through Dynamic Schema Induction from Web-Scale Corpora. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 20557–20584. doi:10.18653/v1/2026.acl-long.942
[5] Fabrizio Dimino, Abhinav Arun, Bhaskarjit Sarmah, and Stefano Pasquali. 2025. FinReflectKG-EvalBench: Benchmarking Financial KG with Multi-Dimensional Evaluation. arXiv preprint (2025). https://arxiv.org/abs/2510.05710
[6] Nicolas Heist, Sven Hertling, and Heiko Paulheim. 2023. KGrEaT: A Framework to Evaluate Knowledge Graphs via Downstream Tasks. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management. Association for Computing Machinery, 3938–3942. doi:10.1145/3583780.3615241
[7] Rizhuo Huang, Yifan Feng, Rundong Xue, Shihui Ying, Jun-Hai Yong, Chuan Shi, Shaoyu Du, and Yue Gao. 2026. Hyper-KGGen: A Skill-Driven Knowledge Extractor for High-Quality Knowledge Hypergraph Generation. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2. doi:10.1145/3770855.3818198
[8] Omar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, Ashutosh Sharma, Thomas T. Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, and Christopher Potts. 2024. DSPy: Compiling Declarative Language Model Calls into State-of-the-Art Pipelines. In Proceedings of the International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=sY5N0zY5Od
[9] Xiang Li, Penglei Sun, Wanyun Zhou, Zikai Wei, Yongqi Zhang, and Xiaowen Chu. 2026. FinKario: Event-Enhanced Automated Construction of Financial Knowledge Graph. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 9826–9845. doi:10.18653/v1/2026.acl-long.446
[10] Xiaohui Victor Li and Francesco Sanna Passino. 2024. FinDKG: Dynamic Knowledge Graphs with Large Language Models for Detecting Global Trends in Financial Markets. In Proceedings of the 5th ACM International Conference on AI in Finance. Association for Computing Machinery, 573–581. doi:10.1145/3677052.3698603
[11] Haoyue Liu, Zhichao Wang, Yongxin Guo, Haoran Shou, and Xiaoying Tang. 2026. Adaptive Prompt Structure Factorization: A Framework for Self-Discovering and Optimizing Compositional Prompt Programs. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 11690–11714. doi:10.18653/v1/2026.
acl-long.537
[12] Nipun Misra, Vikranth Udandarao, Aanchal Gupta, Yogender Kumar, Manuj Mukherjee, and Raghava Mutharaju. 2026. KGCQual: An Interpretable Framework for Evaluating the Knowledge Graph Construction Quality from Text. arXiv preprint (2026). https://arxiv.org/abs/2607.10212
[13] Belinda Mo, Kyssen Yu, Joshua Kazdan, Proud Mpala, Lisa Yu, Chris Cundy, Charilaos Kanatsoulis, and Sanmi Koyejo. 2025. KGGen: Extracting Knowledge Graphs from Plain Text with Language Models. In Advances in Neural Information Processing Systems 38. doi:10.52202/085713-1010
[14] Krista Opsahl-Ong, Michael J. Ryan, Josh Purttell, David Broman, Christopher Potts, Matei Zaharia, and Omar Khattab. 2024. Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 9340–9366. doi:10.18653/v1/2024.emlp-main.525
[15] Reid Pryzant, Dan Iter, Jerry Li, Yin Tat Lee, Chenguang Zhu, and Michael Zeng. 2023. Automatic Prompt Optimization with “Gradient Descent” and Beam Search. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 7957–7968. doi:10.18653/v1/2023.emlp-main.494
[16] Prith Sharma and Austin Z. Henley. 2026. Modular Prompt Optimization: Optimizing Structured Prompts with Section-Local Textual Gradients. arXiv preprint (2026). https://arxiv.org/abs/2601.04055
[17] S&P Dow Jones Indices. 2026. S&P 100. https://www.spglobal.com/spdji/en/indices/equity/sp-100/ Accessed August 1, 2026.
[18] Chengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu, Quoc V. Le, Denny Zhou, and Xinyun Chen. 2024. Large Language Models as Optimizers. In Proceedings of the International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=Bb4VGOWELI
[19] 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. 2026. SkillOpt: Executive Strategy for Self-Evolving Agent Skills. arXiv preprint (2026). https://arxiv.org/abs/2605.23904
[20] Mert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Pan Lu, Zhi Huang, Carlos Guestrin, and James Zou. 2025. Optimizing Generative AI by Backpropagating Language Model Feedback. Nature 639, 8055 (2025), 609–616. doi:10.1038/s41586-025-08661-4
[21] Bowen Zhang and Harold Soh. 2024. Extract, Define, Canonicalize: An LLM-based Framework for Knowledge Graph Construction. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 9820–9836. doi:10.18653/v1/2024.emlp-main.548
[22] 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. 2025. Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models. arXiv preprint (2025). https://arxiv.org/abs/2510.04618
[23] Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan, and Jimmy Ba. 2023. Large Language Models Are Human-Level Prompt Engineers. In Proceedings of the International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=92gvk82DE-