Unified expression and reasoning method of multimodal design information based on large model
By constructing a function-behavior-structure graph network, comparing graph network changes, and generating optimized design solutions, the problem of the multi-modal large model failing to fully understand the design information in conceptual design reasoning is solved, and the timely design ideas and processes are realized. Accurate feedback and optimization.
Patent Information
- Application Number
- CN202410734774.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Existing multi-modal large models fail to fully understand and utilize the design information in the design plan in conceptual design reasoning, resulting in untimely and accurate feedback to the designer's design ideas and design process.
By constructing a function-behavior-structure graph network, the large model is used to extract the function, structure and behavioral information in the design plan, and based on the change description of the graph network, the differences in the graph network at different times are compared to generate an optimized design plan.
It achieves the accurate and unified expression and understanding of multi-modal design information, can timely and accurately reflect the designer's design ideas and design process, and optimize the design plan.
Smart Images

Figure CN118313285B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer-aided design, and in particular relates to a unified expression and reasoning method of multi-modal design information based on a large model. Background Art
[0002] Product concept design is a complex process of generating product solutions based on design tasks. Designers are required to conduct in-depth analysis, understanding and inference of the information contained in the design solution to capture the key information in abstract and fuzzy user needs and infer feasible high-quality design solutions. Traditional computer-aided conceptual design reasoning methods (such as case reasoning, qualitative reasoning, and reasoning using neural networks, etc.) mostly imitate and follow existing information such as design examples and design rules, and fail to truly understand the evolution of the solution. These reasoning methods have high requirements for the correlation between auxiliary information and design tasks, so they are usually only applicable to specific products and lack general design knowledge and generalization capabilities.
[0003] The brain-like cognitive model of product concept innovation design mainly processes design information presented in a multimodal manner, and forms a semantic cognitive space to understand, express and deduce design information, and realize the knowledge of design information. The existing mainstream computer-aided design or computer-aided conceptual design technology revolves around a single media, such as natural language, symbolic logic, two-dimensional sketches, two-dimensional drawings, three-dimensional models, etc. However, human designers process design information and advance the design process in a multimodal and cross-media manner. In the traditional computer-aided design model, human designers and intelligent systems have very different forms in processing design information and are difficult to integrate. The brain-like cognitive model of concept innovation design has two new features: one is to enable computers or intelligent systems to have the ability to express and process multimodal design information, and the other is to provide a basis for human-computer collaborative design information processing. Multimodal design information is expressed as text, images, digital models, and neural networks. Multimodal information representation and processing are the basic characteristics of brain-like cognition. Human-computer collaborative design information processing uses intelligent algorithms inspired by brain-like cognition to enhance the problem definition, design solution, inspiration and other capabilities of intelligent systems and human designers.
[0004] In the process of human-machine collaborative design, large language models (LLMs) are gradually becoming a powerful assistant for designers. Using LLMs to reason about product concept design solutions can take advantage of its powerful text comprehension ability and massive knowledge reserves to effectively solve the problems of traditional reasoning methods that require auxiliary knowledge and lack generalization. In addition, the development of multimodal large models provides support for understanding, converting and generating multimodal data. Using multimodal large models can integrate multimodal design information in design solutions and enhance the comprehensiveness and accuracy of understanding design solutions.
[0005] However, the processing of multimodal data by existing multimodal big models only stays at the alignment of modes, that is, mapping multimodal data to the text space that LLM can understand. Using only multimodal big models to understand design solutions will lack sufficient exploration of the semantic associations between multimodal design information. Therefore, there is still a lack of a product concept design solution reasoning method that can simultaneously deeply understand the multimodal information of the design solution and its evolution process. In other words, in the existing concept design reasoning methods involving big models, the feedback provided by the big models is mostly a response to the designer's questions or instructions, and fails to fully understand and utilize the design information in the complete design solution, and thus fails to provide timely and accurate feedback to the designer's design ideas and the current design process. Summary of the invention
[0006] The present invention provides a method for unified expression and reasoning of multimodal design information based on a large model. The method can convert important information in a design scheme, namely, function, structure and behavior information and their connections, into a graph network, thereby more accurately realizing multimodal unified expression. Based on the changes in the graph network at different times under the multimodal unified expression, the large model can accurately and timely understand the designer's ideas and design process, thereby optimizing the design scheme.
[0007] The specific embodiment of the present invention provides a unified expression and reasoning method of multimodal design information based on a large model, including:
[0008] Based on the graph network at the previous moment, the large model is used to extract new structural nodes and the edges between the new structural nodes and other structural nodes from the current design scheme to update the graph network at the previous moment to obtain a first graph network; based on the first graph network, the large model is used to extract new functional nodes and the edges between the new functional nodes and new structural nodes and / or other structural nodes from the current design scheme to update the first graph network to obtain a second graph network; based on the second graph network, the large model is used to extract new behavioral nodes and the edges between the new behavioral nodes and new functional nodes and / or other functional nodes from the current design scheme to update the second graph network to obtain the graph network at the current moment;
[0009] The mind map is used to compare the graph network at different times through the big model to obtain the change description of the three dimensions of function, structure and behavior. Based on the change description of the three dimensions of function, structure and behavior, the big model is used to obtain multiple design schemes corresponding to each dimension. Based on the set evaluation rules, the big model is used to evaluate the multiple design schemes of each dimension respectively to obtain the optimal design schemes corresponding to the function, structure and behavior. The optimal design schemes corresponding to the function, structure and behavior are aggregated to obtain the optimized design scheme at the current moment.
[0010] Furthermore, the graph network based on the previous moment uses the large model to extract new structural nodes and edges between the new structural nodes and other structural nodes from the current design solution, including:
[0011] Input a first prompt word into the large model to obtain a new structural node, wherein the first prompt word is constructed by a first directive statement, a first output example, a current design scheme, and a graph network at a previous moment, and the large model obtains a first instruction through the first directive statement, wherein the first instruction is to obtain a new structural node, and the sentence structure of the result output by the large model is the same as the sentence structure of the first output example through the first output example;
[0012] The second prompt word is input into the large model to obtain the edge between the new structure node and other structure nodes. The second prompt word is constructed by the second directive statement, the second output example, the structure node set, the current design plan and the graph network at the previous moment. The second directive statement enables the large model to obtain the second instruction. The second instruction is to obtain the edge between the new structure node and other structure nodes. The second output example makes the sentence structure of the result output by the large model the same as the sentence structure of the second output example. The structure node set includes the new structure node and other structure nodes, and the other structure nodes are the structure nodes contained in the graph network at the previous moment.
[0013] Furthermore, the extracting of new functional nodes and edges between the new functional nodes and new structural nodes and / or other structural nodes from the current design solution using the large model based on the first graph network includes:
[0014] Input the third prompt word into the large model to obtain a new functional node, wherein the third prompt word is constructed by a third directive statement, a third output example, a current design scheme, a graph network at a previous moment, and a set of structural nodes, and the large model obtains a third instruction through the third directive statement, wherein the third instruction is to obtain a new functional node, and the sentence structure of the result output by the large model is the same as the sentence structure of the third output example through the third output example, and the set of structural nodes includes the new structural node and other structural nodes, and the other structural nodes are the structural nodes contained in the graph network at the previous moment;
[0015] The fourth prompt word is input into the large model to obtain the edge between the new functional node and the new structural node and / or other structural nodes, wherein the fourth prompt word is constructed by the fourth directive statement, the fourth output example, the current design plan, the graph network at the previous moment and the structural node set, and the fourth directive statement is used to enable the large model to obtain the fourth instruction, and the fourth instruction is to obtain the edge between the new functional node and the new structural node and / or other structural nodes, and the fourth output example is used to make the sentence structure of the result output by the large model the same as the sentence structure of the fourth output example.
[0016] Furthermore, the extracting of new behavior nodes and edges between the new behavior nodes and new function nodes and / or other function nodes from the current design scheme using the large model based on the second graph network includes:
[0017] Inputting the fifth prompt word into the large model to obtain a new behavior node, wherein the fifth prompt word is constructed by a fifth directive statement, a fifth output example, a current design scheme, a graph network at a previous moment, a structure node set, and a function node set, and the large model obtains a fifth instruction through the fifth directive statement, wherein the fifth instruction is to obtain a new behavior node, and the sentence structure of the result output by the large model is the same as the sentence structure of the fifth output example through the fifth output example, wherein the structure node set includes the new structure node and other structure nodes, wherein the other structure nodes are structure nodes included in the graph network at a previous moment, and the function node set includes the new function node and other function nodes, wherein the other function nodes are function nodes included in the graph network at a previous moment;
[0018] The sixth prompt word is input into the large model to obtain the connection between the new behavior node and the new function node and / or other function nodes, wherein the sixth prompt word is constructed by the sixth directive statement, the sixth output example, the current design plan, the graph network at the previous moment, the structure node set and the function node set. The large model obtains the sixth instruction through the sixth directive statement, and the sixth instruction is to obtain the connection between the new behavior node and the new function node and / or other function nodes. The sentence structure of the result output by the large model is the same as the sentence structure of the sixth output example through the sixth output example.
[0019] Furthermore, the method for constructing the first graph network includes:
[0020] S1. Extract the target product from the initial design scheme using the large model, and use the target product as the first structural node;
[0021] S2, based on the extracted first structural node, using the large model to extract structural nodes related to the first structural node from the current design scheme, as well as edges between the first structural node and structural nodes related to it, thereby obtaining a structural node graph network;
[0022] S3, extracting corresponding function nodes and edges between the function nodes and structure nodes of the structure node graph network from the current design scheme using the large model based on the structure node graph network, and updating the structure node graph network based on the corresponding function nodes and edges between the function nodes and structure nodes of the structure node graph network to obtain a graph network including structure nodes and function nodes;
[0023] S3. Based on the graph network including structural nodes and functional nodes, the corresponding behavior nodes and the edges between the behavior nodes and the functional nodes obtained in step S2 are proposed from the current design scheme using the large model. Based on the corresponding behavior nodes and the edges between the behavior nodes and the functional nodes obtained in step S2, the graph network is updated to obtain the first graph network.
[0024] Furthermore, the use of the mind map to compare the structure of the graph network at the previous moment and the current moment through a large model to obtain a description of changes in three dimensions: function, structure, and behavior, including:
[0025] Through the mind map, the graph network of the previous moment and the current moment is decomposed into three dimensions: function, behavior and structure respectively, and the big model is used to compare the differences of each dimension at different moments, so as to obtain a description of the changes in the three dimensions of function, structure and behavior.
[0026] Furthermore, the mind map includes a controller, a prompt word generator, a parser and an evaluation module;
[0027] The controller is used to construct an inference state diagram and an operation diagram based on graph network data at different times, wherein the inference state diagram includes multiple thought nodes and edges between thought nodes, and the thought nodes include four levels of thought nodes, the first level of thought nodes are descriptions of changes in the three dimensions of function, structure and behavior, the second level of thought nodes are multiple design schemes corresponding to each dimension, the third level of thought nodes are the optimal design schemes corresponding to each dimension, and the fourth level of thought nodes are the optimized design schemes at the current moment, the edges between the thought nodes are used to represent the connection relationship between the thought nodes of the levels, and the operation diagram is an operation flow constructed by multiple operation instructions from the thought nodes of the first level to the thought nodes of the fourth level based on the inference state diagram;
[0028] The prompt word generator is used to generate corresponding prompt words based on each operation instruction, and input the prompt words into the large model to generate description information;
[0029] The parser is used to extract key information from the description information and structure the key information into the pointed thought nodes;
[0030] The evaluation module is used to evaluate multiple design solutions in each dimension through a large model based on set evaluation rules to obtain the optimal solution corresponding to the three dimensions of function, structure and behavior.
[0031] Furthermore, the thought nodes of the current level are directed to the thought nodes of the next level through operation instructions, and the operation instructions include generation, aggregation, improvement, scoring and selection.
[0032] Furthermore, before inputting the graph network into the large model, the graph network is stored in the form of an adjacency list, and the stored graph network is converted into a natural language description in the form of a string.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] The present invention utilizes a large model to extract the corresponding information of function-behavior-structure in the design scheme so as to construct a graph network of function-behavior-structure, thereby more accurately realizing the unified expression of multimodal design information.
[0035] The present invention is based on comparing the graph networks of each dimension at different times to obtain the differences in the three dimensions of function, behavior and structure. The big model is used to obtain the optimization scheme of the corresponding dimension through the differences in each dimension, so that the design ideas and design process of the designer in each dimension can be inferred through the big model, and the design scheme of each dimension is optimized based on the design ideas and design process, and then the optimization schemes corresponding to the three dimensions are aggregated to obtain the optimized design scheme. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A flow chart of a unified expression and reasoning method of multimodal design information based on a large model provided for a specific embodiment of the present invention;
[0037] Figure 2 A flowchart of converting a current design scheme into a current time graph network provided by a specific embodiment of the present invention;
[0038] Figure 3 A flowchart for obtaining an optimized design solution is provided for a specific embodiment of the present invention. DETAILED DESCRIPTION
[0039] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0040] Based on the prior art, the large model cannot obtain a unified expression of multimodal design information more accurately, and cannot timely and accurately optimize the design scheme based on the design intent and process. The specific embodiment of the present invention uses a graph network to perform a more accurate structured expression of the function-behavior-structure (FBS) information in the multimodal design scheme, and by comparing the graph networks at different times, the large model can more accurately understand the design intent and process, and then reasonably optimize the current design scheme. The specific embodiment of the present invention provides a specific description of the unified expression and reasoning method of multimodal design information based on a large model as follows.
[0041] The generation process of the large model provided by the specific embodiment of the present invention can be uniformly expressed as .in, represents the pre-trained large model, Represents the parameters of the large model; For different tasks The design prompt words, i.e. the input of the big model; Represents the output of the large model; For the task Parsing function to process the output content into storable data .
[0042] The specific embodiment of the present invention is based on the definition of the three design concepts of function, behavior, and structure in the "Function-Behavior-Structure" (FBS) model, and uses LLM to extract the corresponding information in the multimodal design scheme and construct a "Function-Behavior-Structure" graph, thereby realizing the structured representation of multimodal design information. By converting the graph network constructed at the previous moment into a natural language description and adding it to the prompt word, the LLM is guided to update the nodes and edges on the basis thereof to obtain the graph network at the current moment, thereby constructing a discrete dynamic graph through the graph network at multiple moments, and realizing the deduction process modeling of the multimodal concept design scheme.
[0043] In a specific embodiment, this embodiment needs to structurally represent the lengthy and complex multimodal design scheme through a graph network. First, it is necessary to extract the key design concepts and classify them appropriately to make the connection between the design concepts more logical. This embodiment uses the "Function-Behavior-Structure" (FBS) model widely used in the field of product design to extract the three key design concepts of function, behavior, and structure contained in the multimodal design scheme.
[0044] The structure provided by the specific embodiment of the present invention includes the target product and its component elements, which are usually actual physical entities and represent what the design object is; the function provided by the specific embodiment of the present invention is the description of the design intent of the target product itself and its components in the design plan, which is closely related to user needs and explains why a certain design object should be introduced; the behavior provided by the specific embodiment of the present invention refers to some attributes that the structure brings or is expected to bring, that is, what the design object can do.
[0045] The specific embodiment of the present invention records a series of graph networks at a time by using a graph sequence constructed by a discrete graph network. The present invention uses a discrete dynamic graph to model the evolution of the design solution. Design After that, based on the previous time node Function-Behavior-Structure Diagram ,from Extract new design concepts such as functions, behaviors, structures and their relationships from the source code and add them as nodes and edges respectively In this paper, we obtain a new graph network . Thus, we obtain a discrete dynamic graph , realize the deduction process modeling of multi-modal conceptual design scheme, where .
[0046] Specifically, design corresponding prompt words to guide the multimodal large model to the current Design plan at the moment Extract the newly added functions, behaviors, structures and other design concepts. Must contain directive statements , the current design plan And the graph network at the previous moment An example of this directive statement is as follows: "Based on the graph network at the previous moment, extract new component elements from the design plan at the current moment as structural nodes. This directive statement only gives keywords separated by commas, and no specific explanation is required." In addition, each time you extract, you need to Output example related to constructing tasks Provide contextual learning for LLM, making the output of LLM more structured, such as It could be "electric scooter, handlebars, body". So, .in Indicates additional information added for specific tasks.
[0047] The method for constructing a graph network of function-behavior-structure at a certain moment provided by the specific embodiment of the present invention uses a multimodal large model From multimodal design solutions Extract the design concepts such as functions, behaviors, structures, etc. to form a node set of the graph .in, Indicates the time, Represents functional nodes, behavioral nodes, and structural nodes respectively. Connect nodes according to the semantic relationship between design concepts and construct edge sets , then the function-behavior-structure diagram .like Figure 1 As shown, the specific steps are as follows:
[0048] (1) Using the large model to extract the structure, function and behavior information of the current design solution, and constructing a graph network based on the extracted structure, function and behavior information to achieve unified expression of multimodal design information. The method for constructing the first graph network provided by a specific embodiment of the present invention includes:
[0049] S1. First, you need to use LLM to start from the initial design plan X 1, the target product of the design is identified as the first structure node in the structure node set, and this is taken as the center of the graph. , taking this as the center of the graph. Then the structure node set is initialized to Among them, the corresponding prompt word is , Extract target products for the task ( object , abbreviated as obj ) directive statement.
[0050] S2, based on the first structural node extracted, use the large model from the current design scheme X t Extract the structure nodes related to the first structure node , and update the structure node collection .in, Indicates the subscript of the first structure node extracted this time, and its value is equal to the number of existing structure nodes; The value of is the number of structure nodes extracted this time minus one; the task extraction structure concept for inputting a large model provided in this embodiment ( structure , abbreviated as struct ) is Then, LLM is used to mine the new relationships that may appear between the updated structure nodes, that is, the edges between the first structure node and its related structure nodes. , and update the edge set .in Representative m Nodes To j Nodes Directed paths between The task extraction structure connection concept for inputting a large model provided in this embodiment ( edge ) is , The structural node graph network is obtained through the obtained structural nodes and corresponding edges.
[0051] S3, each structural node based on the structural node graph network , using LLM to extract relevant design requirements and target functions from the current design solution as functional nodes .in, Indicates the subscript of the structure node; The value of this extraction is the structure node The number of related function nodes is reduced by one; the task extraction function concept for inputting a large model provided in this embodiment ( Function , abbreviated as func ) is . Update function node set , and update the edges between the functional nodes and the structural nodes of the structural node graph network, and update the edge set ,in , the obtained function nodes and the edges between function nodes and structure nodes are added to the structure node graph network to obtain a binary graph network of structure nodes and function nodes.
[0052] S4. Each "structure-function" tuple of the binary graph network based on structure nodes and function nodes , using LLM to extract the structure from the current design To achieve the function The related attributes , as a behavior node .in, Indicates the subscript of the structure node; Representation and Structure Nodes The subscripts of the connected function nodes; The value of this extraction is the function node The number of related behavior nodes is reduced by one; the task extraction behavior concept for inputting a large model provided in this embodiment ( behavior , abbreviated as behav ) is . Update the behavior node collection , and update the edge set ,in , adding the corresponding behavior nodes obtained and the edges between the behavior nodes and the function nodes obtained in step S2 to the structure node graph network to obtain the first graph network.
[0053] The specific embodiment of the present invention uses a large model to find new structures, functions, behaviors and their edges from the current design solution based on the graph network at the previous moment, thereby constructing the current graph network corresponding to the current design solution, such as Figure 2 As shown, in each graph network in the dynamic graph provided by the specific embodiment of the present invention, by updating the graph network G at the previous moment t-1 Get the current graph network G t ,include:
[0054] Based on the graph network at the previous moment, a large model is used to extract new structural nodes and the edges between the new structural nodes and other structural nodes from the current design scheme. Based on the extracted new structural nodes and the edges between the new structural nodes and other structural nodes, the graph network at the previous moment is updated to obtain the first graph network.
[0055] In a specific embodiment, the graph network G based on the previous moment provided by the specific embodiment of the present invention t-1 Use the large model to start from the current design plan X t The specific steps for extracting new structural nodes and the edges between new structural nodes and other structural nodes are as follows:
[0056] In this embodiment, the first prompt word is input into the large model to obtain a new structural node. The first prompt word is constructed by the first directive statement, the first output example, the current design plan and the graph network at the previous moment. The first directive statement enables the large model to obtain a first instruction. The first instruction is to obtain a new structural node. The first output example makes the sentence structure of the result output by the large model the same as the sentence structure of the first output example.
[0057] In this embodiment, the second prompt word is input into the large model to obtain the edge between the new structure node and other structure nodes. The second prompt word is constructed by the second directive statement, the second output example, the structure node set, the current design plan and the graph network at the previous moment. The second directive statement enables the large model to obtain the second instruction. The second instruction is to obtain the edge between the new structure node and other structure nodes. The second output example makes the sentence structure of the result output by the large model the same as the sentence structure of the second output example. The structure node set includes the new structure node and other structure nodes. The other structure nodes are the structure nodes contained in the graph network at the previous moment. In a specific embodiment, the structure node set is stored in the form of an adjacency list.
[0058] A specific embodiment of the present invention uses a large model based on the first graph network to extract new functional nodes and the edges between the new functional nodes and new structural nodes and / or other structural nodes from the current design scheme, and updates the first graph network based on the extracted new functional nodes and the edges between the new functional nodes and new structural nodes and / or other structural nodes to obtain a second graph network.
[0059] In a specific embodiment, the specific steps of extracting new functional nodes and edges between new functional nodes and new structural nodes and / or other structural nodes from the current design solution using a large model based on the first graph network provided by the specific embodiment of the present invention are:
[0060] In this embodiment, the third prompt word is input into the large model to obtain a new functional node, wherein the third prompt word is constructed by a third directive statement, a third output example, a current design scheme, a graph network at a previous moment, and a set of structural nodes. The third directive statement enables the large model to obtain a third instruction, and the third instruction is to obtain a new functional node. The third output example makes the sentence structure of the result output by the large model the same as the sentence structure of the third output example. The set of structural nodes includes new structural nodes and other structural nodes, and the other structural nodes are structural nodes contained in the graph network at a previous moment. In a specific embodiment, the set of structural nodes is stored in the form of an adjacency list.
[0061] In this embodiment, the fourth prompt word is input into the large model to obtain the connection between the new functional node and the new structural node and / or other structural nodes, wherein the fourth prompt word is constructed by the fourth directive statement, the fourth output example, the structural node set, the current design scheme, the graph network at the previous moment and the structural node set. The fourth directive statement enables the large model to obtain the fourth instruction, and the fourth instruction is to obtain the connection between the new functional node and the new structural node and / or other structural nodes. The fourth output example makes the sentence structure of the result output by the large model the same as the sentence structure of the fourth output example.
[0062] A specific embodiment of the present invention uses a large model based on the second graph network to extract new behavior nodes and the edges between the new behavior nodes and new functional nodes and / or other functional nodes from the current design scheme, and updates the second graph network based on the extracted new behavior nodes and the edges between the new behavior nodes and new functional nodes and / or other functional nodes to obtain the graph network at the current moment.
[0063] The specific steps provided in the specific embodiment of the present invention for extracting new behavior nodes and edges between new behavior nodes and new function nodes and / or other function nodes from the current design scheme using a large model based on the second graph network are as follows:
[0064] In this embodiment, the fifth prompt word is input into the large model to obtain a new behavior node, wherein the fifth prompt word is constructed by the fifth directive statement, the fifth output example, the current design scheme, the graph network at the previous moment, the structure node set and the function node set. The fifth directive statement enables the large model to obtain the fifth instruction, and the fifth instruction is to obtain the new behavior node. The fifth output example makes the sentence structure of the result output by the large model the same as the sentence structure of the fifth output example. The structure node set includes new structure nodes and other structure nodes, and the other structure nodes are the structure nodes included in the graph network at the previous moment. The function node set includes new function nodes and other function nodes, and the other function nodes are the function nodes included in the graph network at the previous moment. In a specific embodiment, the structure node set and the function node set are both stored in the form of an adjacency list.
[0065] In this embodiment, the sixth prompt word is input into the large model to obtain the connection between the new behavior node and the new function node and / or other function nodes, wherein the sixth prompt word is constructed by the sixth directive statement, the sixth output example, the structure node set, the current design plan, the graph network at the previous moment, the structure node set and the function node set. The sixth directive statement enables the large model to obtain the sixth instruction, and the sixth instruction is to obtain the connection between the new behavior node and the new function node and / or other function nodes. The sixth output example makes the sentence structure of the result output by the large model the same as the sentence structure of the sixth output example.
[0066] The specific embodiment of the present invention uses an adjacency list to store function-behavior-structure graph network data, specifically defining two classes, a node class and a graph class, of the graph network.
[0067] The node class Vertex defined in the specific embodiment of the present invention is each node in the graph, and the node includes id, type, value and neighbors. The id is an integer variable, which represents the serial number of the node. The type is a string variable, which represents the type of the node, including three values of "f", "b" and "s", which correspond to function, behavior and structure respectively. The value is a string variable, which represents the semantics of the node. The neighbors is a list variable, which stores the serial numbers of all adjacent nodes pointed to by the node.
[0068] The graph class defined in the specific embodiment of the present invention is the overall architecture of the graph network, including graph_list, time, addVertex, addEdge and is_Vertex_in_Graph, where graph_list is a list variable that stores instances of all nodes in the graph, time is a string variable, the time when the graph is established, addVertex is a function used to add a new node to the graph_list, addEdge is a function that updates the edges by updating the neighbors list of a specific node in the graph_list, and is_Vertex_in_Graph is used to determine whether a certain node exists in the graph.
[0069] The specific embodiment of the present invention provides that when the graph needs to be updated, a Vertex instance is created for a new node, and the addVertex function is called to add it to the graph. The addition of an edge is achieved by calling the addEdge function. Before adding, the is_Vertex_in_Graph function needs to be called to determine whether the two nodes connected by the edge are already in the graph. If not, the node needs to be added first.
[0070] (2) If Figure 3 As shown in the figure, the mind map is used to perceive the design process and reason about the current design plan based on the structure of the graph network at different times: the mind map is used to compare the structure of the graph network at different times through a large model to obtain a description of the changes in the three dimensions of function, structure and behavior, as shown in the figure. Figure 3 The first layer, based on The node at the current moment in time (structure node, function node or behavior node, Figure 3 dark dots) and nodes at the previous moment (structure nodes, function nodes, or behavior nodes, Figure 3 The connection relationship of the light-colored dots in the image (light-colored dots) is used to obtain the corresponding change descriptions of the three dimensions through the big model. Based on the change descriptions of the three dimensions of function, structure and behavior, the big model is used to obtain multiple design schemes corresponding to each dimension. Based on the set evaluation rules, the big model is used to evaluate the multiple design schemes of each dimension respectively to obtain the optimal design schemes corresponding to the function, structure and behavior. The optimal design schemes corresponding to the function, structure and behavior are aggregated to obtain the optimized design scheme at the current moment.
[0071] The specific embodiment of the present invention adopts the prompt word fine-tuning method of the mind map, decomposes the graph network containing "function-behavior-structure" into three dimensions: function, behavior, and structure, and guides the LLM to understand the designer's design ideas and current design process in different dimensions by comparing the differences between the graphs at different times. On this basis, multiple design schemes are generated for different dimensions, and the LLM or the designer scores and compares them to select the best scheme in each dimension. By aggregating and optimizing these schemes, a logically complete reasoning result that is highly relevant to the current design process is obtained.
[0072] The mind map provided by the specific embodiment of the present invention is a prompt word fine-tuning method, which realizes the decomposition of tasks and the divergence and aggregation of thinking through the graph structure modeling LLM reasoning process, thereby enhancing the reasoning ability of LLM for complex logic. The basic framework of the mind map includes a controller, a prompt word generator, a parser and an evaluation model.
[0073] like Figure 3 As shown, the controller provided by the specific embodiment of the present invention includes a reasoning state diagram and an operation diagram. The reasoning state diagram includes multiple thought nodes and edges between thought nodes. The thought nodes include four levels of thought nodes. The thought nodes of the first level are descriptions of changes in the three dimensions of function, structure and behavior. The thought nodes of this layer are determined by comparing the graph network at different moments obtained in step (1). The thought nodes of the second level are multiple design schemes corresponding to each dimension obtained by reasoning and generating operation instructions based on the description of changes in each dimension. The design scheme corresponding to the structural dimension includes a structural concept, the design scheme corresponding to the functional dimension includes a functional concept, and the design scheme corresponding to the behavioral dimension includes a behavioral concept. The thought nodes of the third level are the optimal design schemes selected from the multiple design schemes of each dimension by scoring and selecting operation instructions. The thought nodes of the fourth level are the optimized design schemes at the current moment obtained by aggregating the optimal design schemes of each dimension through operation instructions.
[0074] The edges between thought nodes provided in the specific embodiment of the present invention are used to represent the connection relationship between thought nodes of different levels.
[0075] The operation diagram provided by the specific embodiment of the present invention is an operation flow constructed by obtaining multiple operation instructions from the first level thought node to the fourth level thought node based on the reasoning state diagram.
[0076] The prompt word generator provided in the specific embodiment of the present invention is used to generate corresponding prompt words based on each operation instruction, and input the prompt words into the large model to generate description information.
[0077] In a specific embodiment, the prompt word generator provided by the specific embodiment of the present invention selects a preset prompt word framework for the corresponding operation according to the operation to be performed (generation, aggregation or improvement) in the current thought state node process control information and the reasoning stage, embeds variables containing specific input information, generates corresponding prompt words as input of LLM, and guides LLM to generate corresponding feedback.
[0078] The parser provided by the specific embodiment of the present invention is used to extract key information from the description information and structure the key information into the pointed idea node. The key information is the content information that can obtain the pointed idea node.
[0079] It can be understood that in the scoring stage provided by the specific embodiment of the present invention, LLM will return a score and the reason for the score. The next stage of selecting the solution with the highest score only requires the score information but no reason. The parser will extract the score from the content returned by LLM as the idea node.
[0080] The evaluation module provided in the specific embodiment of the present invention is used to evaluate multiple design solutions in each dimension through a large model based on set evaluation rules to obtain the optimal solution corresponding to the three dimensions of function, structure and behavior.
[0081] In a specific embodiment, the evaluation module provided by the specific embodiment of the present invention scores or verifies the correctness of the design scheme under each dimension represented by the node in the reasoning state diagram. The evaluation can be completed by the LLM or by the designer, or the evaluation results of both can be comprehensively considered to enhance the rationality of the evaluation.
[0082] Specific embodiments of the present invention In order to make the LLM's scoring of the solutions generated in the intermediate process of reasoning more reasonable and more explainable, and to ensure the consistency of the evaluation criteria for different solutions, the present invention provides the LLM with the following evaluation dimensions for product concept design solutions: 1. Timeliness: whether the content of the solution is highly relevant to the current design process. 2. Innovation: whether the product design provides new solutions or adopts innovative technologies, and whether it is clearly distinguished from existing products. 3. User demand satisfaction: whether the design solution solves the user's actual problems and meets the user's needs. 4. Functionality: whether the product's functions are complete, whether it can effectively perform its predetermined functions, and whether the functions correspond to user needs. 5. Ease of use: whether the product is easy to use and how the user's experience is during use, including the friendliness of the interface, the intuitiveness of the operation, etc. 6. Technical feasibility: whether the technology on which the design solution relies is mature and whether it can be actually manufactured or implemented. 7. Cost-effectiveness: evaluate product design from the perspective of cost, including production cost, maintenance cost, etc. 8. Aesthetic design: whether the product's appearance, color, shape, etc. attract the target user group and whether it conforms to aesthetic trends.
[0083] In a specific embodiment, the specific embodiment of the present invention uses LLM to reason about the design solution on the extracted graph network containing "function-behavior-structure". This embodiment converts the structured stored graph network into natural language and inputs it into LLM. The specific steps of preprocessing the structured stored graph network data into natural language description are:
[0084] Each time the construction of the "function-behavior-structure" diagram is completed, four strings are initialized: str_s = "structure": str_f = "function": str_b = "behavior": str_e = "relationship".
[0085] Then traverse each node element node of graph_list in the graph network instance, and connect its semantic value and serial number in the form of a string after the corresponding classification according to the type of the node, that is, The elements in the member variable neighbors of node node represent the serial numbers of the neighboring nodes pointed to by the node, denoted as num. Traverse the elements in node.neighbors and convert the tuple Connect after "relation" in the form of a string, that is, Finally, by connecting the four strings, we get the "Function-Behavior-Structure" diagram Natural language description of .
[0086] The specific embodiment of the present invention selects the most recent A natural language description of the image As the thought content of the initial node of the reasoning state diagram in the mind map framework, start reasoning according to the process of the operation diagram.
[0087] The specific embodiment of the present invention enables a thought node of one level to point to a thought node of the next level through operation instructions, and the operation instructions include generation, aggregation, perfection, scoring and selection.
[0088] The generation provided in this embodiment is a reasoning process of generating multiple ideas from one idea, using LLM to decompose a large task into multiple subtasks, or to generate multiple solutions for a problem. The generation operation is reflected as an idea node in the reasoning state diagram. to multiple new thought nodes, M is the number of new thought nodes, the set of new thought nodes and the edges between new nodes and other nodes are: , .
[0089] The aggregation provided in this embodiment is a reasoning process that combines multiple ideas into one idea, using LLM to integrate and strengthen the advantages of multiple ideas while eliminating conflicts between different ideas. The aggregation operation is reflected in the reasoning state diagram as multiple nodes pointing to a new idea node. , the new idea node set and the edges between the new node and other nodes are: , .
[0090] The improvement provided in this embodiment is a process of re-reasoning the current idea and modifying its content using LLM. The improvement operation is reflected in the reasoning state diagram as the idea node To the increase of its own ring, that is .
[0091] The scoring provided in this embodiment is to evaluate and score the thought nodes in the reasoning state diagram. The LLM can score according to relevant indicators, or the designer can score.
[0092] The option provided in this embodiment is to rank the specified thought nodes according to their scores, and retain the ones with the highest scores. nodes.
[0093] In order to enable LLM to deeply understand the designer's design ideas and generate logically complete reasoning results that are highly relevant to the current design process, the present invention has formulated the following operation process:
[0094] The specific embodiment of the present invention is based on the recent Natural language description of the "function-behavior-structure" graph network at each moment , generate a description of the functional, behavioral, and structural changes of the design solution at this stage The prompt words need to guide LLM to analyze the changes in the structure, function and behavior of the dynamic diagram at the current stage, as well as the design issues that designers may pay attention to in terms of structure, function and behavior, and include the recent A natural language description of the "function-behavior-structure" diagram at each moment and an output example. .
[0095] According to the changes in the above three aspects, the design scheme is inferred and three possible schemes are generated for dimension z respectively. The prompt words need to guide LLM to give further deduction directions or solutions to existing problems based on the analysis of the previous reasoning stage, and include descriptions of the changes in the design scheme in terms of function, behavior, and structure, as well as output examples. .
[0096] The three options for each dimension are scored. LLM gives a score based on the given indicators. The prompt word needs to inform the LLM scoring criteria (such as ease of use, feasibility, etc.) and scoring range, and include the solutions generated for function, behavior, structure and output examples. , . Designers give subjective scores The final score of the solution is ,in and Represent the weights of LLM score and designer score respectively.
[0097] The specific embodiment of the present invention retains the solution with the highest score in each dimension .
[0098] The optimal design solutions generated for functional, behavioral, and structural changes are combined to obtain the final reasoning results. , the optimization plan at the current moment. The prompt word needs to guide LLM to integrate the three product concept design plans, eliminate the conflicting and repeated parts, generate the final reasoning result, and input the prompt word of LLM Contains generated scenarios and output examples for functionality, behavior, and structure. .
[0099] After obtaining the optimization scheme at the current moment, the specific embodiment of the present invention uses step (1) to convert the optimization scheme into the corresponding graph network. , and the graph network Used for the construction of graph networks in the next stage and reasoning about the design scheme.
Claims
1. A unified expression and reasoning method for multimodal design information based on a large model, characterized in that: include: Based on the graph network at the previous moment, the large model is used to extract new structural nodes and the edges between the new structural nodes and other structural nodes from the current design scheme to update the graph network at the previous moment to obtain a first graph network; based on the first graph network, the large model is used to extract new functional nodes and the edges between the new functional nodes and new structural nodes and / or other structural nodes from the current design scheme to update the first graph network to obtain a second graph network; based on the second graph network, the large model is used to extract new behavioral nodes and the edges between the new behavioral nodes and new functional nodes and / or other functional nodes from the current design scheme to update the second graph network to obtain the graph network at the current moment; Using the mind map, the graph network at different times is compared through the big model to obtain the description of the changes in the three dimensions of function, structure and behavior. Based on the description of the changes in the three dimensions of function, structure and behavior, the big model is used to obtain multiple design schemes corresponding to each dimension. Based on the set evaluation rules, the big model is used to evaluate the multiple design schemes of each dimension to obtain the optimal design schemes corresponding to the function, structure and behavior respectively. The optimal design schemes corresponding to the function, structure and behavior are aggregated to obtain the optimized design scheme at the current moment. Methods for building the first graph network, including: S1. Extract the target product from the initial design scheme using the large model, and use the target product as the first structural node; S2, based on the extracted first structural node, using the large model to extract structural nodes related to the first structural node from the current design scheme, as well as edges between the first structural node and structural nodes related to it, thereby obtaining a structural node graph network; S3, extracting corresponding function nodes and edges between the function nodes and structure nodes of the structure node graph network from the current design scheme using the large model based on the structure node graph network, and updating the structure node graph network based on the corresponding function nodes and edges between the function nodes and structure nodes of the structure node graph network to obtain a graph network including structure nodes and function nodes; S3, based on the graph network including the structure nodes and the function nodes, using the large model, propose corresponding behavior nodes and the edges between the behavior nodes and the function nodes obtained in step S2 from the current design scheme, and update the graph network based on the corresponding behavior nodes and the edges between the behavior nodes and the function nodes obtained in step S2 to obtain a first graph network; The mind map includes a controller, a prompt word generator, a parser and an evaluation module; The controller is used to construct an inference state diagram and an operation diagram based on graph network data at different times, wherein the inference state diagram includes multiple thought nodes and edges between thought nodes, and the thought nodes include four levels of thought nodes, the first level of thought nodes are descriptions of changes in the three dimensions of function, structure and behavior, the second level of thought nodes are multiple design schemes corresponding to each dimension, the third level of thought nodes are the optimal design schemes corresponding to each dimension, and the fourth level of thought nodes are the optimized design schemes at the current moment, the edges between the thought nodes are used to represent the connection relationship between the thought nodes of the levels, and the operation diagram is an operation flow constructed by multiple operation instructions from the thought nodes of the first level to the thought nodes of the fourth level based on the inference state diagram; The prompt word generator is used to generate corresponding prompt words based on each operation instruction, and input the prompt words into the large model to generate description information; The parser is used to extract key information from the description information and structure the key information into the pointed thought nodes; The evaluation module is used to evaluate multiple design solutions in each dimension through a large model based on set evaluation rules to obtain the optimal solution corresponding to the three dimensions of function, structure and behavior.
2. The method for unified expression and reasoning of multimodal design information based on a large model according to claim 1, characterized in that: The graph network based on the previous moment uses a large model to extract new structural nodes and edges between the new structural nodes and other structural nodes from the current design solution, including: Input a first prompt word into the large model to obtain a new structural node, wherein the first prompt word is constructed by a first directive statement, a first output example, a current design scheme, and a graph network at a previous moment, and the large model obtains a first instruction through the first directive statement, wherein the first instruction is to obtain a new structural node, and the sentence structure of the result output by the large model is the same as the sentence structure of the first output example through the first output example; The second prompt word is input into the large model to obtain the edge between the new structure node and other structure nodes. The second prompt word is constructed by the second directive statement, the second output example, the structure node set, the current design plan and the graph network at the previous moment. The second directive statement enables the large model to obtain the second instruction. The second instruction is to obtain the edge between the new structure node and other structure nodes. The second output example makes the sentence structure of the result output by the large model the same as the sentence structure of the second output example. The structure node set includes the new structure node and other structure nodes, and the other structure nodes are the structure nodes contained in the graph network at the previous moment.
3. The method for unified expression and reasoning of multimodal design information based on a large model according to claim 1, characterized in that: The extracting of new functional nodes and edges between the new functional nodes and new structural nodes and / or other structural nodes from the current design solution using the large model based on the first graph network includes: Input the third prompt word into the large model to obtain a new functional node, wherein the third prompt word is constructed by a third directive statement, a third output example, a current design scheme, a graph network at a previous moment, and a set of structural nodes, and the large model obtains a third instruction through the third directive statement, wherein the third instruction is to obtain a new functional node, and the sentence structure of the result output by the large model is the same as the sentence structure of the third output example through the third output example, and the set of structural nodes includes the new structural node and other structural nodes, and the other structural nodes are the structural nodes contained in the graph network at the previous moment; The fourth prompt word is input into the large model to obtain the edge between the new functional node and the new structural node and / or other structural nodes, wherein the fourth prompt word is constructed by the fourth directive statement, the fourth output example, the current design plan, the graph network at the previous moment and the structural node set, and the fourth directive statement is used to enable the large model to obtain the fourth instruction, and the fourth instruction is to obtain the edge between the new functional node and the new structural node and / or other structural nodes, and the fourth output example is used to make the sentence structure of the result output by the large model the same as the sentence structure of the fourth output example.
4. The method for unified expression and reasoning of multimodal design information based on a large model according to claim 1, characterized in that: The extracting of new behavior nodes and edges between the new behavior nodes and new function nodes and / or other function nodes from the current design scheme using the large model based on the second graph network includes: Inputting the fifth prompt word into the large model to obtain a new behavior node, wherein the fifth prompt word is constructed by a fifth directive statement, a fifth output example, a current design scheme, a graph network at a previous moment, a structure node set, and a function node set, and the large model obtains a fifth instruction through the fifth directive statement, wherein the fifth instruction is to obtain a new behavior node, and the sentence structure of the result output by the large model is the same as the sentence structure of the fifth output example through the fifth output example, wherein the structure node set includes the new structure node and other structure nodes, wherein the other structure nodes are structure nodes included in the graph network at a previous moment, and the function node set includes the new function node and other function nodes, wherein the other function nodes are function nodes included in the graph network at a previous moment; The sixth prompt word is input into the large model to obtain the connection between the new behavior node and the new function node and / or other function nodes, wherein the sixth prompt word is constructed by the sixth directive statement, the sixth output example, the current design plan, the graph network at the previous moment, the structure node set and the function node set. The large model obtains the sixth instruction through the sixth directive statement, and the sixth instruction is to obtain the connection between the new behavior node and the new function node and / or other function nodes. The sentence structure of the result output by the large model is the same as the sentence structure of the sixth output example through the sixth output example.
5. The method for unified expression and reasoning of multimodal design information based on a large model according to claim 1, characterized in that: The mind map is used to compare the structure of the graph network at the previous moment and the current moment through a large model to obtain a description of changes in three dimensions: function, structure, and behavior, including: Through the mind map, the graph network of the previous moment and the current moment is decomposed into three dimensions: function, behavior and structure respectively, and the big model is used to compare the differences of each dimension at different moments, so as to obtain a description of the changes in the three dimensions of function, structure and behavior.
6. The method for unified expression and reasoning of multimodal design information based on a large model according to claim 1, characterized in that: The idea nodes of the current level are directed to the idea nodes of the next level through operation instructions, and the operation instructions include generation, aggregation, improvement, scoring and selection.
7. The method for unified expression and reasoning of multimodal design information based on a large model according to claim 1, characterized in that: Before inputting the graph network into the large model, the graph network is stored in the form of an adjacency list, and the stored graph network is converted into a natural language description in the form of a string.
