ΕπόμενοΕπόμενος οδηγός
Το Dual-LLM Pattern Against Prompt Injection
Τεχνικά
Τεχνικός ΟΔΗΓΟΣ
Calibrating an LLM judge means evaluating how its decisions compare with human judgments under the same rubric and test cases.
Ακούστε αυτόν τον οδηγόαφήγηση με AI · ~3 min
Agreement statistics can help characterize a categorical judge, but high agreement alone does not show that the rubric is valid or that the judge is correct.
Using an LLM as a judge is attractive because it scales far beyond what human review can cover, but a judge that has never been checked against human judgment is essentially untested. Calibration starts by collecting a set of examples that have already been rated by humans - ideally by more than one rater, so inter-human agreement provides context for interpreting judge-human agreement - and then running the LLM judge on those same examples using its intended rubric and prompt. The core comparison typically uses Cohen's kappa, a statistic that measures agreement between two raters while correcting for the agreement expected by pure chance, which matters because raw percent agreement can look deceptively high when one category is very common. A confusion matrix, which cross-tabulates human labels against judge labels for each category, then shows exactly where disagreement is concentrated - for example, a judge might agree with humans well on clear passes and clear failures but disagree heavily in a middle 'borderline' category. That pattern has several possible causes, including unclear rubric boundaries, judge-specific errors, or disagreement among human raters. Inspect examples before deciding whether to revise the rubric, add examples, adjust the judge, or adjudicate the reference labels. A common misconception is that a single round of calibration is sufficient forever; judges can drift as the underlying model, prompt, or the distribution of inputs being judged changes over time, so recalibration on fresh human-labeled samples on a regular cadence is standard practice. Another misconception is that perfect agreement is the bar to hit; human-human agreement is a useful reference for the task’s subjectivity, not a universal target or strict ceiling for judge performance.
A team building an LLM judge to grade customer-support responses as 'helpful' or 'not helpful' collects 200 human-labeled examples, runs the judge on the same examples, and computes Cohen's kappa to check agreement beyond chance.
An engineer inspects a confusion matrix and discovers the judge systematically rates borderline-acceptable answers as 'excellent,' revealing a rubric that doesn't clearly define the boundary between the two categories.
A company tightens its judge's prompt by adding two concrete example answers for each rating level after finding human-judge disagreement concentrated on mid-range scores rather than clear passes or failures.
A team re-runs its calibration check every quarter on a fresh sample of human-labeled data, since a judge that agreed well with humans six months ago has started drifting after several unrelated prompt updates to the underlying model.
LLM judges are used for more automated evaluation, but their performance can shift with model versions, prompts, answer style, and task mix. Recalibrate when any of those inputs change and keep a human-reviewed holdout. Report agreement with uncertainty and category-level error patterns; do not describe a match rate as accuracy unless the reference labels and evaluation design justify that interpretation. Human review remains essential for contested or high-impact judgments. Repeat checks after dataset or rubric revisions for each important release.
Δωρεάν ενημερωτικό δελτίο
Τρία επαληθευμένα νέα AI κάθε πρωί της εβδομάδας, γραμμένα σε απλή αγγλική. Δωρεάν για πάντα, χωρίς διαφημίσεις.
Ένα email κάθε εργάσιμη ημέρα. Κατάργηση συνδρομής με ένα κλικ. Δεν πουλάμε ή μοιραζόμαστε ποτέ τη διεύθυνσή σας.
Δοκιμάστε τον εαυτό σας
Άμεση ανάδραση σε κάθε απάντηση, και πιστοποιητικό με επαληθεύσιμο ID μόλις περάσετε το μάθημα.
Υποστηρίξτε τη δωρεάν εκπαίδευση AI. AI Understanding είναι μια μη κερδοσκοπική οργάνωση 501(c)(3) — χωρίς διαφημίσεις, χωρίς τοίχο πληρωμής, ποτέ. Κάντε μια δωρεά
Calibrating an LLM judge means evaluating how its decisions compare with human judgments under the same rubric and test cases. Agreement statistics can help characterize a categorical judge, but high agreement alone does not show that the rubric is valid or that the judge is correct.
Η συμφωνία ακατέργαστου ποσοστού μπορεί να φαίνεται υψηλή απλώς και μόνο επειδή κυριαρχεί μία κατηγορία. Η κάπα προσαρμόζεται για αυτό.
Μια μήτρα σύγχυσης αναλύει τη συμφωνία και τη διαφωνία ανά κατηγορία, προσδιορίζοντας πού αποκλίνει ο κριτής από τους ανθρώπους.
Μια συγκεντρωμένη αναντιστοιχία μπορεί να αντικατοπτρίζει ασαφή όρια κατηγορίας, συμπεριφορά συγκεκριμένης δικαστή ή ασυνεπείς ανθρώπινες ετικέτες. επιθεωρήστε τις θήκες πριν επιλέξετε μια επιδιόρθωση.
Ένα νέο μοντέλο, προτροπή, ρουμπρίκα ή συνδυασμός εργασιών μπορεί να αλλάξει τη συμπεριφορά του κριτή, επομένως η βαθμονόμηση πρέπει να επανεξεταστεί όταν αλλάξουν οι συνθήκες.
Η συμφωνία μετρά την ομοιότητα κάτω από την επιλεγμένη ρουμπρίκα και τις ετικέτες αναφοράς. δεν καθορίζει ότι η ρουμπρίκα καταγράφει την επιδιωκόμενη κατασκευή ή ότι οι ετικέτες της είναι σωστές.
Συνέχισε να μαθαίνεις
Επιλέχθηκαν περισσότεροι οδηγοί για αυτό το θέμα
ΕπόμενοΕπόμενος οδηγός
Το Dual-LLM Pattern Against Prompt Injection
Τεχνικά