AI & XML / LLM test suite / Methodology study / 1 Background, motivation and objectives
This chapter explains why the data2type LLM Testsuite was developed, the practical and methodological questions behind it and its objectives. Topics range from the background and empirical capability testing to research questions, application decisions and the long-term perspective.
Background
Large language models are now used for tasks far beyond free text generation. They are expected to extract information from documents, interpret tables, generate metadata, build XML structures, apply technical standards, perform classifications and deliver results in strictly prescribed formats.
Such applications need more than a general statement that “the model is powerful”. A model may excel at a knowledge question yet fail a simple format requirement. It may generate syntactic XML but misapply a domain standard. It may read an HTML table correctly but fail to capture the same information reliably in RTF. It may solve a task once yet vary sharply on identical repetitions.
The data2type LLM Testsuite was created to make these differences visible!
Capabilities must be tested empirically
From a user’s perspective, the full composition of a language model’s pretraining data is generally unverifiable. Model size, provider descriptions or general benchmark scores cannot therefore reliably establish whether a model reliably masters, for example, RSS, NISO STS, MARC21, CALS, FHIR or a specific XPath version.
The data2type LLM Testsuite addresses this uncertainty with repeatable tasks rather than assumptions. A standard is not considered known merely because a model can explain its name. What matters is whether it solves a concrete task correctly, generates a valid structure, finds relevant information and follows the requested output form.
This shifts the question from presumed training knowledge to observable behavior.
Motivation from RAG projects
Work with Retrieval-Augmented Generation, or RAG, was a major starting point. In RAG systems, answer quality depends not only on the language model. The selection, boundaries and encoding of supplied information blocks are equally important.
Chunks may contain the same domain content in very different forms. A table may be represented as CSV, HTML, Markdown, Excel, WordML or CALS. An XML document may be indented or serialized entirely on one line. CSV may use commas or semicolons as delimiters. These differences do not necessarily change the information content but may affect how reliably models recognize rows, columns, headings, hierarchies and relationships.
The practical question is therefore not only whether a chunk’s content is correct. Its representation must also suit the model being used.
From file formats to capability profiles
Examining formats is an important part of the LLM Testsuite, but not its sole purpose. The platform is designed as a general capability test suite.
For example, it can investigate:
whether a model correctly generates an RSS or Atom feed,
whether it knows and can apply a standard such as JATS, DITA, DocBook, BITS or NISO STS in practice,
whether it extracts semantic information such as people, places, bibliographic references or identifiers,
whether it combines rules to derive a target value,
whether it performs classification correctly,
whether it understands XPath 3.0 or XPath 3.1 and generates suitable expressions,
whether it solves the same task equally reliably in XML, JSON, YAML, Markdown or plain text,
whether results remain stable over multiple runs.
The long-term aim is a growing profile of concrete capabilities across many models and model versions.
Objectives
The LLM Testsuite has five central objectives.
1) Empirical capability testing
Concrete tasks should show what a model can actually do. The result is a profile organized by domain and task type, rather than a blanket seal of quality.
2) Comparability
Models should be compared using the same test definition, traceable prompts and documented assessment rules. Where identical technical conditions are impossible, differences in execution route and environment are explicitly reported.
3) Reproducibility
Multiple runs show whether a capability is reliably available. An occasional success has a different value for automated production than a consistent result.
4) Extensibility
New standards, languages, task classes and model families should be added without fundamental restructuring. In future, the LLM Testsuite could include XPath 3.1, XQuery, Schematron, SPARQL, XSLT, tool use or new document standards.
5) Practical relevance
Results should support decisions, including model selection, RAG preparation, conversion strategies, validation needs, local or cloud-based execution and the design of automated content pipelines.
Research questions
This study derives the following overarching research questions:
What domain and semantic capabilities do current language models show on clearly defined tasks?
How reliably do models apply technical standards and formal languages?
How does the representation of identical or comparable information affect results?
How much do results vary on repeated execution?
Which technical errors occur and how can they be separated from domain errors?
Which assessment method suits a given test case?
Which combination of large language model, data representation and validation suits a specific production process?
No universal model ranking
The LLM Testsuite can produce rankings for a defined data version, but these are not an end in themselves. An overall score combines different capabilities, test coverages and error types. It must not imply that a model is superior in every conceivable application.
Practical selection must therefore consider at least test category, number of assessed runs, technical stability, reproducibility, runtime, execution route and the specific task class.
The central point is that AI application quality depends on the interplay of model, task, data representation, execution environment and assessment, rather than the language model alone.
Decisions supported by the Testsuite
The LLM Testsuite is more than a research instrument. It should prepare concrete project decisions. In a content pipeline, for example, one may need to determine whether a local model suffices, a cloud variant is needed or a fully deterministic solution is preferable. Another question is whether a document must be converted before it is passed to a model.
Typical decisions concern:
selecting a model for a narrowly defined domain task,
choosing local or external execution,
the need to preprocess XML, RTF, tables or Office formats,
selecting a suitable chunk format for a RAG system,
deciding which outputs need validation by XSD, Schematron, JSON Schema, parsers or custom rules,
determining whether one model run suffices or multiple attempts with consensus are needed,
estimating runtime, error risk and operational effort.
A high overall score does not automatically answer these questions. Production decisions require examining the relevant subset of tests. A model may extract semantic information well yet generate standard-compliant XML unreliably. Conversely, a smaller model may excel at a clearly defined XPath task despite weaker general reasoning results.
Observation, hypothesis and explanation
The Testsuite measures observable behavior. It can show that two representations produce different success rates in a defined model set, but cannot alone prove why. Possible causes include training data, tokenization, prompt length, format conventions, context window, model alignment or random variation.
Publication therefore distinguishes three levels:
Observation: which answers and metrics were measured in the documented data version?
Hypothesis: what plausible explanation follows from the pattern?
Conclusion: what practical consequence is sensible under the stated limitations?
Research Notes should make this distinction explicit. A conspicuous correlation is not stated as a general law, but serves as a starting point for further controlled tests.
Long-term perspective
A capability’s importance changes with technical development. XPath 3.1, XSLT 3.0 or a specific XML vocabulary may be reliably supported by few models today and become widespread later. At the same time, updates to existing models can bring improvements or regressions.
The data2type LLM Testsuite is therefore designed for long-term observation. New generations are tested against more than new tasks: existing cases are repeated where technically and legally possible. This produces a time series of domain competence, robustness, runtime and technical stability.
This long-term perspective increases the value of published results. A single LLM Testsuite Dashboard version shows the current situation. Multiple versioned states allow conclusions about development, stability and change.