The two paradigms
1. Neural (subsymbolic)
- Examples: GPT-4, Claude, Llama
- Strength: Pattern recognition, language understanding, creativity
- Weakness: Cannot prove correctness, prone to hallucinations
- Output: Probabilistic (unverified correctness)
2. Symbolic
- Examples: Z3 (SAT Solver), SymPy (Computer Algebra), Prolog (Logic Programming)
- Strength: Deterministic reasoning, mathematical proof
- Weakness: Cannot understand natural language
- Output: Deterministic (proven correct)
The neurosymbolic synthesis
QWED bridges both worlds:Why neurosymbolic wins
Problem: LLM-only systems
Scenario: Healthcare AI diagnoses patientSolution: QWED (neurosymbolic)
Research background
Neurosymbolic AI is backed by leading research:- Google DeepMind: AlphaProof (math theorem proving)
- MIT CSAIL: Neurosymbolic programming
- IBM Research: Neuro-symbolic learning
QWED’s neurosymbolic architecture
Neural components (untrusted translators)
- OpenAI GPT-4
- Anthropic Claude
- Google Gemini
- Ollama (Local LLMs)
Symbolic components (trusted verifiers)
- SymPy → Math verification
- Z3 → Logic verification
- Python AST → Code security verification
The contract
| Component | Role | Trust Level |
|---|---|---|
| LLM | Translate natural language → formal logic | ⚠️ Untrusted |
| Symbolic Solver | Execute logic, prove result | ✅ Trusted |
Comparison: symbolic vs neural vs neurosymbolic
| Approach | Understands Language? | Proves Correctness? | QWED Uses |
|---|---|---|---|
| Symbolic Only | ❌ No | ✅ Yes | Verification engines |
| Neural Only | ✅ Yes | ❌ No | Translation step |
| Neurosymbolic | ✅ Yes | ✅ Yes | ✅ Both combined! |