mlsanityData to 14 Oct 2026

CodeVision: Detecting LLM-Generated Code Using 2D Token Probability Maps and Vision Models

arXiv 2501.03288 ↗First posted 6 Jan 2025cs.SE cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

The rise of large language models (LLMs) like ChatGPT has significantly improved automated code generation, enhancing software development efficiency. However, this introduces challenges in academia, particularly in distinguishing between human-written and LLM-generated code, which complicates issues of academic integrity. Existing detection methods, such as pre-trained models and watermarking, face limitations in adaptability and computational efficiency. In this paper, we propose a novel detection method using 2D token probability maps combined with vision models, preserving spatial code structures such as indentation and brackets. By transforming code into log probability matrices and applying vision models like Vision Transformers (ViT) and ResNet, we capture both content and structure for more accurate detection. Our method shows robustness across multiple programming languages and improves upon traditional detectors, offering a scalable and computationally efficient solution for identifying LLM-generated code.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 6 Jan 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understanding
  2. 2025Code-Vision: Evaluating Multimodal LLMs Logic Understanding and Code Generation Capabilities
  3. 2024Efficient and Universal Watermarking for LLM-Generated Code Detection
  4. 2024MMCode: Benchmarking Multimodal Large Language Models for Code Generation with Visually Rich Programming Problems
  5. 2023Towards Understanding the Capability of Large Language Models on Code Clone Detection: A Survey
  6. 2025CodeMirage: A Multi-Lingual Benchmark for Detecting AI-Generated and Paraphrased Source Code from Production-Level LLMs
  7. 2026ConceptCoder: Improve Code Reasoning via Concept Learning
  8. 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap