A method, device and equipment for constructing fine-tuning corpus for assisting in reviewing large models

By breaking down the tender document into sub-evaluation points and locating the response material page in the tender document, constructing positive and negative samples, and generating fine-tuning corpus for the auxiliary evaluation model, the problem of poor interpretability and insufficient credibility of scoring in the existing technology is solved, and the scoring is automated and credibility is improved.

CN123159355APending Publication Date: 2026-11-24中国电气装备集团科学技术研究院有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611638091.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-22
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing auxiliary review models rely on manual annotation for training corpora, which is costly and inefficient. Negative samples often use irrelevant documents or incorrect answers. Large-scale end-to-end scoring is prone to producing illusions and fictitious page numbers, resulting in poor interpretability and insufficient credibility of the scores.

Method used

The evaluation items in the tender documents are broken down into multiple sub-evaluation points. The corresponding response material pages for each sub-evaluation point are located in the tender documents. The scoring results are determined based on the response material pages. Positive and negative samples are constructed to generate instruction fine-tuning corpus for the auxiliary evaluation model. By comparing positive and negative samples, the model learns the discrimination logic that points are awarded and page numbers are cited when there are response materials, and zero points are awarded and no page numbers are cited when there are no response materials.

Benefits of technology

It improves the interpretability and credibility of ratings, suppresses page number fabrication and illusion, and enables the automation and scalability of ratings, meeting the needs for interpretable, traceable, and credible ratings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159355A_ABST
    Figure CN123159355A_ABST
Patent Text Reader

Abstract

This specification provides a method, apparatus, and device for constructing a fine-tuning corpus for an auxiliary review model, relating to the field of artificial intelligence technology. The method includes: splitting review items in a tender document into multiple sub-review points; locating the response material page corresponding to each sub-review point in the tender document; determining the scoring result for each sub-review point based on the response material page; the scoring result includes a score, a reason for the score, and a referenced page number; the referenced page number includes the response material page number; constructing positive samples based on the review criteria for each sub-review point, the corresponding response material page, and the scoring result; and constructing negative samples based on other pages in the tender document that are distinct from the response material pages; the expected output of the positive samples includes the scoring result, and the expected output of the negative samples includes a score of zero, a reason for the zero score, and an empty page number; and generating a fine-tuning corpus for the auxiliary review model based on the positive and negative samples.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments in this specification relate to the field of artificial intelligence technology, specifically to a method, apparatus, and device for constructing a fine-tuning corpus to assist in the review of a large model. Background Technology

[0002] Existing auxiliary review models rely on manual annotation for training corpora, which is costly and inefficient. Negative samples often use irrelevant documents or incorrect answers. Large-scale end-to-end scoring is prone to producing illusions and fictitious page numbers, resulting in poor interpretability and insufficient credibility of the scores. Summary of the Invention

[0003] The purpose of the embodiments in this specification is to provide a method, apparatus, and device for constructing a fine-tuning corpus to assist in the review of large models, so as to overcome the problems of poor interpretability and insufficient credibility of the scoring in existing methods.

[0004] To solve the above-mentioned technical problems, the specific technical solutions of the embodiments in this specification are as follows: On the one hand, the embodiments of this specification provide a method for constructing a fine-tuning corpus to assist in the review of a large model, including: The evaluation items in the tender documents are broken down into multiple sub-evaluation points; Locate the corresponding response material page for each sub-review point in the tender document; Based on the response materials page, the scoring results for each sub-review point are determined; the scoring results include the score, the reason for the scoring, and the referenced page number; the referenced page number includes the page number of the response materials page; Positive samples are constructed based on the evaluation criteria for each sub-evaluation point, the corresponding response material pages, and the scoring results for each sub-evaluation point. Negative samples are constructed based on other pages in the tender document that are distinct from the response material pages. The expected output of the positive samples includes the scoring results, and the expected output of the negative samples includes a score of zero, the reason for the zero score, and a blank page number. Based on the positive and negative samples, a fine-tuning corpus of instructions for assisting the large-scale review model is generated.

[0005] Furthermore, embodiments of this specification provide a device for constructing a fine-tuning corpus to assist in reviewing large models, comprising: The splitting module is used to break down the evaluation items in the tender documents into multiple sub-evaluation points; The positioning module is used to locate the response material page corresponding to each sub-review point in the tender document; The determination module is used to determine the scoring results of each sub-review point based on the response material page; the scoring results include the score, the scoring reason, and the referenced page number; the referenced page number includes the page number of the response material page; The construction module is used to construct positive samples based on the review criteria of each sub-review point and the corresponding response material page and scoring results of each sub-review point, and to construct negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive sample includes the scoring results, and the expected output of the negative sample includes a score of zero, the reason for the zero score, and a blank page number; The generation module is used to generate instruction fine-tuning corpus to assist the review of the large model based on the positive samples and the negative samples.

[0006] Furthermore, embodiments of this specification provide a computer device, including: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes these computer instructions to implement the aforementioned method for constructing a fine-tuning corpus for the large-scale auxiliary review model.

[0007] Furthermore, embodiments of this specification provide a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the above-described method for constructing a fine-tuned corpus for an auxiliary review model.

[0008] Furthermore, embodiments of this specification provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the above-described method for constructing a fine-tuned corpus for assisting in the review of a large model.

[0009] As can be seen from the technical solutions provided in the embodiments of this specification above, the embodiments of this specification, through sub-review point splitting and response material page positioning, enable the scoring results to include scores, scoring reasons, and response material page numbers, thereby binding scores with material page numbers; constructing positive samples based on response material pages and constructing negative samples with zero scores and empty page numbers based on other distinguishable pages, and through comparison of positive and negative samples, the model learns to give scores and cite page numbers when there are response materials, and to give zero scores and not assign page numbers when there are no response materials, thereby generating instruction fine-tuning corpora with page number constraints, suppressing page number fabrication, and improving the interpretability and credibility of the scoring. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the accompanying drawings used in the description of the embodiments or prior art will be briefly introduced below.

[0011] Figure 1 This is a flowchart illustrating the construction of a fine-tuning corpus for an auxiliary review model in a scenario example provided in the embodiments of this specification; Figure 2 This is a flowchart of a method for constructing a fine-tuning corpus for assisting in the review of a large model, as provided in the embodiments of this specification; Figure 3This is a schematic diagram of the overall logical flow of a method for constructing a fine-tuning corpus to assist in reviewing a large model, provided in a specific scenario example of an embodiment of this specification. Figure 4 This is a flowchart illustrating the five-layer funnel material positioning strategy for constructing a fine-tuning corpus to assist in reviewing a large model, as provided in a specific scenario example of the embodiments of this specification. Figure 5 This is a flowchart illustrating the construction of positive and negative sample question-answer pairs in a specific scenario example of a method for constructing a fine-tuning corpus to assist in the review of a large model, as provided in the embodiments of this specification. Figure 6 This is a schematic diagram of the structural composition of a fine-tuning corpus construction device for assisting in the review of a large model, as provided in the embodiments of this specification. Figure 7 This is a schematic diagram of the structural composition of a computer device provided in the embodiments of this specification. Detailed Implementation

[0012] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments in this specification. Other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort should fall within the scope of protection of this specification.

[0013] It should be noted that the terms "first," "second," etc., used in this specification, claims, and the foregoing drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0014] This specification provides an embodiment of a system for constructing a fine-tuning corpus for an auxiliary review model. This system can be deployed on a server or enterprise-level computing node. It is used to parse bidding documents and tender documents, break down review criteria, locate response materials, automatically score and construct positive and negative samples, and output instructions with page number constraints to the large model fine-tuning module. This system includes computer equipment, multi-type document parsing components, a large language model interface, and necessary communication and storage modules.

[0015] The computer device, as the core processing unit of the fine-tuning corpus construction system for the large-scale auxiliary review model, is deployed with a corpus construction software stack. It is responsible for receiving the outputs of bidding documents, tender documents, and various parsing components; performing tasks such as splitting review items into sub-review points, locating response material pages, classifying and extracting structured data from pages, routing and scoring the scorer, constructing positive and negative samples, and outputting the corpus. It also maintains the correspondence between sub-review points, response material pages, scoring results, and corpus samples. The computer device may include one or more processors, memory, and interfaces for communicating with external devices. At the hardware level, the computer device connects to PDF parsers, DOCX parsers, OCR engines, table parsers, and the large language model interface via a bus or network. At the software level, the computer device runs a bidding document parsing module, a review standard splitting module, a tender material location module, a page classification and structured extraction module, a scorer routing module, and a corpus construction and output module. These modules work together to achieve asynchronous document parsing, multi-strategy location, automatic scoring, and positive and negative sample generation.

[0016] The multi-type document parsing component includes at least a PDF parser, a DOCX parser, an OCR engine, and a table parser. The PDF parser extracts text, page dimensions, and page numbers from editable PDFs page-by-page; it's fast, but cannot directly extract text from scanned PDFs. The OCR engine performs text recognition on scanned PDF page images, outputting the page text; it can handle image text, but the recognition results may contain noise and typos. The DOCX parser extracts text by paragraph and page, suitable for editable tender documents. The table parser identifies the table structure on the page and extracts cell content, providing structured data for scoring objective and quantitative items. Each parsing component's output carries information such as page numbers, paragraph or table positions, and material types, but the formatting is inconsistent, text quality varies, and page order may be disordered, resulting in an overall multi-source heterogeneous state.

[0017] The corpus construction software in the computer equipment can convert the evaluation item information in the tender document parsing results into structured data and input it into the evaluation criteria splitting module. This module, through rule-based routing or semantic understanding using a large language model, splits each evaluation item into multiple independently scoreable sub-evaluation points. Each sub-evaluation point includes fields such as scoring point name, scoring basis, full score, evaluation type, material type, and page number constraint. If the sum of the full scores of the sub-evaluation points exceeds the total score of the evaluation item, a mean square correction is performed.

[0018] For each sub-review point, the bid material location module sequentially performs five-layer funnel location operations within the page text set of the bid document: keyword matching, review index table parsing, semantic similarity retrieval, directory reasoning, and full document extraction. When the number of candidate pages at a certain layer reaches a set threshold and the quality parameters meet the requirements, that candidate page is used as the response material page; otherwise, it proceeds to the next layer. After merging and deduplicating the location results, the response material page, its page number, and confidence score are output.

[0019] The page classification and structured information extraction module classifies the response material pages, identifies their business types, and calls the corresponding parser to extract structured information. The scorer routing module routes the review criteria and structured information to the objective, subjective, or quantitative scorer based on the review type, material type, and completeness of the structured information for each sub-review point. The objective scorer employs a three-level progressive judgment system: compliance verification, rule matching, and a large language model as a fallback. The subjective scorer uses graded scoring and checklists. The quantitative scorer uses numerical ranges and calculation formulas. The scorer forcibly outputs the score, the scoring reason, and the cited page number, which is taken from the response material page number.

[0020] The corpus construction and output module constructs positive samples based on the sub-review point review criteria, response material pages, and scoring results. The instruction information for positive samples is the review criteria, the input information is the content of the response material page and page number anchors, and the expected output includes the score, the scoring reason, and the cited page number. Simultaneously, within the same tender document, pages are divided into response material pages and other pages. Negative samples are constructed from pages selected from the other pages. The instruction information for negative samples is consistent with that of positive samples, the input information is the content of the selected other pages, and the expected output is a score of zero, the reason for the zero score, and a blank page number. Positive and negative samples are organized according to a unified instruction fine-tuning format, merged, deduplicated, and validated before being written into the corpus file, generating the instruction fine-tuning corpus for the auxiliary review model.

[0021] Through the fine-tuning corpus construction system of the aforementioned auxiliary review model, tender documents and bid documents can be automatically parsed into sub-review points, response material pages, scoring results, and positive and negative samples with page number constraints. The model can learn the discrimination logic that scores are given and page numbers are cited when there are response materials, and zero scores are given and no page numbers are assigned when there are no response materials. Ultimately, this improves the automation, scalability, and authenticity of the fine-tuning corpus, suppresses page number fabrication and illusions in the scoring process, and meets the auxiliary review model's requirements for interpretable, traceable, and reliable scoring corpus.

[0022] Reference Figure 1As shown in the example scenario, Mr. Li, a technician from a bidding agency, uses this method to construct a fine-tuning corpus for an auxiliary review model. The input includes a municipal engineering bidding document and a bid document. The review item in the bidding document is "Similar Enterprise Performance (10 points)," and the review criteria are described as follows: "Bidders receive 2 points for each similar project performance provided in the past three years, up to a maximum of 6 points; each similar project with a contract amount exceeding 10 million yuan adds 1 point, up to a maximum of 4 points." The system first parses the bidding document to obtain the name, review content, and score of the review item, and then calls the review criteria decomposition module for semantic parsing. Since common review templates were not matched, the system invoked a large language model to understand the review item descriptions, identifying the scoring conditions, scoring basis, and score allocation relationships. It then split these into two sub-review points: Sub-review point one is "Number of similar project performances in the past three years," with a maximum score of 6 points. This is an objective review item, and the scoring basis is "2 points for each similar project performance provided, up to a maximum of 6 points." Sub-review point two is "Quantitative indicators of similar project performance," with a maximum score of 4 points. This is a quantitative review item, and the scoring basis is "1 point for each contract exceeding 10 million yuan, up to a maximum of 4 points." The sum of the maximum scores for the two sub-review points is 10 points, consistent with the total score for the review items, requiring no correction.

[0023] Subsequently, the system performs page-level parsing of the tender documents, obtaining a set of page texts. For sub-review point one, the system sequentially executes a five-layer funnel positioning process. The first layer, keyword search, extracts keywords such as "similar projects," "performance," and "last three years" from the sub-review point name and scoring criteria. It matches the performance overview table on page 12 of the tender document. While the number of candidate pages reaches the threshold of 3, the quality parameters are not fully met, so the system proceeds to the next layer. The second layer, review index table parsing, identifies the review index table on page 5 of the tender document, parsing out the page numbers corresponding to "similar enterprise performance" as pages 12 to 14, and offsets them according to the positive page numbers. The third layer, semantic similarity retrieval, calculates the similarity between the sub-review point description and the page text based on character-level n-grams, supplementing the match with the key contract page on page 13 and the contract amount page on page 14. The system merges and removes duplicate candidate pages from each layer, obtaining pages 12, 13, and 14 as the response material pages corresponding to both sub-review point one and sub-review point two.

[0024] The page classification and structured extraction module categorizes pages 12, 13, and 14, identifying page 12 as a performance overview table and pages 13 and 14 as performance contract pages. The system calls the table parser to extract three similar project performances from page 12, and extracts contract amounts of 12 million yuan, 8 million yuan, and 15 million yuan from pages 13 and 14, respectively. The scoring module routes the objective item type of sub-review point one to the objective item scorer. The objective item scorer prioritizes calling the compliance verification engine, comparing the three structured performance data with the scoring criteria, determining that three valid similar project performances are provided, outputting a score of 6 points, with the scoring reason being "providing three similar project performances," and referencing pages 12, 13, and 14. Sub-review point two is a quantitative item and is routed to the quantitative item scorer. The quantitative scoring tool determines that there are two projects with contract amounts exceeding 10 million yuan based on the contract amount data. Each project is awarded 1 point, with a maximum of 4 points. The output score is 2 points, with the reason given as "two similar projects with contract amounts exceeding 10 million yuan". The referenced pages are pages 13 and 14.

[0025] The corpus construction and output module constructs positive samples based on the above results. For sub-review point one, the instruction information for the positive sample is "Please determine the score of this sub-review point based on the following review criteria and the content of the tender document, and explain the reasons and cite the page numbers." The input information is the page content and page number anchors of pages 12, 13, and 14. The expected output is a score of 6 points, the scoring reason "provide 3 similar project performances," and cited page numbers 12, 13, and 14. For sub-review point two, the instruction information for the positive sample is the corresponding review criteria. The input information is the contract page content and page number anchors of pages 13 and 14. The expected output is a score of 2 points, the scoring reason "2 similar project performances with contract amounts exceeding 10 million yuan," and cited page numbers 13 and 14.

[0026] Simultaneously, the system constructs negative samples within the same tender document. The tender document is divided into response material pages (pages 12, 13, and 14) and other pages, including the tender letter (page 3), financial statements (page 20), and personnel certificates (page 35). The system selects pages 3, 20, and 35 from the other pages as negative sample inputs. The instructions for the negative samples are consistent with those for the positive samples, still based on the evaluation criteria for sub-evaluation point one; the input information consists of the page content and page number anchors for pages 3, 20, and 35; the expected output is a score of 0, a reason for the zero score ("no relevant materials found"), and a set of empty page numbers. For sub-evaluation point two, similarly, irrelevant pages are selected from the other pages to construct negative samples, with the expected output being a score of 0, a reason for the zero score, and empty page numbers.

[0027] All positive and negative samples are organized in Alpaca format. Each sample contains three fields: instruction, input, and output. The output is in JSON format and contains three keys: score, reason, and pages. The system merges, deduplicates, and validates the corpus to ensure that the pages field of positive samples matches the page number anchor in the input, while the pages field of negative samples is empty. The final result is a corpus file that can be used to assist in reviewing and fine-tuning the large model's instructions.

[0028] In this process, the tender document review items are automatically broken down into independently scoreable sub-review points. The response material pages in the tender documents are located using multiple strategies and bound to real page numbers. The scorer outputs scores, reasons, and cited page numbers, creating a strong contrast between positive and negative samples within the same tender document. Through the above scenario example, the model can learn the discrimination logic of awarding points and citing page numbers when response materials are available, and awarding zero points and not citing page numbers when no response materials are available. This effectively suppresses page number fabrication and scoring illusion, improving the automation, scalability, and authenticity of the fine-tuning corpus construction, and meeting the needs of large-scale auxiliary review models for interpretable, traceable, and reliable scoring corpora.

[0029] Figure 2 A flowchart illustrating a method for constructing a fine-tuned corpus for an auxiliary review large model, as shown in one embodiment of this specification, is illustrated. This method can be applied to a fine-tuning corpus construction system. While this specification provides method operation steps or apparatus structures as illustrated in the following embodiments or figures, more or fewer operation steps or module units may be included in the method or apparatus based on conventional or non-inventive effort. In steps or structures where there is no logically necessary causal relationship, the execution order of these steps or the module structure of the apparatus is not limited to the execution order or module structure described in the embodiments and figures of this specification. When the method or module structure is applied in actual devices or terminal products, it can be executed sequentially or in parallel according to the method or module structure shown in the embodiments or figures (e.g., in a parallel processor or multi-threaded processing environment, or even a distributed processing environment).

[0030] Specifically, such as Figure 2 As shown in the embodiments of this specification, the method for constructing a fine-tuning corpus for an auxiliary review large model may include the following steps.

[0031] S201: Break down the evaluation items in the tender documents into multiple sub-evaluation points.

[0032] In the process of constructing the training corpus for fine-tuning the large-scale model of auxiliary review, the review items in the bidding documents are described as whole paragraphs of text. Each review item contains multiple parallel or progressive scoring requirements. If the material is located and scored directly at the granularity of the review items, the model needs to process multiple scoring points simultaneously, which can easily lead to problems such as missed evaluations, incorrect evaluations, and incomplete scoring reasons. To solve this problem, a method is provided to decompose the review items in the bidding documents into multiple sub-review points. This method obtains the bidding documents, which represent the document data issued by the bidding party in the bidding activity, containing review standards, review items, and score configurations; parses the bidding documents to obtain the review items, which represent the clause units in the bidding documents that specify a scoring rule, scoring content, and corresponding score; and decomposes the review items into multiple sub-review points, which represent the smallest independently scoreable unit extracted from the review items. In one implementation, the review items are recursively parsed and decomposed according to the hierarchical structure from review items to sub-review points. Each sub-review point after decomposition contains a unique identifier, the review item to which it belongs, a description of the review standard, a set of keywords, and score information. In another implementation, common review templates are directly split by rule-based routing. When a common review template is not matched, a large language model is invoked to perform semantic understanding of the review item description and output multiple sub-review points. Through this splitting, coarse-grained review criteria are transformed into the smallest independently verifiable and scoreable units, providing clear input for subsequent material location and automatic scoring.

[0033] In some embodiments, the tender document can be parsed to obtain the evaluation item information; the evaluation item information includes the evaluation item name, evaluation content, and score.

[0034] The tender document can be parsed to obtain evaluation item information. This evaluation item information represents a set of structured fields related to the evaluation items extracted from the tender document. The evaluation item information includes the evaluation item name, evaluation content, and score. The evaluation item name is used to identify the evaluation item; the evaluation content represents the scoring requirements and verification objects specified for the evaluation item; and the score represents the upper limit or numerical value of the score corresponding to the evaluation item. In one implementation, the tender document is an editable PDF. A PDF parsing library is used to extract text, tables, and page information page by page, extracting the evaluation item name, evaluation content, and score from the evaluation method section or evaluation item table. In another implementation, the tender document is a scanned PDF. An optical character recognition engine is used to recognize the text in the page image, then it is organized page by page into structured text, from which the evaluation item information is extracted. In yet another implementation, the tender document is a DOCX file. A document parsing library is used to extract text by paragraph and table, mapping the columns and fields in the evaluation item table to the evaluation item name, evaluation content, and score. Through the above parsing, the evaluation items in the tender document are converted into structured evaluation item information, providing a data foundation for subsequent semantic parsing and sub-evaluation point decomposition.

[0035] In some embodiments, semantic parsing can be performed on the review item information to identify the scoring conditions, scoring basis, and score allocation relationships in the review items.

[0036] Semantic parsing can be performed on review item information. Semantic parsing represents the processing of meaning understanding and structural recognition of review item information described in natural language. It identifies scoring conditions, scoring basis, and score allocation relationships within the review items. Scoring conditions represent the logical conditions that trigger scoring, deduction, or pass / fail determination; scoring basis represents whether the scoring conditions meet the required verification materials, facts, or rules; and score allocation relationships represent the proportion or numerical value of the total review item score among multiple scoring points. In one implementation, semantic parsing uses rule routing, identifying scoring conditions based on semicolons, newlines, coordinating conjunctions, and logical conjunctions; identifying scoring basis based on material names, certificate names, performance quantities, personnel quantities, and financial indicators appearing in the conditions; and determining the score allocation relationship based on the total review item score and the number of scoring points. In another implementation, semantic parsing uses a large language model, inputting the review item information into the large language model, which outputs structured fields containing scoring conditions, scoring basis, and score allocation relationships. In another implementation, semantic parsing combines rule-based routing with a large language model. When the rule-based routing matches a common review template, it directly outputs structured fields. When the rule-based routing fails to match, it calls the large language model to output structured fields and performs field integrity verification on the output of the large language model. Through the above semantic parsing, the implicit scoring logic in the review items is explicitly expressed as scoring conditions, scoring basis, and score allocation relationships, providing a structured basis for the decomposition of sub-review points.

[0037] In some embodiments, the review item can be divided into multiple sub-review points according to the scoring conditions, scoring basis, and score allocation relationship.

[0038] The review item can be split into multiple sub-review points according to the scoring conditions, scoring basis, and score distribution relationship. Sub-review points represent the smallest independently scoreable unit extracted from the review item. Each sub-review point includes a unique identifier, its associated review item, a review standard description, a set of keywords, score information, and review type. In one implementation, the splitting rules include segmenting parallel scoring points by semicolons and newlines, identifying condition combinations by "AND" and "OR" logical connectors, and allocating the sub-review point score cap according to score weight. In another implementation, when the sum of the full scores of all sub-review points after splitting exceeds the total score of the review item, a mean square correction is performed. This mean square correction includes scaling the scores of each sub-review point proportionally to the total score of the review item, or deducting the excess from the sub-review point with the highest score. In yet another implementation, when the rule routing matches a common review template, the sub-review points are split directly according to the template; when the rule routing does not match, a large language model is called to output a list of sub-review points, and the total score of the sub-review point list is validated and keywords are extracted. Through the above breakdown, the review items are transformed into multiple sub-review points that can be independently verified and scored. Each sub-review point has a clear scoring basis, a score limit, and a set of keywords, providing a fine-grained query unit for locating response materials and providing page number constraints for scoring in the subsequent tender documents.

[0039] S202: Locate the corresponding response material page for each sub-evaluation point in the tender document.

[0040] When locating the corresponding response material pages for each sub-evaluation point in a tender document, the large number of pages, complex chapter structure, and diverse expression methods make it difficult to recall synonyms, abbreviations, and embedded content in tables if only a single keyword is used for retrieval. Directly performing semantic retrieval on the entire document incurs high computational costs and results in inaccurate page number location. To address this issue, this section provides a method for locating the corresponding response material pages for each sub-evaluation point in a tender document. This method obtains the tender document, which represents the responsive document data submitted by the bidder in the bidding process. The tender document consists of main text pages, table pages, certificate pages, performance pages, personnel pages, financial pages, commitment letter pages, and evaluation index table pages. Page parsing is performed on the tender document, representing the process of converting the tender document into searchable text organized by page. This results in a set of page texts, which represents a collection of data indexed by page numbers and containing page text. Based on the page text set, keyword matching positioning, review index table parsing positioning, semantic similarity retrieval positioning, directory reasoning positioning, and full document extraction positioning are sequentially performed for each sub-review point to obtain the response material page for each sub-review point. A sub-review point represents the smallest independently scoreable unit extracted from the review items; a response material page represents the page in the tender document corresponding to the review criteria of the sub-review point. In one implementation, the five-layer positioning is performed sequentially, proceeding to the next layer if the previous layer's hit count is insufficient. In another implementation, keyword matching positioning, review index table parsing positioning, and semantic similarity retrieval positioning are performed in parallel, and the candidate pages obtained from each layer are merged according to their confidence levels. Through the above overall positioning method, the scattered response materials in the tender document are recalled layer by layer, and the positioning results retain page number traceability while balancing retrieval accuracy and recall.

[0041] In some embodiments, the tender documents can be parsed to obtain a set of page text.

[0042] Page parsing can be performed on the tender documents. Page parsing represents the process of converting tender documents of different formats into page-organized text data; the resulting page text set represents a data set containing page numbers, page text, paragraph lists, and document type tags. In one implementation, the tender document is an editable PDF. A PDF parsing library is used to extract text, page size, and page number information page by page, and the plain text content of each page is written into the page text set. In another implementation, the tender document is a scanned PDF. An optical character recognition engine is used to recognize the text in the page images, and then the text is organized into structured text page by page. The recognized text and corresponding page numbers are written into the page text set. In yet another implementation, the tender document is a DOCX file. A document parsing library is used to extract text by paragraph and page separation, and the paragraph text is mapped to the corresponding page number before being written into the page text set. In yet another implementation, a table parsing module is used to extract cell content for table pages, and an optical character recognition engine is used to extract text for image pages. The table text and image text are then merged into the corresponding page text. Through the above page parsing, tender documents of different formats are uniformly converted into page text sets with page numbers, providing a consistent data foundation for subsequent five-layer positioning.

[0043] In some embodiments, based on the page text set, keyword matching location, review index table parsing location, semantic similarity retrieval location, directory reasoning location, and full document extraction location can be performed sequentially for each sub-review point to obtain the response material page for each sub-review point.

[0044] Keyword matching positioning is used to represent the process of extracting keywords from sub-review point names and scoring criteria and performing substring matching on page text; review index table parsing positioning is used to represent the process of identifying review index tables, response tables, or deviation tables in the tender document and parsing the mapping relationship between review clause numbers and response content page numbers; semantic similarity retrieval positioning is used to represent the process of querying with sub-review point descriptions, calculating semantic similarity with page text as a document set, and sorting and returning candidate pages; directory reasoning positioning is used to represent the process of parsing the directory structure of the tender document and inferring the page number range of chapters based on the semantic association between chapter titles and sub-review points; full document extraction positioning is used to represent the process of extracting pages from the entire tender document at set intervals when the aforementioned positioning methods are insufficient. In one embodiment, keyword matching positioning extracts a set of keywords from sub-review point names and scoring criteria, performs substring matching on each page text, and records the matched page numbers. In another embodiment, review index table parsing positioning identifies review index tables, response tables, or deviation tables, parses the mapping relationship between review clause numbers and response content page numbers, and corrects page number offsets. In another implementation, semantic similarity retrieval and localization calculates the similarity between the sub-review point description and the page text based on character-level n-grams, returning the Top-N pages in order of similarity. In yet another implementation, directory reasoning and localization parses the directory structure, inferring the range of chapter page numbers that may contain response materials based on the semantic association between chapter titles and sub-review points, and expanding the context pages. In yet another implementation, full-document extraction and localization samples several pages at fixed intervals as candidate pages. Through these five layers of localization, the explicit indexes, semantically relevant content, and chapter structure in the tender document are utilized layer by layer, forming a precise-first, fallback-to-bottom recall process, reducing the risk of missed detections.

[0045] In some embodiments, when the number of candidate pages obtained from locating at any layer reaches a set threshold, the candidate pages obtained from locating at that layer can be used as the response material pages corresponding to the sub-review points.

[0046] A threshold is set to characterize the numerical limit for determining whether the number of candidate pages meets the positioning requirements; a candidate page represents a page in the positioning output that may contain response material. When the number of candidate pages obtained from positioning at any level reaches the set threshold, the candidate page obtained from positioning at that level is used as the response material page corresponding to the sub-review point. In one embodiment, the set threshold is a fixed integer, such as three pages. When the number of pages hit at any level reaches three, the candidate page for that level is output and subsequent positioning is terminated. In another embodiment, the set threshold is dynamically set according to the sub-review point type, with the set threshold corresponding to objective sub-review points being less than the set threshold corresponding to subjective sub-review points. In yet another embodiment, the set threshold is set according to the proportion of the total number of pages in the tender document. When the number of hit pages reaches the set proportion of the total number of pages, the candidate page for that level is output. Through the above-mentioned process of outputting when the threshold is reached, the positioning process terminates in a timely manner when the number of candidate pages meets the requirements, reducing unnecessary subsequent positioning calculations, while ensuring that the output page number has a clear positioning layer source.

