A Method and System for Semantic Enhancement of Tabular Data Based on Prompt Cast

By using the Prompt Cast method, training samples consisting of question, reasoning, and answer triples are generated through tabular data preprocessing, transcription, and text alignment. This addresses the problem of insufficient understanding of tabular data by large language models, improves the model's understanding and reasoning abilities, and enhances the interpretability and accuracy of the results.

CN123159336APending Publication Date: 2026-11-24GUANGDONG UNIV OF EDUCATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611521542.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-29
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Large language models struggle to directly and effectively utilize the potential associations in tabular data. Existing methods lack the construction of semantic relationships between features, resulting in insufficient model understanding, weak reasoning ability, poor interpretability, and insufficient generality and transferability.

Method used

By using the Prompt Cast method, tabular data preprocessing, transcription, text alignment, and model training are performed to generate training samples of question, reasoning, and answer triples. Semantic associations between features are established using a concept generator and an evaluation generator to construct semantically coherent text. Supervised fine-tuning training is then used to improve the understanding and reasoning capabilities of the large language model.

Benefits of technology

It improves the ability of large language models to understand and reason about tabular data, enhances the interpretability of the model and the accuracy and stability of the prediction results, achieves transparency and credibility of the results, and improves the quality of the model's training data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159336A_ABST
    Figure CN123159336A_ABST
Patent Text Reader

Abstract

This invention discloses a semantic enhancement method for tabular data based on Prompt Cast, comprising: acquiring original tabular data; preprocessing the original tabular data to generate standardized tabular data with features and labels; transcribing the standardized tabular data; generating question text through a concept generator and generating inference hint text through an evaluation generator; generating inference text based on the inference hint text; aligning the question text, inference text, and labels to construct training samples of question-inference-answer triples; inputting the training samples of question-inference-answer triples into a large language model for training to obtain a trained semantic enhancement model; preprocessing and transcribing the tabular data to be predicted to generate question text and inference hint text, and inputting them into the semantic enhancement model, which outputs the prediction result and inference explanation. The question-inference-answer triple training samples enhance the large language model's understanding and reasoning ability regarding tabular data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and more specifically, to a method and system for semantic enhancement of tabular data based on Prompt Cast. Background Technology

[0002] With the rapid development of large language models, they have demonstrated strong capabilities in tasks such as natural language understanding, text generation, and logical reasoning, and are increasingly being applied to fields such as classification prediction and decision analysis. However, large language models are primarily trained on natural language text, and their capabilities rely on the semantic relationships within the text. Tabular data, on the other hand, typically consists of discrete numerical features, category features, and labels, lacking explicit semantic connections between fields and exhibiting a strong structure but weak semantics. Therefore, there is a significant difference between tabular data and the natural language semantic space upon which large language models rely, making it difficult for large language models to directly and effectively utilize the potential relational information within tabular data.

[0003] Existing technologies typically employ methods such as field concatenation, template prompts, or text-based conversion to transform tabular data into natural language before inputting it into a large language model. However, these methods still suffer from the following problems: most of these methods only perform simple text-based processing on tabular data, lacking the construction of semantic relationships between features, making it difficult for the model to understand the internal logic of the data; training samples usually only contain inputs and labels, lacking intermediate inference processes, making it difficult for the model to fully utilize the reasoning capabilities of the large language model; the model output lacks corresponding reasoning basis, resulting in poor interpretability and hindering result analysis and reliable verification; different tasks often require manually designed prompt templates, leading to insufficient generality and transferability of the methods; and due to the differences between tabular data and the semantic space of natural language, the model is prone to problems such as low prediction accuracy and unstable results in practical applications.

[0004] Therefore, there is an urgent need for a semantic enhancement method for tabular data that can establish semantic relationships between features and transform tabular data into training samples containing questions, reasoning processes, and answers, thereby improving the understanding, reasoning ability, and interpretability of large language models for tabular data. Summary of the Invention

