Summary Generation With Knapsack-Based Sentence Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current automatic summarization technologies using neural networks generate summaries that do not consider factors beyond sentence profitability, resulting in low-quality summaries that fail to meet user reading requirements, thereby reducing user experience.

Innovation Solution

A method that scores sentences based on both profit and length using a knapsack problem approach, selecting sentences with the highest score sum and length sum less than a threshold to form a high-quality summary.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If only sentence profit is considered in summary generation, then the summary can be generated quickly using simple neural network scoring, but the summary quality deteriorates and does not meet user reading requirements

Engineering Contradiction:
Improvesummary generation speedVSAvoidsummary quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent extends the summary generation approach from considering only sentence profit (one dimension) to simultaneously considering both sentence profit and sentence length (two dimensions). This is achieved by formulating the problem as a knapsack optimization where sentences are selected based on both their profit scores and length constraints, thereby resolving the contradiction between generation speed and quality by adding a new optimization dimension without significantly increasing computational complexity

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Solution Approach 2:

The patent changes the optimization parameters from single-dimensional profit maximization to multi-dimensional optimization involving both profit and length. By introducing length as a constraint parameter in the knapsack problem formulation, the system achieves higher summary quality while maintaining efficient generation through dynamic programming or greedy algorithms that handle these additional parameters systematically

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If multiple factors including both profit and length are considered in summary generation, then summary quality improves and meets user requirements, but the generation process becomes more complex

Engineering Contradiction:
Improvesummary qualityVSAvoidgeneration process complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent extracts the length consideration from the general summary generation process and incorporates it as a specific constraint parameter in the knapsack problem formulation. By separating the profit scoring function from the length constraint, the system maintains modular architecture where the neural network handles profit assessment while the optimization layer manages length constraints, thereby improving quality without proportionally increasing overall system complexity

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary optimization layer that mediates between the neural network profit scoring and the final summary selection. This intermediary knapsack optimization module processes both profit scores and length constraints to produce the final sentence selection, acting as a bridge that integrates multiple factors systematically without requiring direct complex interactions between all components

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250284880A1Summary Generation Method and Related Device Thereof
Publication Date: 2025.09.11 HUAWEI TECH CO LTD
  • US20250284880A1 patent drawing
  • US20250284880A1 patent drawing
  • US20250284880A1 patent drawing

AI summary

This application discloses a summary generation method and a related device thereof, to automatically generate a summary that is of a target text with high quality and that meets a length limit. The method in this application includes: obtaining a target text, where the target text includes N sentences, and N≥2; scoring the N sentences by using an extractive summarization model, to obtain scores of the N sentences, where the scores of the N sentences indicate profits of the N sentences in the target text; determining, from the N sentences based on the scores of the N sentences and lengths of the N sentences, M sentences whose score sum is largest and whose length sum is less than a length threshold, where N≥M≥1; and generating a summary of the target text based on the M sentences.