Financial report sentiment analysis and intelligent investment recommendation method based on large language model
By analyzing financial reports using a large language model, multi-dimensional sentiment scores are generated and weighted and processed over time. This solves the problem of insufficient detail and stability in existing sentiment analysis technologies, and improves the accuracy and stability of investment decisions.
Patent Information
- Application Number
- CN202611278067.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing sentiment analysis methods for financial reports struggle to distinguish complex semantics in detail and ignore the influence of different text sources, report sections, and time periods. This results in sentiment results that are not comparable or stable enough to reflect changes in market reactions and thus affect investment decisions.
We employ a large language model to analyze financial report texts, generating multi-dimensional sentiment scores. We then combine text source, report section, publication time, and industry attributes to apply weights and time decay, generating a comprehensive sentiment factor. Finally, we use a multi-factor fusion model to generate investment recommendations.
It achieves comparability, traceability, and integrability of sentiment results in financial reports, reduces the risk of misjudgment caused by a single sentiment score, and improves the stability and market adaptability of investment recommendations.
Smart Images

Figure CN123178607A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of investment recommendation technology, and in particular to a method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model. Background Technology
[0002] Investment recommendation technology falls under the technical fields of financial information processing and financial decision support. It primarily involves the organization, analysis, and application of information such as securities market information, listed company financial reports, industry research materials, market transaction data, financial indicators, risk factors, and investment preferences. Specifically, traditional financial report sentiment analysis and intelligent investment recommendations refer to the collection, cleaning, word segmentation, keyword identification, rule matching, natural language processing, shallow machine learning analysis, and financial indicator organization of financial texts such as listed company quarterly reports, annual reports, interim announcements, brokerage research reports, management discussions, and risk warnings. This is combined with financial indicators such as price-to-earnings ratio, price-to-book ratio, revenue growth rate, and volatility to identify and summarize the sentiment, operating condition descriptions, industry risk statements, and market expectation information in the financial texts. This information is then used to generate content related to investment target screening, portfolio references, risk warnings, and investment recommendations.
[0003] Existing sentiment analysis of financial reports primarily relies on sentiment dictionary matching, manual annotation rules, or general text classification models. Typically, announcements, research reports, news articles, or earnings conference calls are analyzed individually, categorized into basic sentiment types such as positive, negative, or neutral, or a single sentiment score is output. In some quantitative investment research processes, sentiment scores are further used as supplementary references by manually setting thresholds or simple weighting to observe changes in market sentiment. For texts from different sources such as annual reports, quarterly reports, interim announcements, and research reports, current processing methods often analyze them separately by source. Information such as report chapters, publication dates, company industry attributes, and historical market reactions is often stored separately as external explanations. The sentiment results are primarily used as explanatory material or a basis for manual judgment, lacking a stable factor-based conversion link between the text and quantitative investment decisions.
[0004] The main problems are as follows: First, sentiment recognition results are mostly limited to coarse-grained judgments such as positive, negative, or neutral, making it difficult to distinguish complex semantics in financial reports such as management confidence, risk concern, and event impact, resulting in insufficient detail in expressing the meaning of investment through text sentiment. Secondly, the impact of different text sources, report chapters, publication times, and industry backgrounds on the meaning of sentiment varies greatly. Existing processing methods usually calculate sentiment scores using a uniform standard, which can easily lead to risk warnings in key chapters being treated the same as ordinary descriptive content, affecting the comparability of sentiment results. Third, market reactions after the release of financial reports exhibit a clear time-varying characteristic. Existing sentiment scores are often used based on static results, making it difficult to reflect the process of the decline of sentiment influence over time. This can easily lead to outdated sentiment information continuing to interfere with current investment decisions. Fourth, a single sentiment score is insufficient to describe the differences in opinions of the same company across different information sources, nor can it depict changes in sentiment trends, the concentrated occurrence of sentiment events, or the divergence between sentiment and fundamental performance, resulting in insufficient dimensions for investment analysis to utilize textual signals. Therefore, existing solutions characterized by coarse-grained sentiment classification, static sentiment scoring, decentralized source processing, and human-assisted judgment are insufficient to meet the requirements of financial report sentiment analysis for stable investment recommendations in quantitative investment scenarios. Summary of the Invention
[0005] The purpose of this invention is to provide a method for sentiment analysis and intelligent investment recommendation of financial reports based on a large language model. This method transforms the semantic sentiment results in financial report texts into sentiment factors that participate in quantitative investment decisions after structuring, weighting, time decay, and multi-factor fusion. Based on these sentiment factors and their derived indicators, investment recommendation results and visual analysis reports are generated.
[0006] To achieve the above objectives, this invention adopts the following technical solution: a financial report sentiment analysis and intelligent investment recommendation method based on a large language model, comprising the following steps: Step S1: Obtain the structured financial report text containing the text source, report section, publication time and company industry attributes, input it into the large language model fine-tuned by financial field corpus, use the LLM sentiment analysis engine for analysis and reasoning, and output multi-dimensional sentiment scores, including positive sentiment scores, negative sentiment scores, risk awareness scores, management confidence scores and event impact intensity scores. Step S2: Based on the text source, report section, publication time, company industry attributes, and historical market response, the multi-dimensional sentiment score is weighted, normalized, and subjected to time decay to generate a comprehensive sentiment factor. Based on the month-on-month change or moving average slope of the comprehensive sentiment factors, a sentiment change rate is generated; Based on the standard deviation or range of sentiment among different sources for the same company entity, a sentiment divergence score is generated. The comprehensive sentiment factors are subjected to regression analysis with profit growth, return on net assets, and valuation level, and the regression residuals are used to generate the deviation between sentiment and fundamentals. The number of texts that trigger a specific sentiment tag within a unit of time is counted to generate sentiment event density; Step S3: Input the comprehensive sentiment factor, the sentiment change rate, the sentiment divergence degree, the sentiment deviation from fundamentals, and the sentiment event density into the multi-factor fusion model to generate investment recommendation results and simultaneously output a visual analysis report. The investment recommendation results include: actively watch, wait and see, and be cautious.
[0007] Specifically, in step S1, during the output of the multi-dimensional sentiment score: Obtain the report text, text source, report chapter, publication time, and company industry attribute from the structured financial report text; divide the report text into paragraphs according to the report chapters; and associate the resulting paragraph texts with the corresponding text source, publication time, and company industry attribute to construct the text unit to be analyzed. The text units to be analyzed are input into a large language model that has been fine-tuned with financial corpus. The LLM sentiment analysis engine identifies the semantic content representing business improvement, business pressure, risk events, management statements and the impact of major events, and obtains the corresponding sentiment scores. Based on the chapter weight corresponding to the report chapter and the source weight corresponding to the text source, the sub-sentence scores are summarized and processed to generate the positivity score, the negativity score, the risk awareness score, the management confidence score, and the event impact intensity score, and the multi-dimensional sentiment score is output.
[0008] Specifically, the process of obtaining the sub-emotional scores also includes: Based on the company's industry attributes, an industry sentiment lexicon is determined, and based on the report chapters, a chapter sentiment lexicon is determined. The text unit to be analyzed is matched with the industry sentiment lexicon and the chapter sentiment lexicon to obtain the sentiment matching result. The sentiment matching results and the text unit to be analyzed are input into a large language model fine-tuned from financial domain corpus. The LLM sentiment analysis engine determines the corresponding sentiment direction based on the position of the matched words, the contextual negation relationship, and the subject-verb relationship of the sentence, and generates the sub-sentiment scores.
[0009] Specifically, in step S2, during the generation of comprehensive emotional factors: Obtain the historical market response of the same company after the corresponding release time, and match the text source, the report chapter and the company industry attribute with a preset weight table to obtain the source weight, chapter weight and industry weight; The market reaction correction weight is determined according to the historical market reaction. The source weight, chapter weight, industry weight and market reaction correction weight are combined to form the multi-dimensional sentiment score. The weighted score result is normalized to obtain a unified dimension sentiment score. The unified dimension sentiment score is then subjected to time decay processing according to the interval between the release time and the current unit time. When the time interval does not exceed the validity period, the unified dimension sentiment score is downgraded according to the attenuation level corresponding to the time interval; when the time interval exceeds the validity period, the corresponding unified dimension sentiment score is marked as an invalid score, and the invalid score is excluded to generate the comprehensive sentiment factor. The validity period is obtained based on the report type.
[0010] Specifically, in the process of generating the rate of change of emotion: The comprehensive sentiment factor of the same company entity within a continuous unit time period is obtained. The month-on-month change of the comprehensive sentiment factor between adjacent unit time periods is calculated according to the order of release time. The continuous month-on-month change results are then processed by moving average to obtain the moving average slope. When the slope of the moving average is in the same direction as the month-on-month change result, the slope of the moving average and the month-on-month change result are jointly determined as the sentiment change rate; When the slope of the moving average is not in the same direction as the month-on-month change result, the month-on-month change result that is closer to the current unit of time is determined as the sentiment change rate.
[0011] Specifically, in the process of generating emotional divergence: Obtain the publication time corresponding to the generation of the comprehensive sentiment factor by the same company entity under different text sources, and calculate the time interval between the publication time and the current unit time; When the time interval has not exceeded the validity period, the corresponding comprehensive sentiment factor is reduced according to the attenuation level corresponding to the time interval to obtain the attenuated comprehensive sentiment factor. When the time interval exceeds the validity period, the corresponding comprehensive emotional factor is excluded; The attenuated comprehensive sentiment factor is used to calculate the sentiment standard deviation or range between different text sources, and the calculation result is determined as the sentiment divergence degree.
[0012] Specifically, in the process of generating the deviation between sentiment and fundamentals: Obtain the profit growth, return on net assets, and valuation level of the same company entity, and use the profit growth, return on net assets, and valuation level as fundamental inputs to perform regression analysis on the comprehensive sentiment factor to determine the sentiment estimation results obtained from the regression analysis of the fundamental inputs. The residual between the comprehensive sentiment factor and the sentiment estimation result is used as the deviation of sentiment from fundamentals.
[0013] Specifically, in the process of generating emotional event density: Obtain the structured financial report text corresponding to the same company entity within a unit of time and the specific sentiment tags output by the LLM sentiment analysis engine. Match the structured financial report text with the text positions corresponding to the specific sentiment tags and extract the tag matching text. The text matched by the tags is grouped according to the publication time, and the number of texts matched by the tags per unit time is calculated to obtain the sentiment event density.
[0014] Specifically, in step S3, during the generation of investment recommendation results: Obtain the comprehensive sentiment factor, sentiment change rate, sentiment divergence degree, sentiment deviation from fundamentals degree, and sentiment event density corresponding to the same company entity. Use the comprehensive sentiment factor as the basic item for sentiment direction, the sentiment change rate as the sentiment trend item, the sentiment divergence degree as the source consistency item, the sentiment deviation from fundamentals as the fundamentals matching item, and the sentiment event density as the event concentration item. Based on the weight relationships of each input item in the multi-factor fusion model, the basic sentiment direction item, sentiment trend item, source consistency item, fundamental matching item, and event concentration item are weighted and summarized to obtain the recommendation score for the same company entity. The recommended score is compared with the corresponding score ranges of "actively watching," "wait and see," and "cautious." When the recommended score falls into any score range, the recommendation category of the corresponding score range is determined as the investment recommendation result.
[0015] Specifically, in step S3, during the generation of the visualization analysis report: Obtain the comprehensive sentiment factor, the sentiment change rate, and the sentiment divergence degree corresponding to the same company entity; arrange the comprehensive sentiment factor and the sentiment change rate in chronological order according to the publication time; and group the sentiment divergence degree by source according to the text source. The results of chronological ordering, source grouping, the deviation between sentiment and fundamentals, and the density of sentiment events are written into the corresponding display areas of the same report page, and the investment recommendation results are written into the conclusion display area of the same report page, and the visualization analysis report is output.
[0016] Compared with the prior art, the advantages and positive effects of the present invention are as follows: By focusing on the transformation link from semantic sentiment in financial reports to quantitative factors, and incorporating source, chapter, time, industry, and historical market reactions into the same weight and decay framework, multi-dimensional sentiment scoring is transformed from discrete textual judgment into comparable, traceable, and fusionable factor expression. Furthermore, it uses change rate, degree of divergence, fundamental deviation, and event density to characterize sentiment trends, source consistency, value deviance, and information concentration. When multiple factors are fused, the risk of misjudgment caused by a single sentiment score can be reduced, making investment recommendations have textual semantic interpretability, market adaptability, and decision-making stability. Attached Figure Description
[0017] Figure 1 This is the main flowchart of the financial report sentiment analysis and intelligent investment recommendation method of the present invention; Figure 2 This is a flowchart illustrating the construction of the text unit to be analyzed and the generation of multi-dimensional sentiment scores in this invention. Figure 3 This is a data flow diagram generated by integrating emotional factors in this invention; Figure 4 This invention provides a logic diagram for generating emotion-derived indicators. Figure 5 This is a schematic diagram illustrating the investment recommendation results and the output of the visualization analysis report of this invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0019] The data flow after the financial report text enters the processing system is the main thread. Input data includes the report text, text source, report chapters, publication time, and company industry attributes; intermediate data includes the text units to be analyzed, sub-item sentiment scores, multi-dimensional sentiment scores, unified-dimensional sentiment scores, comprehensive sentiment factors, and derivative indicators generated around the comprehensive sentiment factors; output data includes investment recommendation results and visual analysis reports.
[0020] Please see Figures 1 to 5This implementation provides a method for sentiment analysis of financial reports and intelligent investment recommendations based on a large language model. S1 processes structured financial report text and outputs multi-dimensional sentiment scores; S2 receives the multi-dimensional sentiment scores and generates a comprehensive sentiment factor, sentiment change rate, sentiment divergence, sentiment-fundamental deviation, and sentiment event density; S3 receives the data output from S2, generates investment recommendation results, and writes the data used for recommendations into a visual analysis report.
[0021] S1. Obtain the structured financial report text containing text source, report section, publication time and company industry attributes, input it into a large language model fine-tuned with financial corpus, use the LLM sentiment analysis engine for analysis and reasoning, and output multi-dimensional sentiment scores.
[0022] S11. Read the structured financial report text. The source of the structured financial report text is the financial report data record to be processed. Each data record includes at least the report body, text source, report section, publication time, and company industry attribute. The report body serves as the semantic analysis content; the text source serves as the source weight matching field; the report section serves as the section weight matching field and paragraph division field; the publication time serves as the time decay field; and the company industry attribute serves as the industry weight matching field and industry sentiment term selection field.
[0023] After reading, a field integrity check is performed first. If the report body is empty, the data will not enter the LLM sentiment analysis engine. If the text source is missing, the data cannot match the source weight; if the report chapter is missing, the data cannot match the chapter weight; if the publication time is missing or the format is unrecognizable, the data cannot enter the time decay processing; if the company industry attribute is missing, the data cannot match the industry weight and industry sentiment thesaurus. Data with missing fields will not have field values directly added. Instead, it will enter the executable processing node according to the available fields, and the node that cannot be executed will output an exclusion status.
[0024] S12. Divide the report text into paragraphs according to report chapters. The input for paragraph division is the report text and report chapters. If the report text already contains chapter identifiers, it will be segmented according to the chapter identifiers; if multiple chapters in the report text correspond to the same text source and the same publication time, the paragraphs under each chapter will generate separate paragraph texts. When outputting each paragraph text, the original text source, report chapter, publication time, and company industry attribute will still be bound. After processing, a text unit to be analyzed will be formed. The text unit to be analyzed includes the paragraph text, text source, report chapter, publication time, and company industry attribute, and does not only save the paragraph text itself.
[0025] S13. Input the text unit to be analyzed into the LLM sentiment analysis engine. The LLM sentiment analysis engine receives paragraph text and its bound fields as input. The paragraph text enters the semantic recognition path, the text source and report section enter the subsequent score summary path, the publication time enters the subsequent time decay path, and the company's industry attributes enter the industry semantic auxiliary path. The LLM sentiment analysis engine identifies the semantic content in the paragraph text that represents business improvement, business pressure, risk matters, management statements, and the impact of major events, and outputs the corresponding sub-sentence scores for each.
[0026] The sentiment scores for each category are categorized as follows: Operational improvement corresponds to a positive sentiment score; operational stress corresponds to a negative sentiment score; risk events correspond to a risk concern sentiment score; management statements correspond to management confidence sentiment; and the impact of major events corresponds to the event's impact sentiment. After each sentiment score is output, its corresponding paragraph text, source, report section, publication date, and company industry attributes are retained for subsequent aggregation and retrospective analysis.
[0027] S14. Determine the industry sentiment lexicon based on the company's industry attributes and the chapter sentiment lexicon based on the report's chapters. The input for the industry sentiment lexicon is the company's industry attribute, and the output is a set of sentiment words that can be used to assist in identification under that industry attribute. The input for the chapter sentiment lexicon is the report chapter, and the output is a set of sentiment words that can be used to assist in identification under that report chapter. The text unit to be analyzed is matched against both the industry sentiment lexicon and the chapter sentiment lexicon, and the sentiment matching results are output. The sentiment matching results include the matched words, the paragraph in which the words are located, the word position, the corresponding industry attribute, and the corresponding report chapter.
[0028] S15. After receiving the text unit to be analyzed and the sentiment matching results, the LLM sentiment analysis engine checks the position of the matching words, the contextual negation relationship, and the subject-verb relationship of the sentence. The position of the matching words is used to determine the sentence scope of the word's effect; the contextual negation relationship is used to determine whether there is negation, restriction, or contrast; the subject-verb relationship of the sentence is used to determine whether the sentiment description applies to the company entity, business matters, risk matters, or management statements. After the judgment is completed, the LLM sentiment analysis engine outputs the sentiment scores for each item. If opposite sentiment expressions appear in the same paragraph, their respective sentiment directions are determined according to the contextual negation relationship and the subject-verb relationship of the sentence, and opposite expressions are not merged into a single word hit result.
[0029] S16. Summarize the sub-sentiment scores. The inputs for summarization are the sub-sentiment scores, text source, report section, source weight, and section weight. The source weight is obtained by matching the text source with a preset weight table, and the section weight is obtained by matching the report section with a preset weight table. The sub-sentiment scores are entered into the summarization process according to their corresponding text source and report section, and the outputs are positive score, negative score, risk awareness score, management confidence score, and event impact intensity score. The above five types of scores are collectively referred to as multi-dimensional sentiment scores. The multi-dimensional sentiment scores are output to S2, while saving the corresponding company entity and publication time.
[0030] If the source weight or chapter weight does not match successfully, the corresponding sub-item sentiment score will not be included in the summary branch that requires that weight; if no valid sub-item sentiment score is output for the same text unit to be analyzed, then the text unit to be analyzed will not participate in the multi-dimensional sentiment score summary. The final output data of S1 includes at least the company entity, multi-dimensional sentiment scores, text source, report chapter, publication time, and company industry attribute.
[0031] S2. Based on text source, report section, publication time, company industry attributes, and historical market reactions, multi-dimensional sentiment scores are weighted, normalized, and subjected to time decay processing to generate a comprehensive sentiment factor. The sentiment change rate is generated based on the month-on-month change or moving average slope of the comprehensive sentiment factor. Sentiment divergence is generated based on the sentiment standard deviation or range between different sources for the same company. Regression analysis is performed on the comprehensive sentiment factor with profit growth, return on equity, and valuation levels, and the regression residuals are used to generate the deviation between sentiment and fundamentals. The number of texts triggering specific sentiment tags per unit time is counted to generate sentiment event density.
[0032] S21. Read the multi-dimensional sentiment score output by S1, and simultaneously read the historical market reactions of the same company after the corresponding publication time. The text source enters the source weight matching path; the report chapter enters the chapter weight matching path; the company's industry attribute enters the industry weight matching path; and the historical market reaction enters the market reaction correction weight determination path. After the source weight, chapter weight, industry weight, and market reaction correction weight are output, they enter the weighted processing node together with the multi-dimensional sentiment score.
[0033] If historical market reactions are missing, market reaction-adjusted weights cannot be generated, and the corresponding data will not be included in the weighted branch containing these weights. If the text source, report section, or company industry attribute does not match a corresponding item in the preset weight table, the corresponding weight will not participate in the weighting of that score. Unparticipated weights will not be replaced with default values unless default output rules have been set in the original disclosure's supported configuration.
[0034] S22. Weighting and normalizing the multi-dimensional sentiment scores. The inputs for weighting are the positivity score, negativity score, risk awareness score, management confidence score, event impact intensity score, and weights for source, chapter, industry, and market reaction. The output is the weighted score. The weighted score then enters the normalization process, outputting a unified-dimensional sentiment score. This unified-dimensional sentiment score retains its publication time and report type for time decay processing.
[0035] S23. Perform time decay processing on the unified-dimensional sentiment score. The inputs for time decay processing are the unified-dimensional sentiment score, publication time, current unit time, and report type. First, calculate the time interval based on the publication time and the current unit time, then read the validity period based on the report type. If the time interval does not exceed the validity period, the unified-dimensional sentiment score enters the decay level processing, and the decayed valid score is output; if the time interval exceeds the validity period, the unified-dimensional sentiment score is marked as an invalid score. Invalid scores do not enter the comprehensive sentiment factor generation node.
[0036] The input to the comprehensive sentiment factor is an intact unified-dimensional sentiment score. When generating the comprehensive sentiment factor, data already marked as invalid scores are excluded. If no intact unified-dimensional sentiment score exists for the same company entity within the current unit of time, no new comprehensive sentiment factor will be output for that unit of time. Subsequent branches in sentiment change rate, sentiment divergence, sentiment-fundamental deviation, and sentiment event density that require this comprehensive sentiment factor will either stop execution or be processed according to the available data path.
[0037] S24. Generate Sentiment Change Rate. The input for the sentiment change rate is the comprehensive sentiment factor for the same company within a continuous unit of time. The processing node first arranges the comprehensive sentiment factors in chronological order of release time, and then calculates the month-on-month change results between adjacent unit time periods. The continuous month-on-month change results enter the moving average processing node, which outputs the moving average slope. Subsequently, the direction of the moving average slope is compared with the current month-on-month change result. When the directions are consistent, the sentiment change rate is jointly determined by the moving average slope and the month-on-month change result; when the directions are inconsistent, the month-on-month change result closest to the current unit time is output as the sentiment change rate.
[0038] If there is insufficient data for consecutive time periods to form a moving average slope, the moving average slope branch will not output a result, and the sentiment change rate will be determined based on the available month-on-month changes in adjacent time periods. If there are no available comprehensive sentiment factors in adjacent time periods, the sentiment change rate will not be output for the current time period.
[0039] S25. Generate Sentiment Disagreement. The input for sentiment disagreement is the composite sentiment factor and publication time corresponding to the composite sentiment factor generated by the same company entity under different text sources. The processing node first calculates the time interval between the publication time corresponding to each text source and the current unit time. Composite sentiment factors whose time interval does not exceed the validity period are processed in the decay level, and the decayed composite sentiment factor is output; composite sentiment factors whose time interval exceeds the validity period are excluded. The data that is not excluded enters the difference statistics node, which calculates the sentiment standard deviation or range between different text sources and outputs the sentiment disagreement.
[0040] If a single company entity has only one valid text source within the current time period, the statistical conditions for differences between different text sources are insufficient, and sentiment disparity will not be forcibly calculated. If some of the multiple sources are invalid, only the valid sources are used in the sentiment disparity calculation.
[0041] S26. Generate the deviation between sentiment and fundamentals. The inputs for the deviation between sentiment and fundamentals are the comprehensive sentiment factor, earnings growth, return on equity, and valuation level for the same company entity. Earnings growth, return on equity, and valuation level are entered as fundamental inputs into the regression analysis node, which outputs the sentiment estimation result. The comprehensive sentiment factor and the sentiment estimation result are entered into the residual processing node, which outputs the deviation between sentiment and fundamentals.
[0042] If any of the fundamental inputs—profit growth, return on equity, or valuation level—is missing, the regression analysis node will not accept incomplete fundamental inputs. When a fundamental input is missing, no alternative fundamental field is added. The deviation between the company's sentiment and fundamentals within the current timeframe is determined according to the executable data path; if the path cannot be executed, the missing status is output, and the corresponding input is not included in the multi-factor fusion model.
[0043] S27. Generate Sentiment Event Density. The input for sentiment event density is the structured financial report text corresponding to the same company entity within a unit of time, and specific sentiment tags output by the LLM sentiment analysis engine. The processing node first matches the structured financial report text with the text positions corresponding to the specific sentiment tags, extracting the tag-matched text. The tag-matched text retains the publication time. Subsequently, the tag-matched text is aggregated according to the publication time, and the number of tag-matched texts within a unit of time is calculated, outputting the sentiment event density.
[0044] If no matching text is extracted within a unit of time, the number of texts within that unit of time is output as if no matching text was found, without fabricating trigger events. If a specific sentiment tag is missing, the tag matching text extraction node stops executing, and the sentiment event density does not accept unlabeled input.
[0045] S3. Input comprehensive sentiment factors, sentiment change rate, sentiment divergence degree, sentiment deviation from fundamentals and sentiment event density into the multi-factor fusion model to generate investment recommendation results and simultaneously output a visual analysis report. The investment recommendation results include active attention, wait and see, and caution.
[0046] S31. The multi-factor fusion model reads five types of input items corresponding to the same company entity. The comprehensive sentiment factor enters the sentiment direction basic item; the sentiment change rate enters the sentiment trend item; the sentiment divergence degree enters the source consistency item; the sentiment deviation from fundamentals enters the fundamentals matching item; and the sentiment event density enters the event concentration item. Before each input item enters the multi-factor fusion model, the company entity and the current unit of time are retained to avoid data from different company entities or different unit times being mixed into the same recommendation score.
[0047] S32. The multi-factor fusion model weights and summarizes the data according to the weight relationships of each input item, outputting a recommendation score. The sources of the recommendation score include basic sentiment direction items, sentiment trend items, source consistency items, fundamental matching items, and event concentration items. If an input item fails to output valid data due to preceding anomalies, that input item will not enter the corresponding weighted branch. The multi-factor fusion model does not use substitute indicators without a source to supplement missing input items.
[0048] S33. Compare the recommended score with the corresponding score ranges for "Active Attention," "Wait and See," and "Cautious." If the recommended score falls within the "Active Attention" score range, the investment recommendation result is "Active Attention"; if it falls within the "Wait and See" score range, the investment recommendation result is "Wait and See"; if it falls within the "Cautious" score range, the investment recommendation result is "Cautious." If the score ranges overlap or the recommended score does not fall within any score range, the range configuration supported by the technical solution described in the application documents will be used; if the range cannot be determined, no new recommendation category will be output.
[0049] S34. Generate a visualization analysis report. The data source for the visualization analysis report is the data already output in S2 and S3, without introducing additional external display fields. The comprehensive sentiment factor and sentiment change rate are sorted by publication time and then written into the time-ordered results display area; the sentiment divergence is grouped by text source and then written into the source grouping results display area; the sentiment-fundamental deviation is written into the fundamental deviation display area; the sentiment event density is written into the event density display area; and the investment recommendation results are written into the conclusion display area. All of the above display areas are located on the same report page. If data corresponding to a certain display area is missing, the display area will be marked as missing or the corresponding data will not be displayed, without using other fields to replace it.
[0050] When the above method is executed, the text unit to be analyzed is output to the LLM sentiment analysis engine; the sub-item sentiment scores are output to the multi-dimensional sentiment score summary node; the multi-dimensional sentiment scores are output to the weighted processing node; the unified dimensional sentiment scores are output to the time decay processing node; the comprehensive sentiment factors are output to the sentiment change rate, sentiment divergence, sentiment deviation from fundamentals and the multi-factor fusion model; the sentiment event density is output to the multi-factor fusion model and the visualization analysis report; the recommendation score is output to the score interval comparison node; and the investment recommendation results are output to the conclusion display area of the visualization analysis report.
[0051] Example For example, the object to be analyzed is Company A, a listed company in the semiconductor equipment industry. The current unit time is set to April 2026. The sources of the structured financial report texts to be analyzed include the company's annual report, the company's first quarter report, securities firm research reports, and exchange inquiry response announcements. All of the above texts are anonymized sample data in the sentiment analysis of financial reports.
[0052] The LLM sentiment analysis engine employs pre-trained language models from the financial domain, specifically BERT, RoBERTa, FinBERT, Chinese-BERT-wwm, ERNIE, or large language models based on the Transformer decoder structure. It further utilizes financial corpora such as annual financial reports, listed company announcements, brokerage research reports, and exchange inquiry responses for further pre-training or supervised fine-tuning. In lightweight deployment scenarios, existing LoRA or Adapter fine-tuning methods can also be used to enable the model to output probabilities for five categories of labels: operational improvement, operational pressure, risk events, management confidence, and the impact of major events.
[0053] In step S1, the structured financial report text data records of Company A are retrieved. The first data record is sourced from the company's annual report, specifically the section on "Discussion and Analysis of Operating Results," published on March 29, 2026. The company's industry is semiconductor equipment, and the report text includes content such as "improved order delivery capabilities, increased capacity utilization, and stable demand from core customers." The second data record is also sourced from the company's annual report, specifically the section on "Risk Factors," published on March 29, 2026. The company's industry is semiconductor equipment, and the report text includes content such as "high customer concentration, fluctuations in the prices of some raw materials, and increased inventory write-downs." The third... The first data record is sourced from a brokerage research report, specifically the section on industry prospects and profit forecasts, published on April 15, 2026. The company is in the semiconductor equipment industry, and the report includes content such as "accelerated domestic substitution, improved order visibility, and upward revision of profit forecasts." The fourth data record is sourced from an exchange inquiry response announcement, specifically the section on major events, published on April 28, 2026. The company is also in the semiconductor equipment industry, and the report includes content such as "extended accounts receivable collection cycle, delayed acceptance of some contracts, and management taking collection measures."
[0054] If a research report excerpt is read that only contains the report text and publication date, but lacks the company's industry attributes, the data can still be entered into the paragraph segmentation and basic semantic recognition path, but it will not enter the semiconductor equipment industry sentiment lexicon matching path, nor will it participate in the weighted branch with an industry weight of 1.08.
[0055] In step S12, the company's annual report is divided into two text units to be analyzed: the "Discussion and Analysis of Operating Results" section and the "Risk Factors" section. The "Discussion and Analysis of Operating Results" section is bound to the fields "Company Annual Report, Discussion and Analysis of Operating Results, March 29, 2026, Semiconductor Equipment Industry"; the "Risk Factors" section is bound to the fields "Company Annual Report, Risk Factors, March 29, 2026, Semiconductor Equipment Industry". Brokerage research reports form the "Industry Outlook and Profit Forecast" text unit to be analyzed, and exchange inquiry response announcements form the "Major Events" text unit to be analyzed.
[0056] In step S13, the LLM sentiment analysis engine performs sub-sentence sentiment scoring on the text units to be analyzed. The sub-sentence scores are set to a range of 0 to 100, and the sub-sentence scores are calculated as follows: ;in, Indicates the first Category-based sentiment scoring This represents the confidence probability of the LLM sentiment analysis engine's output for the k-th semantic label. This includes operational improvements, operational stress, risk events, management confidence, and the impact of major events. For example, if the probability of the operational improvement label is 0.78, then the sentiment score for the operational improvement sub-item is 78.
[0057] The discussion and analysis of operating conditions received a positive score of 78, a negative score of 22, a risk awareness score of 31, a management confidence score of 72, and an event impact intensity score of 18; the risk factors section received a positive score of 35, a negative score of 55, a risk awareness score of 68, a management confidence score of 45, and an event impact intensity score of 42; the brokerage research report received a positive score of 82, a negative score of 18, a risk awareness score of 25, a management confidence score of 70, and an event impact intensity score of 20; and the exchange inquiry response announcement received a positive score of 40, a negative score of 48, a risk awareness score of 63, a management confidence score of 50, and an event impact intensity score of 75.
[0058] In step S14, an industry sentiment term list is determined based on the company's industry attributes, and a chapter sentiment term list is determined based on the report chapters. In this example, the semiconductor equipment industry sentiment term list includes positive terms such as "domestic substitution, improved order visibility, increased capacity utilization, and introduction of core customers," and negative or risky terms such as "high customer concentration, supply chain tension, inventory depreciation, delayed acceptance, and extended accounts receivable collection cycle." The sentiment term list for the "Operating Performance Discussion and Analysis" chapter includes "improved gross profit margin, order delivery, capacity expansion, and cost control"; the sentiment term list for the "Risk Factors" chapter includes "raw material price fluctuations, customer concentration, collection risk, and technology iteration risk"; and the sentiment term list for the "Major Events" chapter includes "inquiry responses, contract extensions, litigation and arbitration, and asset impairment."
[0059] In step S15, the LLM sentiment analysis engine determines the sentiment direction by combining word position, contextual negation, and sentence subject-verb relationship. For example, if the exchange's inquiry response announcement contains both "accounts receivable collection cycle extended" and "management has taken collection measures," the LLM sentiment analysis engine will identify the former as operational pressure and risk, and the latter as management confidence, without merging the two into a single neutral result. As another example, although the sentence "The company has not experienced any major litigation risk" contains "major litigation risk," it is not included in the negative impact of a major event due to the negation "has not occurred."
[0060] In step S16, the sentiment scores for each item are summarized. The source weights are preset as follows: company annual report 1.00, company first-quarter report 0.95, exchange inquiry response announcement 1.10, brokerage research report 0.75; the chapter weights are preset as follows: discussion and analysis of operating conditions 1.10, risk factors 1.20, industry prospects and profit forecasts 0.95, major events 1.25; the semiconductor equipment industry weight is preset as 1.08. These weights are used to reflect the different information intensities of officially disclosed company documents, regulatory inquiry documents, and high-risk chapters in the financial sentiment analysis.
[0061] The final output of Company A's multi-dimensional sentiment score data from S1 includes: the discussion and analysis section on operating conditions (78, 22, 31, 72, 18), the risk factors section (35, 55, 68, 45, 42), the brokerage research report section (82, 18, 25, 70, 20), and the exchange inquiry response announcement section (40, 48, 63, 50, 75). These arrays represent, in order, the positivity score, the negativity score, the risk awareness score, the management confidence score, and the event impact intensity score.
[0062] In step S2, based on the text source, report section, publication time, company industry attributes, and historical market reactions, the multi-dimensional sentiment score is weighted, normalized, and subjected to time decay. The comprehensive sentiment factor is set to a range of -1 to 1, with values closer to 1 indicating a more positive overall sentiment and values closer to -1 indicating a more cautious or negative overall sentiment. The displayed sentiment score using a unified dimension is set to a range of 0 to 100, with the conversion formula as follows: in, Indicates the first The presentation per unit of time is rated using a uniform metric for sentiment. Indicates the first The comprehensive emotional factors per unit of time.
[0063] In step S21, the historical market reaction is adjusted using the cumulative abnormal return CAR_5 over the five trading days following the report's release. The formula for calculating CAR_5 is: ,in, This indicates that the company entity is [initially / initially] after the report is published. The return over a trading day This indicates the corresponding market or industry index after the report's publication. The return over a trading day This indicates the trading day number following the report's release.
[0064] Five trading days after the company's annual report is released It was +3.4%, within 5 trading days after the brokerage research report was released. It was +1.7%, within 5 trading days after the exchange's inquiry response announcement. The value is -5.0%. The formula for calculating the market reaction adjustment weight is: ,in, Indicates market reaction adjustment weights. This represents the market responsiveness coefficient, which is set to 1.2 here. This represents the cutoff threshold for a single market reaction, which is set to 8% here. This represents the absolute value of the cumulative abnormal return rate; when the historical market reaction direction is significantly opposite to the overall sentiment direction of the report, the correction term is negative. Therefore, the market reaction correction weight for the company's annual report is approximately 1.04, the market reaction correction weight for brokerage research reports is approximately 1.02, and the market reaction correction weight for exchange inquiry response announcements is approximately 1.06.
[0065] In step S22, the formula for calculating the directional sentiment value of a single text unit is: ,in, Indicates the first The directional sentiment value of each text unit to be analyzed. Indicates the level of enthusiasm. Indicates the level of negativity. This indicates the risk level score. This indicates management's confidence level. The score represents the intensity of the event's impact; 0.70 represents the negative impact coefficient of risk awareness, 0.60 represents the positive impact coefficient of management confidence, and 0.80 represents the negative impact coefficient of the event's impact intensity.
[0066] Therefore, the discussion and analysis section on operating conditions ; Risk Factors Section ; Sections of brokerage research reports ; the paragraph of the exchange's response to the inquiry .
[0067] The formula for calculating the weighting coefficient is: ,in, Indicates the first The comprehensive weight of each text unit to be analyzed. Indicates the weight of the text source. Indicates the weight of each chapter in the report. This indicates the industry weight corresponding to the company's industry attributes. This indicates the weighting of market reaction adjustments. For example, in the discussion and analysis section on business performance... .
[0068] In step S23, the uniform-dimensional sentiment score undergoes time decay processing. The time decay coefficient is calculated as follows: ,in, Indicates the first The time decay coefficient of each text unit to be analyzed This indicates the number of days between the publication time and the current time. Indicates the attenuation rate. This indicates the half-life for the corresponding report type. Company Annual Report Half-Life Take 120 days, the half-life of brokerage research reports Take 45 days for the exchange's inquiry response announcement half-life. Take 30 days.
[0069] Taking April 30, 2026 as the current unit time as an example, the company's annual report is 31 days away from the current unit time. Brokerage research reports are 15 days from the current timeframe. The exchange's response to the inquiry is 2 days from the current time. .
[0070] The formula for calculating the comprehensive emotional factor is: ,in, Indicates the first The comprehensive emotional factors per unit of time, Indicates the first The directional sentiment value of each text unit to be analyzed. Indicates the first The comprehensive weight of each text unit to be analyzed. Indicates the first The time decay coefficient of each text unit to be analyzed.
[0071] Substituting the data, the contribution value of the "Operating Conditions Discussion and Analysis" section is 0.6518, the contribution value of the "Risk Factors" section is -0.8361, the contribution value of the "Brokerage Research Report" section is 0.4517, and the contribution value of the "Exchange Inquiry Response Announcement" section is -1.2340. (Corresponding...) ,get Displaying sentiment scores using a unified dimensional scale .
[0072] In step S24, the sentiment change rate is generated. The formula for calculating the sentiment change rate is: ,in, Indicates the first The rate of change in sentiment per unit time. This represents the overall emotional factors within the current unit of time. This represents the overall emotional factors in the previous unit of time. Indicates the slope of the moving average. This indicates the weight of the current month-on-month change, which is set to 0.50.
[0073] The formula for calculating the slope of the moving average is: ,in, This indicates the number of periods in which the moving average is applied.
[0074] Company A's overall sentiment factor was 0.1800 in February 2026, 0.0600 in March 2026, and -0.2255 in April 2026. The current month-on-month change is... The moving average slope is Both are in negative directions, therefore the rate of change in sentiment... .
[0075] In step S25, the sentiment divergence score is generated. The sentiment divergence score can be calculated using either standard deviation or range. The formula for calculating the standard deviation is: ,in, Indicates the first Emotional disagreement per unit of time, Indicates the source of the text In the The source of each unit of time is emotional factors. This represents the mean of the sentiment factor across different text sources. This represents the number of valid text sources. The range calculation formula is: The sentiment factor for company periodic reports is -0.0853, for brokerage research reports it is 0.7250, and for exchange inquiry response announcements it is -0.8210. The sentiment divergence is calculated based on these factors. Extreme This indicates that there are significant differences in sentimental judgments about Company A among different text sources.
[0076] In step S26, the deviation between sentiment and fundamentals is generated. The regression analysis node can employ existing technologies such as linear regression, ridge regression, Lasso regression, random forest regression, XGBoost regression, or LightGBM regression models. Here, a linear regression model is used, and the sentiment estimation result is calculated as follows: ,in, This represents the sentiment estimation result obtained from fundamental data. Indicates the profit growth rate. This represents the return on equity. The price-to-earnings ratio (P / E ratio) represents the valuation level. , , , This represents the regression coefficients obtained by training based on historical samples from the same industry.
[0077] In this embodiment, the historical sample regression coefficients of the semiconductor equipment industry are taken as... , , , Company A's net profit attributable to the parent company in the first quarter of 2026 increased by 14.5% year-on-year, its return on net assets was 11.2%, and its price-to-earnings ratio was 42.6. Substituting these values into the formula yields... .
[0078] The formula for calculating the deviation between sentiment and fundamentals is: ,in, This indicates the degree of deviation between sentiment and fundamentals. Indicates comprehensive emotional factors, This indicates the sentiment result estimated from fundamental data. This indicates that the sentiment in the text is significantly lower than the estimated level based on fundamentals.
[0079] In step S27, the sentiment event density is generated. The formula for calculating the sentiment event density is: ,in, Indicates the first The density of emotional events per unit of time. This indicates the number of texts that trigger a specific sentiment tag per unit of time. This represents the length of a unit of time. If the unit of time is measured in 30-day periods, it can also be converted into weekly event density using the following formula: For example, in April 2026, Company A had 6 text messages triggering specific sentiment tags, including 2 messages about "extended accounts receivable collection cycle," 1 message about "delayed contract acceptance," 1 message about "increased inventory write-downs," 1 message about "high customer concentration," and 1 message about "management's collection measures." (Unit time length) If the timeframe is 30 days, then the weekly emotional event density is... Item / week.
[0080] In step S3, the comprehensive sentiment factor, sentiment change rate, sentiment divergence, sentiment deviation from fundamentals, and sentiment event density are input into the multi-factor fusion model to generate investment recommendation results. The multi-factor fusion model can employ existing technologies such as logistic regression, support vector machine, random forest, XGBoost, LightGBM, or a linear weighted scoring model. If a supervised learning model is used, training labels can be derived from historical analyst ratings, historical portfolio rebalancing signals, or future excess return groups. If a rule-based linear weighted scoring model is used, each input item is included in the recommendation score calculation according to preset weights. This example uses a linear weighted scoring model for illustration.
[0081] In step S31, the five input items for Company A in April 2026 are: Comprehensive Sentiment Factor Sentiment variability rate Emotional Disagreement Deviation between sentiment and fundamentals Density of emotional events Item / week.
[0082] In step S32, the recommended score is calculated as follows: ,in, Indicates the first Recommendation rating per unit of time, This represents the cutoff function, used to prevent a single outlier from having an excessive impact on the recommendation score. 25, 15, 10, 8, and 7 represent the weight coefficients of the sentiment direction basic item, sentiment trend item, source consistency item, fundamental matching item, and event concentration item, respectively.
[0083] Substitute the data, .
[0084] In step S33, the scoring range is configured as follows: Pay close attention to output at the right time. Output and wait and see. Caution is advised when outputting data. Company A's recommended score in April 2026 was 26.39, falling into... The score range is defined as cautious, indicating that negative event impact, source divergence, and downward sentiment all contribute to lowering the investment recommendation score.
[0085] In step S34, the time-series display area of the visualization analysis report is filled with: February 2026: Comprehensive sentiment factor 0.1800, display score 59.00; March 2026: Comprehensive sentiment factor 0.0600, display score 53.00; April 2026: Comprehensive sentiment factor -0.2255, display score 38.72; sentiment change rate -0.2442. The source grouping display area is filled with: Sentiment factor from company periodic reports -0.0853, sentiment factor from brokerage research reports 0.7250, sentiment factor from exchange inquiry response announcements -0.8210, sentiment divergence 0.6314, range 1.5460. The fundamental deviation display area is filled with: Earnings growth rate 14.5%, return on equity 11.2%, price-to-earnings ratio 42.6 times, fundamental estimation sentiment result 0.0700, sentiment deviation from fundamentals -0.2955. The event density display area shows that 6 specific sentiment tags are triggered per unit time, with a weekly sentiment event density of 1.40 events / week. The conclusion display area shows a recommendation score of 26.39, indicating a cautious investment recommendation.
[0086] In the above content, Company A has 4 text units to be analyzed, and the sentiment scores of each item have a total of 20 scores. After weighting, normalization and time decay of the multi-dimensional sentiment scores, a comprehensive sentiment factor of -0.2255 is formed. The comprehensive sentiment factor is further used to generate the sentiment change rate of -0.2442, sentiment divergence of 0.6314, and sentiment deviation from fundamentals of -0.2955. Combined with the sentiment event density of 1.40 items / week, a recommendation score of 26.39 is generated. Finally, the result of "cautious" is output in the visualization analysis report.
[0087] This method can transform financial report texts from different sources, chapters, and publication times into multi-dimensional sentiment factors under the same company entity and the same time period. It then combines historical market reactions, fundamental data, and event density to perform multi-factor fusion, thereby outputting intelligent investment recommendation results that match the sentiment changes and investment risk status of the financial reports.
[0088] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.
Claims
1. A method for sentiment analysis and intelligent investment recommendation in financial reports based on a large language model, used to convert semantic sentiment results in financial report texts into sentiment factors for participating in quantitative investment decisions, characterized in that... The method includes: Step S1: Obtain the structured financial report text containing the text source, report section, publication time and company industry attributes, input it into the large language model fine-tuned by financial field corpus, use the LLM sentiment analysis engine for analysis and reasoning, and output multi-dimensional sentiment scores, including positive sentiment scores, negative sentiment scores, risk awareness scores, management confidence scores and event impact intensity scores. Step S2: Based on the text source, report section, publication time, company industry attributes, and historical market response, the multi-dimensional sentiment score is weighted, normalized, and subjected to time decay to generate a comprehensive sentiment factor. Based on the month-on-month change or moving average slope of the comprehensive sentiment factors, a sentiment change rate is generated; Based on the standard deviation or range of sentiment among different sources for the same company entity, a sentiment divergence score is generated. The comprehensive sentiment factors are subjected to regression analysis with profit growth, return on net assets, and valuation level, and the regression residuals are used to generate the deviation between sentiment and fundamentals. The number of texts that trigger a specific sentiment tag within a unit of time is counted to generate sentiment event density; Step S3: Input the comprehensive sentiment factor, the sentiment change rate, the sentiment divergence degree, the sentiment deviation from fundamentals, and the sentiment event density into the multi-factor fusion model to generate investment recommendation results and simultaneously output a visual analysis report. The investment recommendation results include: actively watch, wait and see, and be cautious.
2. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, In step S1, during the output of the multi-dimensional sentiment score: Obtain the report text, text source, report chapter, publication time, and company industry attribute from the structured financial report text; divide the report text into paragraphs according to the report chapters; and associate the resulting paragraph texts with the corresponding text source, publication time, and company industry attribute to construct the text unit to be analyzed. The text units to be analyzed are input into a large language model that has been fine-tuned with financial corpus. The LLM sentiment analysis engine identifies the semantic content representing business improvement, business pressure, risk events, management statements and the impact of major events, and obtains the corresponding sentiment scores. Based on the chapter weight corresponding to the report chapter and the source weight corresponding to the text source, the sub-sentence scores are summarized and processed to generate the positivity score, the negativity score, the risk awareness score, the management confidence score, and the event impact intensity score, and the multi-dimensional sentiment score is output.
3. The financial report sentiment analysis and intelligent investment recommendation method based on a large language model according to claim 2, characterized in that, The process of obtaining the sub-evaluation scores also includes: Based on the company's industry attributes, an industry sentiment lexicon is determined, and based on the report chapters, a chapter sentiment lexicon is determined. The text unit to be analyzed is matched with the industry sentiment lexicon and the chapter sentiment lexicon to obtain the sentiment matching result. The sentiment matching results and the text unit to be analyzed are input into a large language model fine-tuned from financial domain corpus. The LLM sentiment analysis engine determines the corresponding sentiment direction based on the position of the matched words, the contextual negation relationship, and the subject-verb relationship of the sentence, and generates the sub-sentiment scores.
4. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, In step S2, during the generation of comprehensive emotional factors: Obtain the historical market response of the same company after the corresponding release time, and match the text source, the report chapter and the company industry attribute with a preset weight table to obtain the source weight, chapter weight and industry weight; The market reaction correction weight is determined according to the historical market reaction. The source weight, chapter weight, industry weight and market reaction correction weight are combined to form the multi-dimensional sentiment score. The weighted score result is normalized to obtain a unified dimension sentiment score. The unified dimension sentiment score is then subjected to time decay processing according to the interval between the release time and the current unit time. When the time interval does not exceed the validity period, the unified dimension sentiment score is downgraded according to the attenuation level corresponding to the time interval; when the time interval exceeds the validity period, the corresponding unified dimension sentiment score is marked as an invalid score, and the invalid score is excluded to generate the comprehensive sentiment factor. The validity period is obtained based on the report type.
5. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, During the generation of the emotional change rate: The comprehensive sentiment factor of the same company entity within a continuous unit time period is obtained. The month-on-month change of the comprehensive sentiment factor between adjacent unit time periods is calculated according to the order of release time. The continuous month-on-month change results are then processed by moving average to obtain the moving average slope. When the slope of the moving average is in the same direction as the month-on-month change result, the slope of the moving average and the month-on-month change result are jointly determined as the sentiment change rate; When the slope of the moving average is not in the same direction as the month-on-month change result, the month-on-month change result that is closer to the current unit of time is determined as the sentiment change rate.
6. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, In the process of generating emotional divergence: Obtain the publication time corresponding to the generation of the comprehensive sentiment factor by the same company entity under different text sources, and calculate the time interval between the publication time and the current unit time; When the time interval has not exceeded the validity period, the corresponding comprehensive sentiment factor is reduced according to the attenuation level corresponding to the time interval to obtain the attenuated comprehensive sentiment factor. When the time interval exceeds the validity period, the corresponding comprehensive emotional factor is excluded; The attenuated comprehensive sentiment factor is used to calculate the sentiment standard deviation or range between different text sources, and the calculation result is determined as the sentiment divergence degree.
7. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, The process of generating the deviation between sentiment and fundamentals: Obtain the profit growth, return on net assets, and valuation level of the same company entity, and use the profit growth, return on net assets, and valuation level as fundamental inputs to perform regression analysis on the comprehensive sentiment factor to determine the sentiment estimation results obtained from the regression analysis of the fundamental inputs. The residual between the comprehensive sentiment factor and the sentiment estimation result is used as the deviation of sentiment from fundamentals.
8. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, In the process of generating emotional event density: Obtain the structured financial report text corresponding to the same company entity within a unit of time and the specific sentiment tags output by the LLM sentiment analysis engine. Match the structured financial report text with the text positions corresponding to the specific sentiment tags and extract the tag matching text. The text matched by the tags is grouped according to the publication time, and the number of texts matched by the tags per unit time is calculated to obtain the sentiment event density.
9. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, In step S3, during the generation of investment recommendation results: Obtain the comprehensive sentiment factor, sentiment change rate, sentiment divergence degree, sentiment deviation from fundamentals degree, and sentiment event density corresponding to the same company entity. Use the comprehensive sentiment factor as the basic item for sentiment direction, the sentiment change rate as the sentiment trend item, the sentiment divergence degree as the source consistency item, the sentiment deviation from fundamentals as the fundamentals matching item, and the sentiment event density as the event concentration item. Based on the weight relationships of each input item in the multi-factor fusion model, the basic sentiment direction item, sentiment trend item, source consistency item, fundamental matching item, and event concentration item are weighted and summarized to obtain the recommendation score for the same company entity. The recommended score is compared with the corresponding score ranges of "actively watching," "wait and see," and "cautious." When the recommended score falls into any score range, the recommendation category of the corresponding score range is determined as the investment recommendation result.
10. The method for sentiment analysis of financial reports and intelligent investment recommendation based on a large language model according to claim 1, characterized in that, In step S3, during the generation of the visualization analysis report: Obtain the comprehensive sentiment factor, the sentiment change rate, and the sentiment divergence degree corresponding to the same company entity; arrange the comprehensive sentiment factor and the sentiment change rate in chronological order according to the publication time; and group the sentiment divergence degree by source according to the text source. The results of chronological ordering, source grouping, the deviation between sentiment and fundamentals, and the density of sentiment events are written into the corresponding display areas of the same report page, and the investment recommendation results are written into the conclusion display area of the same report page, and the visualization analysis report is output.