[0005] The purpose of this invention is to overcome the defects and shortcomings of the prior art and provide a method and system for semantic enhancement of tabular data based on Prompt Cast. Through preprocessing, table transcription, text alignment, model training, and model inference, standardized tabular data is automatically converted into semantically coherent question, reasoning, and answer triple training samples, thereby enhancing the understanding, reasoning, and interpretability of large language models for tabular data.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0007] A method for semantic enhancement of tabular data based on Prompt Cast includes the following steps:

[0008] Obtain the raw tabular data, preprocess the raw tabular data, and generate standardized tabular data containing features and labels;

[0009] Standardized tabular data is transcribed into a table, question text is generated by a concept generator, and reasoning hint text is generated by an evaluation generator.

[0010] Inference text is generated based on inference prompts. Question text, inference text and labels are aligned to construct training samples of question, inference and answer triples.

[0011] The training samples of the question, reasoning, and answer triplet are input into the large language model for supervised fine-tuning training to obtain a well-trained semantic enhancement model.

[0012] The system preprocesses and transcribes the table data to be predicted, generating question text and reasoning hint text, which are then input into a semantic enhancement model. The model outputs prediction results and reasoning explanations.

[0013] Furthermore, the original tabular data includes structured tabular data, semi-structured tabular data, or mixed data consisting of discrete and continuous fields; preprocessing includes data cleaning and format standardization. Data cleaning includes deleting missing fields, abnormal fields, and data with format errors, and balancing the category distribution according to actual application requirements. Format standardization converts the original tabular data into standardized tabular data.

[0014] Furthermore, the question text is generated through a concept generator, specifically as follows:

[0015] Define a question generation prefix and a question generation suffix. Use a preset concept generator to reconstruct the features of the input data. Combine the question generation prefix, data features and question generation suffix to construct a semantically coherent question text. The question text is used to describe the semantic information and prediction target of the current data sample.

[0016] Furthermore, the reasoning prompt text generated by the evaluation generator is specifically as follows:

[0017] Define inference hint generation prefixes and inference hint generation suffixes. Use a pre-defined evaluation generator to perform semantic association on the input data. Combine the inference hint generation prefix, data features and inference hint generation suffix to generate logically related inference hint text. The inference hint text is used to guide the large language model to generate the corresponding inference process and describe the relationship between data features and prediction results.

[0018] Furthermore, reasoning text is generated based on the reasoning prompt text, specifically as follows:

[0019] The inference hint text is input into the frozen large language model, which generates inference text. The inference text is used to explain the logical basis for the prediction results corresponding to the input data.

[0020] Furthermore, the question text, reasoning text, and labels are aligned to construct training samples of question-reasoning-answer triplets, specifically:

[0021] By concatenating functions The question text output by the concept generator Freeze the inference text generated by the large language model and the true label of the sample By concatenating and fusing these elements, a training dataset of question, reasoning, and answer triples with semantically complete and logically closed loops is constructed, specifically including:

[0022] First, the reasoning text With real labels The intermediate splicing result is obtained by splicing. Then, the question text With intermediate splicing results By combining these elements, we obtain the final triplet consisting of the question, the reasoning, and the answer. .

[0023] Furthermore, supervised fine-tuning training employs an autoregressive next-token prediction task, using partial data from the training samples of the question, reasoning, and answer triplet as input, enabling the target large language model to progressively predict and generate complete reasoning chains and corresponding answers.

[0024] Furthermore, supervised fine-tuning training employs the cross-entropy loss function to minimize the token-level difference between the model output and the training samples of the real question, reasoning, and answer triplet, and updates the parameters of the target large language model through backpropagation.

[0025] Furthermore, the model training loss function is defined as:

[0026] ;

[0027] in, This represents the parameters of the target large language model to be learned. This represents a question expression generated by the concept generator; This represents the intermediate concatenation result after combining the inferred text with the actual labels; This represents the token-level cross-entropy loss function; This represents the total number of training samples.

[0028] A system for semantic enhancement of tabular data based on Prompt Cast, applying any of the aforementioned methods for semantic enhancement of tabular data based on Prompt Cast, includes:

[0029] The data processing module is used to acquire raw tabular data, preprocess the raw tabular data, and generate standardized tabular data containing features and labels.

