Skip to main content

DSFT-TD V2.1: Dynamic Semantic Field Theory - Temporal Framework for Semantic Force Dynamics in Dialogue Systems

Project description

๐Ÿง  DSFT-TD V2.1: Dynamic Semantic Field Theory

Temporal Framework for Semantic Force Dynamics in Dialogue Systems


License: MIT Version Node.js Status

OSF Preregistration PyPI DOI


"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."


๐Ÿ“– Overview

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.

Key Capabilities (Controlled Conditions)

Capability Performance
Force Classification 4/4 (within benchmark)
Early Transition Detection 7 turns BEFORE dominance
False Alarm Rate 3.3%
Long-Form Stability 40+ turns without collapse
Observer Modes 4 (configurable)

๐Ÿง  The Four Semantic Forces (Operational Constructs)

Force Symbol Description
Analytical Pressure (F_A) Logical reasoning, deductive structure
Exploratory Expansion (F_E) Open-ended exploration, possibility
Affective Resonance (F_R) Emotional valence, concern, urgency
Persuasive Drift (F_P) Rhetorical influence, directed conclusion

These are operational modeling constructs for analyzing dialogue dynamics, not claims about human cognition.


๐Ÿ—๏ธ Architecture


โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              Marker Detection Layer                     โ”‚
โ”‚  Extract semantic markers for each force                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         Force Dynamics Engine                           โ”‚
โ”‚  F_i(t+1) = ฮฑF_i(t) + ฮฒฮฃC_ijF_j(t) + ฮณM_i(t) - ฮปR_i(t) โ”‚
โ”‚  โ€ข Inertia (ฮฑ=0.2) โ€ข Momentum (ฮณ=0.5) โ€ข Coupling (ฮฒ=0.25)โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         Precursor Detection                             โ”‚
โ”‚  Early warning before dominance shift (7 turns)         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         Observer Layer (Optional)                       โ”‚
โ”‚  โ€ข Passive โ€ข Active โ€ข Reflexive โ€ข Meta                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜


๐Ÿ“ Core Equation

[ F_i(t+1) = \alpha F_i(t) + \beta \sum_j C_{ij}F_j(t) + \gamma M_i(t) - \lambda R_i(t) + \varepsilon_i(t) ]

Parameter Value Role
(\alpha) 0.2 Inertia (memory of past)
(\beta) 0.25 Coupling strength
(\gamma) 0.5 Momentum coefficient
(\lambda) 0.1 Hysteresis resistance

๐Ÿ“Š Key Results (Controlled Benchmark)

Transition Detection

Transition Latency
Analytical โ†’ Affective 7 turns BEFORE
Analytical โ†’ Persuasive 7 turns BEFORE
Affective โ†’ Persuasive 7 turns BEFORE
Persuasive โ†’ Exploratory 7 turns BEFORE
Exploratory โ†’ Analytical 7 turns BEFORE

Average Latency: 7.0 turns before dominance (controlled conditions)

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)

๐Ÿš€ Quick Start

# Clone the repository
git clone https://github.com/gitdeeper12/IKPS-CORE.git
cd IKPS-CORE

# Install dependencies
npm install

# Run all benchmarks (unified runner)
npm run benchmark:all

# Run individual benchmarks
npm run benchmark:transitions
npm run benchmark:latency
npm run benchmark:drift
npm run benchmark:stability

# Run real-world validation
npm run validate:real

# Verify reproducibility
npm run test:reproducibility

๐Ÿ“ Project Structure

IKPS-CORE/
โ”œโ”€โ”€ README.md                       # This file
โ”œโ”€โ”€ DSFT_PAPER_V2.md                # Minimal formal paper (preprint-ready)
โ”œโ”€โ”€ CHANGELOG.md                    # Version history
โ”œโ”€โ”€ REPRODUCIBILITY.md              # Reproduction guide
โ”œโ”€โ”€ REAL_WORLD_BENCHMARK_PLAN.md    # Validation roadmap
โ”‚
โ”œโ”€โ”€ config/
โ”‚   โ””โ”€โ”€ benchmark.config.js         # Centralized configuration
โ”‚
โ”œโ”€โ”€ src/transition/
โ”‚   โ”œโ”€โ”€ dsft_td_v2.js              # Core DSFT-TD V2 engine
โ”‚   โ”œโ”€โ”€ transitionMatrix.js        # Transition operator
โ”‚   โ”œโ”€โ”€ semanticMomentum.js        # Momentum tracking
โ”‚   โ”œโ”€โ”€ transitionEntropy.js       # Turbulence measurement
โ”‚   โ”œโ”€โ”€ hysteresis.js              # Resistance system
โ”‚   โ”œโ”€โ”€ forceDisentanglement.js    # Marker disentanglement
โ”‚   โ””โ”€โ”€ earlyPredictor.js          # Precursor detection
โ”‚
โ”œโ”€โ”€ benchmarks/
โ”‚   โ”œโ”€โ”€ runner.js                  # Unified benchmark runner
โ”‚   โ”œโ”€โ”€ v2_complete_validation.js  # Full validation suite
โ”‚   โ”œโ”€โ”€ long_form/                 # Extended dialogue tests
โ”‚   โ”œโ”€โ”€ drift_prediction/          # Early detection tests
โ”‚   โ””โ”€โ”€ transition_metrics/        # Latency measurement
โ”‚
โ”œโ”€โ”€ baselines/
โ”‚   โ”œโ”€โ”€ keyword.js                 # Keyword baseline
โ”‚   โ””โ”€โ”€ pattern.js                 # Pattern baseline
โ”‚
โ”œโ”€โ”€ validation/
โ”‚   โ”œโ”€โ”€ real_data_validator.js     # Real data validation
โ”‚   โ””โ”€โ”€ run_real_validation.js     # Validation runner
โ”‚
โ”œโ”€โ”€ data/
โ”‚   โ””โ”€โ”€ importers/
โ”‚       โ””โ”€โ”€ reddit_importer.js     # Reddit data import
โ”‚
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ run_all_benchmarks.sh      # Run all benchmarks
โ”‚   โ””โ”€โ”€ verify_reproducibility.sh  # Verify reproducibility
โ”‚
โ””โ”€โ”€ docs/
    โ””โ”€โ”€ THEORETICAL_FRAMEWORK.md   # Complete theory

