ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Can Large Language Models Understand Intermediate Representations in Compilers?

Hailong Jiang, Jianfeng Zhu, Yao Wan, Bo Fang, Hongyu Zhang, Ruoming Jin, Qiang Guan

ELVIA analysis

Independent review pending

Two supported Problems are identified. A Major construct-validity problem affects the execution-reasoning task: on the intended domain of valid reference-program tests, a constant `pass` predictor attains perfect label accuracy without inspecting the intermediate representation. This limits what the reported success rates can establish about execution understanding. A Minor reporting problem concerns inconsistent counts, denominators, and pass rates. Concrete examples of incorrect model reasoning remain informative, and the other three tasks are not invalidated by the shortcut. Historical model identity, evaluation scripts, unmatched completion sets, and missing result payloads are recorded as evidence limits rather than inferred experimental failures.

Problem 1. valid reference assertions admit a perfect label-only shortcut

Major
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

valid reference assertions admit a perfect label-only shortcut.

Valid reference-program unit tests, semantics-preserving compilation on relevant inputs, and quantitative final-label scoring; intended golden-data domain. No global execution validation of all 164164 reference programs is claimed.

Proof

Claim and location. Section 3.1, p. 3, describes Task 44 as requiring dynamic interpretation of IR and accurate tracking of state. Section 3.5, p. 5, scores assertion predictions; Section 4.3, pp. 7–8, uses these scores to interpret execution understanding and the source-code/IR gap. Appendix C.4, p. 16, supplies IR and an assertion and requests a pass/fail answer with reasoning. Sections 3.3 and Appendix D identify the inputs as reference C++ programs and their HumanEval unit tests.

Construction and assumptions. Cell 00 of `src/Task4_Execute_Reasoning.ipynb` extracts lines beginning with `assert` from each JSONL record’s `test` field. It does not generate false assertions or mutate the tested reference program. The acquired file contains 164164 distinct tasks; that exact line-selection rule yields 1,1401{,}140 assertion lines, with at least one per task. This is a static inventory, not an execution audit. The paper’s stated average of 7.77.7 assertions and the inventory’s 6.9516.951 require historical dataset reconciliation; neither number is silently substituted for the other.

The decisive argument assumes that these assertions are valid tests of their canonical reference implementations, that compilation preserves the relevant semantics, and that the quantitative score judges the final pass/fail label. These are the intended golden-data and scoring premises of the published design. No stronger assertion that all 164164 programs were independently executed is made.

Decisive argument. Let AijA_{ij} be test jj of reference program i,i, with ground-truth label yij.y_{ij}. Under those premises, yij=1y_{ij}=1 for every supplied test. The predictor h(IRi,Aij)=1h(\mathrm{IR}_i,A_{ij})=1 ignores both inputs yet has ∑i,j1{h=yij}∑imi=1,1N∑i1{∀j, h=yij}=1.(2.1)\frac{\sum_{i,j}{\bf1}\{h=y_{ij}\}}{\sum_i m_i}=1,\qquad \frac{1}{N}\sum_i{\bf1}\{\forall j,\ h=y_{ij}\}=1. \tag{2.1} Thus both assertion-level accuracy and all-assertions-correct task accuracy can be perfect without any IR understanding. The result is independent of which of the two inconsistent rate definitions in Problem 2 is selected.

Three concrete cases were checked by direct reasoning from the pinned records. In CPP/2, 3.5−int⁡(3.5)=0.5,3.5-\operatorname{int}(3.5)=0.5, exactly representable. In CPP/121, the odd values at even positions of (5,8,7,1)(5,8,7,1) are 55 and 7,7, giving the asserted 12.12. In CPP/149, filtering odd-length strings from (aa,a,aaa)(\texttt{aa},\texttt{a},\texttt{aaa}) leaves only `aa`. These cases agree with the intended positive-test construction; they are not offered as a proof of every program’s correctness.

Alternative readings and counterevidence. An assertion testing that a Boolean function returns false is still a true assertion when its reference implementation is correct. It therefore does not supply a negative label for this task. Requesting a reasoning trace also does not remove (2.12.1) from a label-only score. The notebook’s cells 44 and 77 extract a pass/fail string; the reported quantitative metric does not independently verify every intermediate state.

Conversely, a model that answers incorrectly on a valid positive test has made a real prediction error. The paper’s qualitative examples of missed filtering or incorrect arithmetic remain useful evidence about those particular traces. This review does not claim that the tested models exploited the shortcut, that their recorded scores are fabricated, or that all their qualitative analyses fail. If the actual historical evaluation contains genuinely false oracle labels, its case-level labels and construction must be supplied; the retained construction does not document such a negative-test mechanism. Invalid canonical tests would instead call for an oracle audit.

