Text-Based Simulation of Human-Computer Interaction Using Cognitive-Affective Architectures and Natural Language Interfaces

  • Puya Shaykholeslami Department of Electrical and Computer Engineering, College of Engineering, University of Tehran, Iran
  • Arman Kavoosi Ghafi Department of Computer Engineering, Bo.C., Islamic Azad University, Borujerd, Iran
  • Mostafa Atashafrouz Department of Management, Islamic Azad university Science and research Branch (Kerman Branch)
Keywords: Human-Computer Interaction, Sentiment Analysis, Cognitive-Affective Modeling, Natural Language Processing, Text Simulation, Dialogue Systems

Abstract

This study presents a text-based simulation framework for modeling Human-Computer Interaction (HCI) using a hybrid cognitive-affective architecture integrated with natural language processing tools. Rather than relying on external corpora, we generate a synthetic dataset of 27 text samples that reflect diverse emotional and linguistic patterns commonly observed in intelligent systems' interactions. Our methodology employs symbolic and statistical analysis, combining sentiment metrics (polarity, subjectivity) with structural linguistic features (word count, part-of-speech distribution, and average word length). Each sentence acts as a micro-interaction unit, evaluated through a custom Python pipeline using TextBlob, TF-IDF, cosine similarity, and visualization libraries. The simulation reveals that textual interactions, when modeled with both emotional and cognitive dimensions, can mimic realistic communication patterns, adapt to affective cues, and provide a platform for dialogue system benchmarking. A similarity matrix derived from cosine distances further supports the clustering of thematically aligned interactions, demonstrating the system’s interpretive fidelity. Results indicate that the proposed hybrid model captures subtle emotional nuances and structural variations across user expressions. This dual-layered modeling opens avenues for more emotionally intelligent dialogue agents and enables refined evaluation in early-stage HCI development environments.

Published
2025-12-01
How to Cite
Shaykholeslami, P., Kavoosi Ghafi, A., & Atashafrouz, M. (2025). Text-Based Simulation of Human-Computer Interaction Using Cognitive-Affective Architectures and Natural Language Interfaces. International Journal of Sustainable Applied Science and Engineering, 2(3), 70-91. https://doi.org/10.22034/ijsase.v2i3.189
Section
Articles