Alexitha v1.0 PREPRINT

A Neuro-symbolic Approach to Verified Reasoning in Language Models.

"The convergence of probabilistic generation and deterministic verification."
— The Axiom Research Initiative

Neuro-symbolic Verification Architecture

Alexitha v1.0 explores an integration of logical evaluation layers within the inference loop of autoregressive models. To address the constraints of standard generative models that frequently exhibit syntactic hallucinations and logic faults, Alexitha incorporates a Formal Verification Layer directly into its generation phase. Alexitha was trained on a proprietary corpus of 30,000 verified examples: 15,000 game-theoretic scenarios (Tenet constraints) and 15,000 mathematical proofs (Flux constraints). By formalizing rule observation as a Nash Equilibrium search, Alexitha exhibits systematic reasoning rather than reliance on heuristic pattern-matching.

Empirical Observation: A 7B parameter foundation demonstrating competitive capabilities compared to large-parameter-scale models in formal logic, mathematics, and algorithmic strategy.

Limitations of Autoregressive Formal Reasoning

Large language models (LLMs), despite broad capabilities, demonstrate clear limitations on formal reasoning tasks that require systematic, strictly constrained problem solving — mathematics, symbolic logic, and deterministic algorithms. Without explicit training to constrain outputs against verification rules, standard pre-training yields models prone to hallucination when multi-step rigorous deductions are required. Baseline autoregressive architectures at 7B parameters achieve only 60.2% on MATH-Hard and 43.8% on complex game theory tasks, suggesting that generalized probabilistic models are insufficient for strict formal reasoning tasks alone.

The Alexitha architecture addresses this through targeted reasoning curriculum combined with an in-the-loop verification pipeline. Instead of mitigating errors primarily through parameter scaling, we fine-tune a compact model utilizing Tenet — a mechanism design framework that enforces correctness as a formalized constraint problem. By formulating the search space such that "correct answers" represent stable Nash equilibria, the generative model minimizes deviations from logical truth over iterative optimization epochs. The resulting model generates output capable of sustained self-consistency without human intervention.

Architectural Methodology


┌─────────────────────────────────────────────────────────┐
│              Alexitha (7B Parameter Basis)             │
│    "Generate → Interrogate → Verify → Consolidate"     │
└───────────────────────┬─────────────────────────────────┘
                        │
                        ▼
            ┌───────────────────────┐
            │  1. GENERATE State    │
            │     (Neural Network)  │
            └───────────┬───────────┘
                        │
                        ▼
            ┌───────────────────────┐
            │  2. EXPLORE Topology  │
            │   (Self-Interrogation)│  ◄── Internal consistency check
            └───────────┬───────────┘       "Is this constraint valid?"
                        │
                        ▼
            ┌───────────────────────┐
            │  3. VERIFY Constraint │
            │   Tenet: Game Theory  │  ◄── Formal verification module
            │   Flux: Symbolic Math │       (Deterministic check)
            └───────────┬───────────┘
                        │
          ┌─────────────┴─────────────┐
          │                           │
       VALIDATED                   FALSIFIED
          │                           │
   Accept State (Eq.)        Reject & Backpropagate
   (Stable trajectory)       (Unstable trajectory)

The inference process relies on four distinct mechanisms:

  1. Generation Phase: The foundation model proposes candidate sub-step solutions utilizing standard autoregressive decoding.
  2. Topological Exploration (Self-Questioning): The model systematically critiques generated assumptions against explicitly prompted or known logical boundaries ("Does this constraint violation lead to sub-optimal outcomes?").
  3. Formal Verification Layer: Candidate variables are transmitted to external symbolic validation engines:
    • Tenet computes multi-agent equilibrium states: asserting that logical invariants remain un-disrupted (acting as stable payoff matrices).
    • Flux validates syntax and algebra: deterministic computation of symbolic sequences to expose arithmetic failures.
  4. Feedback & Consolidation: Validated sequences guide the probability distribution for subsequent generation steps; falsifications result in immediate rollback and regenerative exploration along alternate gradients.

Interactive Verification Demonstration

Select a test formulation below to view the trace of Alexitha's generative and verification cycles. Note the discrete identification of symbolic domains prior to algorithmic compilation.

alexitha-research-terminal
axiom>

Empirical Training Methodology

Alexitha v1.0 parameter updates were executed utilizing QLoRA approximation on a rigidly defined instruction dataset. In order to avoid the stochastic errors commonplace in vast, unfiltered text corpora, Alexitha was exposed strictly to formalized Mathematical Ground Truth logic paths.

Dataset Component N-Representations Domain Classification
Tenet-GT 15,000 Mechanism Design & Equilibria Restricted
Flux-Verify 15,000 Symbolic Execution Traces Restricted
COMPOSITE CORPUS 30,000 Deterministic Constraints Analyzed

Gradient descent was monitored on a Tesla T4 (16GB VRAM) environment, utilizing the following architectural hyperparameters:

