File analysis method and device, equipment and storage medium
Using large models to filter and describe files in big data solves the problem of low flexibility in existing technology, enables accurate screening and rich description of massive data, and improves the efficiency and quality of file analysis.
Patent Information
- Application Number
- CN202410704095.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The existing technology has low flexibility when filtering out the required content from massive data, and is difficult to meet complex needs. It can only give a general and simple description, and cannot provide rich description information.
Use a large model to analyze decision-making reference information, decide on file screening methods and screening parameters, and generate description information for the file set to be described through coarse screening and fine screening, improving the flexibility and accuracy of file screening and providing rich descriptions.
It realizes flexible filtering and description of files, improves the flexibility and efficiency of file analysis, generates content that is diverse and relevant to the topic, and avoids simple and general descriptions.
Smart Images

Figure CN118708548A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of big data, and in particular to technical fields such as big models and data screening. Background Art
[0002] As the amount of information increases, mining the required content from massive files is a very complex task. In related technologies, it may be necessary to define a series of data screening rules, and then match the required data from the massive data according to the pre-defined data screening rules. After that, the obtained data is simply merged together, and only a general and simple description can be given. Summary of the invention
[0003] The present disclosure provides a file analysis method, apparatus, device and storage medium.
[0004] According to one aspect of the present disclosure, there is provided a file analysis method, comprising:
[0005] Use a large model to analyze decision reference information, and decide on the document screening method and the screening parameters required for the document screening method;
[0006] Based on the file screening method and the screening parameters, the mixed file set is roughly screened to obtain a first file set;
[0007] Filter out refined files from the first file set;
[0008] Filter out the associated files of the fine-screened files from the mixed file set to obtain a set of files to be described with the fine-screened files as the core;
[0009] Generate description information of the file set to be described based on the large model.
[0010] According to another aspect of the present disclosure, there is provided a file analysis device, comprising:
[0011] A decision module, which is used to analyze decision reference information using a large model, and decide on a file screening method and screening parameters required for the file screening method;
[0012] A rough screening module, used for performing rough screening on the mixed file set based on the file screening method and screening parameters to obtain a first file set;
[0013] A fine screening module, used for screening fine screening files from the first file set;
[0014] A determination module is used to filter out the associated files of the refined files from the mixed file set to obtain a set of files to be described with the refined files as the core;
[0015] The generation module is used to generate description information of the set of files to be described based on the large model.
[0016] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.
[0020] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any method according to the embodiments of the present disclosure.
[0021] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements any method according to the embodiments of the present disclosure when executed by a processor.
[0022] In the disclosed embodiment, a file screening method can be flexibly determined through a large model, the required set of files to be described can be screened out, and a rich description can be given.
[0023] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0025] Figure 1 is a flowchart of a file analysis method according to an embodiment of the present disclosure;
[0026] Figure 2 is a schematic diagram of the screening process of fine screening files according to an embodiment of the present disclosure;
[0027] Figure 3 It is a flow chart of obtaining a set of files to be described with a refined screening file as the core according to an embodiment of the present disclosure;
[0028] Figure 4 It is a process intention of generating description information of a set of files to be described according to an embodiment of the present disclosure;
[0029] Figure 5 This is the process intention of fine-tuning a large model according to an embodiment of the present disclosure;
[0030] Figure 6 This is a process intention of generating copywriting by analyzing an image as an example according to an embodiment of the present disclosure;
[0031] Figure 7 is a schematic diagram of an application scenario according to an embodiment of the present disclosure;
[0032] Figure 8 is a schematic diagram of a possible application interface according to an embodiment of the present disclosure;
[0033] Fig. 9 is a structural schematic diagram of a file analysis device according to an embodiment of the present disclosure;
[0034] Fig.10 It is a block diagram of an electronic device used to implement the file analysis method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0036] The terms "first", "second", etc. in this disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or precedence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] The data processing methods in the related art are less flexible and difficult to meet the needs. In view of this, a file analysis method is proposed in the embodiment of the present disclosure, in which the powerful reasoning and understanding capabilities of the large model are used to help screen files and give appropriate descriptions.
[0038] In computer science, large models usually refer to models with a large number of parameters or complex structures. These models can be used for various tasks such as image recognition, natural language processing, etc. For example, a large language model is a common large model.
[0039] The large model used in the embodiments of the present disclosure may be a large language model, which refers to a deep learning model trained using a large amount of text data and can generate natural language text or understand the meaning of language text. The large language model can handle a variety of natural language tasks, such as text classification, question answering, and dialogue.
[0040] like Figure 1 FIG. 1 is a flow chart of a file analysis method provided by an embodiment of the present disclosure, including the following contents:
[0041] S101, using a large model to analyze decision reference information, and determining a file screening method and screening parameters required for the file screening method.
[0042] Among them, a variety of file screening methods can be pre-set to construct a screening method set. For example, different file screening methods can be set for different meta information of files. The same file screening method can screen files based on one or more meta information. Meta information, for example, may include file size, file time information, file publishing location, file type, key elements contained in the file (such as attractions, people, events, knowledge points) and other information. Screening parameters are parameters required for the screening method. Screening parameters can be defined based on meta information, for example, filtering based on time, filtering based on location, or even filtering based on multiple meta information.
[0043] During implementation, the big model can decide on the file screening method and screening parameters from the preset screening method set based on the decision reference information, so as to be able to screen out the files that the target object needs or is interested in. The decision reference information helps the big model understand which content is critical, expected or potentially interesting, which helps the big model make reasonable decisions and screen out reasonable files.
[0044] The file in the embodiment of the present disclosure may be a file in any form, such as an image, multimedia, web page, public blog post, text file, etc. Any information carrier including image and / or text content may be processed as a file in the embodiment of the present disclosure.
[0045] Taking images as an example, the big model may consider multiple possible subjects such as the time when the image was taken, the location where the image was taken, and the key subjects in the image (such as plants, animals, people, buildings, and scenic spots).
[0046] It is understandable that for different target objects, because of their different focus or interests, different decisions can be made using a large model. Therefore, personalized decision results can be provided for different target objects, improving the fit between the decision results and the needs of the target objects.
[0047] In addition, the disclosed embodiment can also actively generate screening methods by leveraging the reasoning ability of the large model and the ability to understand the target object, thereby further improving the flexibility of screening files and increasing the diversity of the final generated content.
[0048] It should be noted that all information involving user privacy is collected in strict compliance with relevant laws and policies and with the user's knowledge and consent. While protecting the security of the user's personal data, it will not be used for any unauthorized purpose.
[0049] S102: Based on the file screening method and screening parameters, the mixed file set is roughly screened to obtain a first file set.
[0050] That is, based on the screening parameters, files that meet the requirements of the file screening method are screened out from the mixed file set to obtain the first file set.
[0051] S103, screening out refined files from the first file set.
[0052] It can be understood that the first file set is obtained through coarse screening, and then fine screening is performed based on this step to obtain fine screening files, thereby progressively screening out the required files, so that when multiple files are finally retained as fine screening files, each fine screening file has a strong representative significance and is unlikely to be repeated.
[0053] S104, filtering out the associated files of the refined file from the mixed file set, and obtaining a set of files to be described with the refined file as the core.
[0054] Among them, similar files or files with strong correlation to the refined screened file can be screened out from the mixed file set as associated files of the refined screened file based on the similarity of one or more aspects such as various features, feature combinations, key elements, etc. of the refined screened file.
[0055] Taking images of animals and plants as an example, other images that also contain at least part of the animals and plants in the fine-screened file are screened as associated files.
[0056] Taking a knowledge point as an example, files containing the extended content and detailed content introduction of the knowledge point are selected as associated files.
[0057] The specific association rules may be predefined, and different association rules may be set for different types of files, which is not limited in the embodiments of the present disclosure.
[0058] S105: Generate description information of the file set to be described based on the large model.
[0059] The large language model has the ability to understand documents and can comprehensively consider various information in different documents to give rich descriptions.
[0060] In the disclosed embodiment, the large model is constrained by the decision reference information, and automatically gives appropriate file screening methods and screening parameters based on its strong knowledge background and strong reasoning ability, thereby facilitating the rough screening of the mixed file set and improving the flexibility and accuracy of file screening. Further, by fine screening, high-quality fine screening files are further screened out from the rough screening files, which can facilitate the screening of the associated to-be-described file set from the mixed file set based on the fine screening files. Then, the to-be-described file set is sorted based on the large model, and the description information of the to-be-described file set is given. In the disclosed embodiment, the decision reference information is constrained, and the to-be-described file set with a certain association is automatically obtained through rough screening, fine screening and analysis of associated files. The whole process can improve the flexibility and efficiency of file analysis. In addition, the large model can generate rich descriptions with association relationships as the theme, and generate diversified content that fits the theme of the to-be-described file, thereby improving the quality of the generated content, and will not be limited to simple and general descriptions.
[0061] In the embodiment of the present disclosure, the decision reference information may include at least one of the following:
[0062] (1) The target object's annotation information on the file, where the annotation information is used to indicate whether to pay attention to the corresponding file.
[0063] For example, the annotation information is used to describe the target object's intention to filter files. For example, the target object can specify that a certain file or a certain type of file needs to be retained, and the files to be retained can be filtered out. For another example, the target object can specify that a certain file or a certain type of file needs to be filtered out.
[0064] For another example, when the target object operates a file, it can collect it, classify it, and other operations. This operation can indicate the target object's annotation of the file, thereby obtaining annotation information; classified files that the target object does not pay attention to can be removed. The target object can also mark whether it is interested in the file, and needs to focus on the files that the target object is interested in, and remove the files that the target object is not interested in; no matter what kind of operation behavior characteristics, it can reflect the preferences or needs of the target object.
[0065] (2) Contextual information of the target object’s environment.
[0066] For example, the context of the target object's environment may be the target object's current location information, the special meaning of the current time, such as the special meaning of January 1st being New Year's Day, or a certain anniversary of the target object.
[0067] For another example, for a text file, its focus can be determined based on at least one round of dialogue with the target object. For example, when the target object is sorting out technical knowledge point A, the explanation of technical knowledge point A, the application examples of the knowledge point, the principle explanation of the knowledge point, etc. can be used as context information.
[0068] (3) Documentation requirements for target object description.
[0069] In some embodiments, the target object can directly input the specific requirements he needs in the big model, and the big model will understand the requirements and find files that meet the requirements. For example, filter out New Year photos in the album, filter out teaching instructions on photography techniques in the knowledge base, filter out events in a certain period of time from many events, etc.
[0070] In the disclosed embodiment, the target object's potential interests and needs can be understood through the target object's annotation information on the file, thereby providing a more personalized reference for file decision making. By considering the context of the target object's environment, a decision service that fits the current situation can be provided according to the current actual situation. Through the file requirements described by the target object, its specific file needs can be better met, thereby improving the target object's satisfaction.
[0071] During implementation, the operation of fine screening from the first file set can be formulated according to the needs of its own application, and the embodiments of the present disclosure do not limit this. In order to facilitate understanding and accurately screen out fine-screened files, the embodiments of the present disclosure provide a solution for screening out fine-screened files based on data filtering and / or data sorting. During implementation, data filtering adopts a metadata filtering strategy to filter out files whose metadata does not meet the requirements. For data sorting, the scoring results of the files can be used for sorting. Specifically, a filtering strategy based on the scoring results can be adopted to filter out files whose scoring results do not meet the expected results.
[0072] In the process of fine screening, the first set of files (i.e., the rough screening files) may be first filtered and then sorted to obtain the fine screening files, or the data may be sorted first and then filtered to obtain the fine screening files. The data filtering and sorting operations may even be performed on the first set of files at the same time, and then the unqualified files may be filtered out according to the results of the two operations. In any case, the fine screening files can be obtained from the remaining files.
[0073] The disclosed embodiment can measure the quality of files from multiple dimensions through meta-information filtering and data scoring results, so as to accurately screen out fine-screened files.
[0074] After obtaining the fine-screened file, a file associated with the fine-screened file is obtained through a data screening operation to construct a set of files to be described. Then, based on the data generation method of the large model, the description information of the set of files to be described is obtained. In addition, with respect to the large model, in order to adapt it to the application scenario of the embodiment of the present disclosure, the large model is fine-tuned, and the implementation of the large model fine-tuning will be briefly introduced later.
[0075] The data filtering, data sorting, data screening, data generation and large model fine-tuning mentioned above are described in detail below.
[0076] 1. Data filtering
[0077] When processing a large number of files, preliminary screening based on the file screening method and screening parameters given by the large model can avoid wasting resources on unnecessary files, making the entire workflow smoother and more efficient. The purpose of coarse screening is to recall as many relevant files as possible to improve the recall rate, but the quality and specific content of the files are not too important. In order to further filter out the required files, the files can be further filtered at the granularity of meta-information, which can be implemented as follows:
[0078] Step A1, obtaining meta information of files in a first file set.
[0079] In implementation, if some files are first filtered out based on the scoring results, then only the metadata of the remaining files is obtained for data filtering. If the data filtering operation is performed first and then the scoring is performed, the metadata of all the files in the first file set needs to be obtained.
[0080] Step A2: based on the meta-information filtering strategy, filter out files whose meta-information does not meet the requirements from the first file set.
[0081] For example, when the first set of files is a knowledge file, the meta information may include the author, publication year, journal name, number of citations, keywords, technical field, etc. For example, if you are only interested in articles published in the past five years, you can define the meta information as the publication time, and based on the meta information filtering strategy, you can filter out articles published five years ago. For another example, if you are only interested in articles by a specific author and journal, you can define the meta information as the specified author and the specified journal, thereby filtering out articles by non-specified authors and journals.
[0082] For another example, there are 100 articles in the first file collection, but some of them were published in earlier years or in less popular journals. By setting a meta-information filtering strategy, it is required that the articles be published after 2019 and come from a specified set of top journals. Then, according to these meta-information filtering strategies, the articles that do not meet the requirements are automatically filtered out, and only about 70 articles may be left, thereby filtering out some of the files that do not meet the requirements and improving the efficiency of subsequent processing.
[0083] In the disclosed embodiment, by first obtaining the meta information of the file and applying the filtering strategy, irrelevant or non-compliant files can be accurately and quickly excluded at the granularity of the meta information, reducing the resource consumption of subsequent analysis and processing. The meta information provides the key attributes of the file, and the filtering strategy set based on these attributes can ensure that the remaining files meet the requirements more accurately, thereby improving the accuracy of the results. Through the meta filtering strategy, it can ensure that the focus is on the most valuable files, avoiding the consumption of computing resources on irrelevant or low-value files.
[0084] In some embodiments, the meta-information used in the meta-information filtering strategy may be determined based on the analysis of the decision reference information by the big model.
[0085] In addition, the context information of the environment in which the target object is located can also be introduced as the benchmark information. Then a reasonable meta-information filtering strategy is generated based on this. It can be implemented as follows: determining the benchmark information and the preset type of target information associated with the benchmark information; based on the preset type of target information, generating the required core meta-information to obtain the meta-information filtering strategy; wherein the meta-information filtering strategy is used to retain the files containing the core meta-information.
[0086] During implementation, the context information may be determined according to the actual application scenario.
[0087] For example, in some scenarios, when helping the target object to organize information based on a large model, the core points of the target object's attention can be determined based on the conversation history of multiple rounds of conversations, word frequency analysis or intent recognition as benchmark information. For example, if you are concerned about technology A, then use the terminology of technology A as the benchmark information, determine the people, journals, etc. related to technology A, and determine them as the target information of the preset type. During implementation, you can determine the nodes associated with the benchmark information based on the combed knowledge graph, and then use the associated nodes as the target information of the preset type. In this application scenario, using the target information as a constraint to generate core meta-information can be understood as taking the benchmark information and target information as key information that needs to be protected in the file, and generating a filtering strategy to filter out unnecessary files as much as possible.
[0088] For example, in other scenarios, if you need to organize pictures, you can use the current date, shooting date, and geographic location as reference information. If it is a historical event, you can use the anniversary as reference information to organize appropriate images of the event. This will be useful when reporters organize pictures based on text.
[0089] In addition, in other scenarios, if it is necessary to organize the photos into an album, the current location and time of the target object can be used as the reference information. When the reference information is a commemorative holiday or anniversary, it can help the target object filter out old photos taken at the same location and / or in the same time period, and organize the photo album around a certain theme. Of course, whether to organize the photo album using the method provided in the embodiment of the present disclosure can be set by the target object according to demand. If the target object agrees to access the corresponding photo album and turns on the function, and if the relevant laws and regulations are met, a memory album can be organized for the target object at a suitable location and / or on a suitable date.
[0090] In the disclosed embodiment, by determining the benchmark information and the events of the preset type, a meta information filtering strategy can be reasonably determined according to the current situation, so as to quickly identify and filter out key information, reduce the interference of irrelevant information, and thus improve the quality and efficiency of data filtering. By generating the required core meta information and obtaining a meta information filtering strategy for retaining files containing the core meta information, the accuracy and integrity of the data set can be ensured, thereby improving the quality of overall data screening.
[0091] 2. Data sorting
[0092] As described above, in the embodiments of the present disclosure, fine screening is supported by scoring. Specifically, the files can be scored based on a scoring model. In order to improve the quality of fine screening, the files in the first file set can be scored based on multiple scoring models to obtain the final scores of the multiple files, and based on the final scores of the files, the files whose scoring results do not meet the expected results are filtered out.
[0093] In the case where some files are first filtered out based on the data filtering strategy, in the embodiment of the present disclosure, multiple scoring models are sampled for scoring each file in the filtered first file set, and then based on the scoring results, fine-screened files (i.e., core files that meet the current situation) are screened out.
[0094] Among them, the multiple scoring models include at least a scoring model based on the first key information that matches the target object. The first key information is used to characterize the target needs of the target object, and the target needs can be used to describe the preferences and concerns of the target object.
[0095] In the disclosed embodiments, by adopting a variety of scoring models, files can be evaluated from different angles and dimensions, which can improve the accuracy and comprehensiveness of the scoring, thereby more comprehensively reflecting the quality and value of the files. Screening based on the final score can more accurately find files that match the key information of the target object, thereby improving the efficiency and accuracy of fine screening.
[0096] Specifically, in order to screen out high-quality files that meet current needs, the files in the first file set are scored based on multiple scoring models as follows: Figure 2 As shown:
[0097] S201, scoring files in a first file set based on a first scoring model for file quality to obtain first scores for a plurality of files in the first file set.
[0098] The file quality refers to a certain feature or attribute of the file, or a combination of multiple features or attributes. For example, for images, the file quality can be the integrity of the image, the clarity of the image, etc. For text files, the file quality can be determined based on key elements, such as the coverage of keywords in the keyword set, the coverage of multiple preset meta-information, the authority of the file, the release time, etc.
[0099] S202: Filter out a second file set based on the first score.
[0100] During implementation, the files in the first file set are sorted based on the first score, and the top-ranked files are intercepted as the second file set, thereby reducing the size of the file volume and improving the processing efficiency of subsequent operations.
[0101] S203, using the large model to score the second file set based on the first key information that matches the target object, to obtain a second score for each file in the second file set; wherein, the higher the degree of fit with the first key information, the higher the second score of the file.
[0102] In one possible implementation, the first key information of the target object can be obtained based on the target object's preference information and the context information of the target object's environment. For example, the target object is more concerned about a certain type of file. Therefore, when scoring the second file set, the files that are closer to this type of file have higher scores.
[0103] S204, scoring the second file set based on the second scoring model trained with the second key information of the target object to obtain a third score of each file in the second file set.
[0104] The second key information is used to characterize the operation characteristics of the target object. For example, the second scoring model is trained by the interaction history behavior characteristics of the target object. The interaction history can be the interaction behavior of the set of files to be described generated by the method provided by the embodiment of the present disclosure, such as browsing, browsing time, likes, favorites, downloads, etc. Alternatively, the operation history behavior characteristics of the target object on other existing file resources.
[0105] S205 , performing weighted summation on the first score, the second score, and the third score of each file in the second file set to obtain a final score of each file in the second file set.
[0106] The first score, the second score and the third score of each file in the second file set are respectively assigned corresponding weights, and the weighted sum is performed to obtain the final score. As time goes by, each model can be optimized based on the target object, so that the weight ratio corresponding to each score can be continuously adjusted by analyzing the performance of the model and the interactive behavior feedback of the target object, so as to improve the efficiency of screening.
[0107] In the implementation of the present disclosure, by combining multiple scoring models, the quality of the file can be more accurately evaluated, and the matching degree with the target object's needs can be evaluated. Through the automated scoring and screening process, the most suitable file can be found more quickly when processing a large number of files, improving efficiency. By comprehensively considering the scores of multiple dimensions, the value or suitability of each file can be more accurately evaluated, thereby making a more optimized decision.
[0108] During implementation, no matter what filtering strategy is adopted, the remaining files can be respectively determined as fine-screened files. For example, when data filtering is performed first and then data sorting is performed, multiple intermediate files are screened out from the second file set based on the final scores of each file in the second file set, and the multiple intermediate files are respectively determined as fine-screened files. That is, in the case where multiple files are left in the end, each file can be used as a fine-screened file alone, and a set of files to be described with the fine-screened file as the core is formed, and the final description information is generated. In this way, multiple sets of files to be described can be generated for the target object to view, thereby improving the experience of the target object.
[0109] In addition, in some other embodiments, the associated files screened out based on the fine-screened files may be aggregated and then reclassified by the large model to obtain a set of files to be described corresponding to at least one category.
[0110] 3. Data screening
[0111] Based on the previous description, we know that the fine-screened file is the key file that meets the current needs. Then we can further filter the data here to obtain the associated files of the fine-screened file, and use them to build a set of files to be described. In order to filter out the associated files of the fine-screened file from the mixed file set and obtain the set of files to be described with the fine-screened file as the core, the following operations are performed for each candidate file in the mixed file set. The specific implementation steps are as follows: Figure 3 As shown:
[0112] S301, obtaining meta information of candidate files and meta information of refined files.
[0113] S302: Determine the correlation between the meta information of the candidate file and the meta information of the refined file.
[0114] S303: When the relevance is greater than a preset threshold, the candidate files are classified into a set of files to be described.
[0115] S304: When the relevance is less than or equal to a preset threshold, the candidate files are filtered out.
[0116] During implementation, for each candidate file, its meta information needs to be extracted. The meta information can be determined according to actual needs, and the embodiments of the present disclosure do not limit this. For example, meta information is information about a file, describing the basic characteristics, status, attributes, etc. of the file. Specifically, it may include the file name, creation date, modification date, file size, file type, location, and even summary, keywords, etc. The keyword may be a keyword extracted from the file. For example, a graph recognition model can identify keywords from a graph, and keywords can be extracted from a text file. At the same time, it is also necessary to obtain the same type of meta information as the fine-screened file. Among them, the meta information of the fine-screened file represents the characteristics of files of a specific type or subject that are required.
[0117] By using some file comparison or text matching algorithms to compare the similarity between the meta information of the two, the correlation between the candidate file and the refined file can be calculated.
[0118] When the correlation between the candidate file and the fine-screened file exceeds the preset threshold, the candidate file can be considered to belong to the specific type or theme that is to be found, and it can be classified into the set of files to be described. Correspondingly, when the correlation between the candidate file and the fine-screened file is lower than or equal to the preset threshold, the candidate file may not belong to the set of files to be described with the fine-screened file as the core, that is, the correlation is not high, and it can be filtered out without further processing.
[0119] In the disclosed embodiment, by comparing the relevance of the candidate files with the meta information of the finely screened files, files related to a specific topic or content represented by the finely screened files can be efficiently screened out from a large number of files. The associated files can be easily and quickly screened out by presetting a threshold.
[0120] 4. Data Generation
[0121] For each fine-screened file, the description information of the set of files to be described with it as the core is generated based on the large model. The specific implementation steps are as follows: Figure 4 As shown:
[0122] S401, using a large model to analyze the association relationship between files in the to-be-described file set, and outputting a final file set having the association relationship in the to-be-described file set.
[0123] During implementation, feature analysis, feature conversion and feature generation are performed on each file in the description file set to obtain more feature information. Afterwards, a large model is used to analyze the feature association relationship between each file. The association relationship is, for example, the travel history of the same scenic spot, the development summary of the same event, the introduction and application of the same knowledge point, etc.
[0124] Feature analysis can be understood as extracting features from file content, such as extracting image features from image / video files. Extracting text features from text files can extract key information for analysis by the big model.
[0125] Feature conversion can be understood as converting features that cannot be directly processed by the large language model into information forms that can be processed by the large language model. For example, location information, the original data format may be longitude and latitude, which can be converted into a text description of a point of interest or city. For example, time information, the year is removed from the expression and converted into a text expression. For another example, the extracted text features and image features can be further converted into features that can be understood by the large language model through the expression conversion neural network.
[0126] Feature generation refers to deriving more related features based on known features through a large model. In specific implementation, related features can be derived based on feature types (such as time, place, and event), and related features of the corresponding type can be obtained based on pre-built feature maps to obtain derived related features. For example, based on time information, features associated with the time information can be derived. For example, for Chinese Valentine's Day, the vocabulary of Valentine's Day can be added.
[0127] The large model understands and mines files with certain associations based on the input features. When implemented, the number of files in the final file set can be limited to display the exciting and core content.
[0128] S402, taking the association relationship as the core theme, a large model is used to generate description information of the final file set.
[0129] The association relationship can be a single-dimensional association or a multi-dimensional association. Take the selection of photos in the album as an example. In the case of single-dimensional association based on time, if the generated photo set is New Year photos of each year, the generated description is such as "Last year's New Year was full of New Year atmosphere at home, and this year's New Year is still wonderful in a strange city." In the case of multi-dimensional association based on time and location, if the generated photo set is a certain city today, the generated description is such as "This morning, I tasted delicious breakfast in a hutong in a certain city. In the afternoon, the sunshine in the courtyard was still warm. When night falls, the commercial street is lit up by colorful neon lights and becomes vibrant."
[0130] In the disclosed embodiment, a large model is used to analyze the association relationships between files in the set of files to be described, and the association relationships are used as the core theme. The large model is used to generate description information of the set of files to be described. This can generate a text with clear theme and fluent language around a core theme combined with the user's preferred language style.
[0131] During implementation, for each refined file, a set of files to be described with the refined file as the core is generated separately, thereby obtaining a set of files to be described corresponding to each refined file. Then, the description information of each set of files to be described is generated based on the large model. For example, if image 1 and image 2 are a set of image sets M screened based on the time characteristics of refined file A, then there is a time correlation relationship between the image sets; image 2 and image 3, image 4, and image 5 are a set of image sets N screened based on the geographical location characteristics of refined file A, then there is the same geographical location correlation relationship between the image sets. The large model generates different descriptions for the different correlations between each set of image sets.
[0132] It is understandable that for the same set of to-be-described files of the fine-screened files, different association relationships can be mined to obtain at least one final set of files, thereby generating different descriptions.
[0133] During implementation, it may be required to mine the key correlation relationships that are more consistent with the current situation for the set of files to be described of the same fine-screened file, and generate descriptive information accordingly.
[0134] In addition, in the case of multiple fine-screened files, each fine-screened file is used as a benchmark to screen out its associated associated files, and obtain the to-be-described file sets corresponding to each fine-screened file. That is, multiple to-be-described file sets are finally obtained. Then, these multiple to-be-described file sets are aggregated to obtain an overall to-be-classified file set. The overall to-be-classified file set is reclassified based on the mined association relationships through the large model to obtain the final file sets corresponding to each category. Then, for each final file set, a corresponding description is generated based on its association relationship. It is also possible to screen out the final file set with the association relationship that best matches the context information of the environment in which the target object is located from multiple final file sets to generate description information.
[0135] For example, M fine-screened files can be used to obtain M sets of files to be described. The large model can be used to re-mine the associations of these M sets of files to be described, and then classified based on the associations to obtain N categories. The associations of each category are matched with the context information of the target object's environment, and the category with the highest matching degree is obtained from the N categories as the final file set to generate a description with the association as the core theme.
[0136] Of course, you can also select p categories with the highest matching degree to generate descriptions for the target object to view.
[0137] 5. Fine-tuning of large models
[0138] In order to reasonably use the large model to complete the corresponding task, the output of the model can be optimized by fine-tuning before using the large model to complete the file analysis. Even after fine-tuning, in the process of using the large model to complete the file analysis task provided by the embodiment of the present disclosure, the large model can be further iterated and optimized based on the real-time feedback of the target object.
[0139] In the initial stage, in order to adapt the large language model to the current task requirements and improve its performance in the current scenario, such as Figure 5 As shown, the positive and negative feedback data of the target object can be introduced. In addition, in order to protect the privacy of the target object, it is necessary to perform data desensitization first and delete the data fields involving privacy. Then, the positive and negative feedback data and the corresponding file information are used to construct the annotated data set. Then, the model is fine-tuned based on the annotated data set. The training tasks when fine-tuning the model may include at least one of the following: Figure 5 Not shown):
[0140] 1) Determine appropriate file screening methods and screening parameters based on decision reference information;
[0141] 2) scoring each file based on the first key information of the target object and the information of each file in the second file set;
[0142] 3) Analyze the relationship between the files in the set of files to be described;
[0143] 4) The ability to generate descriptive information based on association relationships.
[0144] By minimizing the loss function of each task on the training set, the model parameters are optimized to make it perform better on the current task. Figure 5 As shown in the figure, the fine-tuned model is evaluated and tested to obtain the final model that can better adapt to the current task requirements.
[0145] For tasks that lack training sample sets, the large model can be optimized based on the target object's feedback on the output results during the use of the large model, so that the large model can be continuously iterated and updated to generate a more accurate description file set and its described information.
[0146] In summary, taking image analysis as an example, the specific implementation process of the file analysis method provided by the embodiment of the present disclosure is as follows: Figure 6 As shown, including:
[0147] 1) Selection of data source: In the embodiment of the present disclosure, the data source may include: image metadata, description information of the target object, and context information of the target object's current environment.
[0148] 2) In the basic recall method stage, as described in the relevant part of step S101, a plurality of file screening methods may be pre-set to construct a screening method set for the large model to reason and decide which file screening method is applicable. Figure 6 In the basic recall method stage, a screening method set is constructed by obtaining preset file screening methods such as recall rule 1, recall rule 2, and recall rule 3. Among them, recall rule 1 can be constructed based on the time information of the image, recall rule 2 can be constructed based on the geographical location information of the image, and recall rule 3 can be constructed based on the theme expressed by the image.
[0149] 3) Figure 6 In the data recall stage, the big model decides on the appropriate file screening method and the screening parameters required by the method based on the screening method set provided by the previous process and the decision reference information (such as information including the target object, such as the description information of the target object and the context information of the target object's current environment). The file screening method and screening parameters are used for rough screening to obtain the first file set.
[0150] Among them, in order to adapt to the application of large models, when some information in the decision reference information does not belong to text, it will be converted into natural language text for the large model to analyze and make decisions, and the specific screening method and screening parameters used for the current image recall will be given.
[0151] 4) Data filtering stage As described above, the recalled image data can be filtered based on the meta-information filtering strategy. That is, the first file set is filtered based on the meta-information filtering strategy. In this stage, the pre-defined meta-information of each dimension is used as the judgment standard. Figure 6 As shown in FIG, the first file set is traversed through filtering rule 1, filtering rule 2, and filtering rule 3 to filter out meta-information files that do not meet the requirements.
[0152] 5) In the data sorting stage, the images can be scored based on the first scoring model to obtain the first score (i.e., the rough ranking score), and the images can be sorted based on the rough ranking score to select the second file set. Then, the second file set is scored using the second scoring model to obtain the fine ranking score (i.e., the third score), and the large model is used to score to obtain the rough ranking result of the large model score (i.e., the second score). Then, the final score is obtained based on the rough ranking score, the fine ranking score, and the large model score, and the second file set is sorted based on the final score to select the finely screened file.
[0153] 6) In the data screening stage, for each image used as a fine screening file, the image metadata of the fine screening file is used as a benchmark, and the associated data recall rules are used to recall the images associated with the fine screening file to complete the associated data selection. That is, to achieve the above-mentioned Figure 3 content.
[0154] 7) Finally, the large model is used to perform feature analysis, feature conversion and feature generation on a group of images with the fine-screened files as the core to obtain more feature information. The large language model is required to analyze the group of images accordingly, find the associations among them, and provide a small number of images with the associations to obtain the final image set. Finally, the large model generates text describing the group of images based on the core theme expressed by the associations and can further combine the preferences of the target object.
[0155] In some embodiments, the solution provided by the embodiments of the present disclosure can be applied to a recommendation system. Figure 7 As shown, after starting the application, the recommendation system of the application can be triggered. The recommendation system can generate personalized materials. That is, based on the file analysis method provided by the embodiment of the present disclosure, according to the file metadata of the target object and the information of the target object, a personalized material (i.e., a group of files and descriptions with associated relationships) is generated, and fed back to the target object through the recommendation system. Taking the album system as an example, the final result fed back to the target object is as follows: Figure 8As shown, the method provided by the embodiment of the present disclosure finally selects several pictures from the album, and uses the large model to generate relevant titles, such as "New Year's Notes", and the corresponding description is "On October 14, 2022, I shuttled through the autumn of **. The rush at the airport in the morning, the fast food time at noon, met a handsome man, and in the afternoon I appreciated the beautiful afterglow of the sky, and there was a lazy cat. Life is a complete picture composed of these fragments!".
[0156] Based on the same technical concept, the present disclosure also provides a file analysis device 900, such as Fig. 9 As shown, including:
[0157] A decision module 901 is used to analyze decision reference information using a large model to determine a file screening method and screening parameters required for the file screening method;
[0158] A rough screening module 902, configured to perform a rough screening on the mixed file set based on the file screening method and the screening parameter to obtain a first file set;
[0159] A fine screening module 903, used to screen out fine screening files from the first file set;
[0160] A determination module 904 is used to filter out the associated files of the refined file from the mixed file set to obtain a set of files to be described with the refined file as the core;
[0161] The generating module 905 is used to generate description information of the set of files to be described based on the large model.
[0162] In some embodiments, the fine screening module is specifically used for:
[0163] Execute at least one of the following data filtering strategies to filter the first set of files to obtain the fine-screened file from the remaining files:
[0164] Meta information filtering strategy, used to filter out files whose meta information does not meet the requirements;
[0165] The filtering strategy based on the scoring results is used to filter out files whose scoring results do not meet the expected results.
[0166] In some embodiments, the fine screening module is specifically used for:
[0167] Obtaining meta information of files in the first file set;
[0168] Based on the meta information filtering strategy, files whose meta information does not meet the requirements are filtered out from the first file set.
[0169] In some embodiments, the fine screening module comprises:
[0170] A scoring unit, configured to score the files in the first file set based on multiple scoring models to obtain final scores of the multiple files;
[0171] Filtering is used to filter out files whose scoring results do not meet the expected results based on the final scores of each file.
[0172] In some embodiments, the scoring unit is specifically used to:
[0173] Scoring the files in the first file set based on a first scoring model for file quality to obtain first scores for the plurality of files in the first file set;
[0174] Based on the first score, filter out a second file set;
[0175] The large model is used to score the second document set based on the first key information that matches the target object, so as to obtain a second score for each document in the second document set; wherein the higher the degree of match with the first key information, the higher the second score of the document; and,
[0176] Scoring the second file set based on a second scoring model trained with second key information of the target object to obtain a third score for each file in the second file set;
[0177] Performing weighted summation on the first score, the second score, and the third score of each file in the second file set to obtain a final score of each file in the second file set;
[0178] The first key information is used to characterize the target requirements of the target object; and the second key information is used to characterize the operational characteristics of the target object.
[0179] In some embodiments, the fine screening module is specifically used to determine the remaining files as the fine screening files respectively.
[0180] In some embodiments, the determination module is specifically configured to execute, for each candidate file in the mixed file set, respectively:
[0181] Obtaining meta information of the candidate file and meta information of the refined file;
[0182] Determine the correlation between the meta information of the candidate file and the meta information of the refined file;
[0183] When the correlation degree is greater than a preset threshold, the candidate file is classified into the set of files to be described;
[0184] When the correlation degree is less than or equal to the preset threshold, the candidate file is filtered out.
[0185] In some embodiments, the decision reference information includes at least one of the following:
[0186] The target object's annotation information on the file, where the annotation information is used to indicate whether to pay attention to the corresponding file;
[0187] Contextual information of the environment in which the target object is located;
[0188] The target object describes the document requirements.
[0189] In some embodiments, a strategy generation module is further included, which is used to:
[0190] Determining baseline information and target information of a preset type associated with the baseline information;
[0191] Based on the target information of the preset type, the required core meta information is generated to obtain the meta information filtering strategy, wherein the meta information filtering strategy is used to retain the files containing the core meta information.
[0192] In some embodiments, the generating module is specifically used to:
[0193] The large model is used to analyze the association relationship between the files in the to-be-described file set, and a final file set having the association relationship in the to-be-described file set is output;
[0194] Taking the association relationship as the core theme, the large model is used to generate the description information of the final file set.
[0195] For the description of specific functions and examples of each module and submodule of the device in the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.
[0196] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0197] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0198] Fig.10A schematic block diagram of an example electronic device 1000 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0199] like Fig.10 As shown, the device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0200] A number of components in the device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0201] The computing unit 1001 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1001 performs the various methods and processes described above, such as the file analysis method. For example, in some embodiments, the file analysis method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the file analysis method described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to perform the file analysis method in any other appropriate manner (e.g., by means of firmware).
[0202] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0203] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0204] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0205] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0206] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0207] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0208] Based on the aforementioned electronic device, the present disclosure also provides a vehicle, which may include electronic devices, and may also include communication components, a display screen for realizing a human-machine interface, and an information collection device for collecting surrounding environment information, etc. The communication components, the display screen, the information collection device and the electronic device are communicatively connected.
[0209] According to the embodiments of the present disclosure, the electronic device may be integrated with the communication component, the display screen and the information collection device, or may be separately provided with the communication component, the display screen and the information collection device.
[0210] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0211] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A file analysis method, comprising: Using a large model to analyze decision reference information, determine a document screening method and screening parameters required for the document screening method; Based on the file screening method and the screening parameters, the mixed file set is roughly screened to obtain a first file set; Filtering out refined screening files from the first file set; Filter out the associated files of the refined file from the mixed file set to obtain a set of files to be described with the refined file as the core; Generate description information of the set of files to be described based on the large model.
2. The method according to claim 1, wherein: The step of screening out the refined files from the first file set includes: Execute at least one of the following data filtering strategies to filter the first file set to obtain the refined file from the remaining files: Meta information filtering strategy, used to filter out files whose meta information does not meet the requirements; The filtering strategy based on the scoring results is used to filter out files whose scoring results do not meet the expected results.
3. The method according to claim 2, wherein: Based on the meta information filtering strategy, data filtering is performed on the first file set, including: Obtaining meta information of files in the first file set; Based on the meta information filtering strategy, files whose meta information does not meet the requirements are filtered out from the first file set.
4. The method according to claim 2, wherein: The filtering strategy based on the scoring result performs data filtering on the first file set, including: Scoring the files in the first file set based on multiple scoring models to obtain final scores of the multiple files; Based on the final score of each file, the files whose scoring results do not meet the expected results are filtered out.
5. The method according to claim 4, wherein: Scoring the files in the first file set based on multiple scoring models to obtain final scores of the multiple files includes: Scoring the files in the first file set based on a first scoring model for file quality to obtain first scores for the plurality of files in the first file set; Based on the first score, screening out a second file set; The second set of files is scored using the large model based on the first key information that matches the target object, to obtain a second score for each file in the second set of files; wherein the higher the degree of fit with the first key information, the higher the second score of the file; and, Scoring the second file set based on a second scoring model trained with second key information of the target object to obtain a third score for each file in the second file set; Performing a weighted summation of the first score, the second score, and the third score of each file in the second file set to obtain a final score of each file in the second file set; The first key information is used to characterize the target requirements of the target object; and the second key information is used to characterize the operational characteristics of the target object.
6. The method according to any one of claims 2 to 5, wherein: The step of obtaining the fine screening file from the remaining files includes: The remaining files are respectively determined as the fine screening files.
7. The method according to claim 1, wherein: The step of selecting the associated files of the refined file from the mixed file set to obtain a set of files to be described with the refined file as the core includes: For each candidate file in the mixed file set, execute respectively: Obtaining meta information of the candidate file and meta information of the refined file; Determining the degree of association between the meta information of the candidate file and the meta information of the refined file; When the relevance is greater than a preset threshold, classifying the candidate file into the set of files to be described; When the correlation degree is less than or equal to the preset threshold, the candidate file is filtered out.
8. The method according to any one of claims 1 to 7, wherein: The decision reference information includes at least one of the following: The target object's annotation information on the file, the annotation information is used to indicate whether to pay attention to the corresponding file; Context information of the environment in which the target object is located; The target object describes the document requirements.
9. The method according to claim 2, further comprising: Determining reference information and target information of a preset type associated with the reference information; Based on the preset type of target information, required core meta information is generated to obtain the meta information filtering strategy, wherein the meta information filtering strategy is used to retain files containing the core meta information.
10. The method according to any one of claims 1 to 9, wherein: The generating the description information of the set of files to be described based on the large model includes: The large model is used to analyze the association relationship between the files in the to-be-described file set, and a final file set having the association relationship in the to-be-described file set is output; Taking the association relationship as the core theme, the large model is used to generate the description information of the final file set.
11. A file analysis device, comprising: A decision module, used to analyze decision reference information using a large model, and decide on a file screening method and screening parameters required for the file screening method; A rough screening module, used for performing rough screening on the mixed file set based on the file screening method and the screening parameters to obtain a first file set; A fine screening module, used for screening fine screening files from the first file set; A determination module, used for screening out the associated files of the refined file from the mixed file set, and obtaining a set of files to be described with the refined file as the core; A generation module is used to generate description information of the set of files to be described based on the large model.
12. The device according to claim 11, wherein the fine screening module is specifically used for: Execute at least one of the following data filtering strategies to filter the first file set to obtain the refined file from the remaining files: Meta information filtering strategy, used to filter out files whose meta information does not meet the requirements; The filtering strategy based on the scoring results is used to filter out files whose scoring results do not meet the expected results.
13. The device according to claim 12, wherein: The fine screening module is specifically used for: Obtaining meta information of files in the first file set; Based on the meta information filtering strategy, files whose meta information does not meet the requirements are filtered out from the first file set.
14. The device according to claim 12, wherein: The fine screening module comprises: A scoring unit, configured to score the files in the first file set based on multiple scoring models to obtain final scores of the multiple files; Filtering is used to filter out files whose scoring results do not meet the expected results based on the final scores of each file.
15. The device according to claim 14, wherein: The scoring unit is specifically used for: Scoring the files in the first file set based on a first scoring model for file quality to obtain first scores for the plurality of files in the first file set; Based on the first score, screening out a second file set; The second set of files is scored using the large model based on the first key information that matches the target object, to obtain a second score for each file in the second set of files; wherein the higher the degree of fit with the first key information, the higher the second score of the file; and, Scoring the second file set based on a second scoring model trained with second key information of the target object to obtain a third score for each file in the second file set; Performing a weighted summation of the first score, the second score, and the third score of each file in the second file set to obtain a final score of each file in the second file set; The first key information is used to characterize the target requirements of the target object; and the second key information is used to characterize the operational characteristics of the target object.
16. The device according to any one of claims 12 to 15, wherein: The fine screening module is specifically used to determine the remaining files as the fine screening files respectively.
17. The device according to claim 11, wherein: The determination module is specifically configured to execute, for each candidate file in the mixed file set, respectively: Obtaining meta information of the candidate file and meta information of the refined file; Determining the degree of association between the meta information of the candidate file and the meta information of the refined file; When the relevance is greater than a preset threshold, classifying the candidate file into the set of files to be described; When the correlation degree is less than or equal to the preset threshold, the candidate file is filtered out.
18. The device according to any one of claims 11 to 17, wherein: The decision reference information includes at least one of the following: The target object's annotation information on the file, the annotation information is used to indicate whether to pay attention to the corresponding file; Context information of the environment in which the target object is located; The target object describes the document requirements.
19. The apparatus according to claim 12, further comprising a strategy generation module, configured to: Determining reference information and target information of a preset type associated with the reference information; Based on the preset type of target information, the required core meta information is generated to obtain the meta information filtering strategy, wherein: The meta information filtering strategy is used to retain files containing the core meta information.
20. The device according to any one of claims 11 to 19, wherein: The generation module is specifically used for: The large model is used to analyze the association relationship between the files in the to-be-described file set, and a final file set having the association relationship in the to-be-described file set is output; Taking the association relationship as the core theme, the large model is used to generate the description information of the final file set.
21. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 10.
22. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-10.
23. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Multi-document abstract generation method and device, and terminal
CN108959312A
Title generation method and device, electronic equipment and storage medium
CN111859930A
Article generation method and device, electronic equipment and storage medium
CN114417808A
Object screening method, device and equipment
CN115221391A
Information query method and device based on fixed-section grading, electronic equipment and medium
CN116450916A
Cited By
Classification model training method and device and computer equipment
CN120526197A
