Code Intelligence Evaluator Fine-Tuning for Reliable Update Gating

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing quality gating functions for code intelligence tools are unreliable and prone to bias, leading to the potential degradation of tool performance due to undeservedly high ratings of updates, and lack scalable and robust evaluation methods.

Innovation Solution

Implementing a two-tier evaluation system using an evaluator and an evaluator tuner, combined with a hierarchical quality criteria structure, to assess and tune the evaluation process, ensuring accurate and reliable assessment of code intelligence tool updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a single LLM is used to evaluate code intelligence tool updates, then the evaluation process is simple and fast, but the evaluation results are biased and unreliable

Engineering Contradiction:
Improveevaluation reliabilityVSAvoidevaluation system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The evaluation system is segmented into two independent components: an evaluator LLM that generates evaluation results and an evaluator tuner LLM that assesses and adjusts the evaluator's performance. This segmentation allows each component to specialize in its function, improving overall reliability while keeping individual components manageable in complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The evaluator tuner acts as an intermediary between the evaluator LLM and the final decision-making process. It mediates by reviewing the evaluator's results, identifying biases, and generating tuning instructions to improve future evaluations, thereby enhancing reliability without requiring complete system redesign.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If traditional quality gating is used, then the process is simple, but it allows biased evaluations to degrade tool performance

Engineering Contradiction:
Improvequality gating reliabilityVSAvoidupdate deployment efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The evaluator tuner performs preliminary action by proactively identifying biases and generating tuning instructions before biased evaluations can cause harm. This preventive approach ensures that evaluation quality is continuously improved in advance, maintaining reliable quality gating without requiring complex real-time intervention mechanisms.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A feedback loop is established where the evaluator tuner continuously monitors the evaluator's performance, identifies deviations from accurate evaluation, and generates tuning instructions to correct these issues. This feedback mechanism ensures reliable quality gating while maintaining streamlined update deployment through automated correction.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If human experts manually evaluate updates, then evaluation accuracy is high, but the process does not scale

Engineering Contradiction:
Improveevaluation accuracyVSAvoidevaluation scalability
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The evaluator tuner enables the evaluation system to self-correct by automatically identifying its own biases and generating tuning instructions. This self-service capability allows the system to maintain high evaluation accuracy through continuous self-improvement without requiring proportional increases in human expert involvement, thus achieving scalability.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system dynamically changes the parameters of the evaluator LLM based on tuning instructions generated by the evaluator tuner. By adjusting model parameters, evaluation criteria, and processing behaviors, the system maintains high measurement precision while achieving scalability through automated parameter optimization rather than manual intervention.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentEP4645072A1Fine-tuning machine learning code updates evaluator
Publication Date: 2025.11.05 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP4645072A1 patent drawingFigure 1
  • EP4645072A1 patent drawingFigure 2
  • EP4645072A1 patent drawingFigure 3

AI summary

Example solutions provide artificial intelligence (AI) annotated quality gating for code intelligence tools. A code intelligence tool update generates test results, which are evaluated by an evaluator, producing evaluation results. A quality score is determined for the evaluation results using a hierarchical quality criteria structure. This enables determination of whether the evaluator is providing a proper assessment of the code intelligence tool update (or may instead be rating the code intelligence tool update undeservedly high). If the evaluator is not providing a proper assessment of the code intelligence tool update, there is a risk that an underperforming update may be performed on the currently operational code intelligence tool, degrading the performance. The evaluator is tuned to improve the quality score. Using this two-tier assessment approach permits robust scaling. Human intervention is performed on the evaluator, which in turn handles the larger task of evaluating code intelligence tool updates.