Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learning
Taufiq Daryanto, Xiaohan Ding, Kaike Ping, Lance T. Wilhelm, Yan Chen, Chris Brown, Eugenia H. Rho

TL;DR
This study introduces a triadic human-human-AI programming setup where AI acts as a collaborator, enhancing social learning and responsibility, and demonstrating benefits over traditional dyadic AI-human collaboration.
Contribution
It presents the novel concept of triadic collaboration in programming, showing how AI can serve as a peer-like partner to improve learning and social presence.
Findings
Triadic collaboration improves social presence and learning.
Participants rely less on AI-generated code in triadic settings.
Shared AI suggestions increase responsibility and understanding.
Abstract
As AI assistance becomes embedded in programming practice, researchers have increasingly examined how these systems help learners generate code and work more efficiently. However, these studies often position AI as a replacement for human collaboration and overlook the social and learning-oriented aspects that emerge in collaborative programming. Our work introduces human-human-AI (HHAI) triadic programming, where an AI agent serves as an additional collaborator rather than a substitute for a human partner. Through a within-subjects study with 20 participants, we show that triadic collaboration enhances collaborative learning and social presence compared to the dyadic human-AI (HAI) baseline. In the triadic HHAI conditions, participants relied significantly less on AI-generated code in their work. This effect was strongest in the HHAI-shared condition, where participants had an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAI in Service Interactions · Software Engineering Techniques and Practices · Teaching and Learning Programming
