REVIEW 3 major objections 6 minor 25 references
LLM coding agents stall on spatial accelerators
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · glm-5.2
2026-07-05 02:05 UTC pith:E45GPYAG
load-bearing objection Cross-architecture LLM agent evaluation on HPC compression kernels; Cerebras results rest on unverified runnability the 3 major comments →
Evaluating LLM Coding Agents on SZ-Family Lossy Compression Across Architectures
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The paper's central discovery is a cross-architecture divergence in LLM coding agent behavior: on GPU targets, the difficulty is performance optimization (with model choice and prompt sensitivity driving outcomes), while on Cerebras spatial accelerators, the difficulty collapses to producing any runnable program at all. Two LLMs that both function on GPUs split completely on Cerebras — one (GPT) reliably generates executable CSL code, the other (Gemini) fails across all prompt tiers. The paper also identifies a two-phase optimization pattern on GPUs: early system-level restructuring yields stable gains, while late-stage bit-level micro-optimizations are brittle and often counterproductive, a
What carries the argument
The paper's argument is carried by a three-axis evaluation: (1) two SZ-family compression kernels (SZp, a tightly coupled bit-level pipeline, and SZx, a modular framework) that differ in structural coupling; (2) two architectures (NVIDIA V100 GPU with thread-based CUDA, and Cerebras CS-3/WSE-3 with PE-centric spatial CSL programming); and (3) two LLM agents (GPT-5.1-Codex and Gemini-2.5-pro) tested under three prompt tiers (user, knowledgeable, expert) that progressively add domain and architecture-specific guidance. The interaction of these axes produces the paper's findings: kernel structure governs optimization feasibility, architecture governs the nature of the challenge (throughput vs.
Load-bearing premise
The claim that success on GPUs does not transfer to Cerebras rests on results where GPT produces 'runnable' Cerebras code but all configurations report the identical 134-second execution time, which may indicate a minimal or default program rather than a meaningful compression implementation. The paper does not verify that the runnable Cerebras code achieves real compression, only that it executes. If the runnable code is functionally trivial, the cross-architecture gap may反映
What would settle it
If both LLMs could be shown to produce correct, non-trivial Cerebras programs that achieve measurable compression (not just execution) under reasonable iteration budgets, the core cross-architecture divergence claim would be substantially weakened.
If this is right
- If the cross-architecture divergence holds broadly, then benchmarks that evaluate LLM coding agents only on GPU or CPU targets are systematically overestimating agent capability for heterogeneous HPC deployment.
- The finding that early system-level restructuring drives most throughput gains suggests a practical two-stage workflow: let agents propose high-level reorganization, then gate late-stage micro-optimizations behind profiling signals (bandwidth, occupancy, sync stalls) to prevent regressions.
- The complete failure of one major LLM on Cerebras and success of another implies that spatial accelerator code generation may depend on specific training data exposure rather than general reasoning ability, raising questions about how to evaluate whether an agent 'understands' a novel execution model.
- If modular kernels (SZx) are consistently easier for agents to optimize than tightly coupled bit-level pipelines (SZp), then code structure itself becomes a variable in agent evaluation — kernel choice in benchmarks may confound claims about agent capability.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. This paper evaluates LLM coding agents (GPT-5.1-Codex and Gemini-2.5-pro) on SZ-family lossy compression kernels (SZp, SZx) across two architectures: NVIDIA V100 GPUs (CUDA) and Cerebras CS-3/WSE-3 (CSL). On GPU, the authors report throughput, iteration counts, and prompt sensitivity, finding that Gemini achieves higher peak throughput but with greater prompt sensitivity, while GPT is more stable but slower. On Cerebras, the primary metric is runnability: GPT produces runnable code across all configurations while Gemini fails entirely. A step-by-step analysis traces optimization trajectories on GPU, showing that early system-level changes yield stable gains while late-stage micro-optimizations are brittle. The central claim is that success on thread-based platforms does not directly transfer to spatial accelerators.
Significance. The paper tackles a timely and relevant question: how well do LLM coding agents handle performance-critical HPC kernels across fundamentally different execution models. The cross-architecture comparison (GPU vs. Cerebras WSE-3) is a genuine contribution, as is the step-by-step optimization trajectory analysis (Tables II–III, Figure 4) which provides actionable insight into where LLM agents succeed (system-level restructuring) and fail (bit-level micro-optimizations). The prompt-tier experimental design and the iteration-count vs. throughput analysis add depth beyond simple pass/fail evaluation. However, the significance of the cross-architecture divergence claim is substantially weakened by the lack of correctness verification for the Cerebras results, as detailed below.
major comments (3)
- Table I: All six GPT Cerebras configurations report exactly 134.0s execution time across two different kernels (SZp, SZx) and three prompt tiers. This uniformity is not addressed anywhere in the paper. It suggests one of: (a) a platform default or timeout value, (b) all configurations converging to the same trivial program structure, or (c) execution time dominated by fixed overhead unrelated to the compression kernel. The paper's own metric definition (§III-D, item iv) defines Cerebras success as 'compile and execute within budget,' not 'produce correct compression output.' Unlike the GPU backend where correctness is validated, there is no verification that the GPT-generated CSL code performs meaningful lossy compression. If the runnable Cerebras code is functionally degenerate (e.g., data pass-through), the cross-architecture divergence claim is overstated. The authors must either (a)
- §III-A and §III-D (items iv–v): The Cerebras evaluation reports only runnability and execution time, with no compression ratio or error-bound validation. This is a fundamental asymmetry with the GPU evaluation, which reports throughput only for 'functionally correct implementations validated by our test suite' (§III-A). The abstract's claim that 'success on thread-based platforms does not directly transfer to spatial accelerators' rests entirely on this asymmetric comparison: GPU results are performance-validated, Cerebras results are runnability-only. The authors should either add correctness verification for Cerebras output (compression ratio, error bounds) or explicitly qualify the cross-architecture claim to reflect that Cerebras success is defined as runnability, not functional compression.
- §IV-A, Figures 2–3: No error bars, standard deviations, or number of repeated trials are reported for any GPU throughput measurement. Given that the paper draws quantitative conclusions about prompt sensitivity (e.g., 'up to about 5× on SZp compression') and model differences, some indication of run-to-run variability is needed. If each configuration was run only once, this should be stated explicitly and the quantitative claims appropriately qualified.
minor comments (6)
- §III-B: The two 'generation workflows' mentioned in the text are not clearly described. The paper states agents 'iteratively generate and refine code in a compile/run feedback loop' but the MCP environment and single-agent setup are only briefly mentioned. A clearer description of the workflow would help reproducibility.
- §V, Figure 4 and Tables II–III: The step-by-step analysis appears to be for a single model and prompt tier, but this is not stated. Clarify which model and prompt tier produced these traces.
- Table I: The '†' footnote marks 'Reasoning budget exhausted' but the reasoning counts for marked entries (100) vs. unmarked entries (74, 79, 99) do not make the distinction clear. The footnote should clarify whether † means the count equals the budget cap.
- Reference [4] (LLMCompiler) has an incomplete arXiv ID ('arXiv:2401.XXX'). This should be corrected.
- §IV-A.1: The throughput values (0.084–0.446 GB/s) appear low for V100 GPU compression. Clarify whether these are end-to-end (including host-side stages) or kernel-only measurements, and how they compare to hand-optimized cuSZp/cuSZx baselines.
- Abstract: 'GPT-5.1-Codex' and 'Gemini-2.5-pro' are used as model names. If these are internal/pre-release access, this should be noted for reproducibility context.
Simulated Author's Rebuttal
We thank the referee for a careful and constructive review. The referee's three major comments are all valid concerns that we will address in revision. Below we respond point by point.
read point-by-point responses
-
Referee: Table I: All six GPT Cerebras configurations report exactly 134.0s execution time across two kernels and three prompt tiers. This uniformity is unexplained and suggests a platform default, timeout, or fixed overhead. The paper's Cerebras success metric is runnability only, with no correctness verification. If the runnable code is functionally degenerate, the cross-architecture divergence claim is overstated.
Authors: The referee is correct that the uniform 134.0s value requires explanation and that the absence of correctness verification for the Cerebras results is a genuine gap. We will address both issues in revision. Regarding the 134.0s value: this is the wall-clock time reported by the Cerebras runtime for program execution including host-to-WSE data movement, kernel launch, and result collection. The uniformity across configurations indicates that execution time is dominated by fixed platform overhead (host-to-PE data staging and runtime teardown) rather than by the compression kernel itself, which is consistent with the fact that the generated CSL programs are structurally simple. We will add an explicit note in the revised Table I caption and in §IV-B explaining this. Regarding correctness: we agree that the current evaluation does not verify that the GPT-generated CSL code performs meaningful lossy compression (i.e., produces correct compressed output within error bounds). We will add a qualification to the abstract and conclusions stating that Cerebras success is defined as runnability (compile and execute within budget), not functional correctness of compression output. We will also add a brief code-level inspection of the generated CSL programs in the revised manuscript to characterize what the runnable code actually does, so readers can judge whether the cross-architecture divergence claim is well-founded even under the runnability-only metric. We note that the core divergence claim — that Gemini fails to produce runnable CSL code at all while GPT succeeds — holds regardless of whether the GPT output is functionally complete, since the failure mode is at the compile/execute level. However, we agree that the stronger interpretation (that GPT 'succeeds' at compression onC revision: no
Circularity Check
No circularity: empirical evaluation paper with externally measured metrics and no derivation chain to reduce
full rationale
This is an empirical evaluation paper, not a derivation. The metrics (throughput, runnability, iteration count) are measured from code execution on external hardware (NVIDIA V100, Cerebras CS-3). The SZ-family benchmarks (refs [5], [6], [23]) are authored by overlapping authors but serve as test inputs — existing compression kernels to be translated — not as results being validated. No claim is derived from a self-citation chain. The cross-architecture divergence claim is supported by measured execution outcomes (Table I, Figure 2, Figure 3) that are externally falsifiable. The reader's concern about unverified Cerebras correctness (all GPT configurations reporting 134s) is a validity/correctness risk, not a circularity issue — the paper does not define a metric in terms of itself or rename a fit as a prediction. The derivation chain is absent by design; the paper reports observations.
Axiom & Free-Parameter Ledger
free parameters (2)
- Iteration budget =
not explicitly stated; Table I shows up to 100 reasoning iterations
- Prompt tier content =
qualitatively described only
axioms (4)
- domain assumption SZp and SZx are representative HPC workloads for evaluating LLM coding agents
- domain assumption Single-agent iterative generation is the appropriate workflow to evaluate
- domain assumption V100 GPU and CS-3/WSE-3 are representative of thread-based and spatial architectures respectively
- ad hoc to paper Runnable Cerebras code with non-zero execution time constitutes a successful outcome
read the original abstract
Large language model (LLM) coding agents are increasingly applied to code translation and optimization, yet their effectiveness in performance-critical high-performance computing (HPC) settings remains poorly characterized. This paper evaluates LLM-based coding workflows on SZ-family error-bounded lossy compression kernels, which combine numerical constraints with memory-intensive and control-flow-heavy implementations. We study two representative CUDA workloads (SZp and SZx) and target two heterogeneous execution platforms: NVIDIA GPUs and Cerebras wafer-scale accelerators. Focusing on single-agent iterative generation, we analyze not only final throughput but also agent runtime behavior, including iteration patterns, sensitivity to prompt specification, and characteristic failure modes. Our results reveal a pronounced cross-architecture divergence. On GPUs, stronger models can achieve substantially higher throughput but exhibit increased sensitivity to prompt precision and optimization guidance, whereas on Cerebras the dominant challenge lies in producing runnable programs under a PE-centric spatial execution model. We further observe that LLM agents are more effective on modular kernels (SZx) than on tightly coupled bit-level pipelines (SZp), where structural dependencies hinder optimization progress. These findings suggest that evaluating LLM coding agents for HPC requires accounting for both performance outcomes and architecture-specific robustness, and that success on thread-based platforms does not directly transfer to spatial accelerators.
Figures
Reference graph
Works this paper leans on
-
[2]
Competition-level code generation with alphacode,
Y . Liet al., “Competition-level code generation with alphacode,”Sci- ence, 2022
work page 2022
-
[3]
Code Llama: Open Foundation Models for Code
B. Rozi `ereet al., “Code llama: Open foundation models for code,”arXiv preprint arXiv:2308.12950, 2023
work page internal anchor Pith review Pith/arXiv arXiv 2023
-
[4]
Llmcompiler: An llm-based compiler framework,
X. Zhenget al., “Llmcompiler: An llm-based compiler framework,” arXiv preprint arXiv:2401.XXX, 2024
work page 2024
-
[5]
cuszp: A gpu-based error-bounded lossy compressor with optimized prediction and parallel encoding,
K. Zhaoet al., “cuszp: A gpu-based error-bounded lossy compressor with optimized prediction and parallel encoding,”IEEE TPDS, 2022
work page 2022
-
[6]
Szx: A modular error-bounded lossy compression frame- work,
S. Diet al., “Szx: A modular error-bounded lossy compression frame- work,” inSC, 2023
work page 2023
-
[7]
Fixed-rate compressed floating-point arrays,
P. Lindstrom, “Fixed-rate compressed floating-point arrays,”IEEE Transactions on Visualization and Computer Graphics, 2014
work page 2014
-
[8]
D. Taoet al., “Significantly improving lossy compression for scientific data sets based on multidimensional prediction and error-controlled quantization,”IEEE Transactions on Parallel and Distributed Systems, 2017
work page 2017
-
[9]
Fast error-bounded lossy hpc data compression with sz,
S. Di and F. Cappello, “Fast error-bounded lossy hpc data compression with sz,”IEEE Transactions on Parallel and Distributed Systems, 2016
work page 2016
-
[10]
Efficient error-bounded lossy hpc data compression with sz,
D. Sheng and F. Cappello, “Efficient error-bounded lossy hpc data compression with sz,” inIEEE International Parallel and Distributed Processing Symposium (IPDPS), 2014
work page 2014
-
[11]
Sz3: A modular framework for scientific data compression,
D. Tao, S. Diet al., “Sz3: A modular framework for scientific data compression,”IEEE Transactions on Parallel and Distributed Systems, 2022
work page 2022
-
[12]
cusz: An efficient gpu-based error-bounded lossy compres- sion framework for scientific data,
K. Liet al., “cusz: An efficient gpu-based error-bounded lossy compres- sion framework for scientific data,” inACM HPDC, 2020
work page 2020
-
[13]
ReAct: Synergizing Reasoning and Acting in Language Models
S. Yao, J. Zhao, D. Yuet al., “React: Synergizing reasoning and acting in language models,” inProceedings of the 11th International Conference on Learning Representations (ICLR), 2023. [Online]. Available: https://arxiv.org/abs/2210.03629
work page internal anchor Pith review Pith/arXiv arXiv 2023
-
[14]
Autocoder: Autonomous code generation with large language models,
Y . Wu, H. Zhang, Y . Liet al., “Autocoder: Autonomous code generation with large language models,”arXiv preprint arXiv:2401.00000, 2024
-
[15]
CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society
G. Li, H. A. Hammoud, H. Itaniet al., “Camel: Communicative agents for “mind” exploration of large language models,” inProceedings of the 37th Conference on Neural Information Processing Systems (NeurIPS), 2023. [Online]. Available: https://arxiv.org/abs/2303.17760
work page internal anchor Pith review Pith/arXiv arXiv 2023
-
[16]
MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework
S. Hong, X. Zheng, P. Chenet al., “Metagpt: Meta programming for multi-agent collaborative framework,” inProceedings of the 12th International Conference on Learning Representations (ICLR), 2024. [Online]. Available: https://arxiv.org/abs/2308.00352
work page internal anchor Pith review Pith/arXiv arXiv 2024
-
[17]
Openevolve: an open-source evolu- tionary coding agent,
A. Sharma, “Openevolve: an open-source evolu- tionary coding agent,” 2025. [Online]. Available: https://github.com/algorithmicsuperintelligence/openevolve
work page 2025
-
[18]
The cerebras wafer-scale engine,
A. Feldmanet al., “The cerebras wafer-scale engine,”IEEE Micro, vol. 41, no. 2, pp. 6–17, 2021
work page 2021
-
[19]
Wafer-scale integration: the next frontier for computing,
S. Lieet al., “Wafer-scale integration: the next frontier for computing,” Communications of the ACM, vol. 63, no. 12, pp. 48–55, 2020
work page 2020
-
[20]
Architecture and programming of the wafer-scale engine,
R. Hoet al., “Architecture and programming of the wafer-scale engine,” IEEE Computer, vol. 55, no. 3, pp. 34–44, 2022
work page 2022
-
[21]
Programming models for wafer-scale accelerators,
B. Laurieet al., “Programming models for wafer-scale accelerators,” Proceedings of the IEEE, vol. 109, no. 7, pp. 1165–1182, 2021
work page 2021
-
[22]
Cerebras software development kit,
Cerebras Systems, “Cerebras software development kit,” https://docs.cerebras.net, 2023
work page 2023
-
[23]
Y . Huang, S. Di, X. Yu, G. Li, and F. Cappello, “cuszp: An ultra-fast gpu error-bounded lossy compression framework with optimized end-to-end performance,” inProceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, ser. SC ’23. New York, NY , USA: Association for Computing Machinery,
-
[24]
Available: https://doi.org/10.1145/3581784.3607048
[Online]. Available: https://doi.org/10.1145/3581784.3607048
-
[25]
Evaluating Large Language Models Trained on Code
OpenAI, “Evaluating large language models trained on code,”arXiv preprint arXiv:2107.03374, 2021
work page internal anchor Pith review Pith/arXiv arXiv 2021
-
[26]
Gemini: A Family of Highly Capable Multimodal Models
Google DeepMind, “Gemini: A family of highly capable multimodal models,”arXiv preprint arXiv:2312.11805, 2023
work page internal anchor Pith review Pith/arXiv arXiv 2023
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.