AGISystem2 uses hyperdimensional computing: representing concepts as vectors in a 384-dimensional space. At this scale, vectors are nearly orthogonal by default, enabling robust composition, similarity search, and interference-free storage of millions of concepts.

384-Dimensional Vector (Int8) d0 d1 d2 ... 255 256 257 ... 383 Ontology (0-255) Axiology (256-383) Key Properties Near-orthogonality Random vectors have ~0 similarity Distance preservation Similar concepts stay similar after ops Noise robustness Small errors don't change semantics Core Operations Addition (bundling) v(Dog) + π(v(Animal)) → fact vector Permutation (binding) π(v) reorders dims for role encoding Masked L1 distance Σ mask[i] × |a[i] - b[i]|

AGISystem2's 384-dimensional vectors use Int8 values. Dimensions 0-255 encode ontological (factual) information; dimensions 256-383 encode axiological (value) information. Core operations are bundling (addition), binding (permutation), and similarity (masked L1 distance).

Why High Dimensions?

In high-dimensional spaces, random vectors are nearly orthogonal. This means:

The number 384 is chosen to balance capacity (enough for rich representations) with efficiency (fits in cache, fast SIMD operations).

Int8 Arithmetic

AGISystem2 uses signed 8-bit integers (-128 to +127) with saturating arithmetic:

OperationBehaviorBenefit
Saturating add 100 + 50 = 127 (not overflow) No wraparound bugs
No multiplication Only add/subtract/permute Fast, deterministic
L1 distance Sum of absolute differences No floating-point issues

Implementation

The Geometry Layer provides the core vector operations:

ComponentRole
VectorSpace Allocate and manage Int8Array(384) buffers
MathEngine Saturating add, masked L1 distance
RelationPermuter Generate and apply permutations for relations
BoundedDiamond Concept shapes with center, radius, mask

Related Documentation