Semantic Parser Training via Automated Action Templates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training a semantic parser for natural language tasks is challenging due to the difficulty in producing training labels, as they often require manual generation and can have multiple ways of expressing a single logic statement, making it hard to understand and label effectively.

Innovation Solution

An automated method is introduced that uses causal action templates to generate pseudo-labels or pseudo-rewards in a text-based environment, allowing for the training of a semantic parser neural network model without relying on hand-labeled data. This involves performing actions, recording states, and evaluating changes to generate training data, which can accommodate multiple expressions of logical meaning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If manual labeling is used to create training data, then the training data quality can be ensured, but the time and labor required for data preparation increases significantly

Engineering Contradiction:
Improvetraining data qualityVSAvoiddata preparation time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system performs self-service by automatically generating its own training data through environmental exploration and state recording. The semantic parser and exploration agent work together to create training examples without human intervention, eliminating the time-consuming manual labeling process while maintaining data quality through systematic state evaluation and inverse action verification.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary actions by pre-defining action templates with preconditions and effects before actual training data generation. These templates establish the logical framework in advance, allowing the system to automatically generate consistent and high-quality training data through automated exploration rather than manual creation.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If multiple expressions of the same logic statement are accommodated, then the semantic parser's versatility improves, but the complexity of training data generation increases

Engineering Contradiction:
Improvesemantic parser versatilityVSAvoidtraining data generation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system segments the complex task of handling multiple logic expressions into manageable components through action templates. Each template captures a specific action type with its preconditions and effects, breaking down the versatility requirement into discrete, learnable units that the semantic parser can process independently and combine to handle diverse natural language inputs.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The action templates serve as universal building blocks that can represent multiple expressions of the same logic. By defining general action patterns with parameters for preconditions, effects, and inverse actions, the system creates a flexible framework that handles various natural language formulations through a unified training mechanism, reducing overall system complexity.

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

3Productivity

If automated exploration is used to generate training data, then the productivity of training data generation improves, but the complexity of the training system increases

Engineering Contradiction:
Improvetraining data generation speedVSAvoidtraining system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements feedback mechanisms where the state evaluator continuously monitors the results of exploration actions and uses this information to generate appropriate training examples. The inverse action component provides feedback verification by checking whether reversing an action returns the environment to its original state, ensuring training data quality while maintaining automated high-speed generation.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The state evaluator acts as an intermediary between the exploration agent and the training data generation process. It mediates by evaluating recorded states, determining whether actions succeeded or failed, and converting these evaluations into structured training examples, thereby managing system complexity through a dedicated intermediate component rather than direct complex interactions.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20220198255A1Training a semantic parser using action templates
Publication Date: 2022.06.23 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20220198255A1 patent drawing
  • US20220198255A1 patent drawing
  • US20220198255A1 patent drawing

AI summary

Methods and systems for training a semantic parser includes performing an automated intervention action in a text-based environment. An inverse action is performed in the text-based environment to reverse the intervention action. States of the text-based environment are recorded before and after the intervention action and the inverse action. The recorded states are evaluated to generate training data. A semantic parser neural network model is trained using the training data.