Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Paper page - Learning to Predict Program Execution by Modeling Dynamic Dependency on Code Graphs
[go: Go Back, main page]

https://github.com/FSoft-AI4Code/CodeFlow

\n","updatedAt":"2024-08-09T14:44:42.125Z","author":{"_id":"63a44141de134926a2ba0458","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/63a44141de134926a2ba0458/FP3uxpsKL1nBrrKyiFne3.jpeg","fullname":"Nghi Bui","name":"bdqnghi","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":7,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.6431664228439331},"editors":["bdqnghi"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/63a44141de134926a2ba0458/FP3uxpsKL1nBrrKyiFne3.jpeg"],"reactions":[],"isReport":false}},{"id":"66b6c342693bd59721859635","author":{"_id":"63d3e0e8ff1384ce6c5dd17d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1674830754237-63d3e0e8ff1384ce6c5dd17d.jpeg","fullname":"Librarian Bot (Bot)","name":"librarian-bot","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":318,"isUserFollowing":false},"createdAt":"2024-08-10T01:32:50.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"This is an automated message from the [Librarian Bot](https://huggingface.co/librarian-bots). I found the following papers similar to this paper. \n\nThe following papers were recommended by the Semantic Scholar API \n\n* [Code Structure-Aware through Line-level Semantic Learning for Code Vulnerability Detection](https://huggingface.co/papers/2407.18877) (2024)\n* [An Empirical Study on Capability of Large Language Models in Understanding Code Semantics](https://huggingface.co/papers/2407.03611) (2024)\n* [SelfPiCo: Self-Guided Partial Code Execution with LLMs](https://huggingface.co/papers/2407.16974) (2024)\n* [REPOEXEC: Evaluate Code Generation with a Repository-Level Executable Benchmark](https://huggingface.co/papers/2406.11927) (2024)\n* [Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets](https://huggingface.co/papers/2407.03093) (2024)\n\n\n Please give a thumbs up to this comment if you found it helpful!\n\n If you want recommendations for any Paper on Hugging Face checkout [this](https://huggingface.co/spaces/librarian-bots/recommend_similar_papers) Space\n\n You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: `@librarian-bot recommend`","html":"

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

\n

The following papers were recommended by the Semantic Scholar API

\n\n

Please give a thumbs up to this comment if you found it helpful!

\n

If you want recommendations for any Paper on Hugging Face checkout this Space

\n

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: \n\n@librarian-bot\n\t recommend

\n","updatedAt":"2024-08-10T01:32:50.487Z","author":{"_id":"63d3e0e8ff1384ce6c5dd17d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1674830754237-63d3e0e8ff1384ce6c5dd17d.jpeg","fullname":"Librarian Bot (Bot)","name":"librarian-bot","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":318,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.7372684478759766},"editors":["librarian-bot"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/1674830754237-63d3e0e8ff1384ce6c5dd17d.jpeg"],"reactions":[],"isReport":false}}],"primaryEmailConfirmed":false,"paper":{"id":"2408.02816","authors":[{"_id":"66b62a3428fa16f1b8a94ae3","name":"Cuong Chi Le","hidden":false},{"_id":"66b62a3428fa16f1b8a94ae4","name":"Hoang Nhat Phan","hidden":false},{"_id":"66b62a3428fa16f1b8a94ae5","name":"Huy Nhat Phan","hidden":false},{"_id":"66b62a3428fa16f1b8a94ae6","name":"Tien N. Nguyen","hidden":false},{"_id":"66b62a3428fa16f1b8a94ae7","user":{"_id":"63a44141de134926a2ba0458","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/63a44141de134926a2ba0458/FP3uxpsKL1nBrrKyiFne3.jpeg","isPro":false,"fullname":"Nghi Bui","user":"bdqnghi","type":"user"},"name":"Nghi D. Q. Bui","status":"admin_assigned","statusLastChangedAt":"2024-08-09T17:44:34.620Z","hidden":false}],"publishedAt":"2024-08-05T20:32:00.000Z","submittedOnDailyAt":"2024-08-09T13:14:42.116Z","title":"Learning to Predict Program Execution by Modeling Dynamic Dependency on\n Code Graphs","submittedOnDailyBy":{"_id":"63a44141de134926a2ba0458","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/63a44141de134926a2ba0458/FP3uxpsKL1nBrrKyiFne3.jpeg","isPro":false,"fullname":"Nghi Bui","user":"bdqnghi","type":"user"},"summary":"Predicting program behavior without execution is an essential and challenging\ntask in software engineering. Traditional models often struggle to capture\ndynamic dependencies and interactions within code. This paper introduces a\nnovel machine learning-based framework called CodeFlowrepresents, which\npredicts code coverage and detects runtime errors through Dynamic Dependencies\nLearning. Utilizing control flow graphs (CFGs), CodeFlowrepresents all possible\nexecution paths and the relationships between different statements, offering a\ncomprehensive understanding of program behavior. It constructs CFGs to depict\nexecution paths and learns vector representations for CFG nodes, capturing\nstatic control-flow dependencies. Additionally, it learns dynamic dependencies\nthrough execution traces, which reflect the impacts among statements during\nexecution. This approach enables accurate prediction of code coverage and\nidentification of runtime errors. Empirical evaluations show significant\nimprovements in code coverage prediction accuracy and effective localization of\nruntime errors, surpassing current models.","upvotes":5,"discussionId":"66b62a3528fa16f1b8a94b34","ai_summary":"A machine learning framework named CodeFlowrepresents uses dynamic dependencies learning to predict code coverage and detect runtime errors by analyzing control flow graphs and execution traces.","ai_keywords":["control flow graphs","CFGs","vector representations","static control-flow dependencies","dynamic dependencies","execution traces","code coverage prediction","runtime error detection"]},"canReadDatabase":false,"canManagePapers":false,"canSubmit":false,"hasHfLevelAccess":false,"upvoted":false,"upvoters":[{"_id":"63a44141de134926a2ba0458","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/63a44141de134926a2ba0458/FP3uxpsKL1nBrrKyiFne3.jpeg","isPro":false,"fullname":"Nghi Bui","user":"bdqnghi","type":"user"},{"_id":"64587be872b60ae7a3817858","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/64587be872b60ae7a3817858/BbdOOxOCEzWTvEpkWp8MM.png","isPro":false,"fullname":"Minbyul Jeong","user":"Minbyul","type":"user"},{"_id":"657152eb12f162153b50ec9d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/657152eb12f162153b50ec9d/qnldHP35PclV0pDz_05q8.jpeg","isPro":false,"fullname":"Byung-Kwan Lee","user":"BK-Lee","type":"user"},{"_id":"6538119803519fddb4a17e10","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6538119803519fddb4a17e10/ffJMkdx-rM7VvLTCM6ri_.jpeg","isPro":false,"fullname":"samusenps","user":"samusenps","type":"user"},{"_id":"663ccbff3a74a20189d4aa2e","avatarUrl":"/avatars/83a54455e0157480f65c498cd9057cf2.svg","isPro":false,"fullname":"Nguyen Van Thanh","user":"NguyenVanThanhHust","type":"user"}],"acceptLanguages":["*"],"dailyPaperRank":0}">
Papers
arxiv:2408.02816

