Content risk identification method and system
Through entity mining and multi-modal classification and identification methods, the problems of poor reusability and high cost of content risk identification models in the existing technology are solved, accurate identification of multiple content risks is achieved, and the accuracy and flexibility of identification are improved. .
Patent Information
- Application Number
- CN202210767655.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-01
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-07-01
AI Technical Summary
Existing content risk identification solutions face the problems of poor reusability of model scenarios and high construction costs. They cannot effectively identify multiple content risks, and their risk identification accuracy for unstructured rich text content is insufficient.
Using a method based on entity mining, the entity collection is extracted through image target detection and multi-modal classification algorithms, the page structure is determined, and content risks are identified based on business attributes. Fast RCNN and multi-modal classification algorithms are used to implement entity classification and risk feature extraction. Characteristic values are calculated to determine the presence or absence of content risk.
It improves the accuracy and scalability of risk identification, reduces the number of models, and achieves lightweight risk identification with lower cost and higher timeliness. It can identify multiple risk issues and improve the flexibility and accuracy of risk identification. .
Smart Images

Figure CN115019328B
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to risk identification, and in particular to content risk identification based on entity mining. Background Art
[0002] Due to the uneven development and operation quality of content business developers, content risks permeate multiple scenarios from development to launch, seriously damaging the user's service experience. Business content is often prone to a series of content risk problems, such as the business name not matching the business content, lack of goods and services, pure yellow pages, etc.
[0003] The current content risk identification solution is oriented towards pure images or pure texts, and builds an identification model for a single problem in a single scenario, thus stacking up a scattered solution with M risk types and M+ models. The construction cost of the scattered solution is high, the scalability of scenario applications is poor, and it is not conducive to systematic risk management and control.
[0004] Therefore, it is desired to provide an improved content risk identification solution to replace the existing conventional solution to alleviate the above-mentioned defects of the conventional solution.
[0005] In view of this, the present disclosure provides an improved content risk identification method and system based on entity mining. Summary of the invention
[0006] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.
[0007] The present disclosure proposes a content risk identification method, including: extracting an entity set from target content on a page; determining the page structure of the target content; classifying the entity set to obtain a classified entity set; identifying business attributes of the target content based on the classified entity set; and identifying content risks based on the business attributes and the page structure.
[0008] In one embodiment of the present disclosure, identifying content risks based on the business attributes and the page structure further includes: extracting risk features from the classified entity set based on the business attributes and the page structure; calculating feature values of the risk features; and determining whether content risks exist in the target content based on the calculated feature values.
[0009] In one embodiment of the present disclosure, determining whether there is content risk in the target content based on the calculated feature value further includes: if the calculated feature value meets a preset threshold, determining that there is content risk in the target content; if the calculated feature value does not meet the preset threshold, determining that there is no content risk in the target content.
[0010] In one embodiment of the present disclosure, determining the page structure of the target content is achieved through the Fast RCNN algorithm.
[0011] In one embodiment of the present disclosure, the entity set is classified by a multimodal classification algorithm.
[0012] In one embodiment of the present disclosure, the entities in the entity set include atomic layer entities and application layer entities, wherein the atomic layer entity represents the smallest content block in the target content, and the application layer entity represents one or more semantically related atomic layer entities that have been merged.
[0013] In one embodiment of the present disclosure, content risks include one or more of the following: pure blank risk, content mismatch risk, product and service missing risk, and incomplete function risk.
[0014] In one embodiment of the present disclosure, the target content includes a long image page, a pure image, or pure text.
[0015] The present disclosure also proposes a content risk identification system, including: an extraction module, which extracts an entity set from the target content on a page; a structure determination module, which determines the page structure of the target content; a classification module, which classifies the entity set to obtain a classified entity set; a business attribute module, which identifies the business attributes of the target content according to the classified entity set; and a risk identification module, which identifies content risks based on the business attributes and the page structure.
[0016] In one embodiment of the present disclosure, the risk identification module is further configured to: extract risk features from the classified entity set based on the business attributes and the page structure; calculate feature values of the risk features; and determine whether there is content risk in the target content based on the calculated feature values.
[0017] In one embodiment of the present disclosure, the risk identification module is further configured to: if the calculated feature value meets a preset threshold, determine that there is content risk in the target content; if the calculated feature value does not meet the preset threshold, determine that there is no content risk in the target content.
[0018] In one embodiment of the present disclosure, the structure determination module is further configured to determine the page structure of the target content by using a Fast RCNN algorithm.
[0019] In an embodiment of the present disclosure, the classification module is further configured to classify the entity set by a multimodal classification algorithm.
[0020] In one embodiment of the present disclosure, the entities in the entity set include atomic layer entities and application layer entities, wherein the atomic layer entity represents the smallest content block in the target content, and the application layer entity represents one or more semantically related atomic layer entities that have been merged.
[0021] In one embodiment of the present disclosure, content risks include one or more of the following: pure blank risk, content mismatch risk, product and service missing risk, and incomplete function risk.
[0022] In one embodiment of the present disclosure, the target content includes a long image page, a pure image, or pure text.
[0023] The present disclosure also proposes a computer-readable storage medium storing a computer program, which can be executed by a processor to perform the aforementioned content risk identification method.
[0024] The technical solution disclosed in this paper solves the problems of poor reusability of model scenarios and high construction costs of conventional solutions. By comprehensively applying image and content classification algorithms to build a set of structured entity sets, a series of risk issues can be identified only through entity combinations, thus forming a "point-to-point" plug-in strategy system, which greatly improves timeliness and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The features, nature and advantages of the present disclosure will become more apparent when the detailed description set forth below is understood in conjunction with the accompanying drawings. In the accompanying drawings, the same reference numerals are always used for corresponding identification. It should be noted that the drawings described are only schematic and non-limiting. In the accompanying drawings, the sizes of some components may be exaggerated and are not drawn to scale for illustrative purposes.
[0026] Figure 1 An exemplary flow chart of a content risk identification method according to an embodiment of the present disclosure is shown.
[0027] Figure 2 A schematic diagram of a system for content risk identification according to an embodiment of the present disclosure is shown.
[0028] Figure 3 An exemplary structural diagram of an entity mining model according to an embodiment of the present disclosure is shown.
[0029] Figure 4A and Figure 4B An exemplary comparison between a conventional content risk identification method and a content risk identification method of the present disclosure is shown.
[0030] Figure 5 A schematic diagram of a content risk identification architecture according to an embodiment of the present disclosure is shown.
[0031] Figure 6 A block diagram of a content risk identification system according to an embodiment of the present disclosure is shown.
[0032] Figure 7 A device block diagram including a content risk identification system according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical scheme and advantages of the present disclosure clearer, the present disclosure is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. In the following detailed description, many specific details are set forth to provide a thorough understanding of the described exemplary embodiments. However, it is obvious to those skilled in the art that the described embodiments can be practiced without some or all of these specific details. In other exemplary embodiments, well-known structures are not described in detail to avoid unnecessarily obscuring the concepts of the present disclosure. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not intended to limit the present disclosure. At the same time, in the absence of conflict, the various aspects described in the embodiments can be combined arbitrarily.
[0034] Conventional business content risk identification solutions are oriented towards pure images or pure texts, and recognition models are built for single scenarios and single problems. Such conventional solutions have two prominent defects:
[0035] (1) The model’s risk information is single and cannot accurately understand the specific service content of the target content.
[0036] (2) Scattered capabilities do not have scenario reusability. Once the scenario is migrated or the risk rules are changed, the model needs to be redeveloped, which is extremely costly.
[0037] The technical solution disclosed in this disclosure uses image and content classification algorithms to construct a structured entity set. When identifying risks, a series of risk issues can be identified only through entity combination, thus forming a "point-to-point" plug-in strategy system, which greatly reduces the number of models and improves the accuracy of risk identification.
[0038] Taking the content risk identification of mini programs as an example, since the management object is a long graph, and the management nodes are not only before the mini program goes online, but also cover after the launch (because the business content of the mini program after the launch will change from time to time), the risk will penetrate into multiple usage scenarios of the mini program.
[0039] Due to the large number of business control scenarios and control nodes, it is necessary to accumulate general long-image mining capabilities. Since long images are unstructured rich text content, and current risk identification mainly relies on OCR (Optical Character Recognition) text content, it is impossible to perceive the missing content area or even the content category behind it, so it is impossible to accurately restore the long image page, affecting the accuracy of risk identification.
[0040] In view of this, the present disclosure proposes an improved content risk identification method and system based on entity mining. The technical solution of the present disclosure combines image target detection and multimodal classification to perform entity mining, which is more accurate and more scalable than conventional single-dimensional recognition of pure text and pure image. At the same time, the technical solution of the present disclosure can achieve lightweight recognition in a strategy assembly manner by calling entity sets, which is lower in cost and more timely. In addition, the entity mining of the present disclosure can highly restore the layout structure and service category of the target content, thereby further improving the accuracy of risk identification.
[0041] Figure 1 An exemplary flow chart of a content risk identification method 100 according to an embodiment of the present disclosure is shown.
[0042] The method 100 starts at step 102. At step 102, an entity set is extracted from target content on a page.
[0043] In an embodiment of the present disclosure, the entities in the entity set represent identifiable content blocks in the target content.
[0044] In an embodiment of the present disclosure, the target content may include a long image page, a pure image, or pure text. The long image page refers to rich text content including text and images, such as an HTML page.
[0045] In an embodiment of the present disclosure, entities in the entity set include atomic layer entities and application layer entities, wherein the atomic layer entity represents the smallest content block in the target content, and the application layer entity represents one or more semantically related atomic layer entities that have been merged.
[0046] Taking the navigation map page as an example, the smallest content block that users can touch on the page (for example, a button, product, tab, etc. on the page) can be an atomic layer entity, while the map card containing two atomic layer entities, address information and navigation coordinates, can be an application layer entity. It can be seen that the application layer entity actually includes one or more semantically related atomic layer entities.
[0047] In one embodiment of the present disclosure, all atomic-level entities in the target content may be first extracted. Then, one or more semantically related atomic-level entities may be merged in combination with contextual semantic understanding to obtain an application-level entity. Continuing with the example of the navigation map page, all atomic-level entities in the navigation map page may be first extracted, and then the semantically related "address information" and "navigation coordinates" two atomic-level entities may be merged into a "map card" application-level entity.
[0048] It should be noted that the above atomic layer entities and application layer entities are only exemplary and not restrictive. Different atomic layer entities and application layer entities can be defined for different application scenarios.
[0049] In step 104, the page structure of the target content is determined.
[0050] In one embodiment of the present disclosure, the page structure of the target content mainly includes the morphological composition of each entity in the target content and the page layout of the target content. Taking the navigation map page as an example, the page structure of the target content may include the shape and layout of each atomic layer entity and application layer entity, such as the shape of a button and the position of the button on the page, etc.
[0051] In one embodiment of the present disclosure, determining the page structure of the target content is achieved through the Fast RCNN algorithm.
[0052] At step 106 , the entity set is classified to obtain a classified entity set.
[0053] Specifically, classifying the entity set refers to classifying the content of each entity in the entity set, thereby fully understanding the content of the entity and thus helping to improve industry cognition.
[0054] In one embodiment of the present disclosure, the entity set is classified by a multimodal classification algorithm. With the help of the multimodal classification algorithm, the industry and service category behind the entity can be understood.
[0055] The detailed process of steps 104 and 106 will be described below. Figure 3 The entity mining model of
[0056] In step 108, business attributes of the target content are identified based on the classified entity set.
[0057] In one embodiment of the present disclosure, the semantic content of an entity can be fully understood through a multimodal classification algorithm, thereby knowing the industry and service category involved in the entity.
[0058] Taking the entity "XX duck neck" (product) as an example, we can accurately understand it as the catering industry and cooked food category, thereby understanding the business attributes behind the entity.
[0059] As another example, if the classified entity set contains entities such as store business cards, the main business of the store can be learned by identifying the content of the store business card. For example, if the store business card indicates that the main business of the store is beauty and hairdressing, it can be identified that the store belongs to the beauty and hairdressing industry of the life service category.
[0060] In this way, the attributes related to the business of the target content can be fully understood, which helps to improve industry awareness.
[0061] In step 110 , content risks are identified based on the business attributes and the page structure.
[0062] In one embodiment of the present disclosure, content risks may include one or more of the following: pure blank risk, content mismatch risk, product and service missing risk, and incomplete function risk. In the present disclosure, pure blank risk refers to the situation where there is a large area of blank space (for example, the proportion exceeds 50%) in the page of the target content. Content mismatch risk refers to the situation where the goods or services actually provided in the target content are inconsistent with the business content claimed by the target content. Product and service missing risk refers to the situation where necessary goods or services are missing in the target content. Incomplete function risk refers to the situation where the functions provided in the target content are incomplete.
[0063] In one embodiment of the present disclosure, identifying content risks based on the business attributes and the page structure may further include: extracting risk features from the classified entity set based on the business attributes and the page structure; calculating feature values of the risk features; and determining whether content risks exist in the target content based on the calculated feature values.
[0064] In one embodiment of the present disclosure, determining whether there is content risk in the target content based on the calculated feature value further includes: if the calculated feature value meets a preset threshold, determining that there is content risk in the target content; if the calculated feature value does not meet the preset threshold, determining that there is no content risk in the target content.
[0065] In this disclosure, risk features refer to features obtained based on a set of classified entities in some way.
[0066] In the specific implementation, different risk features can be extracted according to different business attributes and page structures.
[0067] For example, if the business attribute indicates that the target content belongs to the beauty and hairdressing industry, it can be known that the target content should display beauty and hairdressing products and beauty and hairdressing services and other functions. If the business attribute indicates that the target content belongs to the catering industry, it can be known that the target content should display dishes and products as well as reservation, evaluation, queuing and other functions. At the same time, by determining the page structure of the target content, the specific location of each entity in the target content can be known.
[0068] For example, if the business attribute is the beauty and hairdressing industry, the location of entities such as beauty and hairdressing products and beauty and hairdressing service functions can be obtained through the page structure of the target content, and then the features related to the number of beauty and hairdressing products and the number of beauty and hairdressing service functions can be extracted as risk features. If the number of beauty and hairdressing products is 0 or the number of beauty and hairdressing service functions is 0, it may indicate that there is a risk of missing goods and services. If the business attribute is the catering industry, the location of entities such as dishes, evaluation functions, and queuing service functions can be obtained through the page structure of the target content, and then the features related to the number of dishes, evaluation and queuing service functions can be extracted as risk features. If the number of dishes is 0, it may indicate that there is a risk of missing goods and services.
[0069] In another example, for pure blank risk, features related to the blank area ratio can be extracted from the classified entity set as risk features. For example, the "blank ratio" representing the ratio of blank areas to the entire target content area can be used as a risk feature.
[0070] Taking the target content including store business cards, icons, buttons, and banner ads as an example, the blank ratio can be calculated by the following formula:
[0071] Blank space ratio = 1-h_r(store name card)-h_r(icon)-h_r(button)-h_r(banner ad)
[0072] Wherein h_r represents the pixel height ratio (height_ratio), h_r (entity) = entity height / total pixel height of the image.
[0073] The blank ratio is a continuous variable between linear [0,1], and the strategy layer can independently adjust the parameters to output risk labels. For example, if the blank ratio is 1 (i.e., 100% of the area is blank), it can indicate that there is a pure blank risk in the target content. If the blank ratio is 0 (i.e., there is no blank area), it can indicate that there is no pure blank risk in the target content.
[0074] In some embodiments, a ratio threshold (e.g., 50%) may also be defined. If it is found through calculation that the blank ratio exceeds the ratio threshold, it may be considered that the target content contains a large area of blank space. If it is found through calculation that the blank ratio does not exceed the ratio threshold, it may be considered that the target content does not contain a large area of blank space. In some other embodiments, the value of the blank ratio may be directly output to indicate the blank ratio in the target content.
[0075] In contrast, conventional text recognition cannot perceive whether the content area is blank, and image object detection cannot extract the features of text entities, so it cannot accurately describe the proportion of blank space. It can be seen that the content risk identification solution disclosed in the present invention can identify more types of risks.
[0076] It should be noted that the above risk characteristics are exemplary and not restrictive. Meanwhile, although the present disclosure shows specific content risks, the technical solutions of the present disclosure can be applied to other types of content risks not shown in this document.
[0077] In addition, different risk features can also be extracted for the same content risk. For example, for pure blank risk, in addition to the above-mentioned "blank ratio" risk feature, a "physical content ratio" risk feature can also be defined. When the proportion of physical content is 1 (that is, 100% of the area is physical content), it can be indicated that there is no pure blank risk in the target content, and when the proportion of physical content is 0 (that is, there is no physical content), it can be indicated that there is a pure blank risk in the target content. In this way, the flexibility of risk identification can be improved.
[0078] As mentioned above, for pure blank risk, the "blank ratio" can be used as a risk feature. Subsequently, the value of the blank ratio can be calculated as a feature value. If the calculated feature value meets the preset threshold (for example, exceeds 50%), it can be determined that there is a pure blank risk in the target content. If the calculated feature value does not meet the preset threshold (for example, does not exceed 50%), it can be determined that there is no pure blank risk in the target content.
[0079] In another example, for content mismatch risk, service names and product names can be used as risk features, and combined with business attributes to determine whether these service names and product names are consistent with the business attributes. For example, for a long image page whose business attribute is the catering industry, if there are service names and / or product names that are inconsistent with the catering industry (for example, there is a service name of "ion perm"), then it can be considered that the long image page has a content mismatch risk.
[0080] In actual implementation, those skilled in the art can define different risk characteristics for different content risks according to actual business attributes and page structures, and set corresponding appropriate preset thresholds. Those skilled in the art can set specific preset thresholds based on experience, theoretical calculations, or training or learning.
[0081] By adopting Figure 1 The content risk identification method can identify a series of risks rather than a single risk for the same target content. In other words, multiple risks can be identified through one algorithm (one-to-many identification), which eliminates the need for manual labeling of a large number of samples compared to the one-to-one identification of conventional risk identification solutions, greatly improving the identification efficiency. In addition, the technical solution disclosed in the present invention improves the reusability of model scenarios and reduces development costs.
[0082] Figure 2 A system diagram 200 for content risk identification according to an embodiment of the present disclosure is shown.
[0083] For convenience, various aspects of the present disclosure are explained in conjunction with the navigation map page in most descriptions. However, it should be noted that this is only exemplary and not restrictive. The technical solution of the present disclosure can be applied to various target contents other than the navigation map page to identify risks in various target contents.
[0084] As shown in the figure, a long image (eg, a navigation map page) may be inspected first to extract a set of entities in the long image.
[0085] As mentioned above, entities in an entity set may include atomic layer entities and application layer entities. Figure 2 In the application, the "GO" button in the upper right corner of the long image and the "Scan QR code to borrow and return" button at the bottom can be atomic layer entities, while the map card including address information and navigation coordinates can be an application layer entity.
[0086] After extracting entities from the long image, entity mining can be performed on the entities. In the present disclosure, entity mining can refer to identifying the morphological layout and classification of each entity in the target content. Specifically, the page composition of the long image page can be determined and the entity content can be classified through algorithms such as Fast RCNN, OCR detection, and multimodal fusion.
[0087] In one embodiment of the present disclosure, the shape and layout of each entity in the entity set can be identified, so as to know the page composition of the target content. In some embodiments of the present disclosure, determining the page composition of the long image page can be achieved by the FastRCNN algorithm.
[0088] As shown in the figure, a materialized long graph can be obtained through entity mining.
[0089] exist Figure 2 In the materialized long image, each entity can be represented by three spatial coordinates, X, Y, and Z, where X and Y can represent the position of the entity in the target content, and Z can represent the entity itself. For example, X can represent the pixel position at the upper left boundary of the area where the entity is located, Y can represent the pixel position at the lower right boundary of the area where the entity is located, and Z represents the content of the entity itself (for example, entity name, entity type, entity function, etc.). Thus, in the materialized long image, the original scattered and disordered content data is transformed into individual content blocks with regional distinctions and clear levels.
[0090] After determining the page composition of the long image page, you can classify the entity content. By fully understanding the categories of entity content, it can help improve industry awareness.
[0091] After performing the above steps, a comprehensive set of entities can be obtained, and the entity form and content in the set can be fully understood.
[0092] On this basis, risk features can be extracted based on the business attributes and page structure of the target content.
[0093] Figure 2 The risk features such as "whether it contains a functional entity", "whether it contains a commodity entity", "commodity category", and "entity content area ratio" are shown in FIG. However, it should be noted that these risk features are only exemplary and not limiting. In a specific implementation, other risk features can be extracted according to the actual business attributes and page structure.
[0094] The risk signature can then be applied to various content risk identification problems to identify various risks in the target content.
[0095] As mentioned above, for pure blank risk identification, the characteristic value of the risk feature "blank ratio" or "entity content ratio" can be calculated and compared with the preset threshold to identify whether there is a pure blank risk in the target content. It can be seen that the technical solution disclosed in the present invention can process corresponding features for different content risk issues, and then complete the identification of a series of risk issues through lightweight entity assembly, which greatly improves the identification efficiency.
[0096] Figure 3 An exemplary structural diagram of an entity mining model 300 according to an embodiment of the present disclosure is shown.
[0097] like Figure 3 As shown, the entity mining model 300 of the present disclosure combines multiple algorithms such as Fast RCNN, OCR detection and multimodal classification.
[0098] Specifically, Fast RCNN (Fast Region-based Convolutional Neural Network) is an image object detection algorithm that uses a neural network classifier to extract features and classify. Fast RCNN extracts regions of interest (ROIs) from the original image using a heuristic algorithm, resizes these regions to a uniform size using ROI pooling, and then inputs them into a fully connected network. The softmax layer is used to input the category at the top of the network, and the linear regression layer is used to output the corresponding bounding box.
[0099] OCR detection is a detection algorithm that analyzes and recognizes input images to obtain text information in the image. The OCR algorithm first searches for the area containing text in the target content, and then recognizes the text in the area.
[0100] Multimodal classification is a target classification algorithm that integrates information from multiple modalities. Each source or form of information (e.g., image, text, etc.) can be called a modality. Different modalities have different forms of expression, and the feature information obtained from them will have certain overlaps and complementarities. By integrating information from multiple modalities, richer feature information can be obtained, thereby further improving the accuracy of target classification.
[0101] like Figure 3 As shown in the figure, for a given target content (for example, a long image page), it is first processed by Fast RCNN and OCR algorithms to extract the region of interest (ROI) and text (i.e., image and text), and then the extracted image and text are processed by text embedding, position embedding, segment embedding, etc., and after being encoded by the transformer encoder, word-wise and concatenated operations are performed to obtain the final classified output.
[0102] In a preferred embodiment of the present disclosure, the transformer encoder may adopt the transformer encoder structure in the BERT (Bidirectional Encoder Representations from Transformers) model. The transformer encoder includes multiple layers of encoders, wherein each layer of the encoder consists of a multi-head-attention layer and a feed-forward layer.
[0103] exist Figure 3 In the word-wise, wt1 corresponds to the text block and position information, wv1 corresponds to the features and position information of the image ROI, and RLP_row and RLP_col represent the constraint relationship between images. For example, if the entity next to a button in a row of entities is also identified from the image, it can be inferred that the entire row of entities are button types.
[0104] The specific implementation methods of Fast RCNN, OCR detection and multimodal detection are well known in the art and will not be described in detail here.
[0105] Notice, Figure 3 The entity mining model shown in the figure is only exemplary and not limiting. In actual implementation, those skilled in the art can adopt any appropriate entity mining model to implement the entity mining of the present disclosure.
[0106] Figure 4A and Figure 4B Exemplary comparisons 400 and 450 between conventional content risk identification methods and the content risk identification method of the present disclosure are shown.
[0107] Conventional content risk identification solutions use single methods such as image target detection and plain text named entity recognition. These solutions are often applied to a single scenario (pure image content or pure text content) and can only identify a single specific risk. Once the content complexity increases or the scenario migrates, effective identification cannot be performed.
[0108] Figure 4A Taking the long picture page of the refueling service at a gas station as an example, the risk identification effects of various risk identification schemes are described.
[0109] like Figure 4A As shown in , since the gas station image contains gas station buildings and flower patterns, if only pure image object detection is used, the "flowers" and "gas station" objects can be identified. Therefore, the pure image object detection scheme may mistakenly believe that there are "flowers" products and "gas station" landmarks, and thus fail to restore the true gas station service information.
[0110] If only plain text named entity recognition is applied, entities such as "refueling" and "recharge" can be identified by detecting the text in the long image page of the gas station, which may mistakenly believe that there are service items for refueling services, when in fact there are no gas stations to choose from.
[0111] In addition, if you want to verify whether there is a risk of missing goods and services or pure blankness in a long-image page, the above solution often requires accumulating and labeling a large amount of black and white sample training data to build a corresponding risk identification model. Therefore, for business risk identification on long-image pages, algorithm models that only rely on single-dimensional information are not easy to restore the true form of risk problems, and the model development cost is high.
[0112] In contrast, using the content risk identification solution disclosed in the present invention, the entity set in the long picture page of the refueling service can be obtained. Figure 4B Exemplary structured data 450 of an entity collection is shown in FIG.
[0113] Through the above entity set, the business attributes of the target content can be accurately identified. For example, through the Icon functional entity in structured data 450, the business attributes of the "gasoline service industry" can be obtained, which further expands the application value of entity mining and helps improve the understanding of the industry.
[0114] Subsequently, risk features are extracted based on the business attributes of the "gasoline service industry" and the page structure of the long image page to identify various content risks. It can be seen that the technical solution disclosed in the present invention can highly restore the structure and content of the long image service page, thereby facilitating the identification of entity content risks.
[0115] Figure 5 A schematic diagram of a content risk identification architecture 500 according to an embodiment of the present disclosure is shown.
[0116] like Figure 5 As shown, the content risk identification framework 500 of the present disclosure includes four stages: entity extraction stage, structure determination stage, business attribute stage, and risk identification stage.
[0117] In the entity extraction stage, entity extraction is performed on the target content on the page (e.g., long image page, pure image, pure text) to obtain an entity set.
[0118] In a preferred embodiment of the present disclosure, the atomic layer entities in the target content can be first extracted. The atomic layer entity represents the smallest content block in the target content, such as the smallest content block that can be touched by the user on a long image page. Subsequently, one or more semantically related atomic layer entities can be merged to obtain an application layer entity. For example, the two semantically related atomic layer entities of "address information" and "navigation coordinates" on a long image page can be merged into a "map card" application layer entity.
[0119] The atomic layer entities and application layer entities obtained in the entity extraction phase together constitute an entity set.
[0120] During the structure determination phase, the page structure of the target content can be determined.
[0121] In an embodiment of the present disclosure, the morphological structure of each entity in the entity set (eg, the shape of the entity, the position in the target content, etc.) may be determined first, and then the morphological structures of all entities may be integrated to obtain the page structure of the entire target content.
[0122] In the business attribute phase, the entity set may be first classified to obtain a classified entity set.
[0123] Specifically, the content of each entity in the entity set (atomic layer entities and application layer entities) can be classified. Through entity classification, the semantic meaning of the entity can be fully understood, which helps to understand the service information behind the entity. The specific classification process has been combined with Figure 3 The description has been given and will not be repeated here.
[0124] Then, the business attributes of the target content can be identified based on the classified entity set. In this way, the industry and service category involved in the entity can be known.
[0125] In the risk identification stage, risk features can be extracted from the classified entity set based on the business attributes and page structure of the target content obtained in the previous stage. For example, as mentioned above, for pure blank risk, the "blank ratio" can be used as a risk feature. Then, the risk feature can be calculated.
[0126] Risk identification is then performed based on the calculated feature value. In some embodiments, the feature value can be compared with a preset threshold. If the calculated feature value meets the preset threshold (for example, the blank ratio exceeds the preset threshold), it can be determined that there is a content risk (pure blank risk) in the target content; if the calculated feature value does not meet the preset threshold (for example, the blank ratio does not exceed the preset threshold), it can be determined that there is no content risk (pure blank risk) in the target content.
[0127] Finally, the risk identification result can be output. In some examples, it can be output whether there is a risk. In other examples, the probability or possibility of the risk existing can be output. In addition, if there is a risk, the specific risk type can also be indicated for subsequent execution of corresponding operations to reduce or eliminate the risk of that type.
[0128] Although Figure 5 Four specific stages of the content risk identification architecture are shown, but it should be noted that this stage division is only exemplary and not restrictive. In different implementations, one or more of these stages can be combined, split, or removed. For example, the entity classification step can be split out of the business attribute stage as another stage.
[0129] Figure 6A block diagram of a content risk identification system 600 according to an embodiment of the present disclosure is shown.
[0130] See also Figure 6 , the system 600 may include an extraction module 602, a structure determination module 604, a classification module 606, a business attribute module 608, and a risk identification module 610. Each of these modules may be connected or communicated with each other directly or indirectly on one or more buses 612.
[0131] The extraction module 602 may extract an entity set from target content on a page.
[0132] In an embodiment of the present disclosure, the entities in the entity set represent identifiable content blocks in the target content.
[0133] In one embodiment of the present disclosure, the target content includes a long image page, a pure image, or pure text.
[0134] In one embodiment of the present disclosure, the entities in the entity set include atomic layer entities and application layer entities, wherein the atomic layer entity represents the smallest content block in the target content, and the application layer entity represents one or more semantically related atomic layer entities that have been merged.
[0135] The structure determination module 604 may determine the page structure of the target content.
[0136] In one embodiment of the present disclosure, the structure determination module 604 may be configured to determine the page structure of the target content by using a Fast RCNN algorithm.
[0137] The classification module 606 may classify the entity set to obtain a classified entity set.
[0138] In an embodiment of the present disclosure, the classification module 606 may be configured to classify the entity set by using a multimodal classification algorithm.
[0139] The business attribute module 608 may identify the business attribute of the target content according to the classified entity set.
[0140] The risk identification module 610 may identify content risks based on the business attributes and the page structure.
[0141] In one embodiment of the present disclosure, the risk identification module 610 can be further configured to: extract risk features from the classified entity set based on the business attributes and the page structure; calculate the feature value of the risk feature; and determine whether there is content risk in the target content based on the calculated feature value.
[0142] In one embodiment of the present disclosure, the risk identification module 610 can be further configured to: if the calculated feature value meets the preset threshold, determine that there is content risk in the target content; if the calculated feature value does not meet the preset threshold, determine that there is no content risk in the target content.
[0143] In one embodiment of the present disclosure, content risks include one or more of the following: pure blank risk, content mismatch risk, product and service missing risk, and incomplete function risk.
[0144] Although Figure 6 Specific modules of system 600 are shown in FIG. 6 , but it should be understood that these modules are exemplary and non-restrictive. In different implementations, one or more modules in these modules can be combined, split, removed, or additional modules can be added. For example, in some implementations, classification module 606 and business attribute module 608 can be combined into a single module. In some implementations, system 600 can also include additional modules.
[0145] Figure 7 A block diagram of a device 700 including a content risk identification system according to an embodiment of the present disclosure is shown.
[0146] The device illustrates a general hardware environment in which the present disclosure may be applied according to its exemplary embodiments.
[0147] Now refer to Figure 7 Device 700 is described, which is an exemplary embodiment of a hardware device that can be applied to various aspects of the present disclosure. Device 700 can be any machine configured to perform processing and / or computing, and can be, but is not limited to, a workstation, a server, a desktop computer, a laptop computer, a tablet computer, a personal digital assistant (PDA), a smart phone, or any combination thereof.
[0148] The device 700 may include components that may be connected or in communication with the bus 712 via one or more interfaces. For example, the device 700 may include a bus 712, a processor 702, a memory 704, an input device 708, and an output device 710, among other things.
[0149] The processor 702 may be any type of processor, and may include, but is not limited to, a general-purpose processor and / or a special-purpose processor (e.g., a special processing chip), an intelligent hardware device (e.g., a general-purpose processor, a DSP, a CPU, a microcontroller, an ASIC, an FPGA, a programmable logic device, a discrete gate or transistor logic component, a discrete hardware component, or any combination thereof). In some cases, the processor 702 may be configured to operate a memory array using a memory controller. In other cases, a memory controller (not shown) may be integrated into the processor 702. The processor 702 may be responsible for managing the bus and general processing, including executing software stored on the memory. The processor 702 may also be configured to perform various functions described herein related to content risk identification. For example, the processor 702 may be configured to: extract an entity set from target content on a page; determine a page structure of the target content; classify the entity set to obtain a classified entity set; identify the business attributes of the target content according to the classified entity set; identify content risks based on the business attributes and the page structure.
[0150] The memory 704 may be any storage device that enables data storage. The memory 704 may include, but is not limited to, a disk drive, an optical storage device, a solid-state memory, a floppy disk, a floppy disk, a hard disk, a magnetic tape or any other magnetic medium, an optical disk or any other optical medium, a ROM (read-only memory), a RAM (random access memory), a cache memory, and / or any other memory chip or cartridge, and / or any other medium from which a computer can read data, instructions, and / or code. The memory 704 may store computer executable software 706 including computer readable instructions that, when executed, cause the processor to perform the various functions described herein related to content risk identification.
[0151] Input device 708 may be any type of device that can be used to input information.
[0152] Output device 710 may be any type of device for outputting information. In one embodiment, output device 710 may be any type of output device that can display information.
[0153] The technical solution disclosed in the present invention combines image target detection and multimodal classification for entity mining, which is more accurate and more extensible than conventional single-dimensional recognition of pure text and pure image. At the same time, the technical solution disclosed in the present invention does not need to build a separate corresponding black and white sample set and model for each risk identification problem, but only needs to call the entity set to achieve lightweight identification in the form of strategy assembly. As a result, the risk identification solution disclosed in the present invention has lower cost, higher timeliness, and lower application threshold. In addition, the entity mining disclosed in the present invention can highly restore the layout structure and service category of the target content, thereby helping to improve the cognition of industry forms, and can assist in supporting content management and control of entity areas with higher precision.
[0154] The detailed description described above in conjunction with the accompanying drawings describes examples and does not represent all examples that can be implemented or fall within the scope of the claims. The terms "example" and "exemplary" when used in this specification mean "used as an example, instance or illustration" and do not mean "better or better than other examples".
[0155] Reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present disclosure. Thus, use of these phrases may refer to more than just one embodiment. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0156] The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the universal principles defined herein may be applied to other aspects. Therefore, the claims are not intended to be limited to the aspects shown herein, but should be granted the full scope consistent with the claims in language, wherein the singular reference to the elements is not intended to represent "there is and only one", but "one or more", unless otherwise specifically stated. Unless otherwise specifically stated, the term "some" refers to one or more. The elements of the various aspects described throughout this disclosure are all structurally and functionally equivalent schemes currently or hereafter known to those of ordinary skill in the art and are expressly incorporated herein by reference, and are intended to be covered by the claims.
[0157] It should also be noted that these embodiments may be described as a process depicted as a flow chart, flow diagram, structure diagram, or block diagram. Although the flow chart may describe the operations as sequential processes, many of these operations can be performed in parallel or concurrently. In addition, the order of these operations can be rearranged.
[0158] Although various embodiments have been illustrated and described, it should be understood that the embodiments are not limited to the precise configuration and components described above. Various modifications, substitutions and improvements obvious to those skilled in the art may be made in the arrangement, operation and details of the devices disclosed herein without departing from the scope of the claims.
Claims
1. A content risk identification method, comprising: Extract entity collection from target content on the page; Determining a page structure of the target content, wherein the page structure includes the morphological composition of entities in the entity set and the page layout of the target content; classifying the entity set to obtain a classified entity set; identifying a business attribute of the target content according to the classified entity set; extracting risk features from the classified entity set based on the business attributes and the page structure; Calculating a characteristic value of the risk characteristic; It is determined whether there is a content risk in the target content based on the calculated feature value.
2. The method according to claim 1, determining whether there is content risk in the target content based on the calculated feature value further comprises: If the calculated feature value meets a preset threshold, it is determined that there is a content risk in the target content; If the calculated feature value does not meet the preset threshold, it is determined that there is no content risk in the target content.
3. According to the method of claim 1, determining the page structure of the target content is achieved by using the Fast RCNN algorithm.
4. According to the method of claim 1, classifying the entity set is achieved by a multimodal classification algorithm.
5. According to the method according to claim 1, the entities in the entity set include atomic layer entities and application layer entities, wherein the atomic layer entity represents the smallest content block in the target content, and the application layer entity represents one or more semantically related atomic layer entities that have been merged.
6. According to the method of claim 1, the content risk includes one or more of the following: pure blank risk, content mismatch risk, product and service missing risk, and incomplete function risk.
7. According to the method of claim 1, the target content includes a long picture page, a pure image, or pure text.
8. A content risk identification system, comprising: The extraction module extracts entity sets from the target content on the page; A structure determination module, which determines the page structure of the target content, wherein the page structure includes the morphological composition of the entities in the entity set and the page layout of the target content; A classification module, classifying the entity set to obtain a classified entity set; A business attribute module, identifying business attributes of the target content according to the classified entity set; A risk identification module, wherein the risk identification module is configured to: extracting risk features from the classified entity set based on the business attributes and the page structure; Calculating a characteristic value of the risk characteristic; It is determined whether there is a content risk in the target content based on the calculated feature value.
9. The system according to claim 8, wherein the risk identification module is further configured to: If the calculated feature value meets a preset threshold, it is determined that there is a content risk in the target content; If the calculated feature value does not meet the preset threshold, it is determined that there is no content risk in the target content.
10. According to the system of claim 8, the structure determination module is further configured to determine the page structure of the target content by using a Fast RCNN algorithm.
11. The system according to claim 8, the classification module is further configured to classify the entity set by a multimodal classification algorithm.
12. According to the system of claim 8, the entities in the entity set include atomic layer entities and application layer entities, wherein the atomic layer entity represents the smallest content block in the target content, and the application layer entity represents one or more semantically related atomic layer entities that have been merged.
13. The system according to claim 8, wherein the content risk comprises one or more of the following: pure blank risk, content non-conformity risk, product and service missing risk, and function incomplete risk.
14. The system according to claim 8, wherein the target content comprises a long image page, a pure image, or a pure text.
15. A computer-readable storage medium storing a computer program, wherein the computer program can be executed by a processor to perform the method according to any one of claims 1 to 7.