[0047] In some embodiments, if the number of candidate pages obtained from any layer positioning does not reach a set threshold, positioning is performed at the next layer.

[0048] The next-level positioning is used to represent the processing of entering subsequent positioning layers in the order of keyword matching positioning, review index table parsing positioning, semantic similarity retrieval positioning, directory reasoning positioning, and full document extraction positioning. If the number of candidate pages obtained from any positioning layer does not reach a set threshold, the next layer of positioning is performed. In one implementation, positioning is performed layer by layer, recording the hit page number and confidence level at each layer, adding the hit pages at each layer to the candidate page set, and terminating the positioning when the number of candidate pages in the candidate page set reaches a set threshold. In another implementation, when keyword matching positioning, review index table parsing positioning, semantic similarity retrieval positioning, and directory reasoning positioning all fail to reach the set threshold, full document extraction positioning extracts pages at set intervals as candidate pages, and these candidate pages are used as response material pages. In yet another implementation, candidate pages hit by positioning layers that have not reached the set threshold are retained and merged with candidate pages obtained from the next layer of positioning before determining whether the set threshold has been reached. Through the above process of proceeding to the next layer when the threshold is not reached, the positioning process automatically expands the search scope when recall is insufficient, ensuring that the response material pages corresponding to the sub-review points are fully recalled.

[0049] In some embodiments, the response material pages for each sub-review point can be merged and deduplicated.

[0050] After candidate pages are obtained from multiple positioning layers, the same response material page may be repeatedly hit by different positioning layers. If it is directly sent to subsequent scoring, the same page will be repeatedly referenced, resulting in redundancy in the scoring reasons and page number set, and a decrease in corpus quality. To solve this problem, this section provides a method for merging and deduplicating response material pages for each sub-review point. Merging and deduplication is used to characterize the process of integrating candidate pages obtained from different positioning layers for the same sub-review point and removing duplicate page numbers. Merging and deduplication is performed on the response material pages for each sub-review point. In one implementation, candidate pages are sorted by page number, one page with the same page number is retained, and different page numbers are arranged in order to form a response material page set. In another implementation, for candidate pages with the same page number, the page output by the positioning layer with the highest confidence is retained, and the positioning source of that page is recorded. In yet another implementation, during the merging and deduplication process, a set number of context pages before and after the hit page are added to the response material page set, and the same page number deduplication is performed on the context pages. In another implementation, when different positioning layers give conflicting confidence scores for the same page number, the retention priority is determined according to the following order: keyword matching positioning, review index table parsing positioning, semantic similarity retrieval positioning, directory reasoning positioning, and full document extraction positioning. Through the above merging and deduplication, the response material pages of each sub-review point are organized into a set of pages without duplicate page numbers. The page numbers referenced in subsequent scoring and corpus construction correspond one-to-one with the page content, avoiding duplicate scoring and redundant page number references.

[0051] S203: Determine the scoring results for each sub-review point based on the response material page; the scoring results include the score, the reason for the scoring, and the referenced page number; the referenced page number includes the page number of the response material page.

[0052] When determining the scoring results of each sub-review point based on the response material page, if only material location is completed without structured scoring, it is impossible to provide scoring labels for fine-tuning the training corpus. If the large model directly generates scores, scoring reasons, and page numbers for the entire tender document, the scoring reasons lack material basis, and the cited page numbers may be fabricated, resulting in unreliable training corpus labels. To solve this problem, this section provides a method for determining the scoring results of each sub-review point based on the response material page. This method determines the scoring results of each sub-review point based on the response material page; the response material page is used to represent the page in the tender document corresponding to the sub-review point's review criteria; the sub-review point is used to represent the smallest independently scoreable unit extracted from the review items; the scoring result is used to represent the structured scoring output corresponding to the sub-review point; the scoring result includes the score, scoring reason, and cited page number; the score is used to represent the specific numerical value corresponding to the sub-review point; the scoring reason is used to represent the textual explanation of the specific text fragment in the cited material; the cited page number is used to represent the set of page numbers of the material page on which the scoring is based in the tender document; the cited page number includes the response material page number. In one implementation, the evaluation criteria for sub-evaluation points and the response material page are input into the scorer, which outputs a score, evaluation reason, and referenced page number. The referenced page number is directly taken from the response material page number. In another implementation, after the scorer outputs the score result, the verification module compares the referenced page number in the score result with the response material page number. If the referenced page number does not belong to the response material page number, the referenced page number is deleted or the score result is regenerated. Through the above-mentioned score results, it is determined that the score output is explicitly bound to the material source, and the referenced page number comes from the material location result rather than being freely generated by the model, effectively suppressing page number illusion and providing interpretable and traceable score labels for subsequent positive and negative sample construction.

[0053] In some embodiments, the response material pages can be categorized to determine the business type of the response material pages.

[0054] The response material pages can be categorized. Page categorization is used to identify the business type to which the response material page belongs. The business type of the response material page is obtained, representing the category of the materials recorded on the page. Its components include business licenses, qualification certificates, performance records, personnel information, financial information, credit information, commitment letters, tender documents, signatures and seals, review index tables, and others. In one implementation, page categorization uses a rule engine-first, large language model-last-resort approach: the rule engine performs rapid categorization based on features such as keywords, titles, and table structures on the page; when the rule confidence is below a threshold, the large language model is invoked for categorization. In another implementation, table pages identify header fields and map them to business types; certificate pages identify certificate names and issuing authorities and map them to business types; signature and seal pages identify seal images and signature areas and map the identification results to business types. Through this page categorization, the response material pages are assigned clear business type labels, providing a category basis for subsequent extraction of structured information by business type and routing of scorers by review type, improving the consistency between the scoring results and the material content.

[0055] In some embodiments, structured information corresponding to sub-review points can be extracted from the response material page based on the business type.

[0056] Structured information corresponding to sub-review points can be extracted from the response material pages based on the business type. This structured information represents data with fixed fields and semantic types extracted from the response material pages, including personnel lists, performance lists, qualification certificate information, financial data, credit information, and commitments. In one implementation, a dedicated prompt word corresponding to the business type is invoked, and the response material page text is input into a large language model. The large language model then outputs structured information according to the field format specified by the dedicated prompt word. In another implementation, structured information is extracted based on table parsing and rule-based field mapping. The cell content of the table page is parsed and mapped to structured fields according to the table header fields. For the certificate page, the certificate name, number, validity period, and issuing authority are extracted. For the performance page, the project name, contract amount, signing time, and acceptance conclusion are extracted. In yet another implementation, multiple pages of response materials for the same business type are merged and extracted. The extracted results from multiple pages are then deduplicated based on key fields to form a set of structured information. Through the above structured information extraction, unstructured page text is transformed into comparable and computable field data, providing structured input for the scorer and improving scoring consistency and the specificity of scoring reasons.

[0057] In some embodiments, the review criteria and structured information of a sub-review point can be routed to the corresponding scorer according to the review type of the sub-review point, so that the scorer can output the score result of the sub-review point.

[0058] Based on the review type of each sub-review point, the review criteria and structured information of the sub-review point can be routed to the corresponding scorer, so that the scorer can output the score result of the sub-review point. The review type is used to characterize the category of scoring method required by the sub-review point, and its components include objective items, subjective items, and quantitative items. The scorer is used to characterize the processing module that outputs the score result according to the corresponding scoring logic. In one implementation, the objective item scorer adopts a three-level progressive judgment mechanism: firstly, the compliance verification engine is called to accurately compare the structured bidding data with the bidding requirements; when the structured verification cannot determine the result, matching is performed based on rules such as qualification certificates, performance quantity, financial year, staffing, and commitment letters; when the rules still cannot determine the result, a large language model is called as a fallback scorer. In another implementation, the subjective item scorer adopts a graded scoring mode, discretizing continuous scores into general, good, and excellent grades, injecting a scoring checklist into the prompt words, guiding the model to evaluate by dimension and map it to a specific score; the quantitative item scorer performs rule calculations and threshold comparisons on numerical fields such as amount, quantity, and year. In another implementation, the scorer identifier is determined based on the review type before routing. The review criteria, structured information, and page numbers of the response materials are then passed to the scorer. The scorer outputs the score, the reasoning behind the score, and the cited page number. Through this scorer routing, sub-review points for different review types are processed by corresponding scoring logic, improving the accuracy of objective items, the consistency of subjective items, and the correctness of quantitative item calculations. The scoring results remain linked to the source of the materials.

[0059] S204: Construct positive samples based on the evaluation criteria of each sub-evaluation point and the corresponding response material page and scoring results of each sub-evaluation point, and construct negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive sample includes the scoring results, and the expected output of the negative sample includes a score of zero, the reason for the zero score, and a blank page number.

[0060] When fine-tuning the training corpus for constructing a large-scale auxiliary review model, if only positive samples are used for training, the model will struggle to learn the discrimination boundary that should output zero points and not fabricate page numbers when there is no relevant material. If negative samples consist of random irrelevant documents or simple incorrect answers, the negative samples and positive samples will be inconsistent in terms of review criteria and tender documents. The model will be unable to compare the output differences between those with and without material under the same review criteria, resulting in insufficient learning of page number reference constraints. To solve this problem, this section provides a method for constructing positive and negative samples. This method constructs positive samples based on the evaluation criteria of each sub-evaluation point, the corresponding response material page, and the scoring results, and constructs negative samples based on other pages in the tender document that are distinct from the response material page. Sub-evaluation points represent the smallest independently scoreable unit extracted from the evaluation items; response material pages represent the pages in the tender document corresponding to the evaluation criteria of the sub-evaluation points; scoring results represent the structured scoring output corresponding to the sub-evaluation points, including the score, scoring reason, and cited page number; positive samples represent training data with relevant material pages as input and the actual scoring results as the expected output; negative samples represent training data with irrelevant pages as input and zero scores and blank page numbers as the expected output; the expected output of positive samples includes the scoring result, and the expected output of negative samples includes a score of zero, a reason for zero, and a blank page number; a score of zero represents the score value corresponding to the sub-evaluation point when there is no relevant material; a reason for zero represents the text explaining that no relevant material was found; and blank page numbers represent the set of page numbers that do not cite any page numbers. In one implementation, positive and negative samples are constructed within the same sub-evaluation point and the same tender document. Positive samples use the located relevant material pages as input, while negative samples use randomly selected irrelevant pages after excluding relevant material pages. Both share the evaluation criteria and instruction information. In another implementation, positive and negative samples are drawn from different sets of pages within the same tender document. Negative samples select pages that are unrelated to the response material pages in terms of both chapter and semantics. Through this construction of positive and negative samples, the model learns, under the same evaluation criteria, to output a non-empty page number with a score and reason when relevant material is available, and to output an empty page number with a zero score and a reason for rejection when no relevant material is available. This ensures stable adherence to page number reference boundaries and suppresses fictitious page numbers and scoring illusions.

[0061] In some embodiments, the instruction information for positive samples can be determined based on the review criteria of sub-review points.

[0062] Based on the evaluation criteria for sub-evaluation points, the instruction information for positive samples is determined. This instruction information represents the task description guiding the model to execute the sub-evaluation point scoring task. The evaluation criteria represent the scoring basis, full score, and checklist corresponding to each sub-evaluation point. In one implementation, the instruction information consists of evaluation criteria text, task description, and output format requirements. The task description includes text that judges the sub-evaluation point score based on the evaluation criteria and the content of the tender document, explains the reasons, and cites page numbers. The output format requirements include three fields: score, scoring reason, and cited page number. In another implementation, the instruction information adds a role definition and a scoring checklist to the evaluation criteria. The role definition represents the prompt text that sets the model as an assistant reviewer, and the scoring checklist represents a list of items for checking the scoring basis item by item. By determining the above instruction information, the model obtains clear task objectives and output format constraints during training, improving the consistency of instructions for positive samples and the structured nature of the scoring results.

[0063] In some embodiments, the input information for positive samples can be determined based on the page content of the response material page corresponding to the sub-review point.

[0064] The input information for positive samples can be determined based on the page content of the response material page corresponding to the sub-review point. This input information characterizes the material content provided to the model; the page content characterizes the text, tables, and image-recognized text within the response material page. In one implementation, the input information includes the full text of the response material page and the text of a predetermined number of context pages preceding and following it. The context pages characterize pages adjacent to the response material page in terms of page number. In another implementation, the input information includes structured information obtained after page classification and structured extraction of the response material page. This structured information characterizes data with fixed fields and semantic types, including personnel lists, performance lists, qualification certificate information, and financial data. In yet another implementation, a page number marker is appended before the response material page text. This page number marker characterizes the page number of the text in the tender document, ensuring that the model outputs a reference page number that corresponds to the input page number. By determining the input information as described above, the model obtains complete material content with page number markers during training, ensuring that the generation of scoring reasons and reference page numbers has sufficient material basis.

[0065] In some embodiments, the expected output information for positive samples can be determined based on the scoring results of sub-review points.

[0066] Based on the scoring results of the sub-review points, the expected output information for positive samples can be determined. This expected output information characterizes the target result that the model should output. The scoring results include the score, the reason for the score, and the cited page numbers. In one implementation, the expected output information is in JSON format, containing three keys: score, reason, and pages. The score represents the score, the reason represents the reason for the score, and the pages represents the set of cited page numbers. In another implementation, the expected output information is a natural language description plus a list of page numbers. The natural language description includes the score and the reason for the score, and the page number list includes the cited page numbers. In yet another implementation, the reason for the score in the expected output information includes specific text fragments from the cited material, and the cited page numbers are consistent with the page numbers of the response material. By determining the expected output information as described above, the expected output of positive samples is consistent with the structured output of the scorer, and the model learns the joint output pattern of score, reason, and page numbers.

[0067] In some embodiments, instruction information, input information, and expected output information can be organized according to a preset instruction fine-tuning format to obtain a positive sample.

[0068] The preset instruction fine-tuning format is used to characterize the data organization format containing instruction fields, input fields, and output fields. In one embodiment, the preset instruction fine-tuning format is the Alpaca format, which includes three fields: instruction, input, and output. The instruction field represents the instruction information, the input field represents the input information, and the output field represents the expected output information. In another embodiment, the preset instruction fine-tuning format is the JSONL format, with each line containing a JSON object containing instruction, input, and output keys. In yet another embodiment, the preset instruction fine-tuning format adds a metadata field to the Alpaca format. This metadata represents the sample's metadata, including project identifier, tender document identifier, review items, sub-review points, page number, document level mode, and whether it is a negative sample. Through the above format organization, positive samples are stored in a unified structure, facilitating batch generation, deduplication, and validation, thus improving the production efficiency of training corpora.

[0069] In some embodiments, the pages of the tender document may be divided into the response material page and other pages.

