AI-Sub-Spec is an innovative framework designed to capture and analyze the multifaceted nuances of human communication. By integrating insights from linguistics, psychology, and communication theory, this project aims to provide a comprehensive tool for understanding and modeling complex interpersonal interactions.
This project originated from the belief that even the smallest linguistic details, such as word choice or order, can carry meaningful information. While these nuances may carry little weight individually, collectively they can lead to conclusions that go beyond explicit information.
The impetus for this project was the analysis of high-stakes interpersonal communications, where the goal was to examine not just the factual content, but also the subtle linguistic cues that might reveal insights about underlying decision-making processes and interpersonal dynamics.
For insights how the data model was derived through AI interaction, please see DATA_MODEL_PROCESS.md.
AI-Sub-Spec aims to create a comprehensive data representation that captures both explicit and implicit aspects of communication. This could be of interest to various research fields:
- Computational Linguistics: Enhancing natural language understanding by incorporating subtle cues.
- Psychological Research: Enabling in-depth analysis of complex interpersonal interactions.
- Human-Computer Interaction: Improving conversational AI systems.
- Sociolinguistics: Analyzing communication patterns across different contexts.
- Educational Technology: Developing tools for communication skills training.
- Capture of explicit and implicit communication content
- Analysis of linguistic patterns and rhetorical devices
- Consideration of cognitive and emotional states
- Examination of relational dynamics between communicators
- Incorporation of contextual influences on communication
- Inference engine for generating insights based on subtle cues
The AI-Sub-Spec framework consists of a core SubContext
class that encapsulates various aspects of communication analysis. Its modular design allows for comprehensive capture of communication data while maintaining flexibility for different use cases.
- SubContext: The main class holding all components of the communication analysis.
- ExplicitContent: Stores explicit information from the communication.
- ImplicitLayers: Captures implicit meanings and subtexts.
- MetaAnalysis: Provides higher-level analysis of the communication.
- TemporalAspects: Tracks the evolution of the conversation over time.
- RelationalDynamics: Analyzes the relationship between participants.
- CognitiveEmotionalState: Monitors cognitive and emotional factors.
- LinguisticPatterns: Analyzes language use and patterns.
- ContextualInfluences: Considers external factors affecting communication.
- InferenceEngine: Generates insights and inferences.
This project emerged from extensive metacognitive explorations of AI-human interactions, which led to the creation of a comprehensive data model. The resulting model seemed to provide a fully encompassing representation of written communication, capturing explicit content, implicit meanings, and more.
The goal is to approach a representation that encapsulates the full range of variables an AI processes during communication, potentially making the AI's reasoning more transparent and describable. While this approach may not be fully developed or the best solution, it's intended to serve as an interesting perspective and possibly a useful intermediate step in advancing the field of AI communication analysis.
The AI-Sub-Spec framework is proposed as a tool to simulate different conversation scenarios without repeatedly running the same dialogue with a chatbot. It aims to recreate conversations from a new context, including subtle nuances, to play out different scenarios and analyze the multifaceted nature of human-AI communication.
The AI-Sub-Spec framework is grounded in several key areas of scientific research:
- Pragmatics and Discourse Analysis: Drawing on works by Grice (1975) and Van Dijk (1985), our
ImplicitLayers
class captures subtext and unstated assumptions. - Systemic Functional Linguistics: Inspired by Halliday's (1985) model, the
LinguisticPatterns
class analyzes sentence structures and rhetorical devices. - Cognitive Linguistics: Incorporating concepts from Lakoff & Johnson (1980), the
InferenceEngine
identifies and interprets metaphorical language patterns.
- Cognitive Psychology: Based on theories of information processing (Kahneman, 2011), the
CognitiveEmotionalState
class models cognitive load and attention focus. - Social Psychology: Utilizing concepts from attribution theory (Heider, 1958), the
RelationalDynamics
class analyzes power dynamics and mutual understanding. - Emotional Intelligence: Drawing on the model by Salovey and Mayer (1990), we capture emotional undertones and states in
ImplicitLayers
andCognitiveEmotionalState
.
- Interpersonal Communication Models: The
ExplicitContent
andImplicitLayers
classes together model concepts like the Johari Window (Luft & Ingham, 1955). - Communication Accommodation Theory: The
TemporalAspects
class tracks changes in communication style over time, reflecting Giles' (1973) theory.