KALE: An Artwork Image Captioning System Augmented with Heterogeneous Graph
Abstract
This paper proposes an innovative code translation method aimed at addressing the accuracy issues encountered by large language models (LLMs) in translating code of complex large-scale software projects. The method utilizes the Language Server Protocol to obtain the call graph of the entire codebase, and optimizes the input prompt of the LLM accordingly, significantly improving the correctness of translation at the compilation stage. Moreover, this method introduces the bridged debuggers technique based on the Debug Adapter Protocol and dynamic test case generation, effectively fixing runtime errors. Experiments on multiple mainstream datasets demonstrate that, compared to existing code translation methods and LLMs, this method achieves a significant improvement in translation accuracy.
Cite
Text
Jiang et al. "KALE: An Artwork Image Captioning System Augmented with Heterogeneous Graph." International Joint Conference on Artificial Intelligence, 2024. doi:10.24963/ijcai.2024/848Markdown
[Jiang et al. "KALE: An Artwork Image Captioning System Augmented with Heterogeneous Graph." International Joint Conference on Artificial Intelligence, 2024.](https://mlanthology.org/ijcai/2024/jiang2024ijcai-kale/) doi:10.24963/ijcai.2024/848BibTeX
@inproceedings{jiang2024ijcai-kale,
title = {{KALE: An Artwork Image Captioning System Augmented with Heterogeneous Graph}},
author = {Jiang, Yanbei and Ehinger, Krista A. and Lau, Jey Han},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2024},
pages = {7663-7671},
doi = {10.24963/ijcai.2024/848},
url = {https://mlanthology.org/ijcai/2024/jiang2024ijcai-kale/}
}