[0030] The table transcription module is used to transcribe standardized table data, generate question text through a concept generator, and generate reasoning hint text through an evaluation generator.

[0031] The text alignment module is used to generate inference text based on inference prompt text, align the question text, inference text and label text, and construct training samples of question, inference and answer triples;

[0032] The model training module is used to input training samples of question, reasoning, and answer triples into the large language model for supervised fine-tuning training to obtain a trained semantic enhancement model.

[0033] The model inference module is used to preprocess and transcribe the table data to be predicted, generate question text and inference hint text, and input them into the semantic enhancement model. The model outputs the prediction results and inference explanations.

[0034] Compared with existing technologies, this invention achieves automatic conversion of standardized tabular data into semantically coherent text through tabular transcription processing; it improves the model's ability to understand tabular data by establishing semantic associations between features through a concept generator and an evaluation generator; and it proposes a text alignment mechanism to generate the reasoning process using a frozen large language model, constructing a complete question, reasoning, and answer triplet.

[0035] This invention effectively activates the reasoning potential of large language models through explicit reasoning supervision, improving the accuracy and stability of model predictions; the model can output corresponding reasoning basis, thereby improving the interpretability and credibility of the results; by constructing a structured dataset containing questions, reasoning, and answers, the quality of training data is improved, enhancing the model's learning effect. Attached Figure Description

[0036] Figure 1 This is a flowchart of a method for semantic enhancement of tabular data based on Prompt Cast.

[0037] Figure 2 This is a diagram illustrating text alignment.

[0038] Figure 3 This is a schematic diagram of model training.

[0039] Figure 4A diagram illustrating the construction of the question, reasoning, and answer triple. Detailed Implementation

[0040] The semantic enhancement method and system for tabular data based on Prompt Cast of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0041] Please see Figure 1 This invention discloses a method for semantic enhancement of tabular data based on Prompt Cast, comprising the following steps:

[0042] S1: Obtain the raw tabular data, preprocess the raw tabular data, and generate standardized tabular data containing features and labels;

[0043] S2: Perform table transcription on standardized tabular data, generate question text through a concept generator, and generate reasoning hint text through an evaluation generator;

[0044] S3: Generate reasoning text based on reasoning prompts, align question text, reasoning text and labels, and construct training samples of question, reasoning and answer triplet;

[0045] S4: Input the training samples of the question, reasoning, and answer triplets into the large language model for supervised fine-tuning training to obtain a trained semantic enhancement model;

[0046] S5: Preprocess and transcribe the table data to be predicted to generate question text and reasoning hint text, and input them into the semantic enhancement model. The model outputs the prediction results and reasoning explanations.

[0047] This invention proposes a semantic enhancement method for tabular data based on Prompt Cast. Through steps such as data preprocessing, table transcription, text alignment, model training, and model inference, the original tabular data is transformed into training samples of question, reasoning, and answer triples with rich semantic information, thereby improving the understanding, reasoning ability, and interpretability of large language models for tabular data.

[0048] Step S1: Obtain the original tabular data, preprocess the original tabular data, and generate standardized tabular data containing features and labels.

[0049] Obtain raw tabular data, which may include structured, semi-structured, or mixed data consisting of discrete and continuous fields. Preprocessing includes data cleaning and format standardization. Data cleaning involves removing missing, outlier, and incorrectly formatted fields, and balancing the category distribution according to application requirements. Format standardization involves converting the raw tabular data into standardized tabular data.

[0050] After preprocessing, a standardized tabular dataset is obtained. :

[0051] ;

[0052] in, Represents tabular data, including multiple data features. ; This indicates the labels corresponding to the table data, including multiple labels. .

[0053] After preprocessing, each field is organized in a uniform format to provide standardized input for subsequent semantic enhancement processing.

[0054] Step S2 involves performing table transcription on the standardized table data, generating question text through a concept generator, and generating reasoning hint text through an evaluation generator.

[0055] Table transcription is used to convert structured table features into semantically coherent question text and reasoning hint text to establish semantic connections between the original features.

[0056] The concept generator CG generates templates based on predefined questions, transforming standardized tabular data into semantically coherent question text.

