Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs
<|reference_start|>Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs: LLMs have long demonstrated remarkable effectiveness in automatic program repair (APR), with OpenAI's ChatGPT being one of the most widely used models in this domain. Through continuous iterations and upgrades of GPT-family models, their performance in fixing bugs has already reached state-of-the-art levels. However, there are few works comparing the effectiveness and variations of different versions of GPT-family models on APR. In this work, inspired by the recent public release of the GPT-o1 models, we conduct the first study to compare the effectiveness of different versions of the GPT-family models in APR. We evaluate the performance of the latest version of the GPT-family models (i.e., O1-preview and O1-mini), GPT-4o, and the historical version of ChatGPT on APR. We conduct an empirical study of the four GPT-family models against other LLMs and APR techniques on the QuixBugs benchmark from multiple evaluation perspectives, including repair success rate, repair cost, response length, and behavior patterns. The results demonstrate that O1's repair capability exceeds that of prior GPT-family models, successfully fixing all 40 bugs in the benchmark. Our work can serve as a foundation for further in-depth exploration of the applications of GPT-family models in APR.<|reference_end|>
@article{hu2024can,
    title={Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs},
    author={Haichuan Hu, Ye Shang, Guolin Xu, Congqing He, Quanjun Zhang},
    journal={arXiv preprint arXiv:2409.10033},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.10033},
    primaryClass={cs.SE cs.AI}
}