paper-with-me

홈 › Papers

Instruct, Not Assist: LLM-based Multi-Turn Planning and Hierarchical Questioning for Socratic Code Debugging

2024-06-17 · Priyanka Kargupta, Ishika Agarwal, Dilek Hakkani-Tur, Jiawei Han

Socratic questioning is an effective teaching strategy, encouraging critical thinking and problem-solving. The conversational capabilities of large language models (LLMs) show great potential for providing scalable, real-time student guidance. However, current LLMs often give away solutions directly, making them ineffective instructors. We tackle this issue in the code debugging domain with TreeInstruct, an Instructor agent guided by a novel state space-based planning algorithm. TreeInstruct asks probing questions to help students independently identify and resolve errors. It estimates a student's conceptual and syntactical knowledge to dynamically construct a question tree based on their responses and current knowledge state, effectively addressing both independent and dependent mistakes concurrently in a multi-turn interaction setting. In addition to using an existing single-bug debugging benchmark, we construct a more challenging multi-bug dataset of 150 coding problems, incorrect solutions, and bug fixes -- all carefully constructed and annotated by experts. Extensive evaluation shows TreeInstruct's state-of-the-art performance on both datasets, proving it to be a more effective instructor than baselines. Furthermore, a real-world case study with five students of varying skill levels further demonstrates TreeInstruct's ability to guide students to debug their code efficiently with minimal turns and highly Socratic questioning.

📄 PDF Abstract BibTeX arXiv:2406.11709

Code (1)

agarwalishika/TreeInstruct 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Propose, Assess, Search: Harnessing LLMs for Goal-Oriented Planning in Instructional Videos

2024-09-30 · Md Mohaiminul Islam, Tushar Nagarajan, Huiyu Wang, Fu-Jen Chu 외

Goal-oriented planning, or anticipating a series of actions that transition an agent from its current state to a predefined objective, is crucial for developing intelligent assistants aiding users in daily procedural tas…

VideoGUI: A Benchmark for GUI Automation from Instructional Videos

2024-06-14 · Kevin Qinghong Lin, Linjie Li, Difei Gao, Qinchen Wu 외

Graphical User Interface (GUI) automation holds significant promise for enhancing human productivity by assisting with computer tasks. Existing task formulations primarily focus on simple tasks that can be specified by a…

Video Editing

Hierarchical Path-planning from Speech Instructions with Spatial Concept-based Topometric Semantic Mapping

2022-03-21 · Akira Taniguchi, Shuya Ito, Tadahiro Taniguchi

Assisting individuals in their daily activities through autonomous mobile robots, especially for users without specialized knowledge, is crucial. Specifically, the capability of robots to navigate to destinations based o…

Navigate

Pragmatic Instruction Following and Goal Assistance via Cooperative Language-Guided Inverse Planning

2024-02-27 · Tan Zhi-Xuan, Lance Ying, Vikash Mansinghka, Joshua B. Tenenbaum

People often give instructions whose meaning is ambiguous without further context, expecting that their actions or goals will disambiguate their intentions. How can we build assistive agents that follow such instructions…

Bayesian InferenceInstruction Following

Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning

2024-10-16 · Mingyang Chen, Haoze Sun, Tianpeng Li, Fan Yang 외

Large Language Models (LLMs) have exhibited significant potential in performing diverse tasks, including the ability to call functions or use external tools to enhance their performance. While current research on functio…

8k