๐Ÿ“Š Observer Modes

Mode Effect Deviation PASSIVE No effect 0.0000 ACTIVE Amplifies dominant forces 0.0669 REFLEXIVE Boosts weak signals 0.0000 META Recursive observation 0.0199

Key finding: Observer configuration alters measurement weighting and field response. This is a configurable architectural choice, not a claim about quantum measurement or consciousness.


๐Ÿ“ˆ Comparison with Baselines

System Accuracy Early Detection False Alarms Keyword Baseline 83.3% No N/A Pattern Baseline 83.3% No N/A DSFT-TD V2.1 100% (controlled) 7 turns 3.3%

Note: Baseline comparison is preliminary. Full comparison with transformers (BERT, RoBERTa) and sequential models (LSTM, HMM) is planned for future work.


๐Ÿ‘ฅ Authors

Samir Baladi โ€“ Interdisciplinary AI Researcher, Ronin Institute / Rite of Renaissance ๐Ÿ“ง gitdeeper@gmail.com | ORCID: 0009-0003-8903-0029

Copyright: Copyright (C) 2026 Samir Baladi. All rights reserved.

Full list of contributors and acknowledgments can be found in AUTHORS.md.


๐Ÿ”— Links & Registrations

Resource Link GitHub https://github.com/gitdeeper12/IKPS-CORE GitLab https://gitlab.com/gitdeeper12/IKPS-CORE Bitbucket https://bitbucket.org/gitdeeper-12/IKPS-CORE Codeberg https://codeberg.org/gitedeeper12/IKPS-CORE PyPI https://pypi.org/project/ikps-core/ Zenodo https://doi.org/10.5281/zenodo.20303214 OSF Preregistration https://osf.io/muwt4 โ€“ DOI: 10.17605/OSF.IO/NY5S8

Registration details:

ยท Type: OSF Preregistration ยท Registry: OSF Registries ยท Associated project: https://osf.io/muwt4 ยท Date created/registered: May 20, 2026 ยท License: MIT License

Zenodo Record Details:

ยท DOI: 10.5281/zenodo.20303214 ยท Publication date: 2026-05-20 ยท Version: 2.1.0 ยท Publisher: Zenodo ยท Resource type: Publication / Journal article ยท Development Status: Active


๐Ÿ“š References

