Daily Arxiv

This page organizes papers related to artificial intelligence published around the world.
This page is summarized using Google Gemini and is operated on a non-profit basis.
The copyright of the paper belongs to the author and the relevant institution. When sharing, simply cite the source.

The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMs

Created by
  • Haebom

Author

Antony Bartlett, Cynthia Liem, Annibale Panichella

Outline

This paper proposes PLLM (pronounced "plum"), a novel approach that leverages large-scale language models (LLMs) to address Python dependency issues. PLLM iteratively infers missing or incorrect dependencies using a search-augmented generation (RAG) approach. LLM builds a test environment that improves predictions by suggesting module combinations, observing execution feedback, and parsing error messages using natural language processing (NLP). We evaluated PLLM using the Gistable HG2.9K dataset, and Gemma-2 9B using RAG achieved the best performance. PLLM achieved a significantly higher fix rate than existing solutions such as PyEGo and ReadPyE.

Takeaways, Limitations

Takeaways:
We improved our LLM's Python dependency problem-solving skills by leveraging the RAG method.
We evaluated the performance of various open-source LLMs, including Gemma-2 9B.
Achieved a higher dependency resolution rate than existing solutions.
This is especially effective for projects that use a large number of dependencies and specialized libraries.
Limitations:
The paper does not specify Limitations. (It is difficult to determine Limitations based on the information provided in the Abstract alone.)
👍