Machine Learning–Augmented Neurosymbolic Agenticops Framework for Runtime Verification and Enforcement of Standard Operating Procedures
Authors
Independent Researcher Pune, India (India)
Article Information
DOI: 10.51244/IJRSI.2025.12110199
Subject Category: Machine learning and artificial intelligence
Volume/Issue: 12/11 | Page No: 2306-2319
Publication Timeline
Submitted: 2025-12-08
Accepted: 2025-12-15
Published: 2025-12-25
Abstract
I remember the first time I saw an AI agent go off the rails during a demo at the ISBM College Hackathon—it was supposed to handle a simple refund process but ended up “approving” a fake transaction because it lost track midway through the chat. Moments like that highlight the real issue: as Generative AI shifts from just chatting to actually acting in the world with “Agentic” systems, enterprises face this weird reliability crunch. LLMs are amazing at reasoning, sure, but they’re plagued by this shaky unpredictability I call “Logic Drift”—basically, they start veering away from the rules as conversations drag on.
That’s why, in this work, I put together “LogicGuard,” a neurosymbolic setup aimed at fixing these slip-ups. It basically layers a solid, rule-based checker around the fuzzy AI brain, using Linear Temporal Logic on Finite Traces (LTLf) to keep things in line. We turn everyday procedure docs into these neat Deterministic Finite Automata (DFA) machines that enforce the rules no matter what. The whole thing breaks down into three parts: a compiler for the rules, a prober to link words to logic symbols, and a gatekeeper that says yes or no to actions.
Testing it out in finance, auth, and logistics scenarios, Logic-Guard held steady at about 95% reliability on those marathon tasks where plain agents tanked to under 50%. It edged out four other safety tools by roughly double in handling tricky attacks. That said, we still hit a 5% snag from fuzzy symbol match-ing—I’ll dive into ablations to break down that neurosymbolic headache.
Keywords
Neurosymbolic AI, AgenticOps, Linear Tem-poral Logic, Formal Verification, Large Language Models, AI Safety, Runtime Monitoring.
Downloads
References
1. Gartner Research, “Predicts 2024: AI and the Future of Enterprise Applications,” Gartner Inc., Tech. Rep. G00793915, Dec. 2023. [Google Scholar] [Crossref]
2. Guardrails AI, “Guardrails: Open-Source Framework for LLM Validation,” GitHub Repository, 2023. [Online]. Available: https://github.com/guardrails-ai/guardrails [Google Scholar] [Crossref]
3. H. Inan et al., “Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations,” arXiv preprint arXiv:2312.06674, 2023. [Google Scholar] [Crossref]
4. T. Rebedea et al., “NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Rails,” in Proc. of EMNLP (System Demonstrations), 2023, pp. 431–445. [Google Scholar] [Crossref]
5. Y. Bai et al., “Constitutional AI: Harmlessness from AI Feedback,” arXiv preprint arXiv:2212.08073, 2022. [Google Scholar] [Crossref]
7. SOP:"Refunds over $100 need manager approval"[6] M. Leucker and C. Schallhart, “A Brief Account of Runtime Verifica- [Google Scholar] [Crossref]
9. LLM:neg(exec_refund) U (mgr_approval) Human:[Approve/Reject/Edit] tion,” Journal of Logic and Algebraic Programming, vol. 78, no. 5, pp. 293–303, 2009. [Google Scholar] [Crossref]
10. A. d’Avila Garcez and L. C. Lamb, “Neurosymbolic AI: The 3rd Wave,” [Google Scholar] [Crossref]
11. arXiv preprint arXiv:2012.05876, 2019. [Google Scholar] [Crossref]
12. S. Harnad, “The Symbol Grounding Problem,” Physica D: Nonlinear Phenomena, vol. 42, no. 1-3, pp. 335–346, 1990. [Google Scholar] [Crossref]
13. N. F. Liu et al., “Lost in the Middle: How Language Models Use Long Contexts,” Transactions of the Association for Computational Linguistics, vol. 12, pp. 157–173, 2024. [Google Scholar] [Crossref]
14. G. De Giacomo and M. Y. Vardi, “Linear Temporal Logic and Linear Dynamic Logic on Finite Traces,” in Proc. of IJCAI, 2013, pp. 854–860. [Google Scholar] [Crossref]
15. G. De Giacomo et al., “ltlf2dfa: From LTLf to DFA,” GitHub Repository, 2018. [Online]. Available: https://github.com/whitemech/ltlf2dfa [Google Scholar] [Crossref]
16. N. Shinn et al., “Reflexion: Language Agents with Verbal Reinforcement Learning,” arXiv preprint arXiv:2303.11366, 2023. [Google Scholar] [Crossref]
17. OpenAI, “GPT-4 Technical Report,” arXiv preprint arXiv:2303.08774, 2023. [Google Scholar] [Crossref]
18. J. Mao et al., “The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences from Natural Supervision,” in Proc. of ICLR, 2019. [Google Scholar] [Crossref]
19. A. Vaswani et al., “Attention is All You Need,” in Adv. in Neural Information Processing Systems, vol. 30, 2017. [Google Scholar] [Crossref]
20. J. Ruan et al., “ToolEmu: A Framework for Automated Safety Test-ing of Large Language Models as Tool Agents,” arXiv preprint arXiv:2309.15817, 2023. [Google Scholar] [Crossref]