[0070] The response material page represents the page in the tender document that corresponds to the evaluation criteria of the sub-review point; other pages represent pages in the tender document other than the response material page. In one implementation, a difference set partitioning is performed based on the page number set. All page numbers in the tender document are combined into a total page number set, and the page numbers of the response material pages corresponding to the sub-review points are combined into a related page number set. The total page number set minus the related page number set yields the other page number set. In another implementation, page content similarity is used for partitioning. The semantic similarity between each page and the evaluation criteria of the sub-review point is calculated. Pages with similarity higher than a set threshold are classified as response material pages, and pages with similarity lower than the set threshold are classified as other pages. Through this page partitioning, the candidate page source for negative samples is clearly limited to other pages that are distinct from the response material page, avoiding contradictions between negative sample input and expected output.

[0071] In some embodiments, at least one page may be selected from other pages.

[0072] Pages are selected to represent the pages extracted from other pages for constructing negative samples. In one implementation, a predetermined number of pages are selected from other pages using a random sampling method, where the predetermined number represents the number of pages required for negative sample input. In another implementation, pages are selected from other pages using a chapter-based random sampling method, where chapter-based random sampling represents randomly selecting pages from different chapters to maintain the chapter distribution diversity of the negative samples. In yet another implementation, pages with low similarity are selected based on semantic similarity. The semantic similarity between other pages and the sub-review point review criteria is calculated, and a predetermined number of pages with the lowest similarity are selected as negative sample inputs. In yet another implementation, pages are selected from other pages using a page number interval random sampling method. Other pages are grouped by page number interval, and pages are randomly selected from each group. Through the above selection, the negative sample input pages and the response material pages differ in content and chapters, while maintaining the diversity of negative samples and enhancing the model's ability to discriminate page number reference boundaries.

[0073] In some embodiments, the instruction information for negative samples can be determined based on the evaluation criteria of the sub-evaluation points.

[0074] The instruction information for negative samples is used to characterize the scoring task description shared with positive samples. In one implementation, the instruction information for negative samples is the same as that for positive samples, both including the evaluation criteria text, task description, and output format requirements. In another implementation, the instruction information for negative samples adds a "no relevant material" prompt to the positive sample instruction information. This prompt indicates that the model outputs a zero score and a blank page number when no relevant material is found. In yet another implementation, the instruction information for negative samples includes the evaluation criteria text and output format requirements, specifying the field formats for a zero score, the reason for the zero score, and the blank page number. Through the above instruction information, it is determined that negative samples and positive samples share the same evaluation criteria and task description, and the model learns the mapping relationship that different input materials lead to different outputs under the same instructions.

[0075] In some embodiments, the input information for negative samples can be determined based on the page content of the selected page.

[0076] The input information for negative samples is used to characterize irrelevant material content provided to the model. In one implementation, the input information for negative samples directly uses the full text of the selected page, with the format of the full text consistent with the page text format in the positive sample input information. In another implementation, the input information for negative samples truncates or injects noise into the selected page; truncation represents cropping the page text to a length similar to the positive sample input information, while noise injection represents inserting text unrelated to the review criteria into the page text. In yet another implementation, the input information for negative samples appends a page number marker to the page text, the page number marker representing the page number of that text in the tender document, and this page number is different from the page number cited in the positive sample. By determining the input information as described above, the negative sample input maintains consistency with the positive sample input in format, and the model primarily judges based on material content rather than format differences, improving the accuracy of page number reference constraint learning.

[0077] In some embodiments, a score of zero, the reason for the zero score, and an empty page number can be used as the expected output information for negative samples.

[0078] A score of zero represents the numerical value of a sub-review point when no relevant materials are found; the reason for a zero score represents the text explaining that no relevant materials were found; and empty page numbers represent a set of page numbers that do not reference any page numbers. In one implementation, the reason for a zero score is fixed text, which represents a pre-defined negative statement, such as "no relevant materials found." In another implementation, the reason for a zero score generates a negative statement based on the content of the selected page, which represents text explaining that the selected page is irrelevant to the review criteria. In yet another implementation, empty page numbers are empty lists or empty strings, with empty lists representing a set of page numbers that does not contain any page numbers. Based on the above expected output information, negative samples explicitly instruct the model to output a zero score and not reference page numbers when no relevant materials are found. The model learns the correspondence between empty page numbers and zero scores, suppressing the tendency to fabricate page numbers.

[0079] In some embodiments, instruction information, input information, and expected output information can be organized according to a preset instruction fine-tuning format to obtain negative samples.

[0080] The preset instruction fine-tuning format is used to represent the same data organization format as the positive samples, including instruction fields, input fields, and output fields. In one embodiment, the preset instruction fine-tuning format is the Alpaca format, which includes three fields: instruction, input, and output. The instruction field represents the instruction information for the negative samples, the input field represents the input information for the negative samples, and the output field represents the expected output information for the negative samples. In another embodiment, the preset instruction fine-tuning format is the JSONL format, with each line containing a JSON object. The JSON object contains instruction, input, and output keys, and the output key has three subkeys: score, reason, and pages. The score subkey has a value of zero, and the pages subkey has a value of an empty list. In yet another embodiment, the preset instruction fine-tuning format adds a metadata field to the Alpaca format. Metadata represents the sample's metadata, including project identifier, tender document identifier, review items, sub-review points, and whether it is a negative sample. Through the above format organization, negative samples and positive samples are stored using the same field structure, resulting in a unified training corpus format, which facilitates batch processing and model training.

[0081] S205: Based on the positive samples and the negative samples, generate instruction fine-tuning corpus to assist the large-scale review model.

[0082] When generating fine-tuning corpora for a large-scale auxiliary review model based on positive and negative samples, if the positive and negative samples are stored separately without unified organization and verification, the training corpus may contain duplicate samples, inconsistent page number references, or uncleared negative sample page numbers. This results in noise in the supervision signal received during model training and insufficient learning of page number reference constraints. To address this issue, this section provides a method for generating fine-tuning corpora for a large-scale auxiliary review model based on positive and negative samples. This method generates fine-tuning corpora for the auxiliary review model based on positive and negative samples. Positive samples represent training data with response material pages as input and scoring results as expected output; negative samples represent training data with other pages as input and zero scores, reasons for zero scores, and empty page numbers as expected outputs; the fine-tuning corpus represents the set of samples used for fine-tuning training the auxiliary review model. In one implementation, positive and negative samples are organized into multiple instruction fine-tuning samples according to the same preset instruction fine-tuning format. These multiple instruction fine-tuning samples are then merged, deduplicated, and validated. The validated instruction fine-tuning samples are written into a corpus file to obtain the instruction fine-tuning corpus for the auxiliary review model. In another implementation, positive and negative samples are grouped according to project identifiers and sub-review point identifiers, respectively. Within each group, positive and negative samples are mixed according to a set ratio and then written into a corpus file. Through the above corpus generation, positive and negative samples are uniformly organized into instruction fine-tuning corpora with consistent format, complete fields, and clear page number constraints, providing a training data foundation for the auxiliary review model that can be directly used for fine-tuning.

[0083] In some embodiments, positive and negative samples can be organized into multiple instruction-adjusted samples according to a preset instruction-adjusted format.

[0084] Positive and negative samples can be organized into multiple instruction-based fine-tuning samples according to a preset instruction fine-tuning format. The preset instruction fine-tuning format characterizes the data organization format containing instruction fields, input fields, and output fields. Each instruction fine-tuning sample represents an independent training data record. In one implementation, the preset instruction fine-tuning format is an Alpaca format, which includes three fields: instruction, input, and output. The instruction field characterizes the instruction information, the input field characterizes the input information, and the output field characterizes the expected output information. Both positive and negative samples are organized according to this format. In another implementation, the preset instruction fine-tuning format is a JSONL format, with each line containing a JSON object. The JSON object contains instruction, input, and output keys, and the output key's value is a JSON object containing three subkeys: score, reason, and pages. In yet another implementation, the preset instruction fine-tuning format adds a metadata field to the Alpaca format. This metadata characterizes the sample's metadata, including project identifier, tender document identifier, review items, sub-review points, location page number, grade mode, and whether it is a negative sample. By organizing the data in the above format, positive and negative samples are stored as multiple instruction fine-tuning samples using the same field structure. The corpus format is unified, which facilitates batch generation, batch verification, and model training.

[0085] In some embodiments, multiple instruction fine-tuning samples can be merged, deduplicated, and verified, including: verifying that the referenced page number in the expected output information of the positive sample is consistent with the page number of the response material in the input information of the positive sample, and verifying that the page number in the expected output information of the negative sample is empty.

[0086] Merging is used to characterize the process of aggregating instruction fine-tuning samples from different sub-review points, different tender documents, or different batches into a unified sample set; deduplication is used to characterize the process of deleting samples with identical instruction information, input information, and expected output information; validation is used to characterize the process of checking the completeness of sample fields and page number consistency. Validation includes: verifying that the referenced page number in the expected output information of a positive sample matches the page number of the response material page in the input information of the positive sample, and verifying that the page number in the expected output information of a negative sample is empty. In one implementation, deduplication is performed based on the combination key of instruction information and input information. When two samples have the same instruction information and input information but different expected output information, the sample whose expected output information matches the scorer output is retained. In another implementation, validation is performed field by field, checking that the instruction field is not empty, the input field is not empty, the output field contains three subkeys: score, reason, and pages, and checking that the page numbers in the pages subkey of the positive sample all belong to the set of response material page numbers in the input information. In another implementation, samples that fail validation are marked and isolated. Marking indicates the reason for the sample failing validation, and isolation indicates removing the failed sample from the scope to be written into the corpus file. Through the above merging, deduplication, and validation, duplicate samples and samples with inconsistent page numbers in the training corpus are removed, positive sample page number references strictly correspond to the input material pages, and negative sample page number fields are empty, thus improving the quality of corpus labels and the reliability of page number constraints.

[0087] In some embodiments, the verified instruction fine-tuning samples can be written into a corpus file to obtain instruction fine-tuning corpus to assist in the review of the large model.

[0088] The corpus file is a persistent data file representing the stored instruction fine-tuning samples. In one implementation, the corpus file is a JSONL file, with one instruction fine-tuning sample written per line. Each sample contains instruction, input, and output fields, with the output field in JSON format and containing three subkeys: score, reason, and pages. In another implementation, the corpus file is stored in segments based on project identifiers or tender document identifiers, with each segment corresponding to a project or a tender document. Positive and negative samples within each segment are mixed in a set ratio. In yet another implementation, a corpus index file is generated synchronously during corpus file writing. The corpus index file represents index data recording the corpus file path, number of samples, positive and negative sample ratio, and generation time. Through the above writing process, the verified instruction fine-tuning samples are persistently stored as a corpus file. This corpus file can be directly used to assist in reviewing the instruction fine-tuning training of large models, improving corpus production efficiency and reusability.

[0089] When generating instruction fine-tuning corpora, if the instruction information, input information, and expected output information of negative samples are not organized according to the same preset instruction fine-tuning format as positive samples, the field structure of negative samples in the corpus file will be inconsistent with that of positive samples, and positive and negative samples cannot be directly mixed during model training. To solve this problem, this section provides a method for organizing instruction information, input information, and expected output information according to a preset instruction fine-tuning format to obtain negative samples. This method organizes instruction information, input information, and expected output information according to a preset instruction fine-tuning format to obtain negative samples; the instruction information is used to represent the description of the scoring task determined according to the sub-review point review criteria; the input information is used to represent the page content selected from other pages; and the expected output information is used to represent the score of zero, the reason for zero score, and the blank page number. In one implementation, the preset instruction fine-tuning format is Alpaca format, which includes three fields: instruction, input, and output. The instruction field represents the instruction information for the negative sample, the input field represents the input information for the negative sample, and the output field represents the expected output information for the negative sample. The output field is in JSON format and contains three subkeys: score, reason, and pages. The value of the score subkey is zero, and the value of the pages subkey is an empty list. In another implementation, the preset instruction fine-tuning format is JSONL format, with each line containing a JSON object. The JSON object contains instruction, input, and output keys, and the output key contains the three subkeys score, reason, and pages. In yet another implementation, the preset instruction fine-tuning format adds a metadata field to the Alpaca format. The metadata is used to represent the sample's metadata, including project identifier, tender document identifier, review items, sub-review points, and whether it is a negative sample. By organizing the data in the above format, negative samples and positive samples use the same field structure. Negative samples can be directly mixed with positive samples and written into the corpus file. The training corpus format is unified, which facilitates the review of large-scale model batch execution instructions for fine-tuning training.

[0090] In some embodiments, the semantic parsing of the review item information described above to identify the scoring conditions, scoring basis, and score allocation relationships in the review items may further include: identifying the scoring conditions, scoring basis, and score allocation relationships from the review item information; constructing a score allocation tree with the total score of the review item as the root node, the logical relationships and / or score allocation relationships between scoring conditions as internal nodes, and the independently scoreable sub-review points as leaf nodes; configuring scoring conditions, scoring basis, full score, review type, material type, and page number constraint fields for the leaf nodes; and performing score verification on the score allocation tree, and if the sum of the full scores of each leaf node is inconsistent with the total score of the root node, correcting the full scores of each leaf node according to the score allocation relationship.

[0091] In the process of breaking down review items into sub-review points, there may be nested, parallel, or mutually exclusive logical relationships between scoring conditions, and the distribution of scores among different scoring points may also have hierarchical relationships. If sub-review points are only recorded in a list without recording the logical structure and score distribution relationships between scoring conditions, it will be difficult to determine the accumulation method, capping conditions, and mutual exclusion constraints of scores for each sub-review point during subsequent scoring, which can easily lead to duplicate scoring or scores exceeding the total score of the review item. To solve this problem, this section provides a method for semantic parsing based on a score distribution tree. This method identifies scoring conditions, scoring basis, and score distribution relationships from the review item information; scoring conditions are used to represent the logical conditions that trigger scoring, deduction, or pass / fail determination; scoring basis is used to represent whether the scoring conditions meet the required verification materials, facts, or rules; and score distribution relationships are used to represent the distribution ratio or value of the total score of the review item among multiple scoring points. The root node is the total score of the review items, representing the top-level node of the tree structure corresponding to the total score of the review items. Internal nodes are the logical relationships and score allocation relationships between scoring conditions, representing intermediate nodes connecting the root node and leaf nodes. These logical relationships include parallel relationships, selection relationships, nested condition relationships, and mutual exclusion relationships. Leaf nodes are independent sub-review points, representing indivisible scoring units in the score allocation tree. Leaf nodes are configured with fields for scoring conditions, scoring basis, maximum score, review type, material type, and page number constraint. The maximum score represents the upper limit of the score for the corresponding sub-review point. The review type represents the required scoring method category for the sub-review point. The material type represents the business category of the response materials required for this sub-review point. The page number constraint field represents the allowed range of source page numbers referenced in the score output of this sub-review point. The score allocation tree undergoes score verification, which characterizes the process of checking whether the sum of the full scores of each leaf node is consistent with the total score of the root node. If the sum of the full scores of each leaf node is inconsistent with the total score of the root node, the full scores of each leaf node are corrected according to the score allocation relationship. In one embodiment, score verification adopts a top-down, layer-by-layer verification method. First, it verifies whether the sum of the full scores of each leaf node under an internal node is equal to the upper limit of the score of that internal node, and then it verifies whether the sum of the scores of each internal node under the root node is equal to the total score of the review item. In another embodiment, score correction adopts a proportional scaling method, multiplying the full score of each leaf node by the ratio of the total score of the root node to the sum of the full scores of the leaf nodes, so that the sum of the full scores of each leaf node after correction is equal to the total score of the root node. In yet another embodiment, score correction adopts a differential adjustment method, deducting or supplementing the difference between the total score of the root node and the sum of the full scores of the leaf nodes from the leaf node with the largest full score.Through the above-mentioned score allocation tree construction and score verification, the logical relationship of the scoring conditions and the score allocation relationship in the review item are explicitly transformed into a tree structure. The full score, review type, material type and page number constraint fields of each sub-review point are uniformly configured, and the total score is consistent with the total score of the review item, providing a structured basis for subsequent material location, scorer routing and page number constraint scoring.

