← 2.3 LLMs

See also: 3.2 Agentic + AI


This page describes the 9 types of TF/UFA semantic capabilities that were determined during a chat with GPT.

TOC

  • Concepts. The TF/UFA semantic capabilities revolution and the 3 main groups.
  • A. Comprehension, memory. Generalization / approximation, Context tracking, Semantic abstraction, Human-language robustness.
  • B. Explain. Ontology alignment / normalization, Explanation / summarization.
  • C. Deduce, plan. Structured constrained outputs, Semantic interpretation / inference, Hierarchical planning / workflow synthesis.


drones


Concepts


How TF/UFA semantic capabilities revolutionized agents

Your entire architecture is basically:

  • 1 deterministic agent systems existed before LLMs. BUT were expensive and rigid, and difficult to scale
  • 2 TF/UFA semantic capabilities made those systems vastly more practical and flexible by enabling:
    • semantic interpretation
    • structured outputs
    • ontology alignment
    • planning
    • contextual reasoning
    • generalization
    • explanation generation

There are 3 main groups

  • A. Comprehension, memory
    • @1 Latent pattern generalization / approximation
    • @2 Contextual token dependency tracking
    • @3 Semantic feature abstraction
    • @4 Human-language robustness
  • B. Explain
    • @5 Semantic normalization / ontology alignment / canonicalization
    • @6 Explanation/summarization synthesis
  • C. Deduce, plan
    • @7 Structured constrained output generation
    • @8 Semantic interpretation / inference
    • @9 Hierarchical planning / task decomposition / workflow synthesis


A. Comprehension, memory


  • @1 Latent pattern generalization / approximation
  • @2 Contextual token dependency tracking
  • @3 Semantic feature abstraction
  • @4 Human-language robustness 


@1 Latent pattern generalization / approximation

Ability to handle:

  • unseen phrasing
  • approximate similarity
  • semantic closeness without explicit programming.

GPT: The TF-UFA can approximate:

  • patterns
  • workflows
  • (semantic) mappings
  • relationships
  • inference rules even when exact cases were never explicitly programmed.

In fact, it is one of the MOST important TF/UFA capabilities. The TF can handle new situations that were never explicitly programmed. That is what: generalization / approximation really means. even when the exact case was never seen before.

Simple example: trained/example phrase:

  • “shipment delayed”

new user phrase:

  • “cargo arrived behind schedule”

→ TF still understands:

  • delivery_delay


@2 Contextual token dependency tracking

Attention allows tokens to dynamically reference:

  • earlier instructions
  • schemas
  • constraints
  • conversation history
  • related entities across long token sequences.

Attention/context-window capability. This allows contextual workflows instead of rigid hardcoded scripting.

Example: User:

  • “Show delayed shipments”

Later:

  • “What about Taiwan?”

→ TF understands:

  • Taiwan refers to the earlier shipment query.


@3 Semantic feature abstraction

The TF FFN/UFA layers contain trained detectors/features for:

  • concepts
  • entities
  • relationships
  • semantic patterns
  • semantic structures Many researchers now believe much of the model’s “knowledge” resides in FFN layers.


@4 Human-language robustness

Tolerance for:

  • typos
  • grammar errors
  • ambiguity
  • incomplete input.
  • ambiguous language
  • noisy input

Example:

  • “shwo delaid truckz taipei”

→ correctly interpreted as:

  • “show delayed trucks Taipei”


B. Explain


  • @5 Semantic normalization / ontology alignment / canonicalization
  • @6 Explanation/summarization synthesis


@5 Semantic normalization / ontology alignment / canonicalization

Ability to map:

  • synonyms
  • alternate phrasings
  • noisy language

into standardized semantic representations.

Huge LLM advantage. Example:

  • messy email
  • → ontology JSON

The key capability is:

  • mapping messy unstructured human language
  • into standardized ontology structure.

is:

  • semantic extraction
  • semantic normalization
  • ontology alignment

This allows:

  • emails
  • logs
  • notes
  • reports

to be transformed into machine-readable semantic records.

Example:

"Truck 12 delayed due to flooding near Taipei"
→
{
  "entity":"truck_12",
  "event_type":"delivery_delay",
  "cause":"flooding",
  "location":"Taipei"
}

Ontology mapping / different words = same meaning

  • “blowout”
  • → tire_failure

  • “shipment late”
  • “truck delayed”
  • → delivery_delay

NOT primarily feature abstraction because:

  • feature abstraction is lower-level/internal TF mechanics
  • FFN latent detectors
  • semantic embedding structures

Those latent features ENABLE this capability, but they are not the capability itself.

So: feature abstraction

  • → enables
  • semantic normalization

Hierarchy:

latent semantic features
    ↓
semantic normalization/alignment
    ↓
ontology records


@6 Explanation/summarization synthesis

Ability to convert:

  • structured/internal representations into:
  • human-readable explanations.

  • it is NOT merely “chat”
  • it is semantic synthesis of internal/structured representations into human language.

Convert machine results into human-readable conclusions.

  • 3 suppliers affected due to shared parent + route dependency

Explanation generation

GPT: The TF can explain:

  • plans
  • outputs
  • anomalies
  • decisions
  • recommendations
  • machine results in human language. This is critical for:
  • trust
  • usability
  • enterprise workflows
  • analyst systems
  • PM-facing systems