[0057] Specifically, based on the table field names, field meanings, and task types, a problem generation prefix is ​​predefined. Problem generation suffix ;

[0058] Data characteristics The concept generator CG fills in the question generation template by combining the question generation prefix. Input data characteristics and the suffix generated by the question To construct the question text. The calculation process is as follows:

[0059] ;

[0060] in, Indicates the generation of a prefix for the problem. This indicates that the problem generates a suffix. This represents the generated question text. The question text is used to describe the semantic information and prediction target of the current data sample.

[0061] To generate high-quality reasoning text from the question, reasoning, and answer triples, an evaluation generator (EG) is introduced to generate explanatory reasoning content.

[0062] The evaluation generator performs further semantic association on data features based on a predefined inference hint template, and generates inference hint text.

[0063] Specifically, a predefined prefix for generating inference hints is defined. Generate prefixes and suffixes with inference hints ; data features The evaluation generator (EG) fills in the inference hint template and generates a prefix by combining the hints. Input data characteristics and inference hints to generate prefixes and suffixes To construct the prompt text. The calculation process is as follows:

[0064] ;

[0065] in, This represents the generated reasoning hint text; This indicates that the inference hints generate a prefix. This indicates that the inference hints are generated as a suffix.

[0066] The reasoning prompt text is used to guide the large language model to generate the corresponding reasoning process, the relationship between data features and prediction results, and to raise explanatory questions in the form of "why this result occurred".

[0067] After the table transcription process, the original discrete table data is converted into semantically related question text and reasoning hint text, realizing the mapping of table data to the natural language semantic space.

[0068] Step S3: Generate reasoning text based on reasoning prompt text, align the question text, reasoning text, and labels to construct training samples of question-reasoning-answer triples.

[0069] like Figure 2 As shown, after completing the table transcription, the question text is obtained. and reasoning hints .

[0070] Since the reasoning prompts are primarily in the form of explanatory questions and do not directly explain the reasons for the results, this invention introduces a frozen large language model for reasoning generation. The calculation process is as follows:

[0071] ;

[0072] in, This indicates that the large language model is frozen. This represents the generated inference text. The inference text describes the logical derivation process from the input data features to the final prediction result.

[0073] Then, the question text Reasoning text and real labels Perform text alignment and splicing to construct training samples of question, reasoning, and answer triples in a unified format.

[0074] Specifically, through The function will infer the text. and real labels By splicing, we can obtain the intermediate spliced ​​result. The calculation formula is as follows:

[0075] ;

[0076] in, This represents the intermediate concatenation result after combining the inferred text with the actual labels. This indicates a concatenation operation, used to concatenate inference text with real labels;

[0077] Then, the question text With intermediate splicing results Collage according to the preset format:

[0078] ;

[0079] in, This represents the training samples of the final generated question, reasoning, and answer triplet.

[0080] The concatenation format includes a question field, an inference field, and an answer field to ensure that the training samples have a unified semantic structure. Through the above text alignment process, the training samples not only contain the question and the true label, but also the corresponding reasoning basis, thereby improving the semantic integrity of the training data.

[0081] Step S4: Input the training samples of the question, reasoning, and answer triples into the large language model for supervised fine-tuning training to obtain the trained semantic enhancement model.

[0082] like Figure 3 and Figure 4 As shown, the completed question, reasoning, and answer triple training samples are input into the target large language model for supervised fine-tuning training. The model training adopts an autoregressive next token (lexical) prediction task, predicting the next token based on the current input sequence and gradually generating the complete reasoning process and the final answer.

[0083] During training, the cross-entropy loss function is used to calculate the difference between the model output and the training samples of the real question, reasoning, and answer triplet. The model parameters are continuously updated through backpropagation to obtain a well-trained semantic enhancement model.

[0084] Step S5: Preprocess and transcribe the table data to be predicted to generate question text and reasoning hint text, and input them into the semantic enhancement model. The model outputs the prediction results and reasoning explanations.

[0085] The table data to be predicted undergoes data preprocessing and table transcription to generate question text and reasoning hint text, which are then input into a trained semantic enhancement model. The semantic enhancement model outputs the corresponding prediction result and the corresponding reasoning explanation, achieving collaborative generation of prediction results and reasoning basis, thereby improving the transparency and credibility of the model's prediction results.

