AI Audio Synthesis Alignment via Gaussian Attention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current audio synthesis methods face issues such as alignment errors leading to word missing and repeated reading, early stop of synthesis for long or complex sentences, and slow training and reasoning, making accurate audio generation challenging, especially for Text to Speech (TTS) deployment on edge devices.

Innovation Solution

An AI-based audio signal generation method that converts text into a phoneme sequence, encodes it to obtain a contextual representation, determines the alignment position of hidden states within this representation, and decodes to synthesize an accurate audio signal, using a Gaussian attention mechanism and block sparsity to improve alignment and synthesis efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If text is directly combined with frequency spectrum to obtain audio signal, then synthesis process is simple, but accuracy of audio synthesis deteriorates causing word missing and repeated reading

Engineering Contradiction:
Improvesynthesis process complexityVSAvoidaudio synthesis accuracy
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The patent segments the audio synthesis process into multiple distinct modules: text preprocessing to generate phoneme sequences, encoding to obtain contextual representations, attention-based alignment to match acoustic features with text positions, and decoding to generate frequency spectra. This segmentation allows each module to specialize in specific tasks, improving overall accuracy while maintaining manageable complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces several intermediary representations between raw text and final audio output: phoneme sequences as intermediate linguistic units, contextual representations encoding semantic information, and alignment positions bridging text and acoustic domains. These intermediaries enable gradual transformation and precise control at each stage, preventing direct mapping errors that cause word missing or repetition.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If conventional audio synthesis is used, then processing speed is fast, but alignment accuracy deteriorates leading to synthesis errors

Engineering Contradiction:
Improveprocessing speedVSAvoidalignment accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent replaces conventional mechanical alignment methods with a neural network-based attention mechanism. Instead of using fixed rules or simple position mapping, the system employs learnable attention weights that dynamically identify corresponding positions between text and acoustic features. This substitution enables sublinear complexity scaling while achieving precise alignment through distributed representation learning.

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

Solution Approach 2:

The patent transforms the alignment problem from a discrete position-matching task to a continuous parameter optimization problem. By representing alignment as soft attention weights over continuous positional embeddings, the system can smoothly adjust alignment parameters during training to maximize synthesis accuracy, then apply these optimized parameters during inference for both speed and precision.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If accurate alignment is implemented, then audio synthesis accuracy is improved, but training and reasoning speed deteriorates

Engineering Contradiction:
Improveaudio synthesis accuracyVSAvoidtraining and synthesis speed
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent implements dynamic computation in the attention mechanism where the amount of processing adapts based on input characteristics. For simple texts, attention converges quickly with fewer iterations; for complex texts, the system can allocate more computational resources. This dynamic behavior allows the model to achieve high accuracy when needed while maintaining faster processing for simpler cases, optimizing the accuracy-speed tradeoff.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent performs preliminary encoding of text into contextual representations and pre-computation of positional embeddings before the main alignment and synthesis stages. By preparing these intermediate structures in advance, the system reduces the computational burden during training and inference, allowing accurate alignment to be achieved without proportionally increasing overall processing time.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20230122659A1Artificial intelligence-based audio signal generation method and apparatus, device, and storage medium
Publication Date: 2023.04.20 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20230122659A1 patent drawing
  • US20230122659A1 patent drawing
  • US20230122659A1 patent drawing

AI summary

An artificial intelligence (AI)-based audio signal generation method includes: converting a text into a corresponding phoneme sequence; encoding the phoneme sequence to obtain a contextual representation of the phoneme sequence; determining, based on a first frame hidden state corresponding to a phoneme in the phoneme sequence, an alignment position of the first frame hidden state relative to the contextual representation; decoding the contextual representation and the first frame hidden state to obtain a second frame hidden state when the alignment position corresponds to a non-end position in the contextual representation; and synthesizing the first frame hidden state and the second frame hidden state to obtain an audio signal corresponding to a text.