LLM UI Data Modification Using Typed Expressions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data entry and manipulation methods in software applications, such as ERP systems, rely on user input and are hindered by security risks, data communication restrictions, and substandard accuracy of large language models (LLMs) in performing mathematical operations.

Innovation Solution

A system that uses a Large Language Model (LLM) to generate a list of expressions for data manipulation in a user interface screen by sending only identifiers and data types, rather than actual data, and evaluates these expressions to perform the desired operations, enhancing security and accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If actual data is sent to LLM for data manipulation, then data manipulation capability is improved, but security risks increase due to sensitive data exposure

Engineering Contradiction:
Improvedata manipulation capabilityVSAvoidsecurity risks
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent extracts only the essential elements (identifiers and data types) from the complete data set and sends them to the LLM. This extraction approach maintains the LLM's ability to manipulate data while removing sensitive information, thereby resolving the contradiction between manipulation capability and security.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system introduces an intermediary layer that translates user requests into LLM prompts containing only identifiers and data types. This intermediary prevents direct exposure of sensitive data to the LLM while still enabling effective data manipulation through the generated expressions.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If complete data context is sent to LLM, then data manipulation accuracy is improved, but data communication restrictions are violated due to data size limits

Engineering Contradiction:
Improvedata manipulation accuracyVSAvoiddata size
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts only the critical components (identifiers and data types) needed for accurate data manipulation, excluding redundant or excessive data. This extraction maintains manipulation accuracy while adhering to data size restrictions.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system applies partial action by sending only the necessary portion of data (identifiers and types) rather than the complete data context. This partial approach is sufficient for the LLM to generate accurate manipulation expressions without violating size constraints.

Inventive Principle:
Principle #16Partial or excessive action

3Extent of automation

If LLM is used for mathematical operations, then automation is improved, but measurement precision deteriorates due to substandard accuracy

Engineering Contradiction:
Improveautomation levelVSAvoidmathematical operation accuracy
Core Design Contradiction:
Extent of automationVSMeasurement precision

Solution Approach 1:

The system introduces an intermediary evaluation step where generated expressions are parsed and evaluated in a controlled environment. This intermediary layer verifies the accuracy of LLM-generated mathematical operations, maintaining high automation while ensuring precision through validation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements feedback through the evaluation and parsing of generated expressions. The evaluation process provides verification feedback on the correctness of LLM-generated mathematical operations, allowing for correction and improvement of accuracy while maintaining automation.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12632652B2Modifying data using large language models
Publication Date: 2026.05.19 SAP SE
  • US12632652B2 patent drawing
  • US12632652B2 patent drawing
  • US12632652B2 patent drawing

AI summary

In an example embodiment, rather than send the state of the UI screen as a whole to an LLM to generate or modify one or more values on the UI screen, the identifiers and data types of data on the UI screen are gathered and sent to the LLM. The LLM is instructed to return a list of expressions that define what needs to be done to satisfy a user prompt. The calling process then evaluates the list of expressions to actually manipulate the data content.