paper-with-me

홈 › Papers

Innovative tokenisation of structured data for LLM training

2025-08-03 · Kayvan Karim, Hani Ragab Hassen. Hadj Batatia arxiv

Data representation remains a fundamental challenge in machine learning, particularly when adapting sequence-based architectures like Transformers and Large Language Models (LLMs) for structured tabular data. Existing methods often fail to cohesively encode the mix of numerical and categorical features or preserve the inherent structure of tables. This paper introduces a novel, hybrid tokenisation methodology designed to convert tabular data into a unified, sequential format suitable for LLM training. Our approach combines predefined fixed tokens to represent structural elements and low-cardinality categorical features, with a learned subword vocabulary using Byte-Pair Encoding (BPE) for high-cardinality and continuous values. We demonstrate the efficacy of this technique by applying it to a large-scale NetFlow dataset (CIDDS-001), preparing a corpus for a Network Intrusion Detection System (NIDS) foundation model. The evaluation shows that our method is highly efficient, processing over 31 million network flows in under five hours and achieving a significant data compression ratio of 6.18:1. This process resulted in a computationally manageable corpus of over one billion tokens, establishing a viable and generalisable pathway for training foundation models on structured data.

📄 PDF Abstract BibTeX arXiv:2508.01685

Code (0)

등록된 구현이 없습니다.

Tasks

Network Intrusion Detection

Similar Papers 제목 키워드 기반

Stochasticity in Tokenisation Improves Robustness

2026-04-17 · Sophie Steger, Rui Li, Sofiane Ennadir, Anya Sims 외 arxiv

The widespread adoption of large language models (LLMs) has increased concerns about their robustness. Vulnerabilities in perturbations of tokenisation of the input indicate that models trained with a deterministic canon…

You should evaluate your language model on marginal likelihood over tokenisations

2021-09-06 · EMNLP 2021 11 · Kris Cao, Laura Rimell

Neural language models typically tokenise input text into sub-word units to achieve an open vocabulary. The standard approach is to use a single canonical tokenisation at both train and test time. We suggest that this ap…

Language ModelingLanguage Modelling

Tokenisation is NP-Complete

2024-12-19 · Philip Whittington, Gregor Bachmann, Tiago Pimentel

In this work, we prove the NP-completeness of two variants of tokenisation, defined as the problem of compressing a dataset to at most $\delta$ symbols by either finding a vocabulary directly (direct tokenisation), or se…

Tokenisation over Bounded Alphabets is Hard

2025-11-19 · Violeta Kastreva, Philip Whittington, Dennis Komm, Tiago Pimentel arxiv

Recent works have shown that tokenisation is NP-complete. However, these works assume tokenisation is applied to inputs with unboundedly large alphabets -- an unrealistic assumption, given that in practice tokenisers ope…

Improving Tokenisation by Alternative Treatment of Spaces

2022-04-08 · Edward Gow-Smith, Harish Tayyar Madabushi, Carolina Scarton, Aline Villavicencio

Tokenisation is the first step in almost all NLP tasks, and state-of-the-art transformer-based language models all use subword tokenisation algorithms to process input text. Existing algorithms have problems, often produ…

Natural Language Understanding