Spatially Preserving Flattening for Location-Aware Image Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deep learning networks for image classification lose spatial layout and contiguity information during flattening, which is crucial for tasks like anomaly detection in medical images where recognizing anomalies within specific anatomical regions is essential.

Innovation Solution

Implement a spatially preserving flattening module that includes a predictor, auto-encoder, and flattener to generate and concatenate feature map encodings, preserving location and shape information through auto-encoding during the flattening process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If traditional flattening is used in deep learning networks, then the network architecture is simple and computationally efficient, but spatial layout and contiguity information is lost

Engineering Contradiction:
Improvespatial layout informationVSAvoidnetwork architecture complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The feature maps are divided into multiple patches, and each patch is processed independently through the auto-encoder. This segmentation allows spatial information to be preserved in each patch while managing computational complexity through localized processing rather than global transformation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An auto-encoder is introduced as an intermediary component between the convolutional layers and the classification layer. This intermediary transforms the feature maps into a flattened representation while preserving spatial relationships through its encoding-decoding architecture, resolving the contradiction between information preservation and architectural complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If spatial layout information is preserved through auto-encoding, then classification accuracy for location-specific anomalies improves, but computational complexity and processing time increase

Engineering Contradiction:
Improveclassification accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSPower

Solution Approach 1:

Different regions of the feature maps (patches) are processed with the same auto-encoder architecture, allowing each local region to contribute to the final classification decision. This local processing approach improves accuracy for location-specific anomalies while keeping computational complexity manageable through distributed processing.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The auto-encoder transforms the spatial feature maps into a flattened one-dimensional representation, changing the dimensional structure while preserving spatial relationships through the encoding process. This dimensionality change enables compatibility with standard classification layers while maintaining spatial information.

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

3Adaptability or versatility

If feature maps are flattened into one-dimensional vectors, then compatibility with fully connected layers is improved, but spatial contiguity information is lost

Engineering Contradiction:
Improvelayer compatibilityVSAvoidspatial contiguity
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The auto-encoder serves as an intermediary transformation layer that converts two-dimensional feature maps into one-dimensional vectors while preserving spatial relationships through its learned encoding. This intermediary enables compatibility with fully connected layers without sacrificing spatial contiguity information.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The auto-encoder creates an encoded representation (copy) of the original feature maps that preserves spatial information in a flattened format. This encoded copy can be processed by fully connected layers while maintaining the spatial relationships present in the original feature maps.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12548296B2Spatially preserving flattening in deep learning neural networks
Publication Date: 2026.02.10 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12548296B2 patent drawing
  • US12548296B2 patent drawing
  • US12548296B2 patent drawing

AI summary

Techniques for spatially preserving flattening in deep learning neural networks are provided. In one aspect, a spatially preserving flattening module includes: a predictor for generating image feature maps from at least one convolutional layer of a feature extraction phase of a deep learning neural network applied to input image data; an auto-encoder for producing encodings of the image feature maps that preserve location and shape information associated with objects in the input image data; and a flattener for concatenating the encodings of the image feature maps to form a spatially preserving flattened encoding vector. A deep learning neural network that includes the present spatially preserving flattening module is also provided, as is a method for spatially preserving flattening.