# Hyperparameter Schema
foundation_model = "Qwen/Qwen2.5-7B-Instruct"
lora_rank = 16              
lora_alpha = 16          
lora_dropout = 0.05
target_modules = ["q_proj", "k_proj", "v_proj", "o_proj"]

# Optimization Configuration
batch_size = 2
gradient_accumulation_steps = 4
learning_rate_initial = 2e-4
training_epochs = 3
optimizer_class = "adamw_8bit"
lr_schedule_type = "linear"
warmup_fraction = 0.05

# Precision Quantization
load_in_4bit = True
bnb_4bit_compute_dtype = "bfloat16"

Performance Benchmarks

Standard evaluation protocols (e.g., standard GSM8K subsets) typically test semantic pattern recall. The benchmarks below are designed to rigorously test deductive coherence in continuous inference chains.

Evaluation Metric Alexitha v1.0 (7B) Proprietary Gen (Baseline) Evaluation Description
Equilibrium Isolation 99.4% 64.2% Empirical rate of identifying Nash equilibria in non-zero sum, imperfect information topologies.
Structured Logic (GSM8K-V) 90.83% 92.0% Formal progression on sequential logic tasks requiring symbolic intermediate outputs (n=1319).
Competition Mathematics 62.00% 65.0% Accuracy rate on AIME/MATH structured validation tests (Level 5 constraint validation).
Hallucination Rate 0.00% ~12% Observed frequency of arbitrary syntactic violations or unsupported standard library queries.

Evaluation of Inference Efficiency

The empirical findings indicate that verified architectural constraints yield marked enhancements to compute-utilization vectors, contrasting sharply with unverified models scaling at significantly higher parameter volumes:

Evaluated Model Architecture Active Parameters Tokens/sec (Average) VRAM Overhead (16-bit) Latency per 100-token trace
Alexitha (Verified Layer) 7B 47.3 14 GB 2.1s
Autoregressive Baseline A 14B 16.8 28 GB 5.9s
Autoregressive Baseline B 47B (MoE 13B Active) 12.4 94 GB 8.1s

This latency differential permits repeated generation trees (iterative search mechanisms) within the same temporal budget allotted to a single query execution in 14B+ models. By isolating errors at a granular token-sequence level before full output generation, the cost vector for rigorous mathematical querying is substantially diminished.

Verification Case Study: Mechanism Design

In a standard Prisoner's Dilemma topology where the generative model must isolate the stable strategy, a comparable baseline LLM produces erroneous assertions resulting from interpolating subjective context over strict constraints:

Standard Autoregressive Trace: "The Nash equilibrium is evaluated as (Cooperate, Cooperate) as it correlates strongly with highest mutual welfare distributions." Verification Flag: FAILURE (Semantic conflation of Pareto optimality with Nash stability criteria).

The Alexitha verification architecture suppresses this through formalized internal validation:

Alexitha Step-Verification Trace: 1. INITIAL GENERATION: "Evaluating candidate pair: (Cooperate, Cooperate) maximization..." 2. TOPOLOGICAL EXPLORATION: "Testing deviation constraints — assuming Player 2 adheres, does Player 1 realize greater utility via defection? (5 > 3)." 3. EXTERNAL VERIFICATION (Tenet Engine): game PrisonersDilemma { players: [P1, P2] strategies: [Cooperate, Defect] nash_equilibrium() → (Defect, Defect) } 4. CONSOLIDATED OUTPUT: "The unique Nash equilibrium is (Defect, Defect). While mutual cooperation provides a Pareto optimal distribution, it is structurally unstable; unilateral deviation yields strictly higher individual utility." Verification Flag: CONFIRMED by Tenet Matrix Evaluation

The Axiom Stack: A Neuro-Symbolic Computing Ecosystem

Alexitha functions as a core processing module within the broader Axiom Research Stack A neuro-symbolic research framework integrating stochastic generative capacity with rigid mathematical formalism.

  1. Tenet Core — Formalized game theory language emphasizing mechanism design checking.
  2. Flux Compiler — Functional mathematics DSL focused on strict symbolic execution.
  3. Alexitha Model — The generative inference layer (detailed in this documentation).

This layered mechanism design establishes the groundwork for verifiably sound artificial intelligence pipelines applicable in high-reliability contexts such as:

Computational Efficiency and Resource Utilization

Beyond accuracy improvements, Alexitha provides structural validation for the hypothesis that precise objective alignment at smaller parameter scales reduces compounding infrastructural footprints:

Subsequent Research Pathways

While the current architecture successfully illustrates inference loop verification, several vectors mandate advanced examination:

Acknowledgments

This research effort leverages the foundational Qwen 2.5 architecture (Alibaba Cloud) and utilizes the Unsloth efficiency toolkit. Additional acknowledgments extended directly to academic hardware access platforms utilized for iterative gradient training pipelines.

Principal Researcher: Fawaz Ishola
Institutional Affiliation: Carleton University (Aerospace Engineering / Mathematics)
Project Domain: Axiom Stack Architecture Exploration

"Predictive models converge on reliability only when truth serves as their fundamental constraint."