45+ custom algorithms Β· 207K lines Β· 85% original IP Β· Forward/backward propagation from scratch Β· Self-improving nightly
Every model hand-designed, hand-coded, trained on our data. Forward + backward propagation implemented from scratch where indicated.
Z=relu(AΒ·XΒ·W). Backward: MSE gradient β sigmoid deriv β ReLU mask β weight update. 800 epochs, lr=0.003. No PyG/DGL.Ο(XΒ·w+b). Backward: dw = X.TΒ·(predβy)/n + λ·w. 500 epochs, lr=0.1, Ξ»=0.01. 7 dims β scoring weights.auth *= e^(β0.01 Γ days). Floor 0.2. Triggers re-validation after 7 days stale. Nightly after GCN.Closed-loop: Teacher evaluates β Students update weights β Generators adapt β Outcomes feed back.
| Stage | Teacher Action | Student Learns | Algorithm |
|---|---|---|---|
| Phase 9: Teacher | Claude evaluates 20 brains β quality score | Master dims 19-24 (teacher_quality[6]) update | LLM β structured score β DDB β input features |
| Phase 14: Distill | NPEAD collects ADVANCE vs REJECT decisions | GEN V3 reads DISTILLED_WEIGHTS per target_class | Feature importance β threshold β generation constraints |
| RL (4am daily) | Vina scores = reward signal | MolTransformer v3 weights via REINFORCE | βVina β log_prob Γ advantage β Adam step |
| Phase 3: Learn | Outcomes (IC50, grades) = labels | FusionWeightLearner β new scoring vector | Gradient descent β w β NPEAD + Rust scoring |
| Phase 4: GCN | Hero grades = authority labels | CIFOG GCN retrains (286β128β64β1) | Manual backprop (MSE) β W1,W2,W3 updated |
| Phase 13: SELF | Cortex-SELF diagnoses failures | GateOptimizer adjusts thresholds | Failure clusters β proposals β replay β promote/retire |
Key: Teacher never directly modifies weights. It produces quality signals that become input features or labels. Students learn via their own gradient algorithms.
3-layer FFN (53β128β64β32), ReLU. Dual head: Trust (sigmoid) + Strategy (5-class softmax). Input: 18 brain + 6 teacher + 1 capsule + 7 molecular + 5 class + 4 meta + 12 NPEAD. NumPy inference.
Evidence-directed action selector. EIV formula (gain Γ impact Γ reliability Γ· cost). 7-dim uncertainty map. Counterfactual simulator (blocks worthless actions). Meta-learning policy (learns per target_class). CortexQ validation layer (6 override rules). Immediate learning after every batch job. Auto-kills TSGs + undruggable. 89% accuracy, 63% rescue rate.
6-layer Transformer (GPT), 8 heads, 256d, 512 FFN. SELFIES tokens. Conditioned: pathway + class + pocket. Trained 40 epochs on 10,258 molecules. 100% validity.
4-layer Transformer Decoder, 4 heads, 256d. Cross-attention to 16-dim condition. Pretrained 2M+ ChEMBL. Fine-tuned via REINFORCE daily.
Scaffold enumeration: 10 scaffolds Γ 8 transforms + pocket-aware routing. Reads: playbook + DISTILLED_WEIGHTS + failure memory + capsules.
Generate β BindNet β Master decides. No GPU for triage. Only ADVANCE gets docked. 90% less GPU waste.
Diagnose failures β propose rules β counterfactual replay β promote/retire. Writes improvement proposals to evidence chain.
Biological World Model. Causal graph: targets, pathways, resistance. Adjusts NPEAD strategy per target class from edges.
15 brains β 38 capsules (10 types Γ 5 cancers). Each = decision-ready claim + confidence. Feeds CortexQ-Gen + GEN V3.
Exports scoring decisions β feature separators per target_class β DISTILLED_WEIGHTS to generators. DLE immediate learning: policy updates after every batch job. Standardized action registry (DynamoDB shared config). CortexQ validates all DLE recommendations.
| # | Brain | Type | Input | Output |
|---|---|---|---|---|
| 1 | Cancer Brain | Knowledge | PubMed binding/structure | Pocket druggability |
| 2 | Genomics | Omics | TCGA mutations, CNV | Driver/passenger |
| 3 | Transcriptomics | Omics | Expression z-scores | Overexpression signal |
| 4 | Proteomics | Omics | UniProt, abundance | Target accessibility |
| 5 | Pathway | Omics | KEGG/Reactome | Centrality, hallmarks |
| 6 | GCN (CIFOG) | Intelligence | 276-node graph | DRIVER confidence |
| 7 | Chemistry | Knowledge | Drug-likeness rules | Scaffold quality |
| 8 | Clinical | Knowledge | Survival, drug response | Clinical relevance |
| 9 | Biomarkers | Knowledge | CDx panels | Diagnostic signal |
| 10 | PubMed | Intelligence | Literature (weekly) | Evidence validation |
| 11 | Evidence | Intelligence | Hash chain integrity | Provenance confidence |
| 12 | DepMap | Intelligence | CRISPR essentiality | Knockout dependency |
| 13 | Curiosity | Advisory | PubMed emerging | Gap detection |
| 14 | Competitor | Intelligence | ClinicalTrials.gov | Pharma validation |
| 15 | Quantum | Intelligence | arXiv quantum+drug | Quantum relevance |
| 16 | Safety | Knowledge | Toxicity papers | ADR/tox signal |
| 17 | Pharmacology | Knowledge | ADMET/PK papers | Bioavailability |
| 18 | BioBrain | Intelligence | PDB structures | Pocket profiles |
| 19 | Teacher | Intelligence | All brain signals | Quality corrections |
| 20 | EGAO Fuser | Orchestrator | All signals | Fused decision |
State-transition graph. Nodes = tumor states. Edges = transitions with blocking genes. Extends CIFOG with escape routes.
5-dim score: expression(0.25) + pathway(0.25) + dependency(0.20) + safety(0.15) + coverage(0.15). Quantifies malignantβnormal reversal.
Betweenness centrality on route graph. Finds genes critical across ALL escape routes.
Predicts next tumor state given intervention. Where does resistance emerge after N steps?
Full state-transition landscape with probabilities. Evolutionary pressure mapping.
Quantum Bottleneck Search. Minimal gene set blocking most escape routes. QAOA for large graphs.
15 scaffolds Γ 12 transforms + SELFIES mutations. Pocket-aware routing. Reads capsules + distilled weights.
Denoising diffusion. MLP denoiser (64+36+1β128β64) + decoder (64β128β25Γ4). Pocket embedding conditions generation.
Conv3d(4β32β64β128) + BN + AdaptiveAvgPool β FC(256β64). 24Β³ grid, 4 channels, 1Γ . PDBbind trained.
RandomForest. Morgan FP(1024) + MW + QED + LE β Vina prediction. Pre-docking filter.
GPU-accelerated docking. 3x parallel spot instances per target (AWS Batch array jobs). Each shard generates/docks independently with different seed β 3x faster + 3x scaffold diversity. g4dn.xlarge spot, 5 regions.
bioavail(0.30) + hERG(0.25) + stability(0.20) + PAINS(0.15) + aggregator(0.10). Lipinski/Veber.
Ry+CNOT parameterized circuit (Braket SV1). Target-class biased scaffold generation.
Read-only comparison pipeline. Design Intent + iterative tightening (3Γ100). Never touches production.
UCCSD ansatz. Corrects classical docking (44% on S-C bonds). Routes when Q-VOI β₯ 0.75.
p=2 QAOA on QUBO. Synergy + diversity β resistance. Optimal 3-target combinations.
Maximizes feature-grade correlation minus redundancy. Identifies predictive NPEAD dims.
Oracle marks low-energy poses, diffusion amplifies. O(βN) speedup.
| Phase | Name | Action |
|---|---|---|
| 1 | Gates + PQM | Permission check, SQS candidates |
| 2 | Load signals | 20 brains β EGAO orchestrator |
| 3 | Learning | Outcomes β FusionWeightLearner + corrections |
| 4 | CIFOG + GCN | Graph neural net trains on 276+ nodes (manual backprop) |
| 5 | Omics refresh | Update omics signals on brain-bus |
| 6-7 | Log + Backup | Activity metadata + S3 snapshots |
| 8 | Display sync | Verified genes β pipeline tables |
| 9 | Teacher | Claude evaluates brain quality β teacher_score[6] |
| 10 | Gene scan | Recycle + auto-revival + wet-lab upgrade + orphan catch |
| 11 | Next actions | Resolve pending re-docks, permissions |
| 12 | Brain feeds | PubMed/CT/UniProt/PDB/arXiv β capsules β playbooks β V3 discovery |
| 13 | Cortex-SELF | Failure diagnosis, rule proposals, counterfactual replay |
| 14 | Distillation | Scoring examples β feature separators β DISTILLED_WEIGHTS |
| 15 | Quantum | Run VQE/QAOA for quantum-routed heroes |
Nightly orchestrator. 15 phases. NPEAD + BWM + SELF + Quantum.
GPU docking pipeline. Parallel array jobs (3 instances/target). GEN V3 + V4 neural + Uni-Dock + ADMET + scoring. Multi-region spot (us-east-1/2, us-west-2, ca-central-1, eu-west-1).
Discovery + Fast Path. Generate β BindNet β Master β parallel dock winners. Submits array jobs. Auto-blocks TSGs/ORs. 5-region spot optimization.
NVIDIA. 14M cancer transcriptomes. Expression patterns, perturbation response.
Meta. 250M protein sequences. Structure + function from sequence.
Bedrock Haiku orchestration. Full-state reasoning. Failsafe: rule-based.
| Model | Key | Size | Algorithm |
|---|---|---|---|
| Cortex Master v7 | models/cortex_master_v1.pt | 200KB | 3-layer FFN + dual head (Trust sigmoid + Strategy softmax) |
| MolTransformer v3 | models/mol_transformer_v3.pt | 12.9MB | 4-layer Transformer Decoder + REINFORCE daily |
| CortexQ Gen v4 | agents/cortexq_gen/cortexq_gen_model_v4.pt | 12.5MB | 6-layer Transformer Encoder (GPT) + SELFIES |
| BindNet v1 | models/bindnet_v1.pkl | 1.1MB | RandomForest (1027 features β Vina) |
| SafetyNet v1 | models/safetynet_v1.pkl | 570KB | RandomForest (tox/hERG/reactive classifier) |
| GCN Weights | models/gcn_weights_latest.json | 950KB | 3-layer GCN manual backprop (nightly retrained) |
| Pocket Encoder | models/pocket_encoder_v1.pt | 2MB | 3D CNN Conv3d(4β128) + FC(256β64) |
Bucket: s3://mindnetq-evidence-ledger-865950114883/models/ Β· All models loaded at runtime (not baked into containers)
Total lines of code
Heroes in pipeline
Custom algorithms
Back-test accuracy
CortexQ Gen params
BRAF validated hit
| Tier | Table | Purpose | Retention |
|---|---|---|---|
| π₯ HOT | cortex-brain-bus | Signals, capsules, playbooks | Permanent |
| π₯ HOT | cortex-heroes | All targets under evaluation | Permanent |
| β‘ ACTIVE | cortex-scan-pool | Gene evaluations (pass/reject) | 90-day TTL |
| βοΈ COLD | cortex-wisdom | Compressed insights from scan pool | Permanent |