paper-with-me

홈 › Papers

From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactions

2025-04-25 · Ali Alfageeh, Sadegh AlMahdi Kazemi Zarkouei, Daye Nam, Daniel Prol, Matin Amoozadeh, Souti Chattopadhyay, James Prather, Paul Denny, Juho Leinonen, Michael Hilton, Sruti Srinivasa Ragavan, Mohammad Amin Alipour

Background and Context. The increasing integration of large language models (LLMs) in computing education presents an emerging challenge in understanding how students use LLMs and craft prompts to solve computational tasks. Prior research has used both qualitative and quantitative methods to analyze prompting behavior, but these approaches lack scalability or fail to effectively capture the semantic evolution of prompts. Objective. In this paper, we investigate whether students prompts can be systematically analyzed using propositional logic constraints. We examine whether this approach can identify patterns in prompt evolution, detect struggling students, and provide insights into effective and ineffective strategies. Method. We introduce Prompt2Constraints, a novel method that translates students prompts into logical constraints. The constraints are able to represent the intent of the prompts in succinct and quantifiable ways. We used this approach to analyze a dataset of 1,872 prompts from 203 students solving introductory programming tasks. Findings. We find that while successful and unsuccessful attempts tend to use a similar number of constraints overall, when students fail, they often modify their prompts more significantly, shifting problem-solving strategies midway. We also identify points where specific interventions could be most helpful to students for refining their prompts. Implications. This work offers a new and scalable way to detect students who struggle in solving natural language programming tasks. This work could be extended to investigate more complex tasks and integrated into programming tools to provide real-time support.

📄 PDF Abstract BibTeX arXiv:2504.18691

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications

2025-11-06 · Boxuan Ma, Huiyong Li, Gen Li, Li Chen 외 arxiv

Generative AI tools such as ChatGPT now provide novice programmers with unprecedented access to instant, personalized support. While this holds clear promise, their influence on students' metacognitive processes remains …

Logicbreaks: A Framework for Understanding Subversion of Rule-based Inference

2024-06-21 · Anton Xue, Avishree Khare, Rajeev Alur, Surbhi Goel 외

We study how to subvert large language models (LLMs) from following prompt-specified rules. We first formalize rule-following as inference in propositional Horn logic, a mathematical system in which rules have the form "…

Logical Reasoning

Learners' Languages

2021-03-01 · David I. Spivak

In "Backprop as functor", the authors show that the fundamental elements of deep learning -- gradient descent and backpropagation -- can be conceptualized as a strong monoidal functor Para(Euc)$\to$Learn from the categor…

Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT

2024-05-29 · Andreas Scholl, Daniel Schiffner, Natalie Kiesler

Large Language Models (LLMs) have taken the world by storm, and students are assumed to use related tools at a great scale. In this research paper we aim to gain an understanding of how introductory programming students …

Descriptive evaluation of students using fuzzy approximate reasoning

2019-05-07 · Mohsen Annabestani, Alireza Rowhanimanesh, Aylar Mizani, Akram Rezaei

In recent years, descriptive evaluation has been introduced as a new model for educational evaluation of Iranian students. The current descriptive evaluation method is based on four-valued logic. Assessing all students w…

Descriptive