{"id":"CU26071","slug":"ai-patch-refinement-for-higher--CU26071","source":{"id":"CU26071","dataset":"techtransfer","title":"AI patch refinement for higher-accuracy LLM-based code repair","description_":"<p>This technology is a context-aware refinement module that transforms partially correct patches generated by large language models (LLM) into correct fixes, improving the accuracy of existing automatic program repair systems.</p>\r\r<h2>Unmet Need: Accurate and reliable LLM-based code repair</h2>\r\r<p>State-of-the-art LLM-based automated program repair (APR) tools generate code patches by reasoning over issue descriptions, codebases, and regression test suites. However, these tools frequently produce partially correct fixes that address individual instances of a bug while failing to resolve related cases or the underlying defect. As a result, many patches still require manual review and refinement before they can be safely merged, reducing the efficient gains of automated repair. Current APR systems lack systematic methods for refining these near-correct patches into complete, reliable fixes.</p>\r\r<h2>The Technology: Tool-agnostic refinement module for higher accuracy automated program repair</h2>\r\r<p>This technology is a software refinement module that transforms partially correct code patches generated by existing automatic program repair (APR) tools into complete and correct fixes. The module analyzes the issue description, draft patch, and surrounding code context to generate, evaluate, and integrate improved code edits before validating the final patch against the project’s test suite. Because the module refines the output of existing repair tools rather than replacing them, it can be integrated into both autonomous-agent and fixed-workflow APR systems.</p>\r\r<p>This technology was evaluated on the SWE-Bench Lite and SWE-Bench Verified benchmarks of real-world GitHub issues. When integrated with five automated program repair tools, it improved bug-resolution rates by an average of approximately 14% and resolved several issues that none of the baseline tools were able to fix.</p>\r\r<h2>Applications:</h2>\r\r<ul>\r<li>Plug-in enhancement layer for existing AI program-repair tools</li>\r<li>Automated resolution and quality-gating of AI-generated patches before merge</li>\r<li>Reduction of manual debugging and code-review effort in software maintenance</li>\r<li>Automated code review for security, reliability, and maintainability </li>\r<li>Large-scale legacy software modernization and re-architecting </li>\r<li>Benchmarking and research tool for studying automated patch correctness</li>\r</ul>\r\r<h2>Advantages:</h2>\r\r<ul>\r<li>Plugs into existing repair tools instead of replacing them</li>\r<li>Boosts bug-resolution accuracy, fixing issues no other tool resolves</li>\r<li>Refines partially correct patches using issue and code context, cutting manual rework</li>\r<li>Tool-agnostic and broadly generalizable across repair systems</li>\r</ul>\r\r<h2>Lead Inventor:</h2>\r\r<p><a href=\"https://datascience.columbia.edu/people/baishakhi-ray/\">Baishakhi Ray, Ph.D.</a></p>\r\r<h2>Patent Information:</h2>\r\r<p>Patent Pending</p>\r\r<h2>Related Publications:</h2>\r\r<ul>\r<li><a href=\"https://arxiv.org/abs/2510.03588\">Pabba A, Chen S, Mathai A, Chakraborty A, Ray B. “REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement” arXiv. 2025 Oct 4. arXiv:2510.03588.</a></li>\r</ul>\r\r<h2>Tech Ventures Reference:</h2>\r\r<ul>\r<li>Licensing Contact: <a href=\"mailto:techtransfer@columbia.edu\">Greg Maskel</a></li>\r</ul>\r\r","tags":["Artificial intelligence","Benchmarking","Regression testing","Software maintenance","Software testing"],"file_number":"CU26071","collections":[],"meta_description":"Context-aware patch refinement boosts LLM-based code repair accuracy by converting near-correct patches into complete fixes. (15 words)","apriori_judge_output":"{\"scores\":{\"novelty\":4.0,\"potential_impact\":4.0,\"readiness\":3.0,\"scalability\":4.0,\"timeliness\":3.0},\"weighted_score\":3.85,\"risks\":[\"Potential overlap with existing APR augmentation tools\",\"Dependency on underlying APR tool quality could affect results\",\"Requires integration effort for new pipelines\",\"Limited public dataset for real-world validation beyond GitHub issues\"],\"one_sentence_take\":\"The approach offers a meaningful novelty with solid impact and scalable integration, but readiness and timeliness are moderate due to integration and validation challenges.\"}","inventors":["Baishakhi Ray"],"manager":"Greg Maskel","depts":["Computer Science"],"divs":["Fu Foundation School of Engineering and Applied Science (SEAS)"],"date_released":"2026-07-17"},"highlight":{},"matched_queries":null,"score":0.0}