Webpage Classification Using Word2vec Vector Similarity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current webpage classification methods face inefficiencies, particularly with Chinese webpages, due to high processing complexity and low classification efficiency caused by large amounts of short sentences or words, which complicates data processing and reduces accuracy.

Innovation Solution

The method employs a word-to-vector tool like word2vec to convert corpus words into vectors, allowing for vector calculations that enhance comparison and similarity analysis, and uses a scoring model to determine webpage categories by calculating vector similarities and applying weight coefficients to improve classification accuracy and efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional classification algorithms are used with large quantities of short sentences or words as characteristic data, then comprehensive webpage analysis is achieved, but data processing complexity increases and classification efficiency decreases

Engineering Contradiction:
Improveclassification accuracyVSAvoidclassification efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent transforms the parameter representation of webpage characteristic data by converting words and short sentences into vector forms with specific dimensions (e.g., 300-dimensional vectors). This parameter transformation enables efficient vector operations while preserving semantic information, thereby improving classification efficiency without sacrificing accuracy.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional text-based classification mechanisms with vector-based computational mechanisms. By substituting string matching and text processing with vector arithmetic operations (addition, subtraction, similarity calculation), the system achieves faster processing while maintaining comprehensive analysis capabilities.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If Chinese words are processed in characteristic data, then Chinese webpage classification is achieved, but processing complexity increases due to language-specific challenges

Engineering Contradiction:
ImproveChinese webpage supportVSAvoidprocessing complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies parameter transformation by converting Chinese words into numerical vectors that capture semantic relationships. This transformation eliminates the need for complex Chinese-specific text processing while preserving language nuances, thereby reducing processing complexity while maintaining adaptability to Chinese webpages.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces vectors as an intermediary representation between Chinese text and classification algorithms. These vectors serve as a bridge that translates linguistic complexity into computationally efficient numerical forms, enabling Chinese webpage processing without directly handling language-specific complexities.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If massive webpages are parsed to extract characteristic data from URLs and headers, then training data is obtained, but data processing time and computational resources increase

Engineering Contradiction:
Improvetraining data qualityVSAvoiddata processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the most essential characteristic data from webpages—specifically titles and keywords—rather than processing entire page contents. This selective extraction maintains training data quality by focusing on the most informative elements while dramatically reducing data processing time and computational resource requirements.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary vectorization of characteristic data during the data preparation phase, converting text into vector representations before the actual classification training begins. This preliminary action reduces the computational burden during subsequent processing stages by pre-computing the complex text-to-vector transformations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10997256B2Webpage classification method and apparatus, calculation device and machine readable storage medium
Publication Date: 2021.05.04 ALIBABA GROUP HOLDING LTD
  • US10997256B2 patent drawing
  • US10997256B2 patent drawing
  • US10997256B2 patent drawing

AI summary

A webpage classification method and apparatus, a computing device and a machine readable storage medium are disclosed. Each corpus word in a corpus is converted into a vector by using a word-to-vector tool word2vec, and therefore a processing process such as comparison between corpus words or similarity analysis is converted into vector calculation, so as to more conveniently implement computer automation, thereby improving webpage classification efficiency. Moreover, corresponding corpus words are screened according to preset classification seed words, and a corpus word unrelated to a webpage type may be removed, thereby improving webpage classification accuracy.