Human--AI Interactions as First-Class Data: A Formal Interaction Model and Runtime for Explainable AI Collaboration
Michela Taufer, Kin Ng, Ian Lumsden, Aashish Pandey, Rajasi Gore, Angelina Ju, Sukanya Moudgalya, Ewa Deelman, Sai Swaminathan
Abstract
AI assistants are increasingly embedded in computational notebooks, scientific workflows, software engineering tools, and learning systems, yet human-AI interactions are often treated as transient prompt-response exchanges rather than durable data products, hindering reproducibility, explainability, replay, behavioral analysis, and adaptive AI support. We argue that these interactions form a new data class requiring formal representation and introduce the Human-AI Interaction Description Language (HAIDL), a formal interaction model with a Backus-Naur Form-inspired concrete syntax. HAIDL encodes each interaction as a structured object capturing computational context, user request, prompt payload, AI response, feedback, problem context, provenance, and model metadata. We integrate this vision into HAIDL-X, a middleware for JupyterLab that instantiates HAIDL by capturing user-bot state, building contextualized prompts, interfacing with AI providers, collecting feedback, and storing interactions in a repository. We add a learning layer over HAIDL that maps interaction objects and notebook execution traces into reproducible measures of user behavior, including engagement, performance, help-seeking, error-oriented use, and learning personas. HAIDL-X provides a foundation for treating human-AI collaboration as structured, queryable, replayable, analyzable data.
Create a lesson
Metadata
- Categories
- cs.AI, cs.HC
Related papers
OmniMechanism Design for Human-AI Collaboration with Impressionable Minds
Shared title terminologycs.AITianwei Gao, Yifei Pang, Lunjia Hu et al.
Formal Specifications with Data-Driven Signal Analysis
Shared title terminologycs.AIRoderick Bloem, Benedikt Maderbacher, Cristinel Mateis et al.
Emotion-Aware and Context-Grounded Dialogue Agents for Personalized Video Game Interactions
Shared title terminologycs.AIMichael Adjeisah, Jin Zhang, Pierluigi Vito Amadori et al.
EMIP: Embodied Multi-Party Interaction Platform
Shared title terminologycs.AIKoichiro Terao, Rikunari Sagara, Moe Nagao et al.
Improving semantic equivalence in research-level math formalization
Shared title terminologycs.AIAyush Khaitan, Liam Fowl, Tomàs Ortega et al.
Beyond Single-Turn Privacy: Training-Data Leakage in Conversational RAG
Shared title terminologycs.AISyed Khaderi, Karima Makhlouf, Sami Zhioua