potentialpaper

From Similar Code to Neural Correspondence: Causal Interventions Guided by Program Structure

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:50 UTC · 046b15765a17 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "M5RcsiWdhk"
- }
- ],
- "title": "From Similar Code to Neural Correspondence: Causal Interventions Guided by Program Structure",
- "authors": [],
- "abstract": "Large language models can generate code that closely resembles existing implementations, but output similarity alone does not explain how similar code is supported by the model's internal computation.\nWe study whether program structure can help identify internal states that play corresponding causal roles across similar programs.\nWe introduce Program Structured Causal Alignment (PSCA), a framework that uses program structure to select corresponding positions across programs and evaluates the transferred internal states through causal intervention.\nPSCA evaluates this correspondence in two complementary ways.\nIntact causal compatibility asks whether transfers selected by program structure better support code prediction than comparison transfers in an otherwise intact computation. Causal recovery asks whether they restore part of the lost prediction after disruption and achieve greater recovery than comparison transfers.\nDuring intact computation, transfers selected by program structure generally support prediction better than comparison transfers.\nAcross three model families and nine fine-tuned models, data-flow-aligned restoration consistently improves prediction over both the disrupted condition and mismatch restoration at the prespecified intervention layers, while control-flow recovery varies across models and intervention settings.\nTogether, these results provide evidence that program structure can guide the identification of internal states with meaningful functional effects on code prediction.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "b6a6ec01-9c0d-460a-b1ec-22a8c71ac235"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "From Similar Code to Neural Correspondence: Causal Interventions Guided by Program Structure",
+ "authors": [],
+ "abstract": "Large language models can generate code that closely resembles existing implementations, but output similarity alone does not explain how similar code is supported by the model's internal computation.\nWe study whether program structure can help identify internal states that play corresponding causal roles across similar programs.\nWe introduce Program Structured Causal Alignment (PSCA), a framework that uses program structure to select corresponding positions across programs and evaluates the transferred internal states through causal intervention.\nPSCA evaluates this correspondence in two complementary ways.\nIntact causal compatibility asks whether transfers selected by program structure better support code prediction than comparison transfers in an otherwise intact computation. Causal recovery asks whether they restore part of the lost prediction after disruption and achieve greater recovery than comparison transfers.\nDuring intact computation, transfers selected by program structure generally support prediction better than comparison transfers.\nAcross three model families and nine fine-tuned models, data-flow-aligned restoration consistently improves prediction over both the disrupted condition and mismatch restoration at the prespecified intervention layers, while control-flow recovery varies across models and intervention settings.\nTogether, these results provide evidence that program structure can guide the identification of internal states with meaningful functional effects on code prediction.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}