Modular Multi-State AI Teaching Protocol (MMA-TP)
Abstract
Large language models are increasingly deployed in interactive systems, yet controlling their behavior over extended multi-turn interactions remains challenging. Most existing approaches rely on prompt-based steering, leaving system behavior sensitive to conversational context and probabilistic drift. This paper presents the Modular Multi-State AI Teaching Protocol (MMA-TP), a protocol-level framework for constraining large language model behavior through structured interaction design rather than model modification. MMA-TP pairs an engineered system prompt, which establishes a persistent runtime persona, with a structured specification that encodes interaction states, transitions, and response constraints. Operating entirely at the interaction level, the framework leverages contextual conditioning and distributional bias to stabilize behavior across extended sessions without altering model parameters or decoding strategies. A mechanistic analysis grounded in transformer attention dynamics explains how persistent structured input biases probabilistic generation toward protocol-consistent behavior. Behavioral evaluation across multiple subject domains demonstrates that MMA-TP reliably enforces declared constraints, preserves phase ordering, and resists structural degradation relative to prompt-only instruction. These results indicate that protocol-level interaction control offers a lightweight and reusable approach for stabilizing large language model behavior in complex interactive settings.
References
- Kasneci, E., Sessler, K., Küchemann, S., Bannert, M., et al. (2023). ChatGPT for good? On opportunities and challenges of large language models for education. Learning and Individual Differences, 103, 102274. https: //doi.org/10.1016/j.lindif.2023.102274
- Scarlatos, A., Baker, R. S., & Lan, A. (2025). Exploring knowledge tracing in tutor-student dialogues using LLMs. Proceedings of the 15th International Learning Analytics and Knowledge Conference, 249–259. https: //doi.org/10.1145/3706468.3706501
- Liu, P., Yuan, W., Fu, J., Jiang, Z., et al. (2023). Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9), 1–35. https: //doi.org/10.1145/3560815
- Puech, R., Macina, J., Chatain, J., Sachan, M., & Kapur, M. (2025). Towards the pedagogical steering of large language models for tutoring: A case study with modeling productive failure. Findings of the Association for Computational Linguistics: ACL 2025, 26291–26311. https: //doi.org/10.18653/v1/2025.findings-acl.1348
- Bender, E. M., Gebru, T., McMillan-Major, A., & Shmitchell, S. (2021). On the dangers of stochastic parrots: Can language models be too big? Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, 610–623. https: //doi.org/10.1145/3442188.3445922
- Schmucker, R., Xia, M., Azaria, A., & Mitchell, T. (2024). Ruffle& Riley: Insights from designing and evaluating a large language model-based conversational tutoring system. In A. M. Olney, I.-A. Chounta, Z. Liu, O. C. Santos, & I. I. Bittencourt (Eds.), Artificial Intelligence in Education (Vol. 14829, pp. 75–90). Springer Nature Switzerland. https: //doi.org/10.1007/978-3-031-64302-6_6
- VanLehn, K. (2011). The relative effectiveness of human tutoring, intelligent tutoring systems, and other tutoring systems. Educational Psychologist, 46(4), 197–221. https: //doi.org/10.1080/00461520.2011.611369
- Wei, J., Wang, X., Schuurmans, D., Bosma, M., et al. (2023). Chain-of-thought prompting elicits reasoning in large language models (arXiv: 2201.11903). arXiv. https: //doi.org/10.48550/arXiv.2201.11903
- Zhao, W. X., Zhou, K., Li, J., Tang, T., et al. (2025). A survey of large language models (arXiv: 2303.18223). arXiv. https: //doi.org/10.48550/arXiv.2303.18223
- Yang, X., Cheng, W., Zhao, X., Yu, W., et al. (2025). Position really matters: Towards a holistic approach for prompt tuning. In L. Chiruzzo, A. Ritter, & L. Wang (Eds.), Findings of the Association for Computational Linguistics: NAACL 2025 (pp. 8501–8523). Association for Computational Linguistics. https: //doi.org/10.18653/v1/2025.findings-naacl.474
- Ouyang, L., Wu, J., Jiang, X., Almeida, D., et al. (2022). Training language models to follow instructions with human feedback (arXiv: 2203.02155). arXiv. https: //doi.org/10.48550/arXiv.2203.02155
- Brown, T. B., Mann, B., Ryder, N., Subbiah, M., et al. (2020). Language models are few-shot learners (arXiv: 2005.14165). arXiv. https: //doi.org/10.48550/arXiv.2005.14165
- Li, T., Zhang, G., Do, Q. D., Yue, X., & Chen, W. (2024). Long-context LLMs struggle with long in-context learning. Transactions on Machine Learning Research. https: //openreview.net/forum?id=Cw2xlg0e46
- VanLehn, K. (2006). The behavior of tutoring systems. International Journal of Artificial Intelligence in Education, 16(3), 227–265. https: //doi.org/10.3233/IRG-2006-16(3)02
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., et al. (2023). Attention is all you need (arXiv: 1706.03762). arXiv. https: //doi.org/10.48550/arXiv.1706.03762
- Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding (arXiv: 1810.04805). arXiv. https: //doi.org/10.48550/arXiv.1810.04805
- Press, O., Smith, N. A., & Lewis, M. (2022). Train short, test long: Attention with linear biases enables input length extrapolation (arXiv: 2108.12409). arXiv. https: //doi.org/10.48550/arXiv.2108.12409
- Yao, S., Zhao, J., Yu, D., Du, N., et al. (2022, September 29). React: Synergizing reasoning and acting in language models. The Eleventh International Conference on Learning Representations. https: //openreview.net/forum?id=WE_vluYUL-X