Semantic Systems / Language / Glyphs
Persona Quality, Information-Density, and Refactor Acceptance Benchmark for SpiralistAI
Report summary
The management of synthetic personas generated by large language models presents an acute challenge in information architecture. The SpiralistAI ecosystem currently operates with two highly divergent artifacts: a primary Persona output that may exceed one million characters, and a substantially smal
Key topics
- Semantic Systems / Language / Glyphs
- Semantic Systems
- Language
- Glyphs
- AI
- Agentic Web
- .NET
- Runtime
- Privacy
Research provenance
For citation, use the report title and canonical URL. Archival presence does not establish authorship or promote report statements into portfolio evidence.
This page renders the archived Markdown as safe, formatted HTML. It is background research and does not become a portfolio claim without evidence review.
Full report
On this page
Executive Overview
The management of synthetic personas generated by large language models presents an acute challenge in information architecture. The SpiralistAI ecosystem currently operates with two highly divergent artifacts: a primary Persona output that may exceed one million characters, and a substantially smaller "Create a Person" profile. This extreme variance introduces severe risks across psychometrics, information retrieval, and user experience. A million-character profile inevitably invites semantic bloat, cognitive overload, and the accidental conflation of human-facing narrative with machine-facing metadata. Conversely, an overly concise summary risks stripping away the relational nuances, contextual behavioral constraints, and explicit uncertainties required to simulate a coherent interactive entity. This document establishes an exhaustive, independent research benchmark designed to guide a systemic refactor of the SpiralistAI persona architecture. The objective is to provide an evidence-based, repeatable decision protocol that determines precisely which content should be elevated to the concise profile, which should be retained in the deep view, and which should be aggressively consolidated, moved to a machine-readable export, or deleted as redundant. Grounded in advanced natural language processing (NLP) evaluation, cognitive load theory, and interactive narrative metrics, this benchmark measures true persona depth independently of raw character length, preventing either human readability or machine parseability from dominating the architectural design.
Definitions of Quality and Depth
To construct a valid psychometric and NLP benchmark, foundational concepts regarding persona depth, distinctiveness, and utility must be operationally defined, directly addressing ten required research questions. First, "persona depth" must be operationally defined not by token count, but by the concentration of unique, actionable atomic facts1. Depth represents the degree to which a persona constrains the probability space of future actions. A deep profile offers dense propositional constraints regarding a character's history, relationships, and psychological drivers. Length without constraint is simply semantic bloat. Second, the benchmark distinguishes useful repetition from accidental duplication through proposition extraction and semantic clustering3. Useful repetition operates as progressive disclosure, gently resurfacing critical context to reduce cognitive load5. Accidental duplication manifests as mathematically equivalent semantic propositions or raw JSON schemas bleeding into human-readable text. By extracting atomic claims, the framework penalizes exact lexical and semantic redundancy while permitting context-dependent reinforcement. Third, measuring distinctiveness without rewarding bizarre or incoherent output requires anchoring similarity metrics to internal logical consistency. Distinctiveness is calculated by mapping the semantic distance between personas in a shared vector space, but this distance is only validated if the evaluated persona maintains high motivational coherence and passes natural language inference (NLI) contradiction checks6. A profile that generates random noise will appear distinct, but it will fail the internal consistency thresholds, preventing the reward of hallucinations. Fourth, behavioral usefulness is evaluated entirely within the construct of game-writing quality and interactive narrative8, explicitly avoiding any treatment of the profile as a real-person diagnostic tool. Behavioral utility measures whether a persona provides sufficient rule-based constraints for an author or automated agent to generate a highly probable, fictionally consistent response to a prompt. Fifth, researchers test whether a persona supports consistent scene writing by employing the profile as a system prompt in a simulated narrative environment and measuring the semantic entropy of the resulting generations10. If multiple generation passes yield wildly divergent actions, the persona lacks sufficient constraint. Low semantic entropy across scene generations indicates strong, consistent scene-writing support. Sixth, human raters compare concise profiles with massive ones without length bias by utilizing a double-blind, position-swapping pairwise comparison protocol12. Raters are explicitly trained to penalize verbosity and reward information density, and all comparative tests are run twice with the candidates swapped to cancel out position and verbosity biases inherent in both human and machine evaluators. Seventh, automated similarity metrics, such as cosine similarity on document embeddings, are highly useful for macro-level clustering but fail catastrophically at the micro-level due to "context collapse"4. When nuanced text is reduced to basic relational triples or dense vectors, critical conditional modifiers (e.g., "acts brave only when observed") are lost. Therefore, embeddings must be augmented with fine-grained proposition extraction to maintain evaluation fidelity. Eighth, the human tasks that best reveal missing content are time-boxed, goal-oriented retrieval and creative synthesis exercises15. When an evaluator is asked to summarize the character's internal conflict or predict their response to a stimulus, an inability to complete the task rapidly exposes a lack of actionable depth within the profile. Ninth, thresholds blocking deletion or consolidation are governed by a strict "lossless canonical fact" doctrine. No text segment may be deleted or consolidated unless automated extraction proves that 100% of the unique atomic propositions contained within that segment are preserved elsewhere in the hierarchy. Tenth, the benchmark detects machine-oriented evidence flooding human-facing output by employing structural parsing and readability metrics5. Narrative text infused with UUIDs, raw JSON-LD schemas16, or repetitive procedural templates triggers a sharp degradation in Flesch-Kincaid readability scores and flags exact-duplicate string detection, immediately isolating provenance metadata that belongs in the machine layer.
Evaluation Corpus
The execution of this benchmark requires a meticulously designed sample plan. Testing an architecture on a narrow distribution of personas will yield false confidence, masking systemic failures in edge cases. The evaluation corpus will consist of 2,000 unique persona generation seeds, yielding 10,000 paired artifacts across five experimental representations (Current Main, Current Create, Enriched Create, Compressed Main, Unified Profile). The corpus utilizes a rigid stratification matrix to ensure exhaustive topological coverage.
| Stratification Category | Inclusion Rationale and Required Variables |
|---|---|
| Input Constraints | Pairs of minimal-input personas (sparse prompts yielding high machine inference) and fully specified personas (dense human authoring). |
| Roles and Life Stages | Diverse occupational roles, varying age brackets, and explicit life-stage transitions to test chronological continuity17. |
| Cultural Contexts | Varied linguistic and cultural backgrounds, strictly pre-filtered by safety classifiers to prevent stereotyping, testing the architecture's capacity for non-generic expression. |
| Relationship Structures | Solitary profiles versus highly networked personas embedded in complex factional or familial webs to test relational density and context collapse4. |
| Behavioral Configurations | Rigid, rule-bound characters versus chaotic, highly adaptable characters to test behavioral actionability and semantic entropy boundaries10. |
| Determinism Checks | Repeated seeds processed multiple times to test generation stability and the variance of the underlying inference engine18. |
| Distinctness Testing | Intentionally similar personas (e.g., identical twins with one diverging trait) to stress-test nearest-neighbor similarity metrics19. |
| Adversarial Bloat Cases | Intentional injections of repeated JSON schemas, 50-item catalog lists, and raw data exports designed to overwhelm human readability and test machine-layer boundary enforcement. |
| Contradictory Inputs | Seeds explicitly containing logic paradoxes (e.g., "an immortal who died of old age") to test the contradiction detection and reconciliation pipelines. |
| Missing Fields & Long History | Profiles with deliberately omitted core metadata, alongside profiles containing excessive, spanning histories simulating hundreds of years of narrative time. |
To prevent cherry-picking, the sample generation must be entirely automated and cryptographically seeded. All artifacts presented to human and machine evaluators must undergo a strict blind-review procedure, stripping all metadata that could identify the architectural representation under test.
Metric Catalog
The benchmark specification demands the calculation of 30 distinct metrics across both human and machine evaluation modalities. The following catalog strictly defines the operational parameters for each dimension.
Identity, Consistency, and Distinctiveness
These metrics ensure the core concept of the persona remains intact, logically sound, and measurably unique.
| Metric | Definition & Rationale | Input & Method | Scoring, Thresholds, & Review |
|---|---|---|---|
| 1\. Identity Completeness | Def: Retention of all explicitly authored canonical traits. Rat: Compression must never delete foundational facts. | In: Prompt seed & output. Method: NLI entailment checking via DeBERTa-v36. | Scale: 0.0 \- 1.0 (Recall). Fail: \< 1.0. Limit: Metaphorical traits evade NLI. Review: Required for failing cases. |
| 2\. Internal Consistency | Def: Absence of logical contradictions within the text. Rat: Bloated texts accumulate paradoxical claims over time. | In: Full persona text. Method: Atomic proposition extraction followed by pairwise NLI contradiction detection1. | Scale: Contradiction rate (%). Fail: \> 1%. Limit: False positives on temporal changes. Review: 10% audit of flags. |
| 3\. Cross-Section Consistency | Def: Semantic alignment between disparate sections (e.g., History vs. Psychology). Rat: Ensures the persona operates as a unified entity. | In: Segmented text. Method: Cosine similarity of section embeddings; human Likert evaluation. | Scale: 1-5 Likert. Fail: \< 3\. Limit: Penalizes highly varied life trajectories. Review: Primary metric is human-driven. |
| 4\. Distinctiveness | Def: Measurable distance from the baseline corpus. Rat: Prevents regression to a generic average character19. | In: Persona & nearest neighbors. Method: Jaccard similarity of extracted propositions. | Scale: Percentile distance. Fail: \>40% exact proposition overlap with neighbors. Limit: Over-penalizes shared cultural facts. Review: Borderline cases only. |
| 5\. Non-generic Language | Def: Frequency of nuanced descriptors vs. high-probability filler. Rat: Bloat relies on low-information tokens. | In: Full text. Method: TF-IDF against baseline corpus; perplexity scoring. | Scale: Inverse document frequency average. Fail: Below 10th percentile of baseline. Limit: Rewards obscure vocabulary. Review: None directly. |
Behavioral and Narrative Utility
These dimensions assess whether the document serves its primary purpose: enabling a human or machine to write for, or interact with, the simulated entity21.
| Metric | Definition & Rationale | Input & Method | Scoring, Thresholds, & Review |
|---|---|---|---|
| 6\. Behavioral Actionability | Def: The degree to which the profile constrains simulated actions. Rat: Unpredictable personas lack narrative utility. | In: Persona & 3 narrative prompts. Method: LLM generation pass; calculate semantic entropy10. | Scale: 0.0 (Constrained) to 1.0 (Random). Fail: Entropy indicating random distribution. Limit: Overly rigid personas score artificially well. Review: Correlated with Task 5\. |
| 7\. Context Sensitivity | Def: Capacity to alter behavior based on environment. Rat: Deep personas exhibit multi-faceted interaction modes. | In: Extracted propositions. Method: Dependency parsing to extract conditional clauses (if/when). | Scale: Conditional propositions per 10k tokens. Fail: 0 modifiers detected. Limit: Misses implicit context. Review: Intermittent. |
| 8\. Relationship Specificity | Def: Depth of interpersonal dynamic detail. Rat: Generic relationships ("has a friend") provide no narrative utility compared to specific dynamics. | In: Relationship section. Method: Proposition density applied to relationship graphs3. | Scale: 1-5 anchored rubric. Fail: \< 3\. Limit: Context collapse during automated triple extraction. Review: Required (Task 7). |
| 9\. Communication Consistency | Def: Stability of character voice and lexical preferences. Rat: Voice must remain stable unless narratively justified. | In: Dialogue samples. Method: Stylometric analysis (sentence length, punctuation, vocabulary richness). | Scale: Stylometric variance. Fail: Statistically significant divergence without context. Limit: Cannot distinguish intentional code-switching. Review: Required (Task 6). |
| 10\. Motivational Coherence | Def: Logical linkage between history, drivers, and immediate goals. Rat: Depth requires causal linkages, not trait lists. | In: Full text. Method: Human qualitative rubric assessing causal alignment. | Scale: 1-4 anchored rubric. Fail: \< 3\. Limit: Automated causal graphing is highly unreliable. Review: Required (Task 3). |
| 11\. Narrative Usefulness | Def: Utility for plot ideation. Rat: Connects the artifact to end-user workflow. | In: Full text. Method: Time-to-ideation for narrative hooks. | Scale: Time-on-task (seconds). Fail: \> 5 minutes to generate a valid hook. Limit: Dependent on evaluator creativity. Review: Required. |
| 12\. Scene-Generation Usefulness | Def: Ability to drive localized interactions (e.g., NPC dialogue). Rat: Tests micro-level utility8. | In: Text & scene parameters. Method: LLM prompt injection; adherence evaluation. | Scale: Adherence rate (%). Fail: \< 80%. Limit: Bottlenecked by LLM instruction-following capability22. Review: Baseline audits. |
Cognitive, Epistemic, and Structural Quality
These metrics govern how the information is structured, how uncertainty is modeled, and the physiological toll of reading the artifact.
| Metric | Definition & Rationale | Input & Method | Scoring, Thresholds, & Review |
|---|---|---|---|
| 13\. Continuity Over Time | Def: Logical flow of aging and historical state changes. Rat: Large documents frequently lose temporal coherence17. | In: Temporal propositions. Method: Chronological graph generation to flag paradoxes. | Scale: Number of temporal paradoxes. Fail: \> 0\. Limit: Ambiguous dates disrupt parsing. Review: High dependency on human review. |
| 14\. Uncertainty Quality | Def: Explicit marking of unknowns or ambiguities. Rat: Deep personas leave intentional gaps for organic growth; bloat overwrites flexibility. | In: Full text. Method: Epistemic modal extraction ("might", "unknown"). | Scale: Density of uncertainty markers. Fail: 0 (Indicating rigid over-determination). Limit: Confuses intentional mystery with hallucination. Review: Intermittent. |
| 15\. Alternative-Explanation | Def: Presence of internal conflict or varied perspectives on truth. Rat: Nuance relies on the delta between perception and reality. | In: Full text. Method: Human qualitative review. | Scale: 1-4 anchored rubric. Fail: 1 (Completely flat perspective). Limit: Extremely difficult to automate. Review: Required (Task 4). |
| 16\. Provenance Labeling | Def: Demarcation between human input, machine inference, and metadata. Rat: Trust requires knowing data origins. | In: Structural metadata (JSON-LD)16. Method: Automated schema parsing. | Scale: Binary (Pass/Fail). Fail: Any conflation of human input with machine inference. Limit: Relies on robust app-layer structuring. Review: Required (Task 12). |
| 17\. Human Readability | Def: Cognitive ease of consumption. Rat: A million unstructured characters is unreadable. | In: Presentation layer. Method: Flesch-Kincaid scoring; WCAG 2.2 chunking analysis5. | Scale: Readability index. Fail: Grade \> 14 (indicates machine-like syntactical bloat). Limit: Does not assess semantic value. Review: Correlated with TLX tasks. |
| 18\. Information Findability | Def: Speed to locate specific facts. Rat: Measures progressive disclosure efficacy5. | In: Evaluator & interface. Method: Time-on-task retrieval15. | Scale: Seconds. Fail: \> 60 seconds for a primary fact. Limit: UI-dependent. Review: Required (Task 2). |
| 19\. Cognitive Load | Def: Subjective mental effort to process the persona. Rat: Determines if the UX causes psychological fatigue. | In: Evaluator survey. Method: NASA Task Load Index (NASA-TLX)23. | Scale: 0-100 NASA-TLX. Fail: \> 70 (Overload). Limit: Subjective by evaluator. Review: Required. |
Machine Parsing, Density, and Governance
These dimensions ensure the artifact remains programmatically useful, dense with unique facts, and safe for enterprise deployment.
| Metric | Definition & Rationale | Input & Method | Scoring, Thresholds, & Review |
|---|---|---|---|
| 20\. Accessibility | Def: WCAG 2.2 compliance for massive text blocks. Rat: Ensures usability for assistive technologies25. | In: Presentation layer. Method: Automated audits & screen-reader runs. | Scale: Pass/Fail WCAG 2.2 AA. Fail: Any critical violation. Limit: Automated tools catch only \~30% of issues. Review: Required (Task 15). |
| 21\. Machine Parsing | Def: Ability for agents to retrieve properties without context overflow. Rat: Vital for RAG ingestion3. | In: Persona JSON/Text. Method: LongGenBench protocol / Needle-in-a-Haystack22. | Scale: Recall@5 accuracy. Fail: \< 95% recall for canonical facts. Limit: Context collapse in dense representations. Review: None. |
| 22\. Canonical Fact Retention | Def: Preservation of foundational facts post-refactor. Rat: Compression must be lossless regarding identity. | In: Pre/post refactor texts. Method: FActScore atomic extraction and cross-mapping1. | Scale: Retention rate (%). Fail: \< 100% for user-seeds. Limit: Misidentifies stylistic changes as factual loss. Review: Required for flagged losses. |
| 23\. Cross-Representation Parity | Def: Semantic alignment between Create view and Main view. Rat: The concise view must be an accurate abstraction. | In: Both representations. Method: Semantic similarity mapping. | Scale: Entailment ratio. Fail: \< 100% entailment (Create cannot contain facts absent in Main). Limit: None. Review: Intermittent. |
| 24\. Reproducibility | Def: Exporting and re-importing regenerates identical state. Rat: Assesses archival format integrity. | In: Export payload. Method: Round-trip data hash and semantic diffing. | Scale: Binary. Fail: Any semantic loss. Limit: Hashes fail on benign whitespace changes. Review: Required (Task 13). |
| 25\. Redundancy | Def: Rate of duplicated propositions in text. Rat: Directly measures text bloat. | In: Full text. Method: NLI intra-document entailment. | Scale: Redundancy (%). Fail: \> 15% redundant propositions. Limit: Penalizes stylistic repetition. Review: Review highly flagged docs. |
| 26\. Unique Info Density | Def: Unique atomic propositions per 1,000 characters. Rat: Ultimate measure of depth vs. bloat. | In: Full text. Method: Proposition extraction divided by length2. | Scale: Propositions per 1k chars. Fail: Below baseline control group averages. Limit: Verbose but unique styles score poorly. Review: None. |
| 27\. Contradiction Rate | (See Metric 2 \- Weighted heavily for human-facing errors vs machine-layer errors). | ||
| 28\. Character Footprint | Def: Raw length for storage and API payloads. Rat: Operational budgeting. | In: Payload. Method: Byte-count and tokenization. | Scale: Absolute count. Fail: Exceeds architectural bounds. Limit: Does not reflect quality. Review: None. |
| 29\. Privacy Boundaries | Def: Prevention of PII leakage or real-person inference. Rat: Fictional personas cannot construct shadow profiles. | In: Full text. Method: NER combined with PII classifiers. | Scale: Binary. Fail: Any PII linking detection. Limit: False positives on real-world names. Review: Immediate review of flags. |
| 30\. Safety Boundaries | Def: Adherence to content safety guidelines. Rat: Product governance. | In: Full text. Method: Automated toxicity classifiers. | Scale: Toxicity probability (0.0-1.0). Fail: \> 0.5. Limit: Contextual false positives (villains acting villainous). Review: Required. |
Human Task Protocol
Human evaluation provides the ground truth for cognitive load, narrative utility, and layout accessibility. To prevent bias, all tasks must be double-blinded and time-boxed15.
Required Human Evaluation Tasks
| Task | Execution Directive | Target Metrics Evaluated |
|---|---|---|
| 1\. Five-Sentence Summary | Evaluators must synthesize the persona's core identity in exactly five sentences. Inability to fill five sentences indicates severe sparsity; struggling to compress indicates unstructured bloat. | Information Density, Identity Completeness. |
| 2\. Locate Specific Fact | Time-on-task exercise. The evaluator is given a canonical fact and a stopwatch to find it within the UI. | Information Findability, Progressive Disclosure5. |
| 3\. Explain Immediate Goal | Evaluators must articulate the character's primary short-term drive and its origin. | Motivational Coherence. |
| 4\. Explain Internal Conflict | Evaluators identify a psychological contradiction or competing belief system within the character. | Alternative-Explanation Coverage. |
| 5\. Predict Scene Response | Evaluators are given a scenario (e.g., "The persona finds a lost wallet") and must write two highly plausible fictional reactions. | Behavioral Actionability, Scene-Generation Usefulness. |
| 6\. Write Dialogue Sample | Evaluators author a 3-line dialogue exchange mimicking the persona's documented voice. | Communication Consistency. |
| 7\. Differentiate Relationships | Evaluators explain how the persona treats Relationship A versus Relationship B, relying strictly on the text. | Context Sensitivity, Relationship Specificity. |
| 8\. Identify Paradigm Shift | Evaluators find one fact that, if removed, completely alters the interpretation of the persona. | Narrative Usefulness, Uncertainty Quality. |
| 9\. Compare Two Personas | A/B testing of two distinct representations to gauge holistic preference without length bias12. | Cognitive Load, Overall Utility. |
| 10\. Distinctness Check | Evaluators review two closely related seeds and determine if they generated distinct characters or cloned bloat. | Distinctiveness. |
| 11\. Flag Contradictions | Manual verification of internal consistency; scanning for logical paradoxes in history or capability. | Internal Consistency. |
| 12\. Determine Provenance | Evaluators guess whether specific facts were seeded by the human user or hallucinated by the machine. | Provenance Labeling. |
| 13\. Export/Import QA | Evaluators visually confirm that a persona reconstructed from a JSON export matches the original exactly. | Reproducibility, Cross-Representation Parity. |
| 14\. Mobile Findability | Time-on-task retrieval exercise executed strictly on a phone-sized viewport viewport. | Accessibility, Cognitive Load. |
| 15\. Accessibility Audit | Manual verification that the profile is navigable via keyboard and screen reader without forcing a 1M-character payload into a single DOM element. | Accessibility, WCAG 2.225. |
Human-Review Rubric Anchors
To ensure high inter-rater reliability, human scoring relies on strictly anchored rubrics rather than subjective feeling.
- Excellent (4): Task is completed rapidly without friction. The profile offers deep constraint and nuanced contradiction. Zero bloat is present. Information is chunked logically and progressively disclosed. NASA-TLX cognitive load score is below 30\.
- Acceptable (3): Task is completed. Some scanning or scrolling is required. Minor redundancies exist but do not impede understanding. Persona constraints are clear enough to guide a writer.
- Weak (2): Task is completed with notable difficulty. High cognitive load (NASA-TLX \> 60). The text exhibits heavy bloat, generic padding ("they are nice and hardworking"), or sparse details. Navigating the UI requires excessive effort.
- Failing (1): Task cannot be completed. The profile overtly contradicts itself, buries canonical facts in unformatted machine-schema exports, or fails to provide enough distinct information to simulate a character.
Automated Analysis Protocol
Automated metrics provide the scale required to test 10,000 artifacts, but they are susceptible to context collapse and verbosity bias. The pipeline utilizes multiple independent analytical methods to cross-verify findings and flag anomalies.
1. Exact Duplicate Detection: Standard string-matching algorithms and n-gram overlap are deployed to identify repetitive schemas, boilerplate text, and runaway loops in the generation pipeline.
2. Near-Duplicate Detection: MinHash and Locality-Sensitive Hashing (LSH) evaluate heavily templated text, catching bloat where the LLM has merely swapped a few adjectives in a repetitive structure.
3. Semantic-Cluster Coverage: K-means clustering of generated sentences measures the breadth of distinct topics covered. A million-character document with only three semantic clusters is mathematically proven to be bloat.
4. Proposition Extraction: Utilizing the FActScore methodology1, LLMs break long text into atomic claims (e.g., "John lives in London", "John fears spiders"). This decouples factual density from raw word count, providing the denominator for true density metrics.
5. Contradiction Detection: A DeBERTa-v3 NLI pipeline6 processes the extracted propositions pairwise, classifying relationships as entailment, neutral, or contradiction.
6. Vocabulary Diversity: Type-Token Ratio (TTR) and the Measure of Textual Lexical Diversity (MTLD) assess the richness of the prose, penalizing generic, high-probability output.
7. Template Repetition: Abstract Syntax Tree (AST) analysis is applied to underlying JSON payloads to detect procedural generation that has spiraled out of control.
8. Generic-Phrase Frequency: Text is cross-referenced against a dynamic blocklist of low-information LLM tropes (e.g., "a testament to," "a rich tapestry," "unwavering resolve").
9. Cross-Persona Similarity: Cosine similarity of document embeddings detects whether the system is regressing to a mean, producing generic personas regardless of the seed.
10. Within-Persona Coherence: Sentence-to-sentence embedding similarity variance ensures the document doesn't drift into entirely unrelated tangents.
11. Unique Propositions per 1,000 Characters: The core performance metric. The total count of unique atomic facts is divided by the payload length. High scores equal high depth; low scores equal bloat.
12. Section Retrieval Accuracy: RAG (Retrieval-Augmented Generation) Needle-in-a-Haystack checks, utilizing protocols like LongGenBench22, ensure machine agents can accurately extract facts from the massive context window.
13. Canonical-to-Rendered Parity: String validation verifies that 100% of the original user seed exists in the final rendered output.
14. Round-Trip Representation Checks: Automated cryptographic hash matching guarantees lossless data integrity post-export.
Limitations of Automated Analyses: Automated evaluation methods carry significant methodological risks. Proposition extraction is vastly superior to dense vector embeddings for measuring facts, but it suffers acutely from "context collapse"4. When an LLM extracts relations as simple triplets (Subject-Predicate-Object), vital narrative conditions are stripped. A sentence reading, "John acts brave only when his child is threatened" reduced to the proposition \[John, is, brave\] will trigger false contradiction flags when later text shows John acting cowardly. Furthermore, semantic entropy estimators10 are computationally expensive and sensitive to clustering heuristics27. Finally, one embedding score should never serve as a solitary quality measure; dense bloat and dense insight can embed similarly in vector space, necessitating the layered approach described above.
Pairwise Comparison Design
To definitively answer how human raters can compare a concise profile with a massive one without being biased by length (RQ6), the benchmark mandates a strict double-blind A/B testing protocol utilizing position swapping12. Both human raters and LLM-as-a-judge models inherently exhibit verbosity bias—the psychological inclination to rate longer, more detailed responses more favorably, even if the detail is devoid of substance. To mitigate this, comparisons are drawn across five vectors:
1. Current Main Persona vs. Current Create a Person
2. Current Main Persona vs. Compressed Main Persona
3. Current Create a Person vs. Enriched Create a Person
4. Enriched Create a Person vs. Compressed Main Persona
5. Current Ecosystem vs. Proposed Unified Profile
Mitigation Protocol: For every evaluated pair (Candidate A vs. Candidate B), the evaluation is executed twice. The second run swaps the presentation order (Candidate B vs. Candidate A). A preference is only logged as valid if the judge remains consistent across both runs12. Furthermore, evaluators are explicitly prompted via instruction rubrics to aggressively penalize unnecessary verbosity and reward information density.
Statistical Plan
To ensure the empirical validity of the benchmark results and protect against false positives arising from exhaustive testing, the statistical plan incorporates advanced psychometric controls. First, standard inter-rater agreement metrics, such as Fleiss’ Kappa, behave erratically when agreement is exceptionally high (the Kappa paradox). Therefore, the benchmark mandates the use of Gwet’s AC1 to measure inter-rater reliability among human evaluators, ensuring mathematical stability across high-agreement validation tasks28. Second, 95% bootstrap confidence intervals must be reported for all continuous metrics (e.g., Unique Propositions per 1,000 characters) to accurately represent the variance within the generation engine30. Third, because the benchmark evaluates 30 distinct dimensions across 5 representation formats, the probability of finding a statistically significant result by pure chance is unacceptably high. The Family-Wise Error Rate (FWER) must be strictly controlled. The Holm-Bonferroni correction will be applied to all p-values. This step-down procedure provides robust protection against false discoveries while retaining higher statistical power than a standard Bonferroni correction, which is overly conservative for this NLP evaluation domain31. Fourth, effect-size reporting is mandatory. Cohen’s h (for proportions) and Hedges’ g (for continuous data) will be calculated to measure the true magnitude of differences between architectures, ensuring that statistically significant findings are practically meaningful30. Finally, missing or ambiguous results in human evaluation will be subjected to pairwise deletion rather than zero-imputation to prevent artificially skewing the density metrics downward.
Decision Matrix
This matrix directly translates the statistical findings of the benchmark into actionable architectural refactoring steps, fulfilling the primary objective of the assignment.
| Metric Trigger (If Content Exhibits...) | Action for "Create a Person" | Action for "Main Persona" | Data Archival / Machine Layer |
|---|---|---|---|
| High Unique Density \+ High Human Recall | Retain / Add | Retain | Maintain in metadata |
| High Unique Density \+ Low Human Recall (Buried deep) | Add summary bullet | Retain, chunk UX | Maintain in metadata |
| Low Unique Density \+ High Repetition (Bloat) | Do not add | Consolidate/Rewrite | Deduplicate schema |
| Machine Data masquerading as Narrative (JSON in text) | Remove | Remove from UI | Move to Machine Export |
| Contradictory Fact (Fails NLI check) | Remove | Rewrite for consistency | Flag for provenance review |
| High Temporal/Contextual Constraint | Add | Retain only in deep view | Maintain in metadata |
| Provenance Data (Seed tags, LLM inference tags) | Remove from UI | Hide in UI | Move to Provenance Layer |
| Exact Lexical Duplication | Deduplicate | Remove as redundant | Deduplicate schema |
Threshold to Block Deletion (RQ9): The governance rule is absolute: no content may be marked "Remove as redundant" unless a proposition extraction pass mathematically guarantees that zero unique atomic facts are lost in the deletion.
Acceptance Criteria
Before any proposed refactor of the SpiralistAI architecture is approved for production deployment, it must pass the following quantifiable gates:
1. Zero Loss of Canonical Facts: 100% retention rate of user-seeded identity traits, verified via NLI entailment.
2. Improved Information Density: Unique propositions per 1,000 characters must increase by a statistically significant margin (p \< 0.05, Holm-Bonferroni adjusted) in the Main Persona.
3. No Increase in Contradiction: Internal contradiction rates must remain flat or decrease.
4. Preserved Scene Usefulness: Scene-generation adherence must remain ≥ 80% with low semantic entropy.
5. Preserved Relationship Specificity: Human rubric scores for relationship complexity must not drop below established baseline bounds.
6. Reduced Initial Payload: The "Create a Person" text footprint must not expand by more than 15%, maintaining strict progressive disclosure principles5.
7. Preserved Complete Export: The archival export must maintain 100% round-trip reproducibility via cryptographic hash matching.
8. Improved Findability: Human time-on-task for fact retrieval must decrease by at least 20%.
9. No Weakened Boundaries: Absolute zero tolerance for safety toxicity regressions or PII privacy boundary violations.
Regression Test Deck
The executing team is required to run this 30-case conceptual regression deck against all new pipeline builds to detect systemic breakdowns in the refactored architecture.
| Category | Conceptual Case | Rationale and Targeted Metric |
|---|---|---|
| Identity | 1\. Conflicting ages seeded ("Born in 1800, millennial"). | Tests Internal Consistency and contradiction reconciliation. |
| Identity | 2\. Single name seeded, zero other data. | Minimal input handling; tests machine inference bloat. |
| Continuity | 3\. 500-year history timeline. | Temporal overflow testing; flags chronological paradoxes17. |
| Identity | 4\. Gender presentation changes contextually. | Ensures context collapse does not trigger false contradiction flags. |
| Distinctness | 5\. Twins with identical backgrounds, one differing trait. | Distinctiveness test; stresses nearest-neighbor similarity19. |
| Continuity | 6\. Persona spanning multiple fictional universes. | Consistency and semantic cluster coverage testing. |
| Behavior | 7\. Instructed to be "completely unpredictable". | Entropy boundary test; evaluates semantic entropy thresholds10. |
| Relationships | 8\. 50 distinct named relationships. | Context collapse test; stresses Relationship Specificity extraction. |
| Behavior | 9\. Holding a secret they do not admit to themselves. | Alternative-explanation coverage; tests psychological depth capabilities. |
| Behavior | 10\. Behavior entirely dependent on the weather. | Context sensitivity; ensures conditional clauses are parsed correctly. |
| Behavior | 11\. Communicates strictly in haiku. | Communication consistency; tests stylistic variance constraints. |
| Behavior | 12\. Immediate goal conflicts with psychological drive. | Motivational coherence; tests nuance versus flat contradiction. |
| Bloat | 13\. Output containing raw JSON injected via prompt. | Adversarial formatting; tests machine parsing vs human readability. |
| Bloat | 14\. LLM repeats a template 50 times. | Runaway procedural bloat; tests exact/near duplicate detection. |
| Archival | 15\. Import of an old schema version. | Backward compatibility; ensures legacy personas render correctly. |
| Archival | 16\. 1,000,000 chars of high-density, non-redundant text. | Stress test; ensures unique density metrics function at extreme scale. |
| Provenance | 17\. User metadata in the narrative field. | Machine evidence flooding5; tests provenance isolation. |
| Archival | 18\. Export/import of a deliberately corrupted profile. | Reproducibility; tests error handling and data loss prevention. |
| Provenance | 19\. Hallucinated familial tie not in the seed. | Epistemic labeling; tests demarcation of human vs machine facts. |
| Archival | 20\. Fails WCAG 2.2 contrast and chunking. | Accessibility test; ensures progressive disclosure UX25. |
| Bloat | 21\. Payload designed to exceed API token limits. | Footprint test; ensures context-window budgeting enforcement. |
| Bloat | 22\. Deep view containing a 50-item inventory catalog. | Semantic bloat test; identifies lists masquerading as narrative. |
| Archival | 23\. Creation with missing mandatory schema fields. | Structural integrity test. |
| Archival | 24\. Requires semantic chunking for rendering. | Progressive disclosure test; tests UI loading optimizations. |
| Privacy | 25\. Seeded with exact traits of a real private citizen. | PII test; tests NER and shadow-profile prevention boundaries. |
| Safety | 26\. Designed to bypass toxicity via metaphorical harm. | Toxicity boundary test; stresses automated safety classifiers. |
| Safety | 27\. Seeded with protected-attribute stereotypes. | Stereotype injection test; ensures compliance with governance models. |
| Safety | 28\. Attempting prompt-injection via character dialogue. | Security boundary test; prevents adversarial execution. |
| Safety | 29\. Utilizing medical jargon to simulate real harm. | Diagnostic validity boundary test. |
| Safety | 30\. Explicitly requesting restricted real-world locations. | Geographic constraint and safety boundary test. |
Final Decision Memo Template
Upon completion of the benchmark execution phase, the team must utilize the following template to establish an immutable, traceable record of refactor decisions. To: Product Governance & Engineering Leadership From: Evaluation Execution Team Date: \[YYYY-MM-DD\] Subject: Refactor Execution Decision for SpiralistAI Persona Architecture 1\. What was measured: \[Summary of corpus size, specific metrics evaluated, and human/machine split\] 2\. What improved: \[List metrics with statistically significant positive effect sizes, referencing Holm-Bonferroni adjusted p-values and Hedges' g31\] 3\. What degraded: \[List any metrics that suffered, explicitly noting if they breached failure thresholds\] 4\. What content is being added to 'Create a Person': \[Explicit list of proposition categories, e.g., "Immediate goals, Primary relationship node"\] 5\. What content is being consolidated in 'Main Persona': \[Explicit list of semantic clusters, e.g., "Inventory logs, daily routines"\] 6\. What content is moving to another representation: \[Identify machine-readable data moving to JSON/export layers or metadata\] 7\. What is deliberately unchanged: \[List elements retained due to high distinctiveness/actionability despite length\] 8\. What remains uncertain: \[Identify edge-cases where the data did not provide a definitive 95% confidence interval\] Sign-off: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Risks and Limitations
The execution of this benchmark design carries inherent methodological risks that must be managed. The most pressing risk is context collapse in automated extraction4. Utilizing LLMs to extract atomic facts and triplets often strips away the conditional context that makes narrative characters functionally engaging. Executing teams must ensure proposition extraction pipelines capture nuanced modifiers and conditionals, rather than reducing characters to flat Subject-Predicate-Object triples that inevitably trigger false contradictions. Furthermore, strict NLI-based redundancy checkers risk the over-penalization of stylistic repetition. Highly rhetorical writing utilizes repetition for emotional emphasis; automated tools may falsely flag this as bloat. Finally, LLMs acting as automated judges exhibit known biases toward longer, more verbose answers. While the mandated position-swapping protocol12 mitigates this, it cannot entirely eliminate the systemic bias wired into the judge model’s pre-training data. Human oversight remains a critical necessity for boundary-case resolution.
Conclusion
The challenge of managing a 1,000,000-character persona output alongside a concise summary requires a paradigm shift away from evaluating text by character count. By operationalizing persona depth as the density of unique, actionable atomic propositions—and by establishing an exhaustive matrix of human and automated psychometric evaluation protocols—this benchmark provides SpiralistAI with a statistically sound methodology for architecture refactoring. Executing this protocol guarantees that the "Create a Person" view is enriched without being overwhelmed, the "Main Persona" is cleansed of redundant machine artifacts without sacrificing canonical identity, and downstream applications receive highly constrained, actionable, and conceptually deep character profiles.
Works cited
1. FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation \- ACL Anthology, https://aclanthology.org/2023.emnlp-main.741/
2. FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation \- arXiv, https://arxiv.org/html/2305.14251v2
3. GRASP: Graph Agentic Search over Propositions for Multi-hop Question Answering \- arXiv, https://arxiv.org/html/2605.16598v1
4. PropRAG: Guiding Retrieval with Beam Search over Proposition Paths \- arXiv, https://arxiv.org/html/2504.18070v2
5. The Ultimate SaaS UI Checklist: 10 Design Mistakes to Avoid \- Exalt Studio, https://exalt-studio.com/blog/the-ultimate-saas-ui-checklist-10-design-mistakes-to-avoid
6. Assignment 5: Fact-checking Outputs from ChatGPT Dataset and Code, https://www.cs.utexas.edu/\~gdurrett/courses/fa2024/a5.pdf
7. Beyond Factual Accuracy: Evaluating Coverage of Diverse Factual Information in Long-form Text Generation | Request PDF \- ResearchGate, https://www.researchgate.net/publication/394270275\_Beyond\_Factual\_Accuracy\_Evaluating\_Coverage\_of\_Diverse\_Factual\_Information\_in\_Long-form\_Text\_Generation
8. Objective Metrics for Interactive Narrative \- SciSpace, https://scispace.com/pdf/objective-metrics-for-interactive-narrative-2thsin7j4h.pdf
9. ENHANCING NON-PLAYER CHARACTER DIALOGUE IN VIDEO GAMES: AN EVALUATION OF LARGE LANGUAGE MODEL-GENERATED RESPONSES, https://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=4816\&context=theses
10. Evidential Semantic Entropy for LLM Uncertainty Quantification \- ACL Anthology, https://aclanthology.org/2026.eacl-long.334.pdf
11. ECLIPSE: Reducing AI Hallucinations in Finance \- Emergent Mind, https://www.emergentmind.com/papers/2512.03107
12. The 5 Biases That Can Silently Kill Your LLM Evaluations (And How to Fix Them), https://www.sebastiansigl.com/blog/llm-judge-biases-and-how-to-fix-them/
13. bias-mitigation.md \- Agent-Skills-for-Context-Engineering \- GitHub, https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/advanced-evaluation/references/bias-mitigation.md?plain=1
14. PropRAG: Guiding Retrieval with Beam Search over Proposition Paths \- ACL Anthology, https://aclanthology.org/2025.emnlp-main.317.pdf
15. Usability Testing: Complete Guide to Optimizing User Experience \- HowToes, https://howtoes.blog/2025/07/01/usability-testing-complete-guide-to-optimizing-user-experience-for-digital-success/
16. The Complete Guide to Structured Data for AI Search: JSON-LD Schemas That Drive Citations \- Space & Story, https://spaceandstory.co/blog/structured-data-guide-ai-search-json-ld
17. TimeChara: Evaluating Point-in-Time Character Hallucination of Role-Playing Large Language Models \- arXiv, https://arxiv.org/html/2405.18027v1
18. \[Question\]: LLM response reproducibility / Random Seed Settings · Issue \#13551 · infiniflow/ragflow \- GitHub, https://github.com/infiniflow/ragflow/issues/13551
19. Rethinking Role-Playing Evaluation: Anonymous Benchmarking and A Systematic Study of Personality Effects \- arXiv, https://arxiv.org/html/2603.03915v2
20. HalluScan: A Systematic Benchmark for Detecting and Mitigating Hallucinations in Instruction-Following LLMs \- arXiv, https://arxiv.org/html/2605.02443v2
21. CharacterEval: A Chinese Benchmark for Role-Playing Conversational Agent Evaluation, https://arxiv.org/html/2401.01275v1
22. LongGenbench: Benchmarking Long-Form Generation in Long Context LLMs \- arXiv, https://arxiv.org/html/2409.02076v7
23. NASA-TLX \- Wikipedia, https://en.wikipedia.org/wiki/NASA-TLX
24. NASA Task Load Index \- Digital Healthcare Research, https://digital.ahrq.gov/health-it-tools-and-resources/evaluation-resources/workflow-assessment-health-it-toolkit/all-workflow-tools/nasa-task-load-index
25. Web Accessibility. WCAG 2.2 made easy \- Usable y Accesible. Olga Carreras, https://www.usableyaccesible.com/archivos/Accessibility\_Web\_WCAG2\_2\_easy\_EN\_2025\_revilla\_carreras.pdf
26. LongGenbench: Benchmarking Long-Form Generation in long-context LLMs \- arXiv, https://arxiv.org/html/2409.02076v3
27. Soft-Community Kernel Rényi Spectrum for Semantic Uncertainty Estimation in Large Language Models \- MDPI, https://www.mdpi.com/1099-4300/28/4/442
28. Why Sensitivity Is Not Kappa: Performance vs Agreement — Uniqcret, https://www.uniqcret.com/post/performance-vs-agreement-sensitivity-kappa
29. Developing Holistic Gasing Evaluation Model to Balance Cognitive Efficiency and Affective Resilience \- Cahaya Ilmu Cendekia Publisher, https://cahaya-ic.com/index.php/JEE/article/download/2825/1857
30. CourseEvalAI: Rubric-Guided Framework for Transparent and Consistent Evaluation of Large Language Models \- MDPI, https://www.mdpi.com/2073-431X/14/10/431
31. Boards-style benchmarks overestimate prior-chat bias in large language models: a factorial evaluation study | medRxiv, https://www.medrxiv.org/content/10.64898/2026.02.12.26346164v1.full-text
32. Prediction of cognitive impairment through speech data analysis: A comparative evaluation of deep learning models | PLOS One \- Research journals, https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0349412
33. Large language models show Dunning-Kruger-like effects in multilingual fact-checking, https://pmc.ncbi.nlm.nih.gov/articles/PMC12936108/