Live data from Hacker News

Extract-0: A specialized language model for document information extraction

arxiv.org

21–30 of 63 posts

Re: Extract-0: A specialized language model for document information extraction

#21

So its a model designed exclusively for a purpose? Then the results should not be that surprising. It's still impressive don't get me wrong.

The results are interesting for showing the efficacy of small, fine-tuned models that can be run locally. AI providers as a business need their do-all models to be better than these if they want long-term revenue through the APIs, right?

They can sell fine tuned models running on cheaper hardware in bulk, too. Scale is a thing.

Re: Extract-0: A specialized language model for document information extraction

#22
Ok, but what was the cost of labor put into curation of the training dataset and performing the fine-tuning? Hasn’t the paper’s conclusion been repeatedly demonstrated - that it is possible to get really good task-specific performance out of fine-tuned smaller models? There just remains the massive caveat that closed-source models are pretty cheap and so the ROI isn’t there in a lot of cases.

Re: Extract-0: A specialized language model for document information extraction

#23
> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set.

This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output.

This is a reasonable hobby project and interesting approach to synthetic data generation but not impressive research.

At minimum you should test your model on other benchmarks that have similar tasks e.g. docbench

Re: Extract-0: A specialized language model for document information extraction

#24
post #23

> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set. This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. This is a reasonable hobby project and interesti…

So they tested using training examples? Lmao

Re: Extract-0: A specialized language model for document information extraction

#25
The LoRA + GRPO training pipeline and the semantic similarity reward function over exact matching is actually interesting, but there is an evaluation issue if you want to accept the headline at face value.

They trained on synthetic extractions like "extract equations from arXiv papers" and "extract regulatory information from FDA documents," then tested on more synthetic extractions from the same sources. Essentially, "model trained on synthetic arXiv/PubMed/FDA extractions performs better on more synthetic arXiv/PubMed/FDA extractions than a model that never saw this distribution."

I'd like to see how it handles extractions from a real contract, or a low quality scan of a financial document, or processes a format it didn't see in training. o3 very likely handles these variations better, but we don't have that data to compare.

We need the model weights or tests on standard benchmarks to verify if this generalizes beyond documents that look like the training distribution.

Re: Extract-0: A specialized language model for document information extraction

#26
post #23

> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set. This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. This is a reasonable hobby project and interesti…

> Of course, it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output.

My understanding is generally this is not considered an obvious result. In that high parameter generalist models largely outperform lower parameter specialists.

The real issue is they tested on data in their training set. *

* Incorrect-- Edit misread parent comment.

Re: Extract-0: A specialized language model for document information extraction

#27
post #24
post #23

> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set. This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. This is a reasonable hobby project and interesti…

So they tested using training examples? Lmao

[deleted]

Re: Extract-0: A specialized language model for document information extraction

#28
post #24
post #23

> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set. This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. This is a reasonable hobby project and interesti…

So they tested using training examples? Lmao

> held out

Re: Extract-0: A specialized language model for document information extraction

#29
post #23

> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set. This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. This is a reasonable hobby project and interesti…

in todays news, overfit models are overfit.

Re: Extract-0: A specialized language model for document information extraction

#30
post #23

> the generation of 281,128 augmented examples, from which 1,000 were held out as a benchmark test set. This model is trained on a custom dataset of 280k examples then tested on 1k very similar examples from the same dataset. Of course it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. This is a reasonable hobby project and interesti…

> Of course, it is specialized to outperform general models on this specific task in this specific domain with this specific json format for output. My understanding is generally this is not considered an obvious result. In that high parameter generalist models largely outperform lower parameter specialists. The real issue is they tested on data in their training set. * * Incorrect-- Edit misread parent comment.

They did not test on the data that they tested, that's not what he wrote.
Post reply on HN