International Journal of Electrical and Computer Engineering
Vol 16, No 5: October 2026

Role model identity contract enforcement as a structural determinant of identity drift suppression in autonomous large language model agents

Sahana B. (RNS Institute of Technology)
Charithra H. S. (RNS Institute of Technology)
Arshitha S. (RNS Institute of Technology)
Chandrakala Chandrakala (RNS Institute of Technology)
Neethu B. Krishna (RNS Institute of Technology)
Soumya Prasada (IBM)
Bhanupriya P. (RNS Institute of Technology)
Aryaman Tiwary (IBM)



Article Info

Publish Date
01 Oct 2026

Abstract

Autonomous agents powered by large language models (LLMs) are deployed widely across finance, healthcare, legal review, and customer support. Each deployment assumes that an agent will remain within its assigned role—an assumption that adversarial users routinely challenge through identity drift attacks. This work asks whether placing enforcement logic outside the model, rather than embedding rules in the system prompt, is the primary factor governing drift suppression. We designed RMIC-Guard: a framework where a cryptographically sealed Role-Model Identity Contract (RMIC) is checked by a dual-pass middle ware engine on every planned tool call before execution proceeds. The engine runs a deterministic hard-rule pass followed by a semantic Intent Drift Score (IDS) computed from seven independent embedding-based signals. Experiments across four LLMs (claude-sonnet-4-6, claude-haiku-4-5, llama-3.3-70b-versatile, llama-3.1-8b-instant), four agent roles, and 5,212 API calls show that external enforcement reaches DSR 0.952–1.000, whereas the best prompt-only condition achieves only DSR 0.391. Ablation confirms the dual-pass architecture is necessary: neither pass alone achieves acceptable joint drift-suppression and false-positive performance. All code, contracts, and prompt data are released openly.

Copyrights © 2026






Journal Info

Abbrev

IJECE

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering

Description

International Journal of Electrical and Computer Engineering (IJECE, ISSN: 2088-8708, a SCOPUS indexed Journal, SNIP: 1.001; SJR: 0.296; CiteScore: 0.99; SJR & CiteScore Q2 on both of the Electrical & Electronics Engineering, and Computer Science) is the official publication of the Institute of ...