PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 8, 2026Engineering Today0 citations

Mathematical decomposition of prompt engineering in Large Language Model architecture

MJMiloš JovanovićMŽMarko ŽivanovićAAAca Aleksić

Key Points

  • This research aims to establish a mathematical framework for prompt engineering in Large Language Models to optimize their probabilistic outputs.
  • Analyzed Transformer architecture and its components.
  • Developed a taxonomy of ten advanced prompt engineering techniques.
  • Conducted experiments to assess the impact of these techniques on model accuracy.
  • Measured changes in output distributions and entropy.
  • Baseline accuracy improved from 62.3% to 91.7% using advanced prompting techniques.
  • Techniques effectively reduced the entropy of output distributions.
  • Demonstrated the transition from stochastic generation to quasi-deterministic reasoning.

Abstract

Large Language Models (LLMs) represent the convergence of neural language processing and high-dimensional statistical inference. Despite their impressive capabilities, these systems remain inherently probabilistic, generating outputs via autoregressive sampling from learned distributions. The resulting stochastic nature manifests through phenomena such as hallucinations and semantic decomposition. This paper formalizes the mathematical framework of prompt engineering as a methodology for topological navigation through the model's latent space. Through a rigorous analysis of the Transformer architecture, multi-head attention mechanisms, positional encoding, and loss functions, we deconstruct how precisely constructed prompts manipulate probability distributions during autoregressive generation. We present a formal taxonomy of ten advanced techniques - including Chain-of-Verification (CoVe), Constitutional AI, and Meta-Prompting - and demonstrate their effect on reducing the entropy of output distributions. Experimental results indicate that the systemic application of these techniques can transform a model with a baseline accuracy of 62.3% into a system with 91.7% accuracy, effectively converting a stochastic generator into a quasi-deterministic reasoning engine.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Jovanović et al. (2026) studied this question.

synapsesocial.com/papers/698828990fc35cd7a884836chttps://doi.org/10.5937/engtoday2600002j
Ask AI
Helpful
Bookmark
Share
View Full Paper