How to Force AI to Follow Logical Rules During Training
A system that uses a dual-headed neural network to ensure AI models obey specific logical rules by embedding those rules directly into the training process.
Patent Number
US 11651227
Status
Active
Filing Date
December 19, 2018
Grant Date
May 16, 2023
Expiration
~December 2038 (estimated)
Claims
22
Assignee
SRI International Inc
Inventors
Patrick Lincoln, Shalini Ghosh, Susmit Jha, Ashish Tiwari
Citations
2 forward · 1 backward
What it covers
This system improves AI reliability by preventing models from making decisions that violate predefined logical rules. It uses a 'shared' neural network that feeds into two separate branches: a data head and a logic head. The data head focuses on learning patterns from raw data, while the logic head monitors whether those patterns violate specific logical constraints. If a violation occurs, the logic head sends an error signal back to the shared network, forcing it to adjust its internal parameters until the output satisfies the rules. For example, in a self-driving car application, this could ensure the AI never predicts a path that crosses a solid double-yellow line, regardless of what the training data suggests.
What it doesn't cover
- —Does not cover standard neural networks that lack a dedicated logic head for constraint enforcement.
- —Does not cover post-training filtering or 'guardrail' systems that check outputs after the AI has already made a prediction.
- —Does not cover systems that rely solely on massive datasets to implicitly learn constraints without explicit logical rule integration.
The clever bit
By treating logical constraints as a loss function that propagates error back to the shared model, the system forces the AI to treat 'breaking a rule' exactly the same way it treats 'getting an answer wrong'.
Why it matters
As AI is deployed in high-stakes fields like healthcare, finance, and autonomous vehicles, the 'black box' nature of neural networks is a major liability. This patent provides a formal method to bake safety and compliance into the model architecture itself, rather than relying on trial-and-error training.
Real-world examples
- 1.Autonomous vehicle path planning
- 2.Automated medical diagnosis systems
- 3.Algorithmic financial trading compliance
Generated by PatentBrief · Not legal advice · patentbrief.org
US 11651227 · 2026