A source code differential pruning-based dataset creation apparatus comprising: a source code analyzer, executed by at least one hardware processor (602, 804), to: receive source code that includes at least one vulnerability and at least one remediation that remediates the at least one vulnerability; extract, from the source code, at least one remediated section; and identify, from the extracted at least one remediated section, each sentence of the at least one remediated section; a cluster generator, executed by the at least one hardware processor (602, 804), to: generate, based on an analysis of each identified sentence of the at least one remediated section, a plurality of clusters in a k-nearest neighbors search space; and determine, for each identified sentence of a specified cluster of the plurality of clusters, a score, based on a semantic search on the plurality of clusters, with respect to the specified cluster that includes the identified sentence; and an auxiliary dataset generator, executed by the at least one hardware processor (602, 804), to: determine, for each identified sentence of the specified cluster of the plurality of clusters, whether the score is greater than a specified threshold; designate each identified sentence of the specified cluster of the plurality of clusters for which the score is greater than the specified threshold as a relevant sentence; and generate, based on a plurality of relevant sentences, an auxiliary dataset that includes at least one relevant vulnerability and at least one relevant remediation that remediates the at least one relevant vulnerability. a source code analyzer, executed by at least one hardware processor (602, 804), to: receive source code that includes at least one vulnerability and at least one remediation that remediates the at least one vulnerability; extract, from the source code, at least one remediated section; and identify, from the extracted at least one remediated section, each sentence of the at least one remediated section; receive source code that includes at least one vulnerability and at least one remediation that remediates the at least one vulnerability; extract, from the source code, at least one remediated section; and identify, from the extracted at least one remediated section, each sentence of the at least one remediated section; a cluster generator, executed by the at least one hardware processor (602, 804), to: generate, based on an analysis of each identified sentence of the at least one remediated section, a plurality of clusters in a k-nearest neighbors search space; and determine, for each identified sentence of a specified cluster of the plurality of clusters, a score, based on a semantic search on the plurality of clusters, with respect to the specified cluster that includes the identified sentence; and generate, based on an analysis of each identified sentence of the at least one remediated section, a plurality of clusters in a k-nearest neighbors search space; and determine, for each identified sentence of a specified cluster of the plurality of clusters, a score, based on a semantic search on the plurality of clusters, with respect to the specified cluster that includes the identified sentence; and an auxiliary dataset generator, executed by the at least one hardware processor (602, 804), to: determine, for each identified sentence of the specified cluster of the plurality of clusters, whether the score is greater than a specified threshold; designate each identified sentence of the specified cluster of the plurality of clusters for which the score is greater than the specified threshold as a relevant sentence; and generate, based on a plurality of relevant sentences, an auxiliary dataset that includes at least one relevant vulnerability and at least one relevant remediation that remediates the at least one relevant vulnerability. determine, for each identified sentence of the specified cluster of the plurality of clusters, whether the score is greater than a specified threshold; designate each identified sentence of the specified cluster of the plurality of clusters for which the score is greater than the specified threshold as a relevant sentence; and generate, based on a plurality of relevant sentences, an auxiliary dataset that includes at least one relevant vulnerability and at least one relevant remediation that remediates the at least one relevant vulnerability.