Submitted:
01 December 2025
Posted:
02 December 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction

Relation to SMTJ-based TRNG and Monte Carlo simulators.
2. Formal Model
2.1. Semantic State Space
2.2. Output Distribution and Entropy
2.3. Expression-Induced Dynamics
2.4. Ambiguous Operators and Semantic Modes
2.5. Entropic Gate and Expected Entropy Drop
2.6. SMTJ Implementation of the Gate
2.7. Semantic Commit and Blind Reveal
- , and
- for all .
3. Toy Examples and Case Studies
3.1. Setup: Expression and Output Space
3.2. Entropic Gate at the “+” Position
3.3. Normal Regime: SMTJ–Peano Attractor
3.4. Anomalous Regime: Rare Events
3.5. C++ CLI Demo and AR(1) Thermal Noise Model
- It builds an EEG–based fingerprint from several synthetic windows using the imaginary part of coherency (as in the original BCI prototype).
- It authenticates a new window by computing the distance r to and mapping this to an entropic AUTH_GATE, producing energies and and corresponding softmax probabilities.
- It runs a PLUS_GATE for the toy expression , with two modes for “+” (normal Peano mode N and rare anomalous mode R), computes the entropy drops , , the induced energies and the corresponding softmax probabilities , and finally samples a mode and emits the token 4 or 5 as a blind reveal.
3.6. Interpretation
- Internal processing unfolds as a trajectory with a non-trivial entropy profile , rather than as an instantaneous jump from premise to conclusion.
- Ambiguous operators such as “+” are resolved via an entropic gate that predicts future clarity (entropy reduction) and delegates the actual choice of mode to physical sampling in an SMTJ block.
- Peano-consistent judgements (e.g. ) correspond to attractors in the joint semantic–SMTJ dynamics, whereas rare anomalies (e.g. ) arise when the entropic gate operates in a nearindifferent regime with small entropic margin and elevated thermal-shock index , so that correlated SMTJ noise can drive the softmax to sample the anomalous mode even though the normal mode has a slight average advantage.
4. Hardware Considerations for SMTJ Implementations
4.1. SMTJ p-Bit Blocks and Mode Selection
4.2. Time Scales and Coupling to
- A semantic time scale, parameterized by or its discrete counterpart , on which the state evolves under as tokens are processed and entropic gates are evaluated.
- A device time scale, on which SMTJs switch between microstates and the local p-bit networks relax to their stationary distributions given fixed energy parameters .
4.3. Output SMTJ Block and Code-Based Decoding
4.4. Embedding BCI/EEG Features into the Semantic State
4.5. BCI-Modulated Entropic Gate and Authentication
5. Quantum Extension (Q-ESDM)
5.1. Hilbert Space of Semantic Modes
5.2. Hamiltonian Encoding of Entropic Preferences
- Adiabatic scheme: define a time-dependent Hamiltonian that interpolates between a simple initial Hamiltonian with known ground state and in (26). Under sufficiently slow evolution, the instantaneous state follows a low-energy eigenstate that concentrates amplitude on modes i with low , i.e. high .
- Variational scheme: construct a parametrized unitary (e.g. in the style of QAOA) acting on , with layers that alternate between and a mixing Hamiltonian. The parameters can be optimized offline or adapted online to align the final measurement statistics in the basis with the desired distribution over modes.
5.3. Quantum Expression Dynamics and Commit
5.4. Measurement and Blind Reveal in Q-ESDM
5.5. Classical ESDM–SMTJ as a Limit
- All density matrices are constrained to be diagonal in the mode basis , so that only classical probabilities over modes are represented and phase information is discarded.
- The semantic Hamiltonians are used only to define Boltzmann weights for classical sampling, rather than to generate unitary evolution.
- The dynamics of and of the SMTJ arrays are treated as classical stochastic processes, without maintaining coherence across different semantic trajectories.
6. Conclusion and Outlook
- We formalize a semantic state space with internal time, ambiguous operators and an entropic gate that selects semantic modes based on predicted entropy reduction.
- We show how this gate can be implemented in SMTJ-based p-bit hardware by mapping entropy drops to energy levels, so that Boltzmann statistics realize a softmax over modes.
- We introduce the notions of semantic commit and blind reveal as a way to separate hidden judgement formation from overt token emission.
- We provide a toy arithmetic case study () that illustrates both Peano-consistent attractors and controlled anomalous judgements () arising from mis-tuned parameters.
- We outline a quantum extension (Q-ESDM) where semantic modes live in a Hilbert space and the entropic preferences are encoded in a semantic Hamiltonian.
- Expressivity and identifiability. Characterizing which classes of semantic mappings and cognitive processes can be represented in ESDM–SMTJ, and under what conditions the fingerprint and content components are identifiable from behaviour or EEG.
- Learning rules. Deriving concrete online or offline learning rules for updating the predictive model of and the embedding from data.
- Hardware prototypes. Designing and fabricating small SMTJ arrays that demonstrably implement the entropic gate and the commit/reveal mechanism, and benchmarking them against purely digital implementations.
- Comparison with quantum annealing. Analysing systematically when classical ESDM–SMTJ, its quantum extension Q-ESDM and existing quantum annealers differ in performance, robustness and interpretability on semantic and cognitive tasks.
- Cognitive validation. Testing whether the predicted entropy profiles and commit times correlate with behavioural measures of hesitation, confidence and error patterns in human subjects.
6.1. Relation to Prior SMTJ p-Bit BOLTZMANN Machines
- Common substrate and statistics. Both approaches use sMTJ devices operated in a thermally activated regime as stochastic binary units (p-bits), and exploit their Boltzmann statistics. In Kaiser et al., the p-bits implement the neurons of a fully connected Boltzmann machine, sampling from with . In ESDM–SMTJ, the same physics is used at a different granularity: small p-bit blocks realize softmax choices over a finite set of semantic modes, with energies derived from predicted entropy drops rather than from a fixed Ising cost function.
- Learning objective versus semantic dynamics. The focus of Kaiser et al. is hardware-aware in situ learning of a Boltzmann machine: device imperfections and parameter spreads are compensated by an analog learning rule so that the hardware reproduces a target distribution (e.g. the truth table of a full adder). By contrast, ESDM–SMTJ does not aim to approximate an external distribution over bit patterns. Instead, it defines a semantic state trajectory , multi-modal operators and a notion of graded acceptability, and uses sMTJ blocks as entropic gates that steer toward low-entropy semantic attractors.
- Energy landscape versus entropy-drop gate. In prior p-bit Boltzmann machines, the energy landscape is specified by synaptic weights and biases; the hardware samples from the corresponding equilibrium distribution, and learning adjusts . In ESDM–SMTJ, energies are not static parameters of a global Ising model. For each occurrence of an ambiguous operator, we compute mode-dependent entropy drops predicted from the semantic model and map them to local energies . The sMTJ block thus implements a softmax over future expected clarity rather than over a fixed cost function, enabling context-dependent semantic mode selection.
- Blind reveal and commit semantics. Prior work evaluates hardware quality by comparing sampled bit distributions to a target distribution (e.g. via KL divergence) and does not distinguish between internal computation and exposure of results. ESDM–SMTJ introduces an explicit separation between a hidden semantic commit at internal time (when becomes low and stable) and a later blind reveal implemented by an output sMTJ block decoding to discrete tokens. This commit/reveal view is tailored to modelling symbolic judgements rather than generic sampling.
- BCI/EEG and cognitive modelling. To our knowledge, existing sMTJ p-bit machines have not been applied to neural or biometric data. ESDM–SMTJ explicitly embeds EEG-derived feature vectors into the semantic state as a slow-varying fingerprint component B and a fast content component , and uses sMTJ-based gates for identity-dependent authentication and semantic computation. This connects probabilistic spintronic hardware to BCI and cognitive modelling in a way that goes beyond the scope of prior Boltzmann-machine demonstrations.
References
- Shunsuke Fukami. Spintronics probabilistic computer: Realization of proposals by feynman and hinton using a spintronics device. JSAP Reviews 2025, 2025, 250204.
- Matthew, W. Daniels, Advait Madhavan, Philippe Talatchian, Alice Mizrahi, and Mark D. Stiles. Energy-efficient stochastic computing with superparamagnetic tunnel junctions. Physical Review Applied 2020, 13, 034016. [Google Scholar]
- Baofang Cai, Yihan He, Yue Xin, Zhengping Yuan, Xue Zhang, Zhifeng Zhu, and Gengchiau Liang. Unconventional computing based on magnetic tunnel junction. Applied Physics A 2023, 129, 236.
- Leo Alexander Schnitzspan. Superparamagnetic Tunnel Junctions—True Randomness, Electrical Coupling and Neuromorphic Computing. Ph.d. thesis, Johannes Gutenberg-Universität Mainz, Mainz, Germany, 2023.
- Jan Kaiser, William A. Borders, Kerem Y. Camsari, Shunsuke Fukami, Hideo Ohno, and Supriyo Datta. Hardware-aware in situ learning based on stochastic magnetic tunnel junctions. Phys. Rev. Applied 2022, 17, 014016.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).