@article{baladi2026dsft,
  author       = {Baladi, Samir},
  title        = {DSFT: A Temporal Framework for Semantic Force Dynamics in Dialogue Systems},
  year         = {2026},
  version      = {2.1.0},
  doi          = {10.5281/zenodo.20303214},
  publisher    = {Zenodo},
  url          = {https://github.com/gitdeeper12/IKPS-CORE}
}

@software{baladi2026swarmica,
  author       = {Baladi, Samir},
  title        = {SWARMICA v1.0.0: Variational and Continuum Mechanics Framework for Autonomous Swarm Systems},
  year         = {2026},
  doi          = {10.5281/zenodo.20168278},
  publisher    = {Zenodo}
}

@software{baladi2026neuropia,
  author       = {Baladi, Samir},
  title        = {NEUROPIA (E-LAB-10): Neural Cognitive Field Unification via Omni-Spectral Fourier Operator},
  year         = {2026},
  doi          = {10.5281/zenodo.20092199},
  publisher    = {Zenodo}
}

@software{baladi2026entropy,
  author       = {Baladi, Samir},
  title        = {Irreducible Path Entropy in Neural Networks},
  year         = {2026},
  doi          = {10.5281/zenodo.20222840},
  publisher    = {Zenodo}
}

@software{baladi2026entoquantum,
  author       = {Baladi, Samir},
  title        = {ENTRO-QUANTUM (E-LAB-07): Quantum-Inspired Entropy Framework},
  year         = {2026},
  doi          = {10.5281/zenodo.19478805},
  publisher    = {Zenodo}
}

@inproceedings{devlin2019bert,
  author       = {Devlin, Jacob and Chang, Ming-Wei and Lee, Kenton and Toutanova, Kristina},
  title        = {BERT: Pre-training of deep bidirectional transformers for language understanding},
  booktitle    = {NAACL-HLT},
  year         = {2019}
}

@inproceedings{vaswani2017attention,
  author       = {Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and others},
  title        = {Attention is all you need},
  booktitle    = {NeurIPS},
  year         = {2017}
}

@article{blei2003lda,
  author       = {Blei, David M. and Ng, Andrew Y. and Jordan, Michael I.},
  title        = {Latent Dirichlet allocation},
  journal      = {Journal of Machine Learning Research},
  volume       = {3},
  pages        = {993--1022},
  year         = {2003}
}

@article{pang2008sentiment,
  author       = {Pang, Bo and Lee, Lillian},
  title        = {Opinion mining and sentiment analysis},
  journal      = {Foundations and Trends in Information Retrieval},
  volume       = {2},
  number       = {1--2},
  pages        = {1--135},
  year         = {2008}
}

@article{young2013pomdp,
  author       = {Young, Steve and Gaลกiฤ‡, Milica and Thomson, Blaise and Williams, Jason D.},
  title        = {POMDP-based statistical spoken dialogue systems: A review},
  journal      = {Proceedings of the IEEE},
  volume       = {101},
  number       = {5},
  pages        = {1160--1179},
  year         = {2013}
}

@inproceedings{reynolds1987flocks,
  author       = {Reynolds, Craig W.},
  title        = {Flocks, herds, and schools: A distributed behavioral model},
  booktitle    = {ACM SIGGRAPH Computer Graphics},
  volume       = {21},
  number       = {4},
  pages        = {25--34},
  year         = {1987}
}

@incollection{kuramoto1975,
  author       = {Kuramoto, Yoshiki},
  title        = {Self-entrainment of a population of coupled non-linear oscillators},
  booktitle    = {International Symposium on Mathematical Problems in Theoretical Physics},
  publisher    = {Springer},
  year         = {1975}
}

@article{toner1995long,
  author       = {Toner, John and Tu, Yuhai},
  title        = {Long-range order in a two-dimensional dynamical XY model: how birds fly together},
  journal      = {Physical Review Letters},
  volume       = {75},
  number       = {23},
  pages        = {4326},
  year         = {1995}
}

@article{shannon1948,
  author       = {Shannon, Claude E.},
  title        = {A mathematical theory of communication},
  journal      = {Bell System Technical Journal},
  volume       = {27},
  number       = {3},
  pages        = {379--423},
  year         = {1948}
}

@article{boltzmann1877,
  author       = {Boltzmann, Ludwig},
  title        = {รœber die Beziehung zwischen dem zweiten Hauptsatze der mechanischen Wรคrmetheorie und der Wahrscheinlichkeitsrechnung},
  journal      = {Wiener Berichte},
  volume       = {76},
  pages        = {373--435},
  year         = {1877}
}

๐Ÿ“ Citation (Simplified)

@software{baladi2026dsft,
  author       = {Baladi, Samir},
  title        = {DSFT-TD V2.1: Dynamic Semantic Field Theory},
  year         = {2026},
  version      = {2.1.0},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.20303214},
  url          = {https://github.com/gitdeeper12/IKPS-CORE}
}

@misc{baladi2026osf,
  author       = {Baladi, Samir},
  title        = {DSFT-TD V2.1 Preregistration},
  year         = {2026},
  howpublished = {OSF Registries},
  doi          = {10.17605/OSF.IO/NY5S8},
  url          = {https://osf.io/muwt4}
}

๐Ÿ“œ License

MIT License โ€” see LICENSE for details.


DSFT-TD V2.1 โ€” From Static Classification to Temporal Semantic Dynamics ๐Ÿง 

"The observer is not neutral โ€” it actively modifies the field it measures."

"The system has moved beyond static classification to temporal semantic dynamics."


---

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ikps_core-2.1.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ikps_core-2.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file ikps_core-2.1.0.tar.gz.

File metadata

  • Download URL: ikps_core-2.1.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: IKPS-CORE-Uploader/2.1.0

File hashes

Hashes for ikps_core-2.1.0.tar.gz
Algorithm Hash digest
SHA256 c242347a41d56ae4c85b719248a6aba77dc6f445bc4a1bd8b2c071e5eed65425
MD5 80b5cbd95f82b3e592dd83466a0f0084
BLAKE2b-256 e42b482ef8ab7395822b2f03e6530e3d3425f7e513b851ab073e13922946b87e

See more details on using hashes here.

File details

Details for the file ikps_core-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: ikps_core-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: IKPS-CORE-Uploader/2.1.0

File hashes

Hashes for ikps_core-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38ee98315978bb049b2dd5354f3f6a906b11855fbe30d6a8be28a49c131334bf
MD5 af7a139cbd83863654d8601d2f34502c
BLAKE2b-256 d507440bb3e3c8e61b98e786810b8739c7385881e343ff509470f0dd9bee5873

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page