Causal Language Model Query Expansion for Image Diversity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional query processing systems are unable to automatically generate alternative or augmented queries based on an original user query, resulting in a limited and static number of images provided to users.

Innovation Solution

A query processing apparatus that utilizes a causal language model (CLM) to generate expanded queries by adding additional phrases and a masked language model (MLM) to replace mask tokens with insertion phrases, providing a diverse set of relevant images by combining the 'broaden intent' and 'narrow intent' phases.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional query processing systems are used, then the system structure is simple, but the diversity of output images is limited

Engineering Contradiction:
Improvediversity of output imagesVSAvoidsystem structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The query processing system is segmented into multiple specialized language models (causal language model for query expansion, masked language model for phrase replacement) that each handle specific aspects of query transformation, enabling diverse image output through coordinated specialized components

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Language models serve as intermediary components between the user's original query and the image generation system, transforming and expanding queries into multiple alternative forms that broaden the scope of generated images without requiring direct modification of the image generation core

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If query expansion is implemented using language models, then the diversity of images is improved, but the processing time increases

Engineering Contradiction:
Improvediversity of imagesVSAvoidprocessing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

Language models pre-generate multiple expanded query variations and alternative phrases before image generation occurs, allowing the image generation system to work with ready-prepared diverse queries rather than generating them during the imaging process

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system generates a controlled set of expanded queries (excessive action) to ensure sufficient diversity for image generation, balancing the need for variety with acceptable processing time by limiting the expansion to a manageable number of alternatives

Inventive Principle:
Principle #16Partial or excessive action

3Ease of operation

If multiple language models are used for query expansion, then the query processing capability is enhanced, but the device complexity increases

Engineering Contradiction:
Improvequery processing capabilityVSAvoidnumber of models
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

Multiple language models are integrated into a unified query processing apparatus that handles diverse query transformation tasks (expansion, replacement, rephrasing) through a single coordinated system, making the complex multi-model capability accessible through a simple user interface

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12153619B2Generative prompt expansion for image generation
Publication Date: 2024.11.26 ADOBE INC
  • US12153619B2 patent drawing
  • US12153619B2 patent drawing
  • US12153619B2 patent drawing

AI summary

Systems and methods for query processing are described. Embodiments of the present disclosure identify an original query; generate a plurality of expanded queries by generating a plurality of additional phrases based on the original query using a causal language model (CLM) and augmenting the original query with each of the plurality of additional phrases, respectively; and provide a plurality of images in response to the original query, wherein the plurality of images are associated with the plurality of expanded queries, respectively.