mlsanityData to 14 Oct 2026

Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibility

arXiv 2601.13398 ↗First posted 19 Jan 2026cs.LG cs.AI cs.PLcited by 4

Not on the map. Why?

Abstract (arXiv)

LLMs demonstrate strong performance on code benchmarks, yet consistent reasoning across forward and backward execution remains elusive. We present RoundTripCodeEval (RTCE), a benchmark of four code execution reasoning tasks that evaluates round-trip consistency through execution-free, exact-match assessment of bijection fidelity across four lossless compression algorithms. We evaluate state-of-the-art Code-LLMs under zero-shot prompting, supervised fine-tuning on execution traces, and iterative self-reflection. All approaches yield only modest improvements and none closes the gap, revealing that current LLMs lack the internal coherence required for reliable bidirectional code reasoning. RTCE surfaces findings invisible to existing benchmarks: models frequently pass individual forward and backward tasks yet fail the combined round-trip, exposing mutually inconsistent internal representations; SFT and self-reflection saturate after one revision round, indicating they cannot repair fundamental algorithmic misunderstandings; and failures persist even on simple bijections such as RLE, suggesting that algorithmic complexity is not the sole root cause.footnoteCode and dataset are available at https://github.com/Nickil21/round-trip-code-compression.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 28 of its 37 references that are in the map. First posted on arXiv 19 Jan 2026.

Builds on

28 of 37 references.

References · 28

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  4. 2021Program Synthesis with Large Language Modelscited by 3,637
  5. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  7. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  9. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
  10. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
  11. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  12. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
16 more
  1. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
  2. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 197
  3. 2024Isambard-AI: a leadership class supercomputer optimised specifically for Artificial Intelligencecited by 62
  4. 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 55
  5. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 45
  6. 2025Can Large Language Models Detect Errors in Long Chain-of-Thought Reasoning?cited by 44
  7. 2023Forward-Backward Reasoning in Large Language Models for Mathematical Verificationcited by 40
  8. 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
  9. 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
  10. 2024Unsupervised Evaluation of Code LLMs with Round-Trip Correctnesscited by 23
  11. 2024Unlocking Memorization in Large Language Models with Dynamic Soft Promptingcited by 21
  12. 2024Do Large Code Models Understand Programming Concepts? Counterfactual Analysis for Code Predicatescited by 14
  13. 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Modelscited by 7
  14. 2025Assessing Coherency and Consistency of Code Execution Reasoning by Large Language Modelscited by 5
  15. 2024GroundCocoa: A Benchmark for Evaluating Compositional & Conditional Reasoning in Language Modelscited by 4
  16. 2024Benchmarking and Understanding Compositional Relational Reasoning of LLMscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.