📖 Overview
"Meaning is not a point in space. It is the dynamics of interaction between opposing forces."
"The observer is not neutral — it actively modifies the field it measures."
DSFT-TD V2.1 (Dynamic Semantic Field Theory - Temporal Dynamics) is a temporal framework for modeling semantic dynamics as interacting forces rather than static classifications. Unlike traditional NLP classifiers that assign single labels to text, DSFT treats dialogue as a field of four interacting semantic forces.
The semantic forces introduced in DSFT are operational modeling constructs rather than claims about biological cognition, quantum mechanics, or consciousness.
🧠 The Four Semantic Forces (Operational Constructs)
📐 Core Equations
Parameters
| Parameter | Value | Role |
|---|---|---|
| α | 0.20 | Inertia — memory of past state |
| β | 0.25 | Coupling strength |
| γ | 0.50 | Momentum coefficient |
| λ | 0.10 | Hysteresis resistance |
| Mᵢ(t) | ΔF | Fᵢ(t) − Fᵢ(t−1) |
| Rᵢ(t) | persist×0.15 | Accumulated dominance penalty |
[−.12, 0, +.18, −.08],
[−.08, +.15, 0, +.10],
[+.10, −.05, +.08, 0]]
🔭 Observer Modes
Four configurable observer modes alter how the semantic field is sampled. This is a configurable architectural choice, not a claim about quantum measurement.
| Mode | Effect | Deviation |
|---|---|---|
| PASSIVE | No modification to force values | 0.0000 |
| ACTIVE | Amplifies the currently dominant force | 0.0669 |
| REFLEXIVE | Boosts weak and suppressed forces | 0.0000 |
| META | Recursive self-referential observation | 0.0199 |
📦 Installation
# Clone the repository git clone https://github.com/gitdeeper12/IKPS-CORE.git cd IKPS-CORE # Install dependencies npm install # Run all benchmarks npm run benchmark:all # Run individual benchmarks npm run benchmark:transitions npm run benchmark:latency npm run benchmark:drift npm run benchmark:stability
Python Package
pip install ikps-core
🔧 API Reference
DSFTTDV2 — Core Engine
const { DSFTTDV2 } = require('./src/transition/dsft_td_v2.js'); const engine = new DSFTTDV2({ inertia: 0.2, coupling: 0.25, momentum: 0.5, hysteresis: 0.1, observerMode: 'passive' }); // Process dialogue turn const forces = engine.update(dialogueTurn); const precursor = engine.getPrecursorProbability(); const dominant = engine.getDominantForce();
DSFTTDV2 Parameters
| Parameter | Description | Default | Domain |
|---|---|---|---|
| inertia | Memory of past state (α) | 0.2 | 0.0–1.0 |
| coupling | Inter-force coupling strength (β) | 0.25 | 0.0–1.0 |
| momentum | Momentum coefficient (γ) | 0.5 | 0.0–1.0 |
| hysteresis | Hysteresis resistance (λ) | 0.1 | 0.0–1.0 |
| observerMode | Observer configuration | 'passive' | passive, active, reflexive, meta |
🧩 Core Modules
| Module | Description |
|---|---|
| dsft_td_v2.js | Core DSFT-TD V2 engine with full dynamics |
| transitionMatrix.js | Transition operator for force evolution |
| semanticMomentum.js | Momentum tracking for temporal continuity |
| transitionEntropy.js | Turbulence measurement (field entropy) |
| hysteresis.js | Resistance system for force persistence |
| forceDisentanglement.js | Marker-based force extraction |
| earlyPredictor.js | Precursor detection (7-turn early warning) |
📊 Validation Summary
Transition Detection
| Transition Type | Latency | Status |
|---|---|---|
| Analytical → Affective | 7 turns BEFORE | ✓ Early |
| Analytical → Persuasive | 7 turns BEFORE | ✓ Early |
| Affective → Persuasive | 7 turns BEFORE | ✓ Early |
| Persuasive → Exploratory | 7 turns BEFORE | ✓ Early |
| Exploratory → Analytical | 7 turns BEFORE | ✓ Early |
Stability Metrics
| Test | Result |
|---|---|
| Stable Technical (20 turns) | 90% ANALYTICAL, 4 transitions |
| Chaotic Oscillation (30 turns) | 86.2% change rate, no collapse |
| Semantic Drift (40 turns) | 1 transition, stable |
| False Alarm Rate | 3.3% (within test environment) |