Core dependency and precise impact. The construction underlies one of four core tasks and the RQ3 interpretation of measured execution reasoning. It demonstrates that high success, or a source-code/IR difference in such success, cannot by itself discriminate instruction-level understanding from a representation-dependent tendency to answer `pass`. The observed positive-case error rates remain descriptive. CFG, decompilation, and summarization results are outside this counterexample. The Major severity attaches to the task’s ability to measure its stated core construct, not to a claimed collapse of the whole study.

□\square

Possible revision

Add verified false assertions/counterfactual programs, report balance/constant baseline and independently verify selected execution states. Balanced assertion labels limit constant accuracy to1/2, removing this shortcut only; new measurements needed.

Problem 2. incompatible execution counts and pass-rate definitions

Minor
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

incompatible execution counts and pass-rate definitions.

Under Table5 completed-task denominator, full-pass rate is pass/completed; assertion-weighted alternative considered separately.

Proof

Claim and location. Section 3.5, p. 5, defines overall pass rate using correctly predicted assertions across cases. Table 5, p. 7, instead says its denominator is the number of completed tasks and presents full-pass counts. Table 9, p. 17, repeats the counts and rates for three runs. The original pages were visually inspected to exclude an extraction artifact.

Arithmetic under the table definition. For a completed-task denominator, full-pass rate is npass/ncompleted.n_{\rm pass}/n_{\rm completed}. Independent exact-fraction calculation gives: Rownpass/ncompletedRecomputedReportedTable 5, DeepSeek SC119/1640.7256100.804Table 9, Run 1 SC133/1640.8109760.811Table 9, Run 2 SC146/1640.8902440.817Table 9, Run 3 SC139/1640.8475610.804\begin{array}{lrrr} \hline \text{Row}&n_{\rm pass}/n_{\rm completed}&\text{Recomputed}&\text{Reported}\\ \hline \text{Table 5, DeepSeek SC}&119/164&0.725610&0.804\\ \text{Table 9, Run 1 SC}&133/164&0.810976&0.811\\ \text{Table 9, Run 2 SC}&146/164&0.890244&0.817\\ \text{Table 9, Run 3 SC}&139/164&0.847561&0.804\\ \hline \end{array} The first, third, and fourth discrepancies are approximately 7.84,7.84, 7.32,7.32, and 4.364.36 percentage points, respectively, far larger than rounding at the displayed precision. Run 11 is a useful countercheck that the ratio interpretation is numerically consistent for an adjacent row. Table 9 also prints 119/164119/164 as 0.7200.720 for Llama 3.1;3.1; ordinary rounding to three decimals gives 0.726.0.726.

Alternative reading. An assertion-weighted rate need not equal the proportion of fully correct programs. That reading could explain some numerical differences, but would contradict Table 5’s stated denominator and cannot be reconstructed from its pass/partial counts without per-case assertion totals and correct-label counts. Thus at least one of the definition, counts, or reported rates needs correction; the evidence does not identify the intended replacement for every cell.

Dependency, impact, and correction. These numbers feed Section 4.3’s quantitative comparisons and Appendix E’s stability claim. The appendix’s DeepSeek SC counts exceed Code Llama’s main-table count of 131,131, whereas the main text calls Code Llama the SC leader. Different runs or metrics might explain this, but the historical mapping is not supplied. Repair requires a case-level ledger and a declared aggregation rule, not choosing whichever number supports a ranking. Under the displayed alternative full-pass counts, the broad SC-over-IR direction still holds; this arithmetic finding alone does not reverse that direction or invalidate the other tasks. Its supported severity is Minor.

□\square

Possible revision

Publish case-level ledger, map runs to main tables, declare aggregation denominator and recompute consistently.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

Among these, we distinguish between re-execution success (all assertions pass) and re-execution mismatch (at least one assertion fails).

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 5

Actual review scope

The recorded inspection concerns these source locations: Section 3.1 p. 3 Task4 necessity of dynamic interpretation; Section 3.5 p. 5 metric; Section 4.3 pp. 7-8 RQ3; AppendixC.4/D p. 16; Task4 notebook cells0,4,7; Section 3.5 p. 5 definition; Table 5 p. 7 and Table 9 p. 17, visually checked.

Submit an author revisionContribute a review