
Text2Event
Language1,466 ops222.9M params
BinT5-C, a CodeT5-based model that writes summaries of functions, fine-tuned on C source from Capybara.
Language · 1,466 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
BinT5 is a binary code summarization model: given a function, it writes a short description of what the function does. The motivation is reverse engineering, where decompilers turn largely unreadable binaries into a more readable, source code-like form. The paper notes that much of a reverse engineer's time still goes into labeling functions with semantic information.
BinT5 is the CodeT5 base model fine-tuned on CAPYBARA. CAPYBARA is a dataset the authors built of 214K decompiled function-documentation pairs across various compiler optimization levels. Five variations of the model are offered, and they differ in their training data. The variation on this page is BinT5-C, whose training data is C source.
The paper reports BLEU-4 scores of 60.83, 58.82 and 44.21 for summarizing source, decompiled and synthetically stripped decompiled code. It also found that BinT5's performance does not depend heavily on dataset size or compiler optimization level. The authors recommend further research on less expressive input formats such as stripped binaries.
Key idea. The paper fine-tunes the CodeT5 base model on CAPYBARA, a dataset of 214K decompiled function-documentation pairs, to create BinT5 for summarizing decompiled binary functions.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{alkaswan2023extendingsourcecodepretrained,
title={Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binaries},
author={Ali Al-Kaswan and Toufique Ahmed and Maliheh Izadi and Anand Ashok Sawant and Premkumar Devanbu and Arie van Deursen},
year={2023},
eprint={2301.01701},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2301.01701},
}