[0086] This invention also discloses a semantic enhancement system for tabular data based on Prompt Cast, which applies the semantic enhancement method for tabular data based on Prompt Cast described in any of the above claims, including:

[0087] The data processing module is used to acquire raw tabular data, preprocess the raw tabular data, and generate standardized tabular data containing features and labels.

[0088] The table transcription module is used to transcribe standardized table data, generate question text through a concept generator, and generate reasoning hint text through an evaluation generator.

[0089] The text alignment module is used to generate inference text based on inference prompt text, align the question text, inference text and label text, and construct training samples of question, inference and answer triples;

[0090] The model training module is used to input training samples of question, reasoning, and answer triples into the large language model for supervised fine-tuning training to obtain a trained semantic enhancement model.

[0091] The model inference module is used to preprocess and transcribe the table data to be predicted, generate question text and inference hint text, and input them into the semantic enhancement model. The model outputs the prediction results and inference explanations.

[0092] The following example of a table data further illustrates the implementation process of the semantic enhancement method for table data based on Prompt Cast in this invention.

[0093] Suppose the original table data includes the following fields: {"Age": "35"; "Income": "8000"; "Consumption Level": "High"; "Tag": "Premium Customer"}. After data preprocessing, standardized table data is formed.

[0094] The question text is generated using a concept generator. Question text: What are the key features of this sample?

[0095] The generator produces inference prompt text. Inference prompt (Prompt): Why is this sample likely a high-quality customer?

[0096] Generate reasoning text. Reasoning text: This sample has stable income and high spending power, thus better matching the characteristics of a high-quality customer.

[0097] Combining labels, construct the final training sample of question, reasoning, and answer triplets. Question: What are the key features of this sample? Reasoning: This sample has stable income and high spending power, thus better matching the characteristics of a high-quality customer. Answer: A high-quality customer.

[0098] The aforementioned question, reasoning, and answer triples are used as training samples input into the target large language model for supervised fine-tuning training.

[0099] As shown in Table 1, to verify the effectiveness of the method of the present invention, evaluation metrics such as Accuracy, Precision, Recall, F1-score, and Unknown-Rate can be used, and their calculation formulas are as follows:

[0100] ;

[0101] ;

[0102] ;

[0103] ;

[0104] Where TP represents the number of true positives; TN represents the number of true negatives; FP represents the number of false positives; and FN represents the number of false negatives.

[0105] The performance of the model under different combinations of mechanisms is analyzed and compared to verify the effects of table transcription mechanism, text alignment mechanism and question-reasoning-answer triple construction strategy on the improvement of model performance and interpretability.

[0106] Table 1. Schematic diagram of ablation experimental results under different combinations

[0107]

[0108] Experimental results show that the semantic enhancement method for tabular data based on Prompt Cast proposed in this invention can effectively establish semantic relationships between tabular data features, construct high-quality training samples of question, reasoning, and answer triples, improve the understanding, reasoning ability, and interpretability of large language models for tabular data, and enhance the model's prediction performance and output stability.

[0109] In terms of accuracy, recall, and F1 score, this method outperforms the baseline model that does not employ semantic enhancement strategies. Furthermore, the model provides corresponding reasoning explanations alongside its predictions, shifting from simply outputting results to providing both results and reasons. This enhances the transparency and credibility of the model's decision-making process, providing technical support for the application of large language models in data analysis, intelligent decision-making, and high-reliability scenarios, and demonstrates good versatility.

[0110] The above description is a detailed description of the preferred embodiments of the present invention. However, the embodiments are not intended to limit the scope of the patent application of the present invention. All equivalent changes or modifications made under the technical spirit disclosed in the present invention should fall within the patent scope covered by the present invention.

Claims

