SymFSM is a cognitive reasoning architecture that adds a formal reasoning layer on top of Large Language Models.
Instead of generating answers directly from prompts, SymFSM builds and analyzes a task structure before generation.
The goal is not to make models produce more text.
The goal is to make reasoning itself a computable object.
Traditional LLM workflow:
Prompt
↓
LLM
↓
Answer
SymFSM workflow:
Prompt
↓
Cognitive Map
↓
Reachability Analysis
↓
Structural Repair
↓
LLM Generation
↓
Verification
↓
Answer
We conducted a controlled experiment to evaluate the impact of SymFSM on reasoning performance.
- Same model used in both modes
- Benchmark: GPQA Main – 448 challenging multiple-choice questions from biology, physics, and chemistry
- Two modes:
- Standard LLM generation – direct answer generation without additional reasoning control
- LLM + SymFSM – generation with SymFSM reasoning control enabled (cognitive maps, reachability checks, and repair mechanics)
| Mode | Correct | Accuracy | Improvement |
|---|---|---|---|
| Standard LLM | 282 / 448 | 62.95% | — |
| LLM + SymFSM v1.0 (Verification of reasoning) | 314 / 448 | 70.09% | +7.14 p.p. |
| LLM + SymFSM v3.0 (Invention of solutions) | 333 / 448 | 74.33% | +11.38 p.p. |
| LLM + SymFSM v4.0 (Dynamic graph rewriting) | 336 / 448 | 75.00% | +12.05 p.p. |
| LLM + SymFSM v5.0 (Cognitive computation management) | 340 / 448 | 75.89% | +12.94 p.p. |
| LLM + SymFSM v6.0 (Competing thinking programs & self-evolution) | 349 / 448 | 77.90% | +14.95 p.p. |
Applying SymFSM increased accuracy by 14.95 percentage points on the same test dataset.
This demonstrates that formal reasoning control – building a task graph, checking reachability, repairing logical gaps before generation, and evolving the cognitive strategy itself – can significantly improve LLM performance on complex reasoning tasks, without any fine‑tuning or prompt engineering.
| Version | Key Innovation | Accuracy Gain |
|---|---|---|
| v1.0 | Verification of reasoning | +7.14 p.p. |
| v3.0 | Invention of solutions | +11.38 p.p. |
| v4.0 | Dynamic graph rewriting | +12.05 p.p. |
| v5.0 | Cognitive computation management | +12.94 p.p. |
| v6.0 | Competing thinking programs & self-evolution | +14.95 p.p. |
Total improvement from v1.0 to v6.0: +7.81 p.p.
v6.0 introduces competing thinking programs – the system no longer solves every problem with a single predefined approach. Instead, it simultaneously runs multiple independent cognitive strategies, compares their trajectories, selects the most effective one, and uses it to build the final solution.
After each request, the system saves successful cognitive paths, increases the utility of used cogs, and memorizes effective thinking recipes – accumulating not just knowledge, but its own reasoning experience.
Before text generation, SymFSM attempts to determine:
- what concepts exist in the task;
- how they are connected;
- whether the goal is reachable;
- where reasoning gaps exist;
- which solution trajectories are valid.
Tasks are transformed into structured cognitive graphs.
Graph nodes may represent:
- concepts;
- goals;
- constraints;
- mechanisms;
- hypotheses;
- dependencies.
SymFSM evaluates whether a target conclusion can be reached from known information.
Instead of guessing missing steps, the system detects reasoning gaps.
When the reasoning graph is incomplete, SymFSM can:
- introduce missing concepts;
- create sub-maps;
- reorganize dependencies;
- search alternative reasoning paths.
The reasoning process is controlled by finite-state machines.
This prevents arbitrary jumps between reasoning stages and enables formal analysis of solution trajectories.
During answer generation, the model may request:
- expansion of a local cognitive map;
- creation of a new sub-map;
- reachability verification;
- structural repair.
Reasoning can therefore evolve dynamically while the answer is being generated.
SymFSM stores:
- successful reasoning trajectories;
- cognitive patterns;
- repair strategies;
- structural solution templates.
The system learns solution strategies rather than memorizing answers.
- Product strategy
- Business architecture
- Research tasks
- Engineering design
- Complex planning
- Security analysis
- Malware analysis
- Knowledge-intensive decision support
Endpoint:
POST /submitRequest:
{
"prompt": "Generate 10 business ideas for the artificial intelligence industry"
}Response:
{
"id": "task_id",
"status": "queued"
}Endpoint:
GET /result?id=task_idResponse:
{
"id": "task_id",
"status": "done",
"result": "..."
}Possible statuses:
queued
running
done
error
Current API endpoint:
http://ip:8088
Example:
http://ip:8088/submit
Future versions may use a domain name instead of a direct IP address.
See:
examples/Program.cs
See:
examples/example.py
https://principium.pro/symfsm/
Research Prototype
Copyright © SymFSM