TrustTrace: Code Generation and Revision with Hierarchical Program Knowledge
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:57 UTC · 27292f684691 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "NTSGcRTWml"- }- ],- "title": "TrustTrace: Code Generation and Revision with Hierarchical Program Knowledge",- "authors": [],- "abstract": "Code generation requires algorithmic knowledge about a task and the computations that implement a solution. A central challenge is to preserve the relation between a solution's global strategy, the responsibilities of its components, and their executable behavior. We present TrustTrace, a framework for code generation and revision based on hierarchical program knowledge. We organize a solution into task strategies, module descriptions, and code implementations. Module descriptions specify what each component computes, while interfaces and dependencies determine how components work together. We use this structure to learn from complete solutions and to examine the behavior of individual modules when revising a program. During learning, we assign each structured response a quality weight that determines its contribution to training. During revision, we compare observed module inputs and outputs with the responsibilities stated in the descriptions. This connects the organization of algorithmic knowledge with the execution of the resulting program. Experiments show that quality weighting raises Test whole-problem accuracy over ordinary modular SFT from 62.05% to 63.05% with supplied plans and from 17.93% to 20.92% without plans, while module traces with corresponding guidance raise revision success over score-and-error feedback from 66.50% to 67.51% with five candidates.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "07a09c0f-e74b-4bf8-9ba0-fdf09319eab5"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "TrustTrace: Code Generation and Revision with Hierarchical Program Knowledge",+ "authors": [],+ "abstract": "Code generation requires algorithmic knowledge about a task and the computations that implement a solution. A central challenge is to preserve the relation between a solution's global strategy, the responsibilities of its components, and their executable behavior. We present TrustTrace, a framework for code generation and revision based on hierarchical program knowledge. We organize a solution into task strategies, module descriptions, and code implementations. Module descriptions specify what each component computes, while interfaces and dependencies determine how components work together. We use this structure to learn from complete solutions and to examine the behavior of individual modules when revising a program. During learning, we assign each structured response a quality weight that determines its contribution to training. During revision, we compare observed module inputs and outputs with the responsibilities stated in the descriptions. This connects the organization of algorithmic knowledge with the execution of the resulting program. Experiments show that quality weighting raises Test whole-problem accuracy over ordinary modular SFT from 62.05% to 63.05% with supplied plans and from 17.93% to 20.92% without plans, while module traces with corresponding guidance raise revision success over score-and-error feedback from 66.50% to 67.51% with five candidates.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}