[0092] In some embodiments, after configuring the scoring conditions, scoring basis, full score, review type, material type, and page number constraint fields for the leaf node as described above, the method may further include: extracting the scoring conditions, scoring actions, and score parameters from the leaf node to form a triple; converting the triple into an executable scoring rule and binding the executable scoring rule to the sub-review point corresponding to the leaf node; and performing conflict detection on the executable scoring rule, wherein the conflict detection includes at least one of duplicate scoring detection, capped value and cumulative value contradiction detection, and simultaneous triggering of mutually exclusive conditions detection.

[0093] After configuring scoring conditions, scoring basis, full score, review type, material type, and page number constraint fields for leaf nodes, the scoring conditions in the leaf nodes are described in natural language, with scoring actions and score parameters implicit in the text. If the scorer directly reads the natural language conditions for scoring, different scorers will have inconsistent understandings and execution methods for the same condition, easily leading to problems such as missed condition judgments, incorrect score calculations, and unreproducible scoring results. To solve this problem, this section provides a method for extracting triples from leaf nodes and generating executable scoring rules. This method extracts scoring conditions, scoring actions, and score parameters from leaf nodes to form triples; scoring conditions are used to represent the logical judgment conditions that trigger scoring actions; scoring actions are used to represent the scoring, deduction, or judgment operations performed when the scoring conditions are met; score parameters are used to represent the specific value or range of values ​​corresponding to the scoring actions. The triples are converted into executable scoring rules, which represent rule expressions that can be directly parsed and executed by the scorer; the executable scoring rules are bound to the sub-review points corresponding to the leaf nodes, so that each sub-review point has a defined scoring execution logic. Conflict detection is performed on executable scoring rules. Conflict detection is used to characterize and check whether there are logical contradictions or score conflicts among multiple executable scoring rules under the same review item. Conflict detection includes at least one of the following: duplicate scoring detection, capped value and cumulative value contradiction detection, and simultaneous triggering of mutually exclusive conditions detection. Duplicate scoring detection is used to characterize and check the processing where the same scoring criterion is used repeatedly for scoring by multiple leaf nodes. Capped value and cumulative value contradiction detection is used to characterize and check the processing where the full score of a leaf node is less than the sum of the cumulative values ​​of multiple scoring actions under it. Simultaneous triggering of mutually exclusive conditions is used to characterize and check the processing where two mutually exclusive scoring conditions are simultaneously true in the same scoring scenario. In one implementation, the triple is stored with three fields: condition, action, and score parameter. The executable scoring rules are expressed using conditional judgment statements, and the scorer executes each conditional judgment statement one by one and accumulates the score. In another implementation, conflict detection is performed during the rule generation phase. When duplicate scoring is detected, the relevant leaf nodes are marked with a conflict identifier and a manual review prompt is output. When a contradiction is detected between the capped value and the accumulated value, the score parameters or the full score are adjusted. When mutually exclusive conditions are triggered simultaneously, the scoring conditions are modified or mutually exclusive constraints are added. Through the above triple extraction, executable scoring rule generation, and conflict detection, the natural language scoring logic in the leaf nodes is converted into executable rules. The scorer's execution logic is unified, and duplicate scoring, capped value contradictions, and mutually exclusive conflicts are detected and handled in advance, improving the consistency and reproducibility of the scoring results.

[0094] In some embodiments, the above-described method of splitting review items into multiple sub-review points according to scoring conditions, scoring basis, and score allocation relationships may further include: generating candidate review points based on scoring conditions, scoring basis, and score allocation relationships; predicting the response material type and evidence form corresponding to each candidate review point; determining whether each candidate review point can be located in the corresponding response material page in the tender document based on the response material type and evidence form; identifying candidate review points that can be located in the corresponding response material page as sub-review points; adjusting the splitting granularity of candidate review points and regenerating candidate review points until they can be located in the corresponding response material page; merging the corresponding candidate review points if score cannot be allocated or response material pages are duplicated after adjusting the splitting granularity; repeating the above steps until each sub-review point meets the conditions of being able to be scored independently, being able to locate the response material page, and being able to reference page numbers.

[0095] When dividing an evaluation item into multiple sub-evaluation points according to scoring criteria, scoring basis, and score allocation relationships, if the division is based solely on the text of the scoring criteria without considering whether corresponding response materials exist in the tender document, the resulting sub-evaluation points may not be able to be located on any material page in the tender document. This leads to the scorer lacking material basis, empty page numbers, or the scoring results being unverifiable. To address this issue, this section provides a method for verifying the locatability of sub-evaluation points based on response material type and evidence form. This method generates candidate evaluation points based on scoring criteria, scoring basis, and score allocation relationships. Candidate evaluation points are used to characterize the scoring units to be verified obtained from the initial division according to the scoring criteria. The method predicts the response material type and evidence form corresponding to each candidate evaluation point. The response material type characterizes the business category of the response materials required for the candidate evaluation point, including business licenses, qualification certificates, performance records, personnel information, financial information, credit information, commitment letters, tender letters, signatures and seals, and evaluation index tables. The evidence form characterizes the presentation format of the response materials in the tender document, including main text paragraphs, tables, scanned copies of certificates, scanned copies of contracts, and images of seals. Based on the response material type and evidence form, it is determined whether each candidate review point can be located in the corresponding response material page of the tender document. For candidate review points that can be located in the corresponding response material page, they are identified as sub-review points. For candidate review points that cannot be located in the corresponding response material page, their splitting granularity is adjusted and candidate review points are regenerated until they can be located in the corresponding response material page. Adjusting the splitting granularity is used to characterize the merging or re-splitting of candidate review points. If, after adjusting the splitting granularity, there are cases where scores cannot be assigned or response material pages are duplicated, the corresponding candidate review points are merged. The inability to assign scores is used to characterize the handling where the sum of the full scores after merging or re-splitting the candidate review points is inconsistent with the total score of the review item. Duplicate response material pages are used to characterize the handling where multiple candidate review points are located in the same response material page and the scoring basis cannot be distinguished. The above steps are repeated until each sub-review point meets the conditions of being able to be scored independently, being able to locate the response material page, and being able to reference page numbers. In one embodiment, the prediction of response material type and evidence form is achieved by rule matching, determining the response material type and evidence form based on the material name and action words appearing in the scoring basis. In another implementation, a large language model is used to predict the response material type and evidence form. The candidate review point text is input into the large language model, which then outputs the response material type and evidence form. In yet another implementation, locatability is determined through trial-and-error positioning. Keyword matching and semantic similarity retrieval are performed on the candidate review points. If a candidate page exists in the positioning results, it is determined that the response material page can be located.Through the iterative processes of generating candidate review points, predicting response material types and evidence forms, judging locatability, adjusting the splitting granularity, and merging candidate review points, the split sub-review points all have locatable response material pages and citationable page numbers in the tender documents, avoiding empty review points without material support and improving the verifiability of positive samples and the authenticity of page number citations in the training corpus.

[0096] In some embodiments, when the number of candidate pages located at any layer reaches a set threshold, the candidate pages located at that layer are used as the response material pages corresponding to the sub-review points. This may further include: obtaining the number of candidate pages located at that layer and the candidate page quality parameters, wherein the candidate page quality parameters include at least one of keyword hit density, semantic similarity, review index table matching degree, and directory consistency; when the number of candidate pages reaches the quantity threshold, determining whether the candidate page quality parameters reach the quality threshold; when the candidate page quality parameters reach the quality threshold, determining the candidate pages located at that layer as the response material pages corresponding to the sub-review points, and recording the page number and confidence level of each candidate page; when the candidate page quality parameters do not reach the quality threshold, merging the candidate pages located at that layer with the candidate pages located at the next layer and re-performing the quantity threshold and quality threshold determination; and performing page number continuity expansion and deduplication on the candidate pages determined as response material pages to obtain the set of response material pages corresponding to the sub-review points.

[0097] While directly using candidate pages from any given layer as response material pages when the number of candidate pages reaches a set threshold may meet the quantity requirement, it can lead to a large number of pages with low keyword density, poor semantic similarity, or inconsistencies with the directory structure. Including these pages in subsequent scoring stages can result in weak scoring justifications and inaccurate page numbers. To address this issue, this section provides a method for further evaluating candidate page quality parameters when the number of candidate pages reaches a set threshold. This method obtains the number of candidate pages and candidate page quality parameters obtained from the positioning at this layer. The number of candidate pages represents the total number of candidate pages output by the positioning at this layer. The candidate page quality parameters represent numerical indicators that measure the degree of matching between candidate pages and sub-review points, including at least one of keyword hit density, semantic similarity, review index table matching degree, and directory consistency. Keyword hit density represents the ratio of the number of hit keywords in the candidate page to the total number of words on the page. Semantic similarity represents the degree of semantic relevance between the candidate page text and the sub-review point description. Review index table matching degree represents the degree of match between the candidate page and the page number corresponding to the review clause number in the review index table. Directory consistency represents the degree of consistency between the chapter to which the candidate page belongs and the chapter semantically related to the sub-review point. When the number of candidate pages reaches a quantity threshold, it is determined whether the candidate page quality parameters have reached a quality threshold. The quantity threshold represents the numerical limit for determining whether the number of candidate pages meets the positioning requirements. The quality threshold represents the numerical limit for determining whether the quality of candidate pages meets the scoring criteria requirements. When the quality parameters of a candidate page reach the quality threshold, the candidate page located at that layer is determined as the response material page corresponding to the sub-review point, and the page number and confidence level of each candidate page are recorded. The page number is used to represent the page sequence number of the candidate page in the tender document; the confidence level is used to represent the degree of credibility of the candidate page matching the sub-review point. When the quality parameters of a candidate page do not reach the quality threshold, the candidate page located at that layer is merged with the candidate page located at the next layer, and the quantity threshold and quality threshold determination are re-executed. The fusion is used to represent merging the candidate pages at two layers into a unified candidate page set and performing page number deduplication. The candidate pages determined as response material pages are subjected to page number continuity expansion and deduplication to obtain the response material page set corresponding to the sub-review point. Page number continuity expansion is used to represent adding pages with adjacent page numbers of the response material page to the response material page set to retain context information. Deduplication is used to represent removing duplicate page numbers from the response material page set. In one implementation, the candidate page quality parameters are weighted and combined by multiplying keyword hit density, semantic similarity, review index table matching degree, and directory consistency by a set weight and then summing the results. The page is deemed to meet quality standards when the weighted sum exceeds a quality threshold. In another implementation, the candidate page quality parameters are evaluated item by item. The page is deemed to meet quality standards when both keyword hit density and semantic similarity exceed their respective thresholds; otherwise, the page is deemed to fail to meet quality standards.In another implementation, page number continuity expansion adds the page before and after the response material page to the response material page set. After merging and deduplicating, and sorting by page number, the page with the highest confidence among those with the same page number is retained. Through the above quality parameter judgment, fusion re-judgment, and page number continuity expansion, both the quantity and content quality of candidate pages are incorporated into the response material page determination criteria. This prevents pages that only meet the quantity threshold but lack sufficient content relevance from entering the scoring stage. At the same time, context expansion ensures the completeness of the scoring reasons, improving the accuracy and scoreability of the response material page set.

[0098] In some embodiments, the step of performing positioning at the next layer when the number of candidate pages obtained in any layer positioning does not reach a set threshold may further include: counting the number of candidate pages obtained in the current layer positioning; identifying the reason for the miss in the current layer when the number of candidate pages does not reach the set threshold; selecting a positioning strategy for the next layer based on the reason for the miss; performing positioning at the next layer according to the selected positioning strategy to obtain candidate pages for the next layer; adding the candidate pages for the next layer to the candidate page set and returning to the step of comparing the number of candidate pages with the set threshold.

[0099] If the number of candidate pages obtained at any level of positioning does not reach a set threshold, the system directly proceeds to the next level of positioning. While this expands the search scope, it fails to distinguish the specific reasons for the missed results. If the reason for the missed results is a difference in keyword expression, semantic similarity retrieval is more effective in the next level. If the reason is a missing review index table in the tender document, directory reasoning is more effective. To address this issue, this section provides a method for identifying the reasons for missed results and selecting the next level of positioning strategy. This method counts the number of candidate pages obtained at the current level of positioning. When the number of candidate pages does not reach a set threshold, it identifies the reasons for the missed results at the current level. The reasons for missed results characterize the categories of reasons why the current level of positioning failed to output a sufficient number of candidate pages, including differences in keyword expression, missing review index table, scattered semantic similarity, missing directory structure, and incomplete page text extraction. Based on the reasons for missed results, the next level of positioning strategy is selected. The next level of positioning strategy characterizes the retrieval method used at the next level, and its components include review index table parsing positioning, semantic similarity retrieval positioning, directory reasoning positioning, and full document extraction positioning. The next-level positioning is executed according to the selected next-level positioning strategy to obtain the next-level candidate pages; the next-level candidate pages are added to the candidate page set, and the comparison step of the number of candidate pages and the set threshold is returned. In one embodiment, the cause of the miss is identified by rule determination: when the number of pages hit by the keyword is zero, it is determined to be a keyword expression difference; when the review index table does not exist in the tender document, it is determined to be a missing review index table; when the number of pages hit by the keyword is greater than zero but the semantic similarity is lower than the set value, it is determined to be a semantic similarity dispersion. In another embodiment, the cause of the miss is identified by a large language model. The keywords, hit page numbers, and sub-review point descriptions of the current layer positioning are input into the large language model, and the large language model outputs the category of the cause of the miss. In yet another embodiment, the next-level positioning strategy is determined by the mapping of the cause of the miss: keyword expression difference is mapped to semantic similarity retrieval positioning, missing review index table is mapped to directory reasoning positioning, and semantic similarity dispersion is mapped to full document extraction positioning. By identifying the reasons for the miss and selecting the next-level localization strategy, the localization process adaptively selects the subsequent retrieval method based on the actual reasons for the miss, avoiding invalid calculations caused by executing layer by layer in a fixed order, and improving localization efficiency and candidate page recall quality.

