{"id":117861,"topic":"patents","source":"Google Patents","title":"Method, related device, equipment and storage medium for generating counterfactual samples","url":"https://patents.google.com/patent/CN116776863B/en","url_hash":"5f32829dc89d74a9dcb23b7642741e2846352f4e","author":null,"summary":"Method, related device, equipment and storage medium for generating counterfactual samples\n\nThe application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the like. The method comprises the steps of obtaining category probability distribution through a text classification model based on an original text sample, determining the association score of each text unit in the original text sample according to the category probability distribution, determining N causal fragments from the original text sample according to the association score of each text unit, carrying out covering treatment on M causal fragments in the N causal fragments to obtain a target text sample, obtaining M target fragments through a text generation model based on the target text sample, and replacing the M causal fragments in the original text sample with the M target fragments to obtain a counterfactual sample. The application also provides a device, equipment and a storage medium. According to the application, the counterfactual sample can be automatically generated without manual intervention, so that the cost of data augmentation is reduced.","content":null,"image_url":null,"lang":"en","published_at":"2026-09-01","fetched_at":"2026-10-30T21:29:30+00:00","status":"read","starred":0,"extract_state":"ok","summary_auto":null,"cluster_id":null,"extract_retries":0,"extract_error":null,"item_type":"patent","ref_id":"CN-116776863-B","refs_json":"{\"assignees\": [\"腾讯科技（深圳）有限公司\"], \"cpc_codes\": [\"G06F40/216\", \"G06F40/35\", \"G06F16/35\", \"G06N3/08\"], \"family_id\": \"88012132\", \"watch\": \"patents-ai\", \"priority\": null}","doi":null,"arxiv_id":null,"paper_version":null,"sources_json":null,"relevance_score":null,"relevance_method":null,"cited_by":null,"contract_version":"news_item.v1","format_contract_version":"news_item_formats.v1","dedup_url":"https://patents.google.com/patent/CN116776863B/en","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1249,"usable_text_length":1249,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1249}},"news_item":{"id":117861,"canonical_url":"https://patents.google.com/patent/CN116776863B/en","source_url":"https://patents.google.com/patent/CN116776863B/en","title":"Method, related device, equipment and storage medium for generating counterfactual samples","source_name":"Google Patents","author":null,"published_at":"2026-09-01","locale":"en","topic":"patents","tags":[],"rss_summary":"Method, related device, equipment and storage medium for generating counterfactual samples\n\nThe application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the like. The method comprises the steps of obtaining category probability distribution through a text classification model based on an original text sample, determining the association score of each text unit in the original text sample according to the category probability distribution, determining N causal fragments from the original text sample according to the association score of each text unit, carrying out covering treatment on M causal fragments in the N causal fragments to obtain a target text sample, obtaining M target fragments through a text generation model based on the target text sample, and replacing the M causal fragments in the original text sample with the M target fragments to obtain a counterfactual sample. The application also provides a device, equipment and a storage medium. According to the application, the counterfactual sample can be automatically generated without manual intervention, so that the cost of data augmentation is reduced.","full_text":null,"excerpt":"Method, related device, equipment and storage medium for generating counterfactual samples\n\nThe application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the like. The method comprises the steps of obtaining category probability distribution through a text classification model based on an original text sample, determining the association score of each text unit in the original text sample according to the category probability distribution, determining N causal fragments from the original text sample according to the association score of each text unit, carrying out covering treatment on M causal fragments in the N causal fragments to obtain a target text sample, obtaining M target fragments through a text generation model based on the target text sample, and replacing the M causal fragments in the original text sample with the M target fragments to obtain a counterfactual sample. The application also provides a device, equipment and a storage medium. According to the application, the counterfactual sample can be automatically generated without manual intervention, so that the cost of data augmentation is reduced.","extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1249,"usable_text_length":1249,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1249}}},"display_formats":["compact","card","full","digest_section","json"]},"daily_stack_record":{"title":"Method, related device, equipment and storage medium for generating counterfactual samples","url":"https://patents.google.com/patent/CN116776863B/en","summary":"Method, related device, equipment and storage medium for generating counterfactual samples\n\nThe application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the like. The method comprises the steps of obtaining category probability distribution through a text classification model based on an original text sample, determining the association score of each text unit in the original text sample according to the category probability distribution, determining N causal fragments from the original text sample according to the association score of each text unit, carrying out covering treatment on M causal fragments in the N causal fragments to obtain a target text sample, obtaining M target fragments through a text generation model based on the target text sample, and replacing the M causal fragments in the original text sample with the M target fragments to obtain a counterfactual sample. The application also provides a device, equipment and a storage medium. According to the application, the counterfactual sample can be automatically generated without manual intervention, so that the cost of data augmentation is reduced.","source":"Google Patents","date":"2026-09-01","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1249,"usable_text_length":1249,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1249}},"tags":[]},"fallback_formats":["markdown","json","html"],"actions":{"read":"/item/117861","export_markdown":"/api/items/117861/export?format=markdown","export_json":"/api/items/117861/export?format=json","diagnose":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en"},"formats":{"full":{"id":117861,"title":"Method, related device, equipment and storage medium for generating counterfactual samples","url":"https://patents.google.com/patent/CN116776863B/en","source":"Google Patents","author":null,"published_at":"2026-09-01","locale":"en","topic":"patents","tags":[],"excerpt":"Method, related device, equipment and storage medium for generating counterfactual samples\n\nThe application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the like. The method comprises the steps of obtaining category probability distribution through a text classification model based on an original text sample, determining the association score of each text unit in the original text sample according to the category probability distribution, determining N causal fragments from the original text sample according to the association score of each text unit, carrying out covering treatment on M causal fragments in the N causal fragments to obtain a target text sample, obtaining M target fragments through a text generation model based on the target text sample, and replacing the M causal fragments in the original text sample with the M target fragments to obtain a counterfactual sample. The application also provides a device, equipment and a storage medium. According to the application, the counterfactual sample can be automatically generated without manual intervention, so that the cost of data augmentation is reduced.","full_text":null,"reading_time_min":1,"extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1249,"usable_text_length":1249,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1249}}},"quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1249,"usable_text_length":1249,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1249}},"actions":{"read":"/item/117861","export_markdown":"/api/items/117861/export?format=markdown","export_json":"/api/items/117861/export?format=json","diagnose":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en"}},"digest":{"id":117861,"title":"Method, related device, equipment and storage medium for generating counterfactual samples","url":"https://patents.google.com/patent/CN116776863B/en","source":"Google Patents","topic":"patents","published_at":"2026-09-01","excerpt":"Method, related device, equipment and storage medium for generating counterfactual samples The application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the…","quality_bucket":"medium","quality_reason":"Medium confidence: summary fallback used without full text.","reading_time_min":1,"cluster_id":null},"card":{"display_title":"Method, related device, equipment and storage medium for generating counterfactual samples","subtitle":"Google Patents · 2026-09-01","summary":"Method, related device, equipment and storage medium for generating counterfactual samples The application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not…","badges":["quality:medium"],"links":{"read":"/item/117861","original":"https://patents.google.com/patent/CN116776863B/en","diagnose":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en"},"quality_warning":null},"export":{"title":"Method, related device, equipment and storage medium for generating counterfactual samples","url":"https://patents.google.com/patent/CN116776863B/en","summary":"Method, related device, equipment and storage medium for generating counterfactual samples\n\nThe application discloses a method for generating a counterfactual sample, which can be applied to the fields including but not limited to the fields of man-machine interaction and the like. The method comprises the steps of obtaining category probability distribution through a text classification model based on an original text sample, determining the association score of each text unit in the original text sample according to the category probability distribution, determining N causal fragments from the original text sample according to the association score of each text unit, carrying out covering treatment on M causal fragments in the N causal fragments to obtain a target text sample, obtaining M target fragments through a text generation model based on the target text sample, and replacing the M causal fragments in the original text sample with the M target fragments to obtain a counterfactual sample. The application also provides a device, equipment and a storage medium. According to the application, the counterfactual sample can be automatically generated without manual intervention, so that the cost of data augmentation is reduced.","source":"Google Patents","date":"2026-09-01","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//patents.google.com/patent/CN116776863B/en","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1249,"usable_text_length":1249,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1249}},"tags":[],"format_contract_version":"news_item_formats.v1"}}}