C. Deduce, plan


  • @7 Structured constrained output generation
  • @8 Semantic interpretation / inference
  • @9 Hierarchical planning / task decomposition / workflow synthesis


@7 Structured constrained output generation

Ability to generate:

  • JSON
  • schemas
  • grammars
  • machine-readable structure This is foundational.

you focus more on:

  • maintaining JSON validity
  • schema adherence
  • syntax constraints
  • structured token continuity. That separation is much cleaner conceptually.

GPT: The TF can generate outputs in highly specific formats:

  • JSON
  • XML
  • YAML
  • API payloads
  • schemas
  • ontologies This allows Python agents to reliably parse and execute actions.
  • TF can maintain strict token-structure constraints across long output sequences.
  • the TF can dynamically generate syntactically valid, schema-constrained token streams.
  • Output tokens can have very specific formats (“constrained output generation” better describes the actual TF capability).
  • The prompt can define the fomrat of the outputs.

Prompt defining format of outputs


@8 Semantic interpretation / inference

Semantic inference

GPT: The TF can infer:

  • meaning
  • intent
  • relationships
  • context
  • ontology mappings
  • hidden connections without explicit hardcoded logic.

Supplier outage + shared route dependency + existing shipment delays → inferred operational risk escalation

For your framework, the best semantic inference examples are where: the AI infers relationships/conclusions that were NOT explicitly hardcoded.

Good examples:

  • Supplier_A provides brake systems.
  • Truck_12 uses Supplier_A components.
  • Supplier_A outage reported.
  • → inferred risk to Truck_12 deliveries

or:

  • Road flooding reported near Taipei.
  • Several shipments routed through Taipei.
  • → inferred likely delivery delays

Natural-language → machine-language translation

GPT: The TF converts vague human requests into:

  • structured actions
  • API calls
  • database queries
  • filters
  • workflow steps

This is one of the core capabilities behind agentic AI.

Simple example:

"Show delayed shipments in Taipei"
→
{
  "action":"query",
  "filter":{
    "status":"delayed",
    "location":"Taipei"
  }
}

That is probably the cleanest demo/example for this capability.

This one is interesting because it overlaps BOTH:

  • (1) Structured constrained output generation and
  • (2) Semantic interpretation / inference

But I think fundamentally it belongs MOSTLY under: (2) Semantic interpretation / inference

  • Because the truly remarkable capability is NOT: JSON formatting
  • The remarkable capability is: understanding vague human intent and mapping it into structured semantic operations.
  • The JSON is merely: the constrained output representation.

So the hierarchy is really:

semantic interpretation
    ↓
structured constrained output

Natural-language → machine-language translation

The TF converts vague human requests into:

  • structured actions
  • API calls
  • database queries
  • filters
  • workflow steps

Example:

"Show delayed shipments in Taipei"
→
{
  "action":"query",
  "filter":{
    "status":"delayed",
    "location":"Taipei"
  }
}

Search / Retrieval Helper (Semantic retrieval interpretation) Turn natural language into queries or rank relevant records/documents.

  • “What affects Site 1?”
  • -> graph query / ranked docs

understanding the semantic meaning of the user request and translating that into:

  • search intent
  • entity relationships
  • retrieval criteria
  • ranking relevance

The actual: graph query / ranked docs part is external-agent infrastructure. The TF capability is: semantic retrieval interpretation.

Very roughly:

  • human language
  • → semantic intent understanding
  • → retrieval criteria

Example:

“What affects Site 1?”

  • → inferred:
    • suppliers
    • routes
    • weather
    • delays
    • dependencies
    • related records
  • Then:
    • graph DB
    • RAG
    • retrieval engine
    • ranking system
  • do the actual retrieval.


@9 Hierarchical planning / task decomposition / workflow synthesis

Ability to:

  • break large goals into substeps
  • maintain execution ordering
  • preserve workflow structure.

Rule Generator / Rule Injection

Create new runtime rules without changing source code.

  • “Alert if outage + delay + supplier overlap”
  • -> new rule JSON

this is primarily:

  • (6) Hierarchical task decomposition PLUS:
  • structured constrained output generation

the TF can synthesize executable logical workflow structure from natural-language intent.

Example:

"Alert if outage + delay + supplier overlap"
→
{
  "rule":"supplier_overlap_alert",
  "conditions":[
    "supplier_outage",
    "shipment_delay",
    "shared_supplier"
  ]
}

Task decomposition/planning

This is critical for agent workflows and orchestration. The remarkable capability is that the TF can synthesize multi-step executable workflows from natural-language goals without explicit hardcoded planning logic. Classic AI struggled badly here.

  • “planning” is important
  • “hierarchical” captures the substep structure
  • “task decomposition” captures the operational behavior.

LLMs made this practical.

  • break large tasks into substeps
  • generate plans
  • sequence actions
  • maintain goal-oriented context

Break complex requests into atomic executable steps. compare X vs Y

  • -> step1 filter
  • -> step2 aggregate
  • -> step3 compare

Example:

"Compare delayed vs blocked suppliers"
→
step1 filter delayed suppliers
step2 filter blocked suppliers
step3 aggregate results
step4 compare metrics


26.0521