Topic Model Compression via Similarity-Based Merging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large-scale topic models suffer from redundancy and increased model complexity, leading to storage difficulties and reduced efficiency due to excessive trained parameters and repetition between topics, making them cumbersome for interpretation and calculation.

Innovation Solution

A method and apparatus for compressing topic models by converting the format, merging similar topics based on similarity thresholds using Jaccard or Weighted Jaccard similarity, and deleting low-probability words, resulting in a more compact and efficient model.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the number of topics is increased to grasp long-tailed semantic information, then the model's ability to capture semantic information is improved, but the redundancy between topics increases and the interpretability of single topics deteriorates

Engineering Contradiction:
Improveability to capture semantic informationVSAvoidredundancy between topics
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges similar topics by calculating similarity between topic pairs and combining topics that exceed a similarity threshold. This consolidation reduces redundancy between topics while preserving the semantic information capture capability, directly resolving the contradiction between model adaptability and topic redundancy.

Inventive Principle:
Principle #5Merging (Combining)

2Adaptability or versatility

If the number of topics is increased to grasp long-tailed semantic information, then the model's ability to capture semantic information is improved, but the efficiency of the entire model deteriorates

Engineering Contradiction:
Improveability to capture semantic informationVSAvoidmodel efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

By merging similar topics into consolidated topics, the patent reduces the total number of topics in the model. This decreases the computational burden and improves model efficiency while maintaining the ability to capture semantic information through the merged topic representations.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If excessive trained model parameters are used to increase topic number, then the semantic information coverage is improved, but the storage difficulty increases

Engineering Contradiction:
Improvesemantic information coverageVSAvoidmodel parameters
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent merges similar topics to reduce the total number of topics, which directly reduces the quantity of model parameters that need to be stored. This consolidation maintains semantic information coverage while decreasing storage requirements.

Inventive Principle:
Principle #5Merging (Combining)

4Adaptability or versatility

If excessive trained model parameters are used to increase topic number, then the semantic information coverage is improved, but the calculation efficiency deteriorates

Engineering Contradiction:
Improvesemantic information coverageVSAvoidcalculation efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

By merging similar topics and reducing the total topic count, the patent decreases the number of parameters that require calculation during model operations. This improves calculation efficiency while preserving semantic information coverage through the consolidated topic structure.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10579655B2Method and apparatus for compressing topic model
Publication Date: 2020.03.03 BAIDU INT TECH (SHENZHEN) CO LTD
  • US10579655B2 patent drawing
  • US10579655B2 patent drawing
  • US10579655B2 patent drawing

AI summary

A method comprises: acquiring a to-be-compressed topic model, wherein each line of the topic model represents a distribution of a word among respective topics; performing a format conversion on the topic model to obtain a first topic model, wherein each line of the first topic model represents a distribution of a topic among respective words; selecting any two topics from the first topic model to form a topic pair, forming a topic pair set using at least one topic pair, and determining a similarity between the two topics in each topic pair in the topic pair set; merging topic pairs having a similarity greater than a similarity threshold to generate a second topic model; and performing a format conversion on the second topic model to obtain a compressed topic model, so that each line of the compressed topic model represents a distribution of a word among the respective topics.