Upload README_SynCo_HF_full.md
Browse files- README_SynCo_HF_full.md +142 -0
README_SynCo_HF_full.md
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- brain-inspired
|
4 |
+
- spiking-neural-network
|
5 |
+
- biologically-plausible
|
6 |
+
- modular-architecture
|
7 |
+
- reinforcement-learning
|
8 |
+
- vision-language
|
9 |
+
- pytorch
|
10 |
+
- curriculum-learning
|
11 |
+
- cognitive-architecture
|
12 |
+
- artificial-general-intelligence
|
13 |
+
license: mit
|
14 |
+
datasets:
|
15 |
+
- mnist
|
16 |
+
- imdb
|
17 |
+
- synthetic-environment
|
18 |
+
language:
|
19 |
+
- en
|
20 |
+
library_name: transformers
|
21 |
+
widget:
|
22 |
+
- text: "The first blueprint and the bridge to Neuroscience and Artificial Intelligence."
|
23 |
+
- text: "I’m sure this model architecture will revolutionize the world."
|
24 |
+
model-index:
|
25 |
+
- name: ModularBrainAgent
|
26 |
+
results:
|
27 |
+
- task:
|
28 |
+
type: image-classification
|
29 |
+
name: Vision-based Classification
|
30 |
+
dataset:
|
31 |
+
type: mnist
|
32 |
+
name: MNIST
|
33 |
+
metrics:
|
34 |
+
- type: accuracy
|
35 |
+
value: 0.98
|
36 |
+
- task:
|
37 |
+
type: text-classification
|
38 |
+
name: Language Sentiment Analysis
|
39 |
+
dataset:
|
40 |
+
type: imdb
|
41 |
+
name: IMDb
|
42 |
+
metrics:
|
43 |
+
- type: accuracy
|
44 |
+
value: 0.91
|
45 |
+
- task:
|
46 |
+
type: reinforcement-learning
|
47 |
+
name: Curiosity-driven Exploration
|
48 |
+
dataset:
|
49 |
+
type: synthetic-environment
|
50 |
+
name: Synthetic Environment
|
51 |
+
metrics:
|
52 |
+
- type: cumulative_reward
|
53 |
+
value: 112.5
|
54 |
+
---
|
55 |
+
|
56 |
+
# 🧠 ModularBrainAgent: A Brain-Inspired Cognitive AI Model
|
57 |
+
|
58 |
+
ModularBrainAgent (SynCo) is a biologically plausible, spiking neural agent combining vision, language, and reinforcement learning in a single architecture. Inspired by human neurobiology, it implements multiple neuron types and complex synaptic pathways, including excitatory, inhibitory, modulatory, bidirectional, feedback, lateral, and plastic connections.
|
59 |
+
|
60 |
+
It’s designed for researchers, neuroscientists, and AI developers exploring the frontier between brain science and general intelligence.
|
61 |
+
|
62 |
+
---
|
63 |
+
|
64 |
+
## 🧩 Model Architecture
|
65 |
+
|
66 |
+
- **Total Neurons**: 66
|
67 |
+
- **Neuron Types**: Interneurons, Excitatory, Inhibitory, Cholinergic, Dopaminergic, Serotonergic, Feedback, Plastic
|
68 |
+
- **Core Modules**:
|
69 |
+
- `SensoryEncoder`: Vision, Language, Numeric integration
|
70 |
+
- `PlasticLinear`: Hebbian and STDP local learning
|
71 |
+
- `RelayLayer`: Spiking multi-head attention module
|
72 |
+
- `AdaptiveLIF`: Recurrent interneuron logic
|
73 |
+
- `WorkingMemory`: LSTM-based temporal memory
|
74 |
+
- `NeuroendocrineModulator`: Emotional feedback
|
75 |
+
- `PlaceGrid`: Spatial grid encoding
|
76 |
+
- `Comparator`: Self-matching logic
|
77 |
+
- `TaskHeads`: Classification, regression, binary outputs
|
78 |
+
|
79 |
+
---
|
80 |
+
|
81 |
+
## 🧠 Features
|
82 |
+
|
83 |
+
- 🪐 Multi-modal input (images, text, numerics)
|
84 |
+
- 🔁 Hebbian + STDP local plasticity
|
85 |
+
- ⚡ Spiking simulation via surrogate gradients
|
86 |
+
- 🧠 Biologically inspired synaptic dynamics
|
87 |
+
- 🧬 Curriculum and lifelong learning capability
|
88 |
+
- 🔍 Fully modular: plug-and-play cortical units
|
89 |
+
|
90 |
+
---
|
91 |
+
|
92 |
+
## 📊 Performance Summary
|
93 |
+
|
94 |
+
*Note: Metrics shown below are for illustrative purposes from synthetic and internal tests.*
|
95 |
+
|
96 |
+
| Task | Dataset | Metric | Result |
|
97 |
+
|-----------------------|----------------------|-------------------|----------|
|
98 |
+
| Digit Recognition | MNIST | Accuracy | 0.98 |
|
99 |
+
| Sentiment Analysis | IMDb | Accuracy | 0.91 |
|
100 |
+
| Exploration Task | Gridworld Simulation | Cumulative Reward | 112.5 |
|
101 |
+
|
102 |
+
---
|
103 |
+
|
104 |
+
## 💻 Training Data
|
105 |
+
|
106 |
+
- **MNIST**: Handwritten digit classification
|
107 |
+
- **IMDb**: Sentiment classification from text
|
108 |
+
- **Synthetic Environment**: Grid-based exploration with feedback
|
109 |
+
|
110 |
+
---
|
111 |
+
|
112 |
+
## 🧪 Intended Uses
|
113 |
+
|
114 |
+
| Use Case | Description |
|
115 |
+
|-----------------------------|------------------------------------------------------------|
|
116 |
+
| Neuroscience AI Research | Simulating cortical modules and spiking dynamics |
|
117 |
+
| Cognitive Simulation | Experimenting with memory, attention, and decision systems |
|
118 |
+
| Multi-task Agents | One-shot learning across vision + language + control |
|
119 |
+
| Education + Demos | Accessible tool for learning about bio-inspired AI |
|
120 |
+
|
121 |
+
---
|
122 |
+
|
123 |
+
## ⚠️ Limitations
|
124 |
+
|
125 |
+
- Early-stage architecture (prototype stage)
|
126 |
+
- Unsupervised/local learning only (no gradient-based finetuning yet)
|
127 |
+
- Synthetic data only for now
|
128 |
+
- Accuracy and metrics not benchmarked on large-scale public sets
|
129 |
+
|
130 |
+
---
|
131 |
+
|
132 |
+
## ✨ Credits
|
133 |
+
|
134 |
+
Built by **Aliyu Lawan Halliru**, an independent AI researcher from Nigeria.
|
135 |
+
SynCo was created to demonstrate that anyone, anywhere, can build synthetic intelligence.
|
136 |
+
|
137 |
+
---
|
138 |
+
|
139 |
+
## 📜 License
|
140 |
+
|
141 |
+
MIT License © 2025 Aliyu Lawan Halliru
|
142 |
+
Use freely. Cite or reference when possible.
|