cs.HCApr 1, 2026

Trust and Reliance on AI in Education: AI Literacy and Need for Cognition as Moderators

Authors: Griffin Pitts, Neha Rani, Weedguet Mildort

Organizations: North Carolina State University, Raleigh, NC, USA · University of Florida, Gainesville, FL, USA

Abstract

As generative AI systems are integrated into educational settings, students often encounter AI-generated output while working through learning tasks, either by requesting help or through integrated tools. Trust in AI can influence how students interpret and use that output, including whether they evaluate it critically or exhibit overreliance. We investigate how students' trust relates to their appropriate reliance on an AI assistant during programming problem-solving tasks, and whether this relationship differs by learner characteristics. With 432 undergraduate participants, students' completed Python output-prediction problems while receiving recommendations and explanations from an AI chatbot, including accurate and intentionally misleading suggestions. We operationalize reliance behaviorally as the extent to which students' responses reflected appropriate use of the AI assistant's suggestions, accepting them when they were correct and rejecting them when they were incorrect. Pre- and post-task surveys assessed trust in the assistant, AI literacy, need for cognition, programming self-efficacy, and programming literacy. Results showed a non-linear relationship in which higher trust was associated with lower appropriate reliance, suggesting weaker discrimination between correct and incorrect recommendations. This relationship was significantly moderated by students' AI literacy and need for cognition. These findings highlight the need for future work on instructional and system supports that encourage more reflective evaluation of AI assistance during problem-solving.

Figures & tables

Explore similar work

CardsList
  1. AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective

    Jun 22, 2026Boxuan Ma, Huiyong Li, Gen Li +3Self-Regulated LearningProgramming Education

  2. Guardrails or Roadblocks? Effects of Pedagogical Style and Context Awareness in AI Teaching Assistants for Programming

    Sep 24, 2026Madeleine Eastwood, Harshith Narne, Joseph Hilby +3LLM GuardrailsProgramming Education