Table-Reasoning Language Models Without Logical Form Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing natural language processing (NLP) models trained to answer questions based on tables require supervised training data that is labor-intensive to create, leading to expensive and inefficient training processes, and models trained with weak supervision can generate spurious logical forms and learn false associations.

Innovation Solution

Pre-training a neural-network-based language model using masked-language modeling tasks and counterfactual statements from tables, followed by fine-tuning with questions, answers, and tables, without generating logical forms, allowing for simpler and more accurate training on existing benchmark datasets.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If semantic processing methods are used to train NLP models to translate questions into logical forms, then the model can answer questions based on tables, but creating supervised training data is labor intensive and expensive

Engineering Contradiction:
Improvemodel accuracyVSAvoidtraining efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent uses weak supervision to create training examples by copying question-answer pairs from existing datasets without requiring manual annotation of logical forms. This allows the model to learn from large amounts of readily available data while avoiding the labor-intensive process of creating supervised training data.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system automatically generates training data and evaluates model performance without human intervention. The weak supervision framework enables the model to self-train on unannotated data, and automated evaluation metrics assess performance without requiring expert annotation of logical forms.

Inventive Principle:
Principle #25Self-service

2Productivity

If weak supervision is used to train models with question-answer pairs, then training becomes more efficient, but the model generates spurious logical forms and learns false associations

Engineering Contradiction:
Improvetraining efficiencyVSAvoidmodel accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements automated evaluation metrics that provide feedback on model performance by comparing generated answers against ground truth. This feedback mechanism allows the system to identify and correct spurious logical forms and false associations during training, maintaining reliability while using efficient weak supervision.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts training based on performance feedback. The model iteratively improves by learning from mistakes identified through automated evaluation, allowing it to correct spurious associations while maintaining training efficiency.

Inventive Principle:
Principle #15Dynamics

3Ease of operation

If models are trained to generate logical forms, then they can query tables systematically, but the architecture becomes more complex

Engineering Contradiction:
Improvequery capabilityVSAvoidmodel architecture
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent extracts only the essential query capability from complex logical form generation. Instead of requiring full logical form pipelines, the model directly learns to generate answers that satisfy query requirements, removing unnecessary architectural complexity while retaining systematic table querying ability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Rather than training models to generate logical forms and then execute queries, the patent inverts the approach by training models to directly generate answers that satisfy query constraints. This reverses the traditional pipeline and simplifies the architecture while maintaining query capabilities.

Inventive Principle:
Principle #13The other way round (Inversion)

4Reliability

If supervised training data is created manually, then model training is more accurate, but the process is expensive and difficult to scale

Engineering Contradiction:
Improvetraining accuracyVSAvoiddata creation cost
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The patent copies question-answer pairs from existing benchmark datasets to create large-scale training corpora. This approach maintains training accuracy by using high-quality source data while dramatically reducing the cost and effort required compared to manual annotation of logical forms.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The weak supervision framework serves multiple functions: it creates training data, evaluates model performance, and identifies areas for improvement. This multi-functional approach replaces the need for specialized supervised data creation processes, reducing costs while maintaining training quality.

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

Data Source

PatentUS12380143B2Systems and methods for training language models to reason over tables
Publication Date: 2025.08.05 GOOGLE LLC
  • US12380143B2 patent drawing
  • US12380143B2 patent drawing
  • US12380143B2 patent drawing

AI summary

Systems and methods for pre-training and fine-tuning of neural-network-based language models to reason directly over tables without generating logical forms. In some examples, a language model can be pre-trained using masked-language modeling tasks synthetically generated from tables pulled from a knowledge corpus. In some examples, the language model may be further pre-trained using pairs of counterfactual statements generated from those tables, and/or one or more statements that compare selected data from those tables. The language model may then be fine-tuned using examples that include only a question, an answer, and a table, allowing fine-tuning examples to be harvested directly from existing benchmark datasets or synthetically generated.