Learning to Predict Program Execution by Modeling Dynamic Dependency on Code Graphs

Published on Aug 5, 2024
· Submitted by
Nghi Bui
on Aug 9, 2024
Authors:
,
,
,
,

Abstract

A machine learning framework named CodeFlowrepresents uses dynamic dependencies learning to predict code coverage and detect runtime errors by analyzing control flow graphs and execution traces.

AI-generated summary

Predicting program behavior without execution is an essential and challenging task in software engineering. Traditional models often struggle to capture dynamic dependencies and interactions within code. This paper introduces a novel machine learning-based framework called CodeFlowrepresents, which predicts code coverage and detects runtime errors through Dynamic Dependencies Learning. Utilizing control flow graphs (CFGs), CodeFlowrepresents all possible execution paths and the relationships between different statements, offering a comprehensive understanding of program behavior. It constructs CFGs to depict execution paths and learns vector representations for CFG nodes, capturing static control-flow dependencies. Additionally, it learns dynamic dependencies through execution traces, which reflect the impacts among statements during execution. This approach enables accurate prediction of code coverage and identification of runtime errors. Empirical evaluations show significant improvements in code coverage prediction accuracy and effective localization of runtime errors, surpassing current models.

Community

Paper author Paper submitter

Implementation can be found here: https://github.com/FSoft-AI4Code/CodeFlow

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2408.02816 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2408.02816 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2408.02816 in a Space README.md to link it from this page.

Collections including this paper 1