PulseAugur
EN
LIVE 15:57:53

Metamorphic testing for LLMs: Identifying extraction errors without ground truth

A new approach to evaluating Large Language Models (LLMs) for data extraction involves metamorphic testing, which identifies errors without needing ground truth data. This method involves altering inputs in minor ways (e.g., reordering lines, adding irrelevant text) and checking if the LLM's output remains consistent. While the technique is established and tools like METAL and LLMorph exist, a recent experiment on 535 scanned receipts aimed to determine the actual error rate when these metamorphic tests flag a discrepancy. The study sought to quantify how often a flagged output is genuinely incorrect, which is crucial for efficient human review of LLM-generated data. AI

IMPACT This approach could significantly improve the reliability of LLM-based data extraction in production by providing a way to detect errors without extensive manual labeling.

RANK_REASON The item discusses a research methodology (metamorphic testing) for evaluating LLMs and presents findings from an experiment applying this method. [lever_c_demoted from research: ic=1 ai=1.0]

Read on Towards AI →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Metamorphic testing for LLMs: Identifying extraction errors without ground truth

COVERAGE [1]

  1. Towards AI TIER_1 English(EN) · Tarun Agarwal ·

    Your LLM Extracted 10,000 Numbers. Which Ones Are Wrong?

    <h4>I tested a way to find out without labelling a single document — on 535 real receipts</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wTHWW2lTLz-Daqh0FP1PwA.png" /></figure><p>You point an LLM at 10,000 documents and ask it to pull out a number.</p><p>…