paper-with-me

Papers

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

2025-01-06 · Zhenyu Xu, Victor S. Sheng

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.

📄 PDF Abstract BibTeX arXiv:2501.03288

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationComputational Efficiency

Methods 이 논문이 사용한 방법론

Average Pooling 설명 없음
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Max Pooling Max Pooling is a pooling operation that calculates the maximum value for patches of a feature map, and uses it to create a downsampled (pooled) feature map. It is usually…
Global Average Pooling Global Average Pooling is a pooling operation designed to replace fully connected layers in classical CNNs. The idea is to generate one feature map for each corresponding…
Kaiming Initialization 설명 없음

Similar Papers 제목 키워드 기반

CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation

2025-04-18 · Xinchen Wang, Pengfei Gao, Chao Peng, Ruida Hu 외

Large language models (LLMs) have demonstrated strong capabilities in code generation, underscoring the critical need for rigorous and comprehensive evaluation. Existing evaluation approaches fall into three categories, …

Code Generation

TPA: Next Token Probability Attribution for Detecting Hallucinations in RAG

2025-12-08 · Pengqian Lu, Jie Lu, Anjin Liu, Guangquan Zhang arxiv

Detecting hallucinations in Retrieval-Augmented Generation remains a challenge. Prior approaches attribute hallucinations to a binary conflict between internal knowledge stored in FFNs and the retrieved context. However,…

Detecting Distillation Data from Reasoning Models

2025-10-06 · Hengxiang Zhang, Hyeong Kyu Choi, Sharon Li, Hongxin Wei arxiv

Reasoning distillation has emerged as a prevailing paradigm for transferring reasoning capabilities from large reasoning models to small language models. Yet, reasoning distillation risks data contamination: benchmark da…

SENTRA: Selected-Next-Token Transformer for LLM Text Detection

2025-09-15 · Mitchell Plyler, Yilun Zhang, Alexander Tuzhilin, Saoud Khalifah 외 arxiv

LLMs are becoming increasingly capable and widespread. Consequently, the potential and reality of their misuse is also growing. In this work, we address the problem of detecting LLM-generated text that is not explicitly …

Text Detection

Thinking with Programming Vision: Towards a Unified View for Thinking with Images

2025-12-03 · Zirun Guo, Minjie Hong, Feng Zhang, Kai Jia 외 arxiv

Multimodal large language models (MLLMs) that think with images can interactively use tools to reason about visual inputs, but current approaches often rely on a narrow set of tools with limited real-world necessity and …

Reinforcement Learning