# Human--AI Interactions as First-Class Data: A Formal Interaction Model and Runtime for Explainable AI Collaboration

arXiv: https://arxiv.org/abs/2610.40006 · HTML: https://mlsanity.com/paper/2610.40006/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 12 of its 28 references that are in the map.
- Submitted 29 Oct 2026.

## Builds on (most cited first, 12 of 12)

- [Relational inductive biases, deep learning, and graph networks](https://mlsanity.com/paper/1806.01261/) (2018)
- [Junction Tree Variational Autoencoder for Molecular Graph Generation](https://mlsanity.com/paper/1802.04364/) (2018)
- [Grammar Variational Autoencoder](https://mlsanity.com/paper/1703.01925/) (2017)
- [Modular meta-learning](https://mlsanity.com/paper/1806.10166/) (2018)
- [LINKS: A dataset of a hundred million planar linkage mechanisms for data-driven kinematic design](https://mlsanity.com/paper/2208.14567/) (2022)
- [LInK: Learning Joint Representations of Design and Performance Spaces through Contrastive Learning for Mechanism Synthesis](https://mlsanity.com/paper/2405.20592/) (2024)
- [Symbolic Intermediaries as a Linguistic-Numerical Interface for LLM-Driven Geometric Reasoning](https://mlsanity.com/paper/2505.17607/) (2025)
- [MechaFormer: Sequence Learning for Kinematic Mechanism Design Automation](https://mlsanity.com/paper/2508.09005/) (2025)
- [Language Models Refine Mechanical Linkage Designs Through Symbolic Reflection and Modular Optimisation](https://mlsanity.com/paper/2604.27962/) (2026)
- [ReLink: Computational Circular Design of Planar Linkage Mechanisms Using Available Standard Parts](https://mlsanity.com/paper/2506.19657/) (2025)
- [LinkD: AutoRegressive Diffusion Model for Mechanical Linkage Synthesis](https://mlsanity.com/paper/2601.04054/) (2026)
- [R-APS: Compositional Reasoning and In-Context Meta-Learning for Constrained Design via Reflective Adversarial Pareto Search](https://mlsanity.com/paper/2606.04823/) (2026)

## Abstract (arXiv)

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.
