ORIGAMI: A generative transformer architecture for predictions from semi-structured data
Not on the map. Why?
Abstract (arXiv)
Despite the popularity and widespread use of semi-structured data formats such as JSON, end-to-end supervised learning applied directly to such data remains underexplored. We present ORIGAMI (Object RepresentatIon via Generative Autoregressive ModellIng), a transformer-based architecture that directly processes nested key/value pairs while preserving their hierarchical semantics. Our key technical contributions include: (1) a structure-preserving tokenizer, (2) a novel key/value position encoding scheme, and (3) a grammar-constrained training and inference framework that ensures valid outputs and accelerates training convergence. These enhancements enable efficient end-to-end modeling of semi-structured data. By reformulating classification as next-token prediction, ORIGAMI naturally handles both single-label and multi-label tasks without architectural modifications. Empirical evaluation across diverse domains demonstrates ORIGAMI's effectiveness: On standard tabular benchmarks converted to JSON, ORIGAMI remains competitive with classical and state-of-the-art approaches. On native JSON datasets, we outperform baselines on multi-label classification and specialized models such as convolutional and graph neural networks on a code classification task. Through extensive ablation studies, we validate the impact of each architectural component and establish ORIGAMI as a robust framework for end-to-end learning on semi-structured data.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 49 references that are in the map. First posted on arXiv 23 Dec 2024.
Builds on
12 of 49 references.
References · 12
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 674
- 2020TabTransformer: Tabular Data Modeling Using Contextual Embeddingscited by 409
- 2021SAINT: Improved Neural Networks for Tabular Data via Row Attention and Contrastive Pre-Trainingcited by 319
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
- 2023Efficient Guided Generation for Large Language Modelscited by 200
- 2024A Survey on Self-Supervised Learning for Non-Sequential Tabular Datacited by 15
- 2019Approximation capability of neural networks on spaces of probability measures and tree-structured domainscited by 10
- 2021The DEformer: An Order-Agnostic Distribution Estimating Transformercited by 5
- 2020A Framework for End-to-End Learning on Semantic Tree-Structured Datacited by 3
Built on by
Not cited yet.