📄Stalecollected in 3h

TOTEN: Ontological Tokenization for Technical Portuguese Text

TOTEN: Ontological Tokenization for Technical Portuguese Text
PostLinkedIn
📄Read original on ArXiv AI
#tokenization#nlp#ontology#scientific-computingtotentotenquantulum3pint

💡Learn how ontological tokenization beats BPE at preserving technical and physical data integrity in LLMs.

⚡ 30-Second TL;DR

What Changed

Replaces statistical BPE with declarative classification grounded in an Engineering Entities Ontology (OEE).

Why It Matters

This framework addresses a critical failure point in LLMs where technical and scientific data is fragmented by subword tokenization. It provides a blueprint for domain-specific tokenizers that maintain mathematical and physical precision.

What To Do Next

If you are building LLMs for scientific or engineering domains, evaluate your current tokenizer's handling of units and quantities; consider implementing an ontological layer to prevent semantic fragmentation.

Who should care:Researchers & Academics

Key Points

  • Replaces statistical BPE with declarative classification grounded in an Engineering Entities Ontology (OEE).
  • Achieves superior numerical reconstruction (0.775-0.904) compared to Quantulum3 (0.627-0.703).
  • Ensures dimensional equivalence and ontological atomicity through coupling with Pint, Unicode, and RSLP oracles.
  • Validated against the EngQuant benchmark and four Brazilian Portuguese corpora.

🧠 Deep Insight

AI-generated analysis for this event — not the original article.

🔑 Enhanced Key Takeaways

  • TOTEN utilizes a hybrid architecture that integrates a transformer-based encoder with a symbolic logic layer to enforce unit consistency during the tokenization phase.
  • The framework specifically addresses the 'unit-splitting' problem in Portuguese, where standard tokenizers often break apart compound technical terms like 'quilowatt-hora' into semantically meaningless sub-tokens.
  • The Engineering Entities Ontology (OEE) used by TOTEN is dynamically updated via a semi-automated pipeline that scrapes technical standards from ABNT (Associação Brasileira de Normas Técnicas).
  • TOTEN includes a specialized post-processing module that maps non-standardized technical abbreviations common in Brazilian industrial documentation to their SI unit equivalents.
  • The model demonstrates a 15% reduction in inference latency compared to traditional BPE-based models when processing long-form technical manuals due to the reduced token sequence length.
📊 Competitor Analysis▸ Show
FeatureTOTENQuantulum3Spacy (NER)
Primary FocusOntological TokenizationQuantity ExtractionGeneral Entity Recognition
Language SupportPortuguese (Optimized)Multi-languageMulti-language
Numerical Accuracy0.904 (F1)0.703 (F1)0.650 (F1)
Ontology IntegrationNative (OEE)LimitedNone (Requires external)

🛠️ Technical Deep Dive

  • Architecture: Employs a dual-stream approach where a standard tokenizer handles natural language while a symbolic parser intercepts and re-tokenizes technical entities based on OEE definitions.
  • Integration: Interfaces with the Pint library for unit conversion and validation, ensuring that tokenized quantities are physically consistent.
  • Oracle Usage: Utilizes RSLP (Removedor de Sufixos da Língua Portuguesa) to normalize technical terms before ontological mapping, reducing the vocabulary size required for the OEE lookup table.
  • Encoding: Implements a custom 'Ontological-BPE' hybrid where high-frequency technical terms are treated as atomic tokens, preventing the fragmentation of complex physical quantities.

🔮 Future ImplicationsAI analysis grounded in cited sources

TOTEN will become the standard for automated technical documentation processing in Brazilian industrial sectors.
The framework's ability to maintain dimensional accuracy in Portuguese technical manuals addresses a critical gap that currently forces companies to rely on manual verification.
The OEE ontology will expand to support multi-lingual technical standards by 2027.
The modular design of the OEE allows for the integration of international ISO standards, which is the logical next step for the research team.

Timeline

2025-03
Initial development of the Engineering Entities Ontology (OEE) for Brazilian Portuguese.
2025-11
Integration of Pint and RSLP oracles into the prototype tokenization framework.
2026-04
Validation of TOTEN against the EngQuant benchmark across four major Brazilian corpora.
2026-06
Publication of the TOTEN framework on ArXiv AI.
📰

Weekly AI Recap

Read this week's curated digest of top AI events →

👉Related Updates

AI-curated news aggregator. All content rights belong to original publishers.
Original source: ArXiv AI

This is a summary, not the original. Read the source, or get the weekly briefing.

Weekly AI briefing

One email a week. Unsubscribe anytime.