1. A method for semantic enhancement of tabular data based on Prompt Cast, characterized in that, Includes the following steps: Obtain the raw tabular data, preprocess the raw tabular data, and generate standardized tabular data containing features and labels; Standardized tabular data is transcribed into a table, question text is generated by a concept generator, and reasoning hint text is generated by an evaluation generator. Inference text is generated based on inference prompts. Question text, inference text and labels are aligned to construct training samples of question, inference and answer triples. The training samples of the question, reasoning, and answer triplet are input into the large language model for supervised fine-tuning training to obtain a well-trained semantic enhancement model. The system preprocesses and transcribes the table data to be predicted, generating question text and reasoning hint text, which are then input into a semantic enhancement model. The model outputs prediction results and reasoning explanations.

2. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 1, characterized in that, The original tabular data includes structured tabular data, semi-structured tabular data, or mixed data consisting of discrete and continuous fields; preprocessing includes data cleaning and format standardization. Data cleaning includes deleting missing fields, abnormal fields, and data with format errors, and balancing the category distribution according to actual application requirements. Format standardization converts the original tabular data into standardized tabular data.

3. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 1, characterized in that, The question text is generated using a concept generator, specifically as follows: Define a question generation prefix and a question generation suffix. Use a preset concept generator to reconstruct the features of the input data. Combine the question generation prefix, data features and question generation suffix to construct a semantically coherent question text. The question text is used to describe the semantic information and prediction target of the current data sample.

4. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 1, characterized in that, The reasoning hint text generated by the evaluation generator is as follows: Define inference hint generation prefixes and inference hint generation suffixes. Use a pre-defined evaluation generator to perform semantic association on the input data. Combine the inference hint generation prefix, data features and inference hint generation suffix to generate logically related inference hint text. The inference hint text is used to guide the large language model to generate the corresponding inference process and describe the relationship between data features and prediction results.

5. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 1, characterized in that, The reasoning text is generated based on the reasoning hints, specifically as follows: The inference hint text is input into the frozen large language model, which generates inference text. The inference text is used to explain the logical basis for the prediction results corresponding to the input data.

6. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 5, characterized in that, The question text, reasoning text, and labels are aligned to construct training samples of question-reasoning-answer triples, specifically as follows: By concatenating functions The question text output by the concept generator Freeze the inference text generated by the large language model and the true label of the sample By concatenating and fusing these elements, a training dataset of question, reasoning, and answer triples with semantically complete and logically closed loops is constructed, specifically including: First, the reasoning text With real labels The intermediate splicing result is obtained by splicing. Then, the question text With intermediate splicing results By combining these elements, we obtain the final triplet consisting of the question, the reasoning, and the answer. .

7. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 6, characterized in that, Supervised fine-tuning training employs an autoregressive next-token prediction task, using partial data from the training samples of question, reasoning, and answer triples as input, enabling the target large language model to progressively predict and generate complete reasoning chains and corresponding answers.

8. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 7, characterized in that, Supervised fine-tuning training employs the cross-entropy loss function to minimize the token-level difference between the model output and the training samples of the real question, reasoning, and answer triples, and updates the parameters of the target large language model through backpropagation.

9. The method for semantic enhancement of tabular data based on Prompt Cast according to claim 8, characterized in that, The model training loss function is defined as: ; in, This represents the parameters of the target large language model to be learned. This represents the problem expression generated by the concept generator; This represents the intermediate concatenation result after combining the inferred text with the actual labels; This represents the token-level cross-entropy loss function; This represents the total number of training samples.

10. A system for semantic enhancement of tabular data based on Prompt Cast, employing the semantic enhancement method for tabular data based on Prompt Cast as described in any one of claims 1 to 9, characterized in that, include: The data processing module is used to acquire raw tabular data, preprocess the raw tabular data, and generate standardized tabular data containing features and labels. The table transcription module is used to transcribe standardized table data, generate question text through a concept generator, and generate reasoning hint text through an evaluation generator. The text alignment module is used to generate inference text based on inference prompt text, align the question text, inference text and label text, and construct training samples of question, inference and answer triples; The model training module is used to input training samples of question, reasoning, and answer triples into the large language model for supervised fine-tuning training to obtain a trained semantic enhancement model. The model inference module is used to preprocess and transcribe the table data to be predicted, generate question text and inference hint text, and input them into the semantic enhancement model. The model outputs the prediction results and inference explanations.