arXiv:2610.01463cs.IROct 2026

Manuscript Offprint

arXiv:2610.01463

Learning to structure data from user-generated thematic corpora

Elishay Avram, Oren Glickman, Elad Yom-Tov

Abstract

Thematic corpora, such as social media communities and domain-specific forums, contain large volumes of unstructured text describing data that could be made structured. These include, for example, personal attributes, behaviors, and experiences mentioned in social media data. Extracting structured representations from such data is challenging, as relevant attributes are often implicitly expressed, are domain-dependent, and are not known in advance.

We propose a fully automated, iterative framework for discovering and extracting domain-specific attribute schemas from thematic corpora without assuming a predefined ontology. Given a thematic corpus, the framework iteratively induces candidate attributes using Large Language Models (LLMs), sequentially consolidates semantically overlapping attributes, and assigns each attribute a structural type. These enable creating an ontology and populating it with values from the corpus. Furthermore, the framework enables the use of smaller LLMs for value extraction with estimable accuracy loss compared to large LLMs.

We evaluate the proposed framework on 5 health-related Reddit communities. The discovered attribute sets achieved 61% agreement with human-identified attributes, nearly matching the 62% agreement observed between independent annotators. In most cases (3 of 5), the algorithm converges to a stable set of attributes in fewer than 10 iterations, indicating rapid schema stabilization. The framework further assigns structural types to attributes with 82% accuracy, enabling consistent downstream extraction. Once attributes and their structure are established, the framework reaches an F1F_{1} score of 0.80 in value extraction compared to human annotations. When evaluating smaller instruction-tuned models against a high-capacity reference LLM, performance improves consistently and statistically significantly with model scale across four LLM families, indicating that increased capacity directly translates into higher extraction quality while enabling informed accuracy-cost trade-offs.

Overall, the results demonstrate that attributes comparable to those identified by humans can be discovered automatically, enabling the creation of high-quality structured datasets economically and at scale. By removing the need for predefined ontologies, iterative model-driven schema induction offers a practical and scalable foundation for mining thematic corpora.

CCS Concepts

• Information systems → Data cleaning; Web searching and information discovery; Ontologies; • Applied computing → Health informatics; • Networks → Online social networks.

References (8)