[0100] In some embodiments, the above-mentioned routing of the review criteria and structured information of a sub-review point to the corresponding scorer according to the review type of the sub-review point, so as to output the score result of the sub-review point through the scorer, may further include: obtaining the routing features of the sub-review point, the routing features including at least one of review type, material type, structured information completeness, field missing rate, and historical scoring performance; determining multiple candidate scorers that match the routing features from the scorer registry according to the routing features; inputting the review criteria and structured information of the sub-review point into the multiple candidate scorers respectively to obtain multiple candidate scoring results, each candidate scoring result including score, scoring reason, cited page number, and confidence level; and fusing the multiple candidate scoring results to obtain the score result of the sub-review point.

[0101] When routing review criteria and structured information to a single scorer based on the review type of a sub-review point, different scorers under the same review type exhibit varying adaptability to material completeness, missing fields, and review criteria. If only a single scorer outputs the scoring results, the results may be biased and lack confidence reference when structured information fields are missing or the review criteria are described in a special way. To address this issue, this section provides a method for selecting multiple candidate scorers and fusing the scoring results based on routing features. This method obtains the routing features of the sub-review point; the routing features characterize the feature information used to select the scorer, including at least one of review type, material type, structured information completeness, field missing rate, and historical scoring performance; the review type characterizes the category of scoring method required by the sub-review point, including objective items, subjective items, and quantitative items; the material type characterizes the business category of the response material required by the sub-review point; the structured information completeness characterizes the proportion of structured fields extracted from the response material page to the total number of fields that should be extracted; the field missing rate characterizes the proportion of the number of missing fields in the structured information to the total number of fields that should be extracted; and the historical scoring performance characterizes the accuracy and consistency of the scorer in historical scoring tasks. Based on routing characteristics, multiple candidate scorers matching the routing characteristics are determined from the scorer registry. The scorer registry is used to represent index data storing scorer identifiers, applicable review types, and applicable material types. Candidate scorers are used to represent potential scorers matching the routing characteristics. The review criteria and structured information of the sub-review points are input into the multiple candidate scorers to obtain multiple candidate scoring results. Each candidate scoring result includes a score, scoring reason, cited page number, and confidence level. The confidence level is used to represent the credibility of the candidate scoring result. The multiple candidate scoring results are fused to obtain the scoring result of the sub-review point. Fusion represents the process of merging multiple candidate scoring results into a final scoring result. In one embodiment, the multiple candidate scorers include a rule-based scorer and a large language model scorer. The rule-based scorer outputs a first candidate scoring result, and the large language model scorer outputs a second candidate scoring result. During fusion, the scores are weighted according to confidence level to obtain the final score and the final scoring reason. In another implementation, multiple candidate raters include objective, subjective, and quantitative raters. During fusion, a weighted average of the scores is taken, the union of cited page numbers is used, and the rating reason is determined based on the candidate rater with the highest confidence. In yet another implementation, when the score difference among multiple candidate raters exceeds a set difference threshold, the rating result is output along with a difference prompt, which indicates a need for manual review. Through the aforementioned routing feature acquisition, multiple candidate rater selection, and candidate rater result fusion, rater selection no longer relies on a single review type mapping but comprehensively considers material type, structured information completeness, and field missing rate. The rating result obtained after fusing multiple rater results has higher confidence and stronger robustness, reducing the impact of single rater bias on the quality of training corpus labels.

[0102] In some embodiments, the above-mentioned determination of the instruction information of the positive sample based on the evaluation criteria of the sub-evaluation points may further include: determining the evaluation type, scoring basis, and full score of the sub-evaluation points according to the evaluation criteria of the sub-evaluation points; selecting the corresponding instruction template from the preset instruction template set according to the evaluation type; and filling the evaluation criteria, scoring basis, full score, and output format requirements into the selected instruction template to obtain the instruction information of the positive sample.

[0103] When determining positive sample instruction information based on the evaluation criteria of sub-evaluation points, if the same instruction template is used for all sub-evaluation points, there will be differences in scoring basis, scoring method, and output requirements between objective and subjective sub-evaluation points. The model will struggle to distinguish the scoring logic to be executed from a unified instruction, leading to a mismatch between the scoring results and the sub-evaluation point type. To address this issue, this section provides a method for obtaining positive sample instruction information by selecting an instruction template based on the evaluation type and filling in the fields. This method determines the evaluation type, scoring basis, and full score of a sub-evaluation point based on its evaluation criteria. The evaluation type characterizes the required scoring method category for the sub-evaluation point, including objective, subjective, and quantitative items. The scoring basis characterizes the materials, facts, or rules required for verification to determine whether the scoring conditions are met. The full score characterizes the upper limit of the score corresponding to the sub-evaluation point. Based on the evaluation type, a corresponding instruction template is selected from a preset instruction template set. The preset instruction template set characterizes pre-configured template data containing task descriptions and output format requirements for different evaluation types. The instruction template characterizes the text framework guiding the model to execute a specific evaluation type scoring task. The evaluation criteria, scoring basis, full score, and output format requirements are filled into the selected instruction template to obtain the instruction information for positive samples. The evaluation criteria are used to characterize the scoring basis, full score, and checklist corresponding to the sub-evaluation points. The output format requirements are used to characterize the field format descriptions for the model's output score, scoring reasons, and referenced page numbers. In one implementation, the objective item sub-evaluation points select the objective item instruction template, which includes a description of the precise comparison task and the judgment requirements for compliance or non-compliance. The subjective item sub-evaluation points select the subjective item instruction template, which includes a grade scoring task description and the mapping requirements for general, good, and excellent grades. In another implementation, the quantitative item sub-evaluation points select the quantitative item instruction template, which includes a description of the numerical calculation task and threshold comparison requirements. In yet another implementation, the templates in the preset instruction template set have placeholder fields, which are used to characterize the position identifiers for the evaluation criteria, scoring basis, full score, and output format requirements to be filled in. Through the above-mentioned review type identification, instruction template selection and field filling, the positive sample instruction information is matched with the review type of the sub-review point. During training, the model obtains task description and output format constraints consistent with the review type, thereby improving the accuracy of positive sample instructions and the structured nature of the scoring results.

[0104] In some embodiments, determining the positive sample input information based on the page content of the response material page corresponding to the sub-review point may further include: segmenting the response material page to obtain multiple candidate segments; selecting evidence segments from the multiple candidate segments according to the review criteria of the sub-review point; obtaining the page number to which each evidence segment belongs and adding a page number anchor point before each evidence segment; and organizing the evidence segments after adding the page number anchor point according to the page number order to obtain the positive sample input information.

[0105] When determining positive sample input information based on the content of the response material page, directly using the entire page of text as input introduces noise from paragraphs, headers, footers, and advertising text unrelated to the sub-review points. This causes the model's scoring rationale to deviate from the scoring criteria, and the model struggles to accurately locate evidence within long texts. To address this issue, this section provides a method for segmenting the response material page, selecting evidence fragments, and adding page number anchors. This method segments the response material page into fragments, representing the process of dividing the page text into multiple text fragments based on paragraphs, table rows, or semantic boundaries; multiple candidate fragments are obtained, representing the text fragments to be screened after segmentation. Evidence fragments are selected from the candidate fragments according to the review criteria of the sub-review points; evidence fragments represent text fragments among the candidate fragments that are relevant to the sub-review point scoring criteria. The page number of each evidence fragment is obtained, and a page number anchor is added before each evidence fragment; the page number represents the page number of the evidence fragment in the tender document; the page number anchor represents the marker text that precedes the inserted evidence fragment and identifies the page number from which the fragment originates. The evidence fragments, after adding page number anchors, are organized according to page number order to obtain the input information for positive samples; the input information is used to characterize the material content provided to the model. In one implementation, evidence fragment selection uses semantic similarity calculation, calculating the semantic similarity between candidate fragments and the descriptions of sub-review points, and selecting candidate fragments with similarity higher than a set threshold as evidence fragments. In another implementation, evidence fragment selection combines keyword matching and semantic similarity, first screening candidate fragments by keyword matching, and then selecting a set number of evidence fragments by sorting them by semantic similarity. In yet another implementation, page number anchors are inserted before the evidence fragments using page number identifiers enclosed in square brackets, and the evidence fragments are arranged in ascending page number order. Through the above fragment segmentation, evidence fragment selection, and page number anchor addition, irrelevant content in the input information is filtered out, the correspondence between evidence fragments and page numbers is explicitly labeled, and the model can accurately reference the page number of the evidence fragment based on the page number anchors during training, improving the relevance of the positive sample input information and the accuracy of page number reference.

[0106] In some embodiments, determining the expected output information of the positive sample based on the scoring results of the sub-review points may further include: determining the structured field format of the expected output information based on the review type of the sub-review points; organizing the score, scoring reason, and referenced page number according to the structured field format to obtain structured output; performing consistency verification between the referenced page number in the structured output and the page number in the input information of the positive sample; and determining the structured output that passes the verification as the expected output information of the positive sample.

[0107] When determining the expected output information for positive samples based on the scoring results of sub-review points, if the expected output information is provided in free text format, the positions of the fields for score, scoring reason, and cited page number are not fixed. This makes it difficult for the model to learn a structured output format during training, and it also prevents automatic verification of page number consistency. To address this issue, this section provides a method for determining the structured field format and performing consistency checks. This method determines the structured field format of the expected output information based on the review type of the sub-review point. The expected output information represents the target result that the model should output. The review type represents the category of scoring methods required by the sub-review point, including objective, subjective, and quantitative items. The structured field format represents the output format containing fixed field names and field types. The score, scoring reason, and cited page number are organized according to the structured field format to obtain the structured output. The score represents the specific numerical value corresponding to the sub-review point; the scoring reason represents the textual explanation of specific text fragments in the cited materials; and the cited page number represents the set of page numbers of the material pages on which the scoring is based in the tender document. A consistency check is performed between the referenced page numbers in the structured output and the page numbers in the input information of the positive sample. This consistency check characterizes the process of verifying whether the referenced page numbers belong to the set of page numbers for evidence fragments in the input information. The structured output that passes the check is determined as the expected output information for the positive sample. In one implementation, the structured field format is JSON, containing three keys: score, reason, and pages. The value of the score key is a numerical value, the value of the reason key is text, and the value of the pages key is a list of page numbers. In another implementation, the value of the score key in the structured field format for objective item sub-review points is zero or full score, while the value of the score key in the structured field format for subjective item sub-review points is a numerical value mapped to the grade level. In yet another implementation, the consistency check compares the page number list in the pages key with the set of page number anchors in the input information. If a page number in the pages key does not belong to the set of page number anchors, that page number is deleted or the structured output is corrected. Through the above-mentioned structured field format determination, field organization, and consistency verification, the positive sample expected output information has a unified field structure, the referenced page number is consistent with the input information page number, the model learns the joint output pattern of score, reason, and page number, and reduces the risk of page number fabrication.

[0108] In some embodiments, the above-mentioned selection of at least one page from other pages may further include: determining the page characteristics of candidate pages among other pages, the page characteristics including at least one of page number, chapter affiliation, material type, and similarity to response material page; determining negative sample page selection criteria based on the review type of the sub-review point and the required material type; and selecting at least one page from the other pages that meets the negative sample page selection criteria.

[0109] When selecting negative sample input pages from other pages, if other pages are selected randomly, the selected pages may be highly correlated with the sub-review points in terms of material type. This results in a lack of reasonable basis between the negative sample input and the expected zero-score output, making it difficult for the model to learn the zero-score logic when the material type does not match. To solve this problem, this section provides a method for selecting pages based on page features and negative sample page selection criteria. This method determines the page features of candidate pages among other pages; other pages represent pages in the tender document other than the response material page; candidate pages represent pages to be screened among other pages; page features represent information describing the attributes of candidate pages, including at least one of page number, chapter affiliation, material type, and similarity to the response material page; chapter affiliation represents the chapter name to which the candidate page belongs; material type represents the business category of the materials recorded on the candidate page; similarity represents the degree of relevance between the candidate page and the response material page in terms of content. Based on the review type and required material type of the sub-review point, the selection criteria for negative sample pages are determined. The review type characterizes the scoring method category required by the sub-review point, including objective, subjective, and quantitative items. The required material type characterizes the material business category required for the sub-review point's scoring basis. The negative sample page selection criteria characterize the rules for filtering negative sample input pages. At least one page that meets the negative sample page selection criteria is selected from other pages. In one embodiment, the negative sample page selection criteria include at least one of the following: material type is inconsistent with the required material type, chapter affiliation is different from the chapter of the response material page, and similarity with the response material page is lower than a set threshold. In another embodiment, the negative sample page selection criteria are differentiated according to the review type. For objective sub-review points, the negative sample page selection criteria require inconsistent material types; for subjective sub-review points, the negative sample page selection criteria require different chapter affiliations and similarity lower than a set threshold. In yet another embodiment, a set number of pages are randomly selected from the candidate pages that meet the negative sample page selection criteria. The set number characterizes the number of pages required for negative sample input. Through the above-mentioned page feature determination, negative sample page selection condition setting, and condition-satisfied page selection, the negative sample input page is distinguished from the response material page in terms of material type, chapter affiliation, and content similarity. There is a reasonable basis between the negative sample input and the zero-score expected output. The model learns the logic of zero score and empty page number when the material type does not match or there is no relevant material.

[0110] In some embodiments, the above-mentioned determination of the instruction information for negative samples based on the evaluation criteria of the sub-evaluation points may further include: determining the evaluation type, scoring basis, full score, and output format requirements based on the evaluation criteria of the sub-evaluation points; selecting an instruction template corresponding to the evaluation type from a preset instruction template set; and filling the evaluation criteria, scoring basis, full score, and output format requirements into the instruction template to obtain the instruction information for negative samples.

[0111] When determining negative sample instruction information based on the review criteria of sub-review points, if the negative sample instruction information differs significantly from the positive sample instruction information, the task descriptions received by the model under the same review criteria will be inconsistent, making it difficult to form comparative learning with and without materials. To solve this problem, this section provides a method for obtaining negative sample instruction information by selecting an instruction template based on the review type and filling in the fields. This method determines the review type, scoring basis, full score, and output format requirements based on the review criteria of the sub-review points. The review type represents the category of scoring methods required by the sub-review point, including objective, subjective, and quantitative items. The scoring basis represents the materials, facts, or rules required for verification to determine whether the scoring conditions are met. The full score represents the upper limit of the score corresponding to the sub-review point. The output format requirements represent the field format descriptions for the model's output score, scoring reasons, and cited page numbers. An instruction template corresponding to the review type is selected from a preset instruction template set. The preset instruction template set represents pre-configured template data containing task descriptions and output format requirements for different review types. The review criteria, scoring basis, full score, and output format requirements are filled into the instruction template to obtain the negative sample instruction information. In one implementation, the negative sample instruction information is identical to the positive sample instruction information for the same sub-review point, both including review criteria, scoring basis, full score, and output format requirements, allowing positive and negative samples to share the same instruction. In another implementation, the negative sample instruction information adds a "no relevant material" prompt to the positive sample instruction information. This prompt indicates that the model outputs a zero score and an empty page number when no relevant material is found. In yet another implementation, the output format requirements in the negative sample instruction information explicitly specify the field formats for a zero score, the reason for the zero score, and the empty page number. The reason for the zero score indicates that no relevant material was found, and the empty page number indicates a set of page numbers that do not reference any page numbers. Through the above-mentioned review type identification, instruction template selection, and field filling, the negative sample instruction information and the positive sample instruction information maintain consistency in task description and output format. The model learns the mapping relationship between different input materials and different outputs under the same review criteria, improving the accuracy of page number reference constraint learning.

