# Trallie: from Free-Form Text to Structured Data with LLMs

arXiv: https://arxiv.org/abs/2611.30773 · HTML: https://mlsanity.com/paper/2611.30773/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 13 of its 25 references that are in the map.
- Submitted 23 Nov 2026, announced 24 Nov 2026.

## Builds on (most cited first, 13 of 13)

- [SQuAD: 100,000+ Questions for Machine Comprehension of Text](https://mlsanity.com/paper/1606.05250/) (2016)
- [gpt-oss-120b & gpt-oss-20b Model Card](https://mlsanity.com/paper/2508.10925/) (2025)
- [ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPT](https://mlsanity.com/paper/2302.10205/) (2023)
- [Large Language Models for Generative Information Extraction: A Survey](https://mlsanity.com/paper/2312.17617/) (2023)
- [GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extraction](https://mlsanity.com/paper/2310.03668/) (2023)
- [NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Data](https://mlsanity.com/paper/2402.15343/) (2024)
- [ZeroShotCeres: Zero-Shot Relation Extraction from Semi-Structured Webpages](https://mlsanity.com/paper/2005.07105/) (2020)
- [DOM-LM: Learning Generalizable Representations for HTML Documents](https://mlsanity.com/paper/2201.10608/) (2022)
- [Just Put a Human in the Loop? Investigating LLM-Assisted Annotation for Subjective Tasks](https://mlsanity.com/paper/2507.15821/) (2025)
- [A Deeper (Autoregressive) Approach to Non-Convergent Discourse Parsing](https://mlsanity.com/paper/2305.12510/) (2023)
- [Transforming Unstructured Text into Data with Context Rule Assisted Machine Learning (CRAML)](https://mlsanity.com/paper/2301.08549/) (2023)
- [OASYS: Domain-Agnostic Automated System for Constructing Knowledge Base from Unstructured Text](https://mlsanity.com/paper/2207.07597/) (2022)
- [A Fundamental Algorithm for Dependency Parsing (With Corrections)](https://mlsanity.com/paper/2510.19996/) (2025)

## Abstract (arXiv)

Trallie is an open-source framework that leverages large language models (LLMs) to perform information extraction (IE) from natural language sources with or without user guidance. Unlike conventional approaches that rely on extensive labeled datasets or domain-specific training, Trallie enables the conversion of unstructured data into structured formats with minimal or no representative examples. The framework is designed with three key objectives: (i) reducing manual annotation by harnessing prompt-based zero-shot and few-shot capabilities of modern LLMs, (ii) flexibly parsing diverse document formats (i.e., HTML, PDF, TXT, and JSON), and (iii) improving accessibility for non-expert users by automatically inducing schemas from document collections, which can then be refined for extraction. We evaluate Trallie with open-weight LLMs on FDA 510(k) documents and on movie and university websites from SWDE. It outperforms previously reported systems when the target attributes are provided for text extraction and is competitive when it must discover attributes for the schema automatically. The project is available at https://github.com/PiSchool/trallie
