🤖 AI Summary
Recent analysis highlights persistent challenges in verbatim information extraction by small language models (LLMs), revealing their inability to accurately copy text from documents. This issue is crucial for applications where precise citation is required, such as legal contracts. The study tested seven LLMs across 800 prompts related to commercial contract extraction, finding that the models returned exact copies just 54.8% to 78.3% of the time, with substantial errors stemming from subtle modifications to text.
To address these limitations, the researchers propose a new method called byte-level constrained decoding, which restricts the model's output based on the actual byte sequences found in the source document. Unlike traditional token-based constraints, this approach allows flexibility in spelling and capitalization while ensuring the output matches the document verbatim. This advancement could significantly improve the reliability of LLMs in tasks requiring exact text extraction, thereby enhancing their utility in scenarios demanding high accuracy and accountability, such as legal and compliance settings.
Loading comments...
login to comment
loading comments...
no comments yet