Microsoft Corporation
AUTOMATED MERGE CONFLICT RESOLUTION WITH TRANSFORMERS

Last updated:

Abstract:

An automated system for resolving program merges uses neural transformers with attention. In one aspect, a neural encoder transformer model is trained from developer-resolved merge conflicts to learn to predict a resolution strategy that aids a developer in constructing a merged program. In a second aspect, a neural decoder transformer model is trained on the syntax and semantics of different source code programming languages to predict a merge resolution consisting of interleaved lines of source code from programs A, B, or O, where programs A and B contain changes to code base O.

Status:
Application
Type:

Utility

Filling date:

12 Feb 2021

Issue date:

26 May 2022