[0112] In some embodiments, determining the input information of negative samples based on the page content of the selected page may further include: obtaining the page content and page number of the selected page; and organizing the page content and page number into input information according to the same input template as the positive samples of the same sub-review point.

[0113] When determining negative sample input information based on the content of the selected page, if the negative sample input information differs significantly from the positive sample input information in format and length, the model may use format differences rather than content differences as the basis for judgment, leading to inaccurate learning of page number reference constraints. To address this issue, this section provides a method for organizing negative sample input information according to the same input template as the positive samples of the same sub-evaluation point. This method obtains the page content and page number of the selected page; the selected page represents the page selected from other pages for constructing negative samples; the other pages represent pages in the tender document excluding response material pages; the page content represents text, tables, and image-recognized text in the selected page; the page number represents the page number of the selected page in the tender document. The page content and page number are organized into input information according to the same input template as the positive samples of the same sub-evaluation point; the input template represents template data that specifies the order of input information fields, page number anchor format, and fragment organization method. In one embodiment, the input template specifies that the page content comes first, the page number anchor is inserted before the page content, multiple pages are arranged in page number order, and the negative sample input information is organized according to the same rules. In another implementation, the input template specifies that page content is segmented into fragments and page number anchors are added before each fragment. Negative sample input information performs the same segmentation and page number anchor addition on the selected page. In yet another implementation, the input template specifies that a material type marker is appended before the page content. The material type marker appended to the negative sample input information has the same format as the material type marker in the positive sample input information. By acquiring page content and page numbers and organizing the input with the same template, the negative sample input information and the positive sample input information maintain consistency in format, length, and page number anchor method. The model primarily makes judgments based on material content rather than format differences, improving the accuracy of page number reference constraint learning.

[0114] In some embodiments, the above-mentioned expected output information of a score of zero, a reason for a zero score, and an empty page number as negative samples may further include: determining the structured field format of the expected output information based on the review type of the sub-review point; setting the value of the score field to zero; generating a reason for a zero score in the reason field based on the correspondence between the selected page and the review criteria; setting the value of the page number field to an empty set; validating the structured field format, including verifying that the score field is zero, the page number field is empty, and the reason field corresponds to the content of the selected page; and determining the structured field format that passes the verification as the expected output information of negative samples.

[0115] When using a score of zero, a reason for a zero score, and an empty page number as the expected output information for negative samples, if the expected output information is provided in free text form without field validation, the score field may be non-zero, the page number field may be non-empty, and the reason field may not correspond to the content of the selected page, causing the negative sample to lose its constraining effect. To solve this problem, this section provides a method for determining the structured field format and performing field validation. This method determines the structured field format of the expected output information based on the review type of the sub-review point; the review type is used to characterize the scoring method category required by the sub-review point, including objective, subjective, and quantitative items; the structured field format is used to characterize the output format containing fixed field names and field types. The value of the score field is set to zero; the score field is used to characterize the field representing the score in the expected output of the negative sample. Based on the correspondence between the selected page and the review criteria, a reason for a zero score is generated in the reason field; the reason field is used to characterize the field representing the reason for scoring in the expected output of the negative sample; the reason for a zero score is used to characterize the text explaining that no relevant materials were found; the correspondence between the selected page and the review criteria is used to characterize the judgment result that the content of the selected page is irrelevant to the review criteria of the sub-review point. The page number field is set to an empty set; the page number field represents the field indicating the referenced page number in the expected output of the negative sample; the empty set represents the set that does not contain any page numbers. The structured field format is validated, including a score field of zero, an empty page number field, and a reason field corresponding to the selected page content; the validated structured field format is determined as the expected output information for the negative sample. In one implementation, the structured field format is JSON format, containing three keys: score, reason, and pages. The score key has a value of zero, the reason key has a value of "no relevant material found," and the pages key has a value of an empty list. In another implementation, the reason for a zero score generates a negative statement based on the material type of the selected page. The negative statement represents text indicating that the material type of the selected page is inconsistent with the material type required by the review criteria. In yet another implementation, during validation, if the reason field is a preset fixed text, it is determined that the reason field corresponds to the selected page content; if the reason field is empty or irrelevant to the selected page content, the validation fails and a reason for a zero score is regenerated. Through the above-mentioned structured field format determination, field value setting, and field validation, the negative sample expected output information clearly indicates that the model should output zero score and not cite page numbers when there is no relevant material. The score field, page number field, and reason field all pass the validation. The model learns the correspondence between empty page numbers and zero scores, suppressing the tendency to fabricate page numbers.

[0116] The following is a specific scenario example provided in this manual: This paper presents a method for constructing a fine-tuning corpus to assist in the evaluation of a large-scale evaluation model. The scheme adopts a four-stage process architecture: "evaluation criteria analysis—bid material location—automatic scoring—corpus construction." The system includes: a tender document parsing module, an evaluation criteria decomposition module, a bid material location module, a page classification and structured extraction module, a scorer routing module, and a corpus construction and output module. In the first stage, the tender document is parsed, and the evaluation items are automatically decomposed into independently scoreable sub-evaluation points. In the second stage, the response material pages in the bid document are located based on the sub-evaluation points. In the third stage, the scorer is invoked to automatically score the sub-evaluation points, outputting the actual score, scoring reasons, and cited page numbers. In the fourth stage, positive and negative samples are constructed based on the above information and converted into a fine-tuning corpus. Figure 3 As shown.

[0117] ① Tender Document Parsing and Evaluation Criterion Decomposition: The input tender document is converted into structured text using a document parsing tool, extracting evaluation item information such as evaluation item name, description, total score, and minimum score. This evaluation item information is then input into the evaluation criterion decomposition module. This module first uses rule routing to find common evaluation templates and directly decomposes them; if no template is found, it uses a large language model to perform semantic understanding of the evaluation item descriptions, decomposing each evaluation item into multiple sub-evaluation points. Each sub-evaluation point contains fields such as scoring point name, scoring basis, full score, and evaluation type. If the sum of the full scores of all sub-evaluation points after decomposition exceeds the total score of the evaluation item, an average score correction is performed. This step transforms the coarse-grained evaluation criteria into the smallest independently verifiable and scoreable unit, providing clear input for subsequent material positioning and scoring. Figure 3 As shown.

[0118] ② Multi-strategy positioning of bidding materials: For each sub-evaluation point, locate the corresponding material page in the bidding document. First, parse the bidding document PDF; for editable PDFs, extract text and page information using document parsing tools; for scanned PDFs, obtain the page text through optical character recognition, such as... Figure 3 As shown. After building the page index, a five-layer funnel positioning strategy is executed sequentially, as follows: Figure 4 As shown: The first layer is keyword search, extracting keywords from sub-review point names and scoring criteria, and performing substring matching; the second layer is review index table parsing, identifying the review index table in the tender document, parsing the mapping relationship between sub-review points and page numbers, and correcting page number offsets; the third layer is term frequency-inverse document frequency semantic search, calculating the semantic similarity between sub-review point descriptions and page text based on character-level n-grams; the fourth layer is table of contents reasoning, inferring relevant chapter page numbers based on the document's table of contents structure; the fifth layer is a full document fallback, extracting several pages as alternatives when the above strategies fail. This step integrates multiple positioning strategies, reducing the risk of missed detections while ensuring recall, and providing realistic response material pages for corpus construction. Figure 4 As shown.

[0119] ③ Page Classification, Structured Extraction, and Automatic Scoring: The located response material pages are classified to identify their business type, such as business licenses, qualification certificates, performance records, personnel, finances, credit, commitment letters, tender documents, signatures and seals, review index tables, and others. Classification employs a rule-driven approach with a fallback of a large language model: the rule engine performs rapid classification based on page features such as keywords, titles, and table structures; when the rule confidence level falls below a threshold, the large language model is invoked for further classification. Based on the classification results, specialized prompts are used to extract structured information, such as personnel lists, performance lists, qualification certificates, and financial data.

[0120] ④ Based on the review type of each sub-review point, the scoring task is routed to different scorers. Objective items, such as qualifications, performance, personnel, and finances, are handled by the objective item scorer; subjective items, such as solution quality and responsiveness, are handled by the subjective item scorer; and quantitative items, such as amount, quantity, and duration, are handled by the quantitative item scorer. The objective item scorer employs a three-level progressive judgment mechanism: it first calls the compliance verification engine to accurately compare the structured bidding data with the bidding requirements; if the structured verification cannot determine the result, it matches based on rules such as qualification certificates, performance quantity, financial years, staffing, and commitment letters; if it still cannot determine the result, it calls the large language model as a fallback scorer. The subjective item scorer uses a tiered scoring mode, discretizing continuous scores into "average / good / excellent" levels, injecting a scoring checklist into the prompt words to guide the model to evaluate by dimension and map it to a specific score. The scoring output includes the actual score, the scoring reason, and the cited page number. This step provides realistic and interpretable labels for corpus construction. Figure 3 As shown.

[0121] ⑤ Positive and negative sample construction and corpus generation: Based on the above process, construct instructions to fine-tune the corpus, such as... Figure 5 As shown. Positive sample construction: Using the sub-review point review criteria as instructions, the content of the located response material page (including the context of the preceding and following pages) as input, and the actual score, scoring reason, and cited page number output by the scorer as output, a complete question-and-answer pair sample is formed. Negative sample construction: For the same sub-review point and the same tender document, the pages of the tender document are divided into response material pages and other pages. Several irrelevant pages are randomly selected from the other pages as input, with the expected output being a set of score 0, zero-score reasons, and empty page numbers. Each sample is accompanied by metadata, recording information such as project identifier, tender document, review item, sub-review point, located page number, grade mode, and whether it is a negative sample. All positive and negative samples are written into the training corpus file in Alpaca format. This step constructs comparison samples by replacing material pages within the same tender document, enabling the model to learn the discrimination logic of "score and cite page number if there is material, zero score and no page number if there is no material", effectively suppressing model illusion.

[0122] The following is a specific embodiment of this specification: Step 1: Tender Document Parsing and Evaluation Criteria Decomposition: The evaluation item data from the tender document is obtained and converted into JSON format, containing fields such as evaluation item name, evaluation content, score, and scoring criteria. The system recursively parses each evaluation item, splitting it according to a hierarchical structure of "evaluation item → sub-evaluation point." The splitting rules include: separating parallel scoring points by semicolons and newlines; identifying condition combinations by logical connectors such as "AND" and "OR"; and allocating the maximum score for sub-evaluation points based on their weighted scores. After splitting, a list of sub-evaluation points is generated, each containing a unique identifier, its associated evaluation item, a description of the evaluation criteria, a set of keywords, and score information. This step provides fine-grained query units for subsequent material location and automatic scoring.

[0123] Step 2, Tender Document Parsing and Page Text Extraction: Obtain the tender document, typically in PDF or DOCX format. If the input is PDF, use the PyMuPDF library to render the document page by page as text, extracting the plain text content, page size, and page number information for each page. For scanned PDFs, first use an OCR engine to recognize the text in the page image, then organize it into structured text page by page. If the input is DOCX, use the python-docx library to extract text by paragraph and page. After parsing, generate a set of page text, each element containing page number, raw text, a list of paragraphs, and document type tags. This set serves as the input for the five-layer funnel material positioning.

[0124] Step 3, Five-layer funnel material location: For each sub-review point obtained in Step 1, locate the relevant response material page in the page text set obtained in Step 2. The location process adopts a five-layer funnel progressive strategy: Keyword Search Layer: Extracts the set of keywords for sub-review points, performs substring matching on the text of each page, and records the matched page numbers. If the number of matched pages reaches a threshold K (e.g., K=3), the set of matched page numbers is output and the positioning process terminates; otherwise, the review index table parsing layer is entered.

[0125] Review Index Table Parsing Layer: Identifies whether the tender document contains formatted structures such as "Review Index Table," "Response Table," and "Deviation Table," parses the mapping relationship between "Review Clause Number - Response Page Number" in the table, and matches the page number corresponding to the current sub-review point. If the number of matched pages reaches the threshold, outputs and terminates; otherwise, proceeds to the TF-IDF semantic search layer.

[0126] TF-IDF Semantic Search Layer: Using sub-review point descriptions as queries and all page texts as document sets, it calculates character-level n-gram TF-IDF similarity and returns the Top-N pages sorted by similarity. If the number of matched pages reaches a threshold, it outputs and terminates; otherwise, it proceeds to the directory reasoning layer.

[0127] Directory Reasoning Layer: Parses the directory structure of the tender document, infers the page range of chapters that may contain response materials based on the semantic relationship between chapter titles and sub-review points, and expands the context pages. If the number of pages hit reaches the threshold, outputs and terminates; otherwise, proceeds to the full document bottom layer.

[0128] Full document bottom layer: When the above four layers are insufficient, extract a number of pages from the entire tender document (for example, sample at a fixed interval of M=5) as a set of relevant material pages.

[0129] Each layer's output set of relevant material pages includes page numbers and confidence information, which are then merged and deduplicated before being used as input for step 4. This five-layer strategy forms a funnel-shaped recall process that prioritizes accuracy and provides a fallback at each layer.

[0130] Step 4, Page Classification, Structured Extraction, and Automatic Scoring: Input the text of the relevant material pages located in Step 3 into the scorer. The scorer first classifies the pages, distinguishing between text pages, table pages, chart pages, and supporting document pages. For table pages, it calls the table parsing module to extract cell content; for supporting document pages, it identifies the material type (e.g., qualification certificates, performance contracts, financial statements, etc.). Subsequently, based on the review criteria of the sub-review points, the request is routed to the corresponding scorer: the objective item scorer determines "compliant / non-compliant" based on rule matching, and the semi-subjective item scorer calls the large language model API for semantic judgment. The scorer forces the output of structured results, including: score (0 points, partial score, or full score), scoring reason (specific text fragments from the cited materials), and the set of cited page numbers (page numbers output in Step 3). This step achieves explicit binding between the score output and the source of the materials.

[0131] Step 5, Positive / Negative Sample Construction: Based on the sub-review points from Step 1, the localization results from Step 3, and the scoring results from Step 4, construct the instruction fine-tuning corpus: Positive Sample Construction: Based on the same sub-evaluation point, the same tender document, and the same evaluation criteria, the relevant response material pages (including context pages) located in step 3 are used as input, and the scores, scoring reasons, and referenced page numbers output in step 4 are used as output, organized into a positive sample in Alpaca format. The instruction is "Please determine the score of this sub-evaluation point based on the following evaluation criteria and tender document content, and explain the reasons and referenced page numbers"; the input is the evaluation criteria and relevant material page text; the output is the structured scoring results.

[0132] Negative sample construction: Within the same sub-evaluation point and the same tender document, the tender document is divided into response material pages and other pages. Several pages are randomly sampled from the other pages as input. The expected output is fixed as: score 0 points, reason "no relevant materials found", and empty set of referenced page numbers. This negative sample shares the instructions and evaluation criteria with the positive sample, only the material pages in the input are different.

[0133] Positive and negative samples together form paired training data, enabling the model to learn the constraints of page number references.

[0134] Step 6, Corpus Merging and Output: The positive and negative samples generated in Step 5 are written into a corpus file according to a unified format. Each sample contains three fields: instruction, input, and output. The output is in JSON format and contains three keys: score, reason, and pages. The system performs deduplication, validation, and format standardization on the corpus, ensuring that the pages field in the output of each sample matches the page number in the input, and that the reason field is related to the content of the material. The final output is a corpus file that can be used for fine-tuning of large language model instructions.

[0135] Steps 1 (Tender Document Parsing and Evaluation Criteria Decomposition), 2 (Tender Document Parsing and Page Text Extraction), 3 (Five-Layer Funnel Material Location), 4 (Page Classification, Structured Extraction, and Automatic Scoring), 5 (Positive / Negative Sample Construction), and 6 (Corpus Merging and Output) have a strict causal dependency and are executed sequentially. The five-layer strategy within step 3 is progressive, executed in the order of "keyword search → evaluation index table parsing → TF-IDF semantic search → directory reasoning → full document fallback." Although the positive and negative sample constructions within step 5 have different input sources, both depend on the results of steps 3 and 4. Logically, positive samples can be constructed first, followed by negative samples, or they can be constructed in parallel.

[0136] Steps 1 and 2 process the tender documents and bid documents respectively; they have no data dependency and can be executed in parallel. Step 3, which locates each sub-review point, is independent and can be processed in batches.

[0137] See Figure 6 As shown in the embodiments of this specification, a fine-tuning corpus construction device 600 for assisting in the review of large models is also provided. This device may specifically include the following structural modules: The splitting module 601 is used to split the evaluation items in the tender document into multiple sub-evaluation points; The positioning module 602 is used to locate the response material page corresponding to each sub-review point in the tender document; The determination module 603 is used to determine the scoring results of each sub-review point based on the response material page; the scoring results include the score, the scoring reason, and the referenced page number; the referenced page number includes the page number of the response material page; The construction module 604 is used to construct positive samples based on the evaluation criteria of each sub-evaluation point and the corresponding response material page and scoring results of each sub-evaluation point, and to construct negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive sample includes the scoring results, and the expected output of the negative sample includes a score of zero, the reason for the zero score, and a blank page number. The generation module 605 is used to generate instruction fine-tuning corpus to assist the review of the large model based on the positive samples and the negative samples.

[0138] As can be seen from the technical solutions provided in the embodiments of this specification above, the embodiments of this specification, through sub-review point splitting and response material page positioning, enable the scoring results to include scores, scoring reasons, and response material page numbers, thereby binding scores with material page numbers; constructing positive samples based on response material pages and constructing negative samples with zero scores and empty page numbers based on other distinguishable pages, and through comparison of positive and negative samples, the model learns to give scores and cite page numbers when there are response materials, and to give zero scores and not assign page numbers when there are no response materials, thereby generating instruction fine-tuning corpora with page number constraints, suppressing page number fabrication, and improving the interpretability and credibility of the scoring.

[0139] It should be noted that the units, devices, or modules described in the above embodiments can be implemented by computer chips or physical entities, or by products with certain functions. For ease of description, the above devices are described by dividing them into various modules according to their functions. Of course, in implementing this specification, the functions of each module can be implemented in one or more software and / or hardware, or a module that implements the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are illustrative. For example, the division of units is a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.

[0140] Based on the above-described method for constructing a fine-tuned corpus for the large-scale auxiliary review model, this specification also provides a computer device in its embodiments. (See attached document.) Figure 7 As shown, the computer device 700 includes a network communication port 701, a processor 702, and a memory 703. These structures are connected by internal cables so that each structure can perform specific data interaction.

[0141] The processor 702 is specifically used to split the evaluation items of the tender document into multiple sub-evaluation points; locate the response material page corresponding to each sub-evaluation point in the tender document; determine the scoring result of each sub-evaluation point based on the response material page; the scoring result includes a score, a scoring reason, and a referenced page number; the referenced page number includes the response material page number; construct positive samples based on the evaluation criteria of each sub-evaluation point, the response material page corresponding to each sub-evaluation point, and the scoring result, and construct negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive sample includes the scoring result, and the expected output of the negative sample includes a score of zero, a reason for zero score, and an empty page number; and generate a fine-tuning corpus of instructions for assisting the large-scale evaluation model based on the positive sample and the negative sample.

[0142] The memory 703 can be used to store the corresponding instruction program, as well as related data such as target data.

[0143] Based on the above method, the relevant structural performance of computer equipment can be effectively utilized to improve the data processing speed of electronic devices and efficiently realize a deployed data processing.

[0144] In this embodiment, the network communication port 701 can be a virtual port bound to different communication protocols, thereby enabling the sending or receiving of different data. For example, the network communication port can be a port responsible for web data communication, a port responsible for FTP data communication, or a port responsible for email data communication. Furthermore, the network communication port can also be a physical communication interface or communication chip. For example, it can be a wireless mobile network communication chip, such as GSM or CDMA; it can also be a Wi-Fi chip; or it can be a Bluetooth chip.

[0145] In this embodiment, the processor 702 can be implemented in any suitable manner. For example, the processor can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers, etc. This specification is not limiting.

[0146] In this embodiment, the memory 703 may include multiple layers. In a digital system, anything that can store binary data can be a memory. In an integrated circuit, a circuit with storage function but no physical form is also called a memory, such as RAM, FIFO, etc. In a system, a storage device with a physical form is also called a memory, such as a memory stick, TF card, etc.

[0147] This specification also provides a computer-readable storage medium for constructing a fine-tuning corpus based on any of the above-mentioned auxiliary review large model. The computer-readable storage medium stores computer program instructions that, when executed, can: split the review items of the tender document into multiple sub-review points; locate the response material page corresponding to each sub-review point in the tender document; determine the scoring result of each sub-review point based on the response material page; the scoring result includes a score, a scoring reason, and a reference page number; the reference page number includes the response material page number; construct positive samples based on the review criteria of each sub-review point, the corresponding response material page, and the scoring result; and construct negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive samples includes the scoring result, and the expected output of the negative samples includes a score of zero, a reason for zero, and an empty page number; and generate a fine-tuning corpus for the auxiliary review large model based on the positive samples and the negative samples.

[0148] In this embodiment, the storage medium includes, but is not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Cache, Hard Disk Drive (HDD), or Memory Card. The memory can be used to store computer program instructions. The network communication unit can be an interface configured according to standards specified in the communication protocol for network connection communication.

[0149] In this embodiment, the specific functions and effects implemented by the program instructions stored in the computer-readable storage medium can be explained in comparison with other embodiments, and will not be repeated here.

[0150] This specification also provides a computer program product, comprising at least a computer program, which, when executed by a processor, can perform the following method steps: splitting the evaluation items of a tender document into multiple sub-evaluation points; locating the response material page corresponding to each sub-evaluation point in the tender document; determining the scoring result of each sub-evaluation point based on the response material page; the scoring result includes a score, a scoring reason, and a referenced page number; the referenced page number includes the response material page number; constructing positive samples based on the evaluation criteria of each sub-evaluation point, the corresponding response material page, and the scoring result, and constructing negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive samples includes the scoring result, and the expected output of the negative samples includes a score of zero, a reason for the zero score, and an empty page number; and generating a fine-tuning corpus of instructions for assisting the large-scale evaluation model based on the positive samples and the negative samples.

[0151] While this specification provides the steps of operation for the methods described in the embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive means. The order of steps listed in the embodiments is one possible order of execution among many steps and does not represent the only possible order. In actual device or client product execution, the methods may be executed sequentially or in parallel as shown in the embodiments or drawings (e.g., in a parallel processor or multi-threaded processing environment, or even a distributed data processing environment). The terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, product, or apparatus that includes a list of elements does not include those elements, but also includes other elements not expressly listed, or elements inherent to such a process, method, product, or apparatus. Without further limitations, the presence of other identical or equivalent elements in a process, method, product, or apparatus that includes said elements is not excluded. The terms "first," "second," etc., are used to denote names and do not indicate any particular order.

[0152] Those skilled in the art will also know that, besides implementing the controller using purely computer-readable program code, the same functions can be achieved by logically programming the method steps, making the controller function as logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers (PLCs), and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the devices within it used to implement various functions can also be considered structures within that hardware component. Alternatively, the devices used to implement various functions can be considered as both software modules implementing the method and structures within a hardware component.

[0153] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer-readable storage media, including storage devices.

[0154] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this specification can be implemented by means of software plus necessary general-purpose hardware servers. Based on this understanding, the technical solutions of this specification can essentially be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, mobile terminal, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments of this specification.

[0155] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. This specification can be used in numerous general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices, etc.

[0156] Although this specification has been described by way of examples, those skilled in the art will recognize that many variations and modifications are possible without departing from the spirit of this specification, and it is intended that the appended claims cover such variations and modifications without departing from the spirit of this specification.

Claims

1. A method for constructing a fine-tuning corpus to assist in the evaluation of a large model, characterized in that, include: The evaluation items in the tender documents are broken down into multiple sub-evaluation points; Locate the corresponding response material page for each sub-review point in the tender document; Based on the response materials page, the scoring results for each sub-review point are determined; the scoring results include the score, the reason for the scoring, and the referenced page number; the referenced page number includes the page number of the response materials page; Positive samples are constructed based on the evaluation criteria for each sub-evaluation point, the corresponding response material pages, and the scoring results for each sub-evaluation point. Negative samples are constructed based on other pages in the tender document that are distinct from the response material pages. The expected output of the positive samples includes the scoring results, and the expected output of the negative samples includes a score of zero, the reason for the zero score, and a blank page number. Based on the positive and negative samples, a fine-tuning corpus of instructions for assisting the large-scale review model is generated.

2. The method according to claim 1, characterized in that, The process of breaking down the evaluation items in the tender documents into multiple sub-evaluation points includes: The tender documents are parsed to obtain the evaluation item information, which includes the evaluation item name, evaluation content, and score. Semantic parsing is performed on the review item information to identify the scoring conditions, scoring basis, and score allocation relationships in the review item; According to the scoring conditions, scoring basis, and score allocation relationship, the review item is divided into multiple sub-review points.

3. The method according to claim 1, characterized in that, Locating the response material pages corresponding to each sub-evaluation point in the tender document includes: Parse the tender documents to obtain a set of page text; Based on the page text set, keyword matching location, review index table parsing location, semantic similarity retrieval location, directory reasoning location and full document extraction location are performed sequentially for each sub-review point to obtain the response material page for each sub-review point; The response material pages for each sub-review point are merged and deduplicated.

4. The method according to claim 3, characterized in that, Based on the page text set, keyword matching positioning, review index table parsing positioning, semantic similarity retrieval positioning, directory reasoning positioning, and full document extraction positioning are sequentially performed on each sub-review point to obtain the response material page for each sub-review point, including: When the number of candidate pages obtained from any layer of positioning reaches a set threshold, the candidate page obtained from that layer of positioning is used as the response material page corresponding to the sub-review point. If the number of candidate pages obtained from any layer of positioning does not reach the set threshold, positioning is performed at the next layer.

5. The method according to claim 1, characterized in that, The determination of the scoring results for each sub-review point based on the response material page includes: The response material page is categorized to determine its business type; Based on the business type, extract the structured information corresponding to the sub-review points from the response material page; Based on the review type of the sub-review point, the review criteria and the structured information of the sub-review point are routed to the corresponding scorer, so that the scorer outputs the score result of the sub-review point.

6. The method according to claim 5, characterized in that, The step of routing the review criteria and structured information of a sub-review point to the corresponding scorer based on the review type of the sub-review point, so as to output the score result of the sub-review point through the scorer, includes: Obtain the routing characteristics of sub-review points. The routing characteristics include at least one of the following: review type, material type, structured information completeness, field missing rate, and historical scoring performance. Based on routing characteristics, multiple candidate scorers that match the routing characteristics are identified from the scorer registry; The evaluation criteria and structured information of the sub-evaluation points are input into multiple candidate scorers to obtain multiple candidate scoring results. Each candidate scoring result includes a score, scoring reason, cited page number, and confidence level. The scores of multiple candidate scores are merged to obtain the scores of the sub-review points.

7. The method according to claim 1, characterized in that, The construction of positive samples based on the review criteria for each sub-review point and the corresponding response material pages and scoring results for each sub-review point includes: Based on the evaluation criteria of the sub-evaluation points, the instruction information of the positive sample is determined; The input information of the positive sample is determined based on the page content of the response material page corresponding to the sub-review point; Based on the scoring results of the sub-review points, determine the expected output information of the positive sample; The instruction information, input information, and expected output information are organized according to a preset instruction fine-tuning format to obtain the positive sample.

8. The method according to claim 1, characterized in that, The construction of negative samples based on other pages in the tender document that are distinct from the response material page includes: The tender documents are divided into the response materials page and other pages; Select at least one page from the other pages; The instruction information for the negative sample is determined based on the evaluation criteria of the sub-evaluation points; The input information of the negative sample is determined based on the content of the selected page; The score of zero, the reason for the zero score, and the blank page number are taken as the expected output information of the negative sample. The negative sample is obtained by organizing the instruction information, input information, and expected output information according to a preset instruction fine-tuning format.

9. A device for constructing a fine-tuning corpus to assist in reviewing a large-scale model, characterized in that, include: The splitting module is used to break down the evaluation items in the tender documents into multiple sub-evaluation points; The positioning module is used to locate the response material page corresponding to each sub-review point in the tender document; The determination module is used to determine the scoring results of each sub-review point based on the response material page; the scoring results include the score, the scoring reason, and the referenced page number; the referenced page number includes the page number of the response material page; The construction module is used to construct positive samples based on the review criteria of each sub-review point and the corresponding response material page and scoring results of each sub-review point, and to construct negative samples based on other pages in the tender document that are distinct from the response material page; the expected output of the positive sample includes the scoring results, and the expected output of the negative sample includes a score of zero, the reason for the zero score, and a blank page number; The generation module is used to generate instruction fine-tuning corpus to assist in the review of the large model based on the positive samples and the negative samples.

10. A computer device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes these computer instructions to implement the method for constructing a fine-tuned corpus for an auxiliary review large model as described in any one of claims 1 to 8.