← Latest papers
💬 NLP

Ontology-Driven Structural Regularization for Document-Level Relation Extraction

This paper introduces an ontology-driven structural regularization framework that identifies and mitigates logical inconsistencies in distant supervision datasets, thereby significantly improving the generalization performance of document-level relation extraction models.

Original authors: Laura Menotti, Stefano Marchesin, Gianmaria Silvello

Published 2026-08-24
📖 4 min read☕ Coffee break read

Original authors: Laura Menotti, Stefano Marchesin, Gianmaria Silvello

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the vast, unstructured ocean of human language, computers struggle to find the hidden connections that turn a collection of words into a map of knowledge. To build a machine-readable encyclopedia, or a knowledge graph, researchers must teach computers to read a full document and identify every relationship between the people, places, and things mentioned within it. This task, known as document-level relation extraction, is the foundation for systems that answer complex questions or recommend products. However, teaching these systems is expensive because it requires humans to meticulously label every connection by hand. To solve this, scientists have turned to "distant supervision," a method that automatically creates massive training datasets by matching text to existing databases. While this approach generates millions of examples, it is notoriously noisy, often teaching the computer incorrect facts because the automatic matching process is imperfect.

A team of researchers at the University of Padua has discovered that the problem with these noisy datasets goes deeper than just wrong facts; the data itself is often structurally broken. They found that the automatically generated triples—statements linking a subject, a relationship, and an object—frequently violate basic logical rules. For instance, a computer might be taught that a person was born in a year, or that a city is the capital of another city, creating contradictions that defy the very logic the system is trying to learn. The researchers argue that these structural inconsistencies are a critical, overlooked source of error that poisons the training process, causing models to learn bad habits that persist even when they are tested on clean data.

To address this, the team developed a framework that acts like a logical editor for these datasets. They used a formal system of rules, similar to the grammar of a language but applied to the structure of facts, to scan millions of automatically generated examples. They looked for specific types of errors: triples where the entities did not fit the relationship, missing reverse connections that should logically exist, and impossible contradictions where a relationship appeared in both directions when it should only go one way. When they applied this scan to the massive distant supervision dataset known as DocRED, they found a startling amount of structural noise. The automated dataset contained three times as many invalid facts as the carefully human-annotated versions, nearly five times as many missing reverse connections, and twice as many logical contradictions.

The researchers then took a decisive step to see if fixing these structural flaws would actually help the computers learn better. Instead of trying to manually correct every single error, which would be impossible at this scale, they built a cleaning pipeline that simply removed any data points that violated the logical rules. They stripped out the problematic examples and added the missing reverse connections where they were clearly required by logic. They then trained two of the most advanced computer models on this cleaned data and compared the results to models trained on the original, messy data. The results were clear: the models trained on the structurally consistent data made far fewer logical errors. The number of impossible predictions dropped significantly, and the models became much better at understanding the direction of relationships.

Perhaps most importantly, this structural cleaning did not just make the models more logical; it made them more accurate. When tested on standard benchmarks, the models trained on the cleaned data showed consistent improvements in their ability to find the correct relationships. The study suggests that by enforcing a basic standard of structural well-formedness before training even begins, researchers can unlock the full potential of massive, automated datasets. This approach offers a new way to leverage the scale of distant supervision without being held back by its inherent noise, proving that sometimes the best way to teach a machine is to ensure the lessons it learns make logical sense.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →