paper-with-me

홈 › Papers

Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Models

2023-12-15 · Xin Jin, Jonathan Larson, Weiwei Yang, Zhiqiang Lin

Binary code summarization, while invaluable for understanding code semantics, is challenging due to its labor-intensive nature. This study delves into the potential of large language models (LLMs) for binary code comprehension. To this end, we present BinSum, a comprehensive benchmark and dataset of over 557K binary functions and introduce a novel method for prompt synthesis and optimization. To more accurately gauge LLM performance, we also propose a new semantic similarity metric that surpasses traditional exact-match approaches. Our extensive evaluation of prominent LLMs, including ChatGPT, GPT-4, Llama 2, and Code Llama, reveals 10 pivotal insights. This evaluation generates 4 billion inference tokens, incurred a total expense of 11,418 US dollars and 873 NVIDIA A100 GPU hours. Our findings highlight both the transformative potential of LLMs in this field and the challenges yet to be overcome.

📄 PDF Abstract BibTeX arXiv:2312.09601

Code (1)

xinjin95/binsum 공식 구현

Tasks

BenchmarkingCode SummarizationGPUSemantic SimilaritySemantic Textual Similarity

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Position-Wise Feed-Forward Layer 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Exploring the Limits of ChatGPT for Query or Aspect-based Text Summarization

2023-02-16 · Xianjun Yang, Yan Li, Xinlu Zhang, Haifeng Chen 외

Text summarization has been a crucial problem in natural language processing (NLP) for several decades. It aims to condense lengthy documents into shorter versions while retaining the most critical information. Various m…

Abstractive Text SummarizationArticlesText Summarization

Human-like Summarization Evaluation with ChatGPT

2023-04-05 · Mingqi Gao, Jie Ruan, Renliang Sun, Xunjian Yin 외

Evaluating text summarization is a challenging problem, and existing evaluation metrics are far from satisfactory. In this study, we explored ChatGPT's ability to perform human-like summarization evaluation using four hu…

Text Summarization

Automatic Code Summarization via ChatGPT: How Far Are We?

2023-05-22 · Weisong Sun, Chunrong Fang, Yudu You, Yun Miao 외

To support software developers in understanding and maintaining programs, various automatic code summarization techniques have been proposed to generate a concise natural language comment for a given code snippet. Recent…

Code Summarization

Hybrid Long Document Summarization using C2F-FAR and ChatGPT: A Practical Study

2023-06-01 · Guang Lu, Sylvia B. Larcher, Tu Tran

Text summarization is a downstream natural language processing (NLP) task that challenges the understanding and generation capabilities of language models. Considerable progress has been made in automatically summarizing…

ArticlesBenchmarkingBook summarizationDocument Summarization+2

Evaluation of ChatGPT Model for Vulnerability Detection

2023-04-12 · Anton Cheshkov, Pavel Zadorozhny, Rodion Levichev

In this technical report, we evaluated the performance of the ChatGPT and GPT-3 models for the task of vulnerability detection in code. Our evaluation was conducted on our real-world dataset, using binary and multi-label…

ClassificationmodelMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATION+1