GlyphMemory
Handwriting recognition with gradient-free writer adaptation, and a measurement of when to trust it.
Security note: Negative results kept: 115 of 308 writers got worse
- Role
- Author
- Status
- research · manuscript under review
- Layer
- L3 AI systems
- Stack
- Python, Neural HTR, Pre-registered evaluation
AI Cortex, AI systems layer1 graph · 5 agentskeyreach, Platform & delivery layer32 providersContributor Scout, AI systems layer6 reviewersSBOM + SCA (SBOM & SCA Automation), Platform & delivery layer3,500+ secretsProductForge, AI systems layer5 gated stagesSDLC agents (SDLC Agent Family), AI systems layer5 agentsGlyphMemory, AI systems layer308 writersZephyron, AI systems layer151 attack typesCyberShastra, Backend & data layer27 look-up typesKodeAtlas, Backend & data layer6 languagesRelease train (Release-Train Orchestration), Platform & delivery layer100+ servicesDoc storage (Hybrid Document Storage), Backend & data layer200K+ uploads/moCloud Critic, Platform & delivery layer13 Azure toolsLLM Guard (LLM Guard & LeakGuard), AI systems layeron-device DLPData masking (Dynamic Data Masking), Backend & data layerMySQL + PostgreSQLCyber range (Cyber Range Platform), Backend & data layer1,000+ learnersPentest bot (Automated Web Pentest Bot), Backend & data layerrecon → report
Attacker’s note: Per-project isolation, enforced at every layer.Attacker’s note: Deterministic, read-only, zero AI by design.Attacker’s note: Findings without an input-to-impact chain are rejected.Attacker’s note: 3,500+ exposed credentials surfaced, then gated.Attacker’s note: Every claim carries a confidence label.Attacker’s note: Audit log keeps field names, never values.Attacker’s note: Negative results kept: 115 of 308 writers got worse.Attacker’s note: Every leak proven by a canary the target can’t fake.Attacker’s note: No access until an admin approves; every look-up logged.Attacker’s note: Every edge traced to an exact source line.Attacker’s note: Single-click rollback for the whole train.Attacker’s note: Keeps serving through network-tunnel failures.Attacker’s note: Read-only: it never modifies infrastructure.Attacker’s note: Prompt injection → explainable allow / flag / block.Attacker’s note: Sensitive data masked by role, with auditability.Attacker’s note: An isolated Kali environment per learner.Attacker’s note: Recon, scanning and reporting as one workflow.
Problem
A generic handwriting recognizer must transcribe writers it has never seen. A few labelled lines from a new writer contain writer-specific information — but the recognizer has already made a decision at every character, most of them correct. When should writer evidence overturn a decision already made, when being wrong costs a correct character?
Constraints
- No language models anywhere in the recognition path — no LLM, lexicon, dictionary, or spell correction.
- No pretrained OCR/HTR models or backbones; weights start randomly initialised.
- A 3.0M-parameter ceiling enforced by a test; the released recognizer has 1,544,560 parameters.
- No deployment-time gradients: enrolling a writer is forward passes, alignment, and prototype compilation.
- Writer identifiers never leak across splits — asserted in code.
- No number stated that wasn’t produced by a command in the repository.
Decisions
- Separate four questions
- Presence → complementarity → accessibility → reliability: is writer structure there, is it right where the recognizer is wrong, can an inference signal find it, and are interventions reliable enough to act on?
- Pre-register, then evaluate externally
- Protocols were pre-registered and evaluated on 308 writers of an external corpus.
Results
- Writer memory holds the correct answer for 41.7% of the recognizer’s character errors on the development cohort.
- On 308 external writers, selective use gave a small, statistically resolved mean improvement — with intervention precision 0.5425, and 115 of 308 writers ending worse.
- Two independent repairs improved the writer-identity objective they were given while their usefulness for deciding when to correct declined.
Takeaways
- Making information actionable doesn’t make it reliable. Negative results are kept, not discarded.