AI 為程式設計課程提供的回饋,若教師能把一次修正轉成規則,並在規則擴散前檢查它,便會更值得信賴。作者打造了 ValiAssist;在一項實驗室研究中,經過驗證的回饋符合參與者自身標準的比例為 91%。在大學程式設計實驗課中,如果教師能找出過度概括的規則,同一個流程就能從許多份作業中移除透露太多答案的提示。
Figure 1. The validation-by-demonstration workflow of ValiAssist. The instructor starts by revising LLM-generated feedback in a sample code-feedback pair, then ValiAssist suggests validation criteria by inferring the instructor’s intention according to their interactions (e.g., comments, AI chat, and direct edit) and context information (e.g., original and revised feedback, code submission, and error message). After verifying and tuning the criteria, the instructor can apply the criteria to all other code-feedback pairs to scale the validation. ValiAssist first performs condition matching on the code-feedback pairs and takes actions based on the matched criteria.###### Abstract. 出處: ValiAssist: Scaling LLM-generated Programming Feedback Validation by Demonstration(arXiv)Figure 5. ValiAssist’s validation criterion (B). If the instructor attempts to accept a pending criterion (A) with potential issues, a dialog (C) would pop up. The instructor can switch to the detailed view (D) to relate the criterion to the original demonstration, where the semantic labels are linked to the corresponding matched text spans (E). In the detailed view, the instructor can also directly select a text span to add as an example (F). By clicking the view icon, the instructor can overview the matched text spans of semantic labels by clusters and add examples (G). They can also refine the criterion in edit view (H). ValiAssist represents validation criteria in a lightweight DSL (Fig.[4](https://arxiv.org/html/#S5.F4 "Figure 4 ‣ 5.1.1. Feedback Generation ‣ 5.1. Core Features ‣ 5. ValiAssist ‣ ValiAssist: Scaling LLM-generated Programming Feedback Validation by Demonstration")) of the form 𝐰𝐡𝐞𝐧:Φ𝐭𝐡𝐞𝐧:Δ\\mathbf{when:}\\,\\Phi\\;\\mathbf{then:}\\,\\Delta, where Φ\\Phi is a condition over the student’s submission and the generated feedback, and Δ\\Delta is an edit intention. Both vocabularies are closed, four predicates and four actions, so an instructor can read the whole language, adjust a criterion directly, and compare two criteria for redundancy or conflict (DC1, DC2, DG2). 出處: ValiAssist: Scaling LLM-generated Programming Feedback Validation by Demonstration(arXiv)