NLU Model Training with HTML Tag Structure

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing natural language understanding (NLU) models trained on text data from HTML documents lack the ability to utilize structural information from HTML documents, leading to degraded analysis performance when analyzing HTML documents.

Innovation Solution

An apparatus and method for processing natural language that includes a collection module for gathering documents with tags, a parsing module for extracting text and tag-related information, and a preprocessing module for generating tokens and token position information, which are then used to train an NLU model that incorporates tag attribute and structural position information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If only text information is extracted from HTML documents for training NLU models, then the training process is simplified, but structural information is lost leading to degraded analysis performance

Engineering Contradiction:
Improvetraining process simplicityVSAvoidanalysis performance
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent segments the HTML document processing into multiple components: text extraction, tag information extraction, and structured data generation. The parsing module divides the document into text segments and corresponding tag segments, creating structured training data that preserves both content and structural relationships without overwhelming the training process

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary structured data format that bridges raw HTML and training data. The parsing module generates intermediate representations including text segments, tag segments, and relationship indicators that maintain structural information while being suitable for NLU model training

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If structural information from HTML tags is preserved in training data, then analysis performance improves, but data processing complexity increases

Engineering Contradiction:
Improveanalysis performanceVSAvoiddata processing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments structural information into discrete, manageable components: depth levels, tag types, and position relationships. Each text segment is paired with corresponding tag segments that encode structural properties in a standardized format, making complex structural information processable without overwhelming complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms structural information into parameterized representations: depth levels as numerical values, tag types as categorical labels, and position relationships as structured descriptors. This parameterization converts complex structural data into a format suitable for machine learning processing

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12217003B2Apparatus and method for processing natural language
Publication Date: 2025.02.04 SAMSUNG SDS CO LTD
  • US12217003B2 patent drawing
  • US12217003B2 patent drawing
  • US12217003B2 patent drawing

AI summary

An apparatus for processing natural language according to an embodiment includes a collection module that collects documents having tags, a parsing module that extracts text from the collected documents and extracts tag-related information on the tag surrounding each extracted text, and a preprocessing module that generates tokens of a preset unit by tokenizing each extracted text, generates token position information for each token in full text of the document, and sets the token and the token position information as training data in matching with the tag-related information.