Built a deterministic reasoning engine from part of a failed AI project 🤯
Built a deterministic reasoning engine from part of a failed AI project 🤯

Built a deterministic reasoning engine from part of a failed AI project 🤯

Over the last month, in my spare time, I’ve been experimenting with two separate ideas: some recurrent-network maths as a possible GRU/LSTM substitute, and a separate transformerless AI project.

The transformerless project eventually became too slow to properly train and debug on the hardware I have, so I started pulling it apart to see if any individual pieces were worth keeping.

One part was: the structured memory/reasoning section. It kept behaving well in small tests, so I separated it out and turned it into its own project: THREADS.

In simple terms, THREADS is a deterministic memory and reasoning engine. You give it structured facts and relationships, and it can follow them, track changes over time, answer historical questions, handle retractions and contradictions, and keep provenance for how it reached an answer.

Some current test results:

- 200,000-hop reasoning chain — exact final answer

- 1,000,000 irrelevant events — a 128-hop query still returned the exact answer

- 50,000 shuffled temporal events — 5,000/5,000 historical queries matched an independent checker

- 40,000 ambiguity/contradiction cases — 40,000/40,000

- 60-category reasoning suite — 5,830/5,830

- Original regression suite — 28/28

- Bounded program induction — 2,000/2,000 held-out predictions

I’m not claiming it replaces transformers, SMT solvers, or databases. It also doesn’t understand arbitrary English by itself.

What I’m interested in is whether something like this could sit underneath an AI system as an exact memory/reasoning layer, while a neural model handles language and fuzzy interpretation.

I’ve put the Python source, tests, benchmarks, and research PDF on GitHub so people can run it themselves.

https://github.com/rickey1990/THREADS-reasoning-engine

submitted by /u/WAMFT
[link] [comments]