Beyond hash matching: AI detection of previously unidentified child sexual abuse material and its legal implications in the EUBeyond Hash Matching: AI-Based Detection of Previously Unidentified CSAM and its Legal Implications in the EU
The authors review AI techniques for detecting unknown CSAM and empirically test two APIs: Sightengine's age classification accuracy on FG-NET for ages 13–17 is only 26.58%.
- Hash matching can only identify verified CSAM and cannot discover previously uncatalogued new material, while new CSAM often means abuse is still occurring. The authors examine whether AI techniques can supplement hash matching and their compliance under the EU legal framework.
- Existing AI detection techniques are divided into three categories: real-time image/video analysis, classification and tagging, and behavior monitoring; 9 platforms are compared; two sets of API experiments are conducted with Google Cloud Vision AI and Sightengine (sexual content classification consistency, child-adult age classification), and the experimental data contain no CSAM; legal frameworks such as the EU AI Act and GDPR are also analyzed.
- The exact agreement of normalized grading between the two platforms on 284 jointly evaluated images is 81.3%. Sightengine's overall accuracy on 998 valid FG-NET images is 86.27%, but only 26.58% for the 13–17 age group, with 116 adolescent images misclassified as adults. The authors believe AI outputs can only serve as an auxiliary assessment tool.
- The authors note: FG-NET contains only 82 people, with multiple images of the same person at different ages; the 998 results are not independent observations and cannot be generalized; the experiments did not perform threshold analysis; the sample size is small (288 images in the sexual content experiment). Only 2 services were tested; dedicated CSAM tools were not tested due to access restrictions.
- Evaluated models
- Google Cloud Vision AISightengine
- Benchmarks
- kshittt/sfw_nsfw_datasetFG-NET Aging Database
- Metrics
- exact agreementaccuracyprecisionrecallspecificityF1-scoremean minor probability
The researchers reviewed and empirically tested AI technologies that can complement hash matching for detecting previously unidentified child sexual abuse material (CSAM), classifying them into three categories: real-time image and video analysis, image and video classification and labeling, and AI behavior monitoring, and compared how general-purpose computer vision platforms, content moderation services and specialized detection tools are integrated into existing workflows. The experiments used Google Cloud Vision AI and Sightengine to test sexual content classification and child-adult age estimation; the results show that classification systems and outputs differ across providers, and age classification has clear limitations for adolescents, so AI assessment should serve as an auxiliary means of analysis and ranking rather than a final determination of CSAM. The paper also analyzes the EU regulatory framework, focusing on the EU AI Act, the GDPR, fundamental rights, transparency, accountability and human oversight, and notes that regulatory obligations and safeguards may vary by deployment scenario or create inconsistencies across interconnected detection and reporting workflows.
Paper analysis
What problem does this paper attempt to solve?
Hash matching cannot detect unknown CSAM; the authors review AI techniques that could supplement it, empirically test two APIs, and analyze the EU legal framework.
Core question: traditional hash matching can only identify already-verified CSAM; how can previously uncatalogued new CSAM be detected, and how can such AI detection comply with EU law.
- Problem setting: the authors note that newly appearing CSAM often means abuse is still ongoing, and rapid identification is crucial to protecting child victims (introduction cites [1]); hash matching, however, relies on existing databases and cannot find new material.
- Shortcomings of existing methods: detecting unknown CSAM generally relies on AI recognizing visual features and giving a probability, but the authors state that the lack of public CSAM datasets constrains research and development, and operational systems mostly rely on proprietary datasets maintained by trusted organizations.
- Core observation of the paper: existing AI approaches fall into three categories—real-time image/video analysis, classification and tagging, and behavioral monitoring; the three are not mutually exclusive and can be combined into the same detection pipeline; the authors consider AI output to be a probabilistic assessment and not capable of independently determining whether material constitutes CSAM.
- What the paper proposes: a review combining technical and legal perspectives—it classifies and compares the capabilities and limitations of 9 AI platforms, conducts two sets of API experiments on Google Cloud Vision AI and Sightengine (data contains no CSAM), and analyzes differences in obligations under frameworks such as the EU AI Act, GDPR, and DSA.
- Entry point of the legal perspective: the authors note that functionally comparable technologies, because of differences in deploying entity (private service provider vs law enforcement agency) and purpose, are subject to different ex ante assessment and safeguard requirements, which may cause inconsistent protection in an interconnected detection-reporting-investigation process.
What related research exists?
The paper is organized around three categories of AI detection techniques, nine commercial platforms, and EU legal literature, with no baseline comparison experiments.
Known CSAM detection and hash matching
- Thorn Safer Match [15] — identifies known CSAM based on matching technology; the paper uses it as a comparison to introduce Safer Predict's AI classification approach.
- European Commission impact assessment report [1] — the paper uses it to explain that detecting unknown CSAM relies on AI and is limited by the lack of public datasets.
Real-time visual analysis and classification/tagging techniques
- YOLO [13] and DETR — representatives of single-stage detectors and transformer end-to-end detection; the paper describes their use for real-time visual analysis.
- Tag2Text [18], Recognize Anything Model (RAM) [20] — image tagging and open-vocabulary recognition; Gutfeter et al. [19] — an end-to-end classifier and region network for pornographic content detection in the CSAM context.
- VLMs such as CLIP, SigLIP, Florence-2 and multimodal moderation [21] — jointly model images and text, supporting zero-shot classification and multimodal moderation combining context such as OCR and filenames.
Behavior monitoring
- Network traffic analysis [22], deep packet inspection [23], anomaly detection [24] — identify anomalies from traffic metadata and behavioral baselines; the paper notes that encryption (HTTPS, end-to-end) limits payload inspection.
- Meta's intent classification framework [25] — classifies the intent of accounts sharing CSAM using behavioral and contextual signals; the paper notes that its technical implementation is not public.
Legal and rights literature
- EDPB/EDPS joint opinion [30] — considers AI CSAM detection tools highly intrusive to privacy and the confidentiality of communications.
- SCHUFA (C-634/21) [46] and Dun & Bradstreet Austria (C-203/22) [47] — CJEU case law concerning automated decision-making and the right to explanation; Fink & Demková [48] — points out that limiting the AI Act's right to explanation to high-risk applications leaves protection gaps.
Baselines and benchmarks: the paper has no methodological comparison baseline; the experiments use kshittt/sfw_nsfw_dataset [4] and the FG-NET Aging Database [5]. The authors position this paper as a technical review plus legal analysis: AI tools are a supplementary component of the hash detection ecosystem (e.g., PreventCSA@EU [26]), not an independent means of determination.
How does the paper address this problem?
A three-part classification of AI detection technologies and comparison of 9 platforms, then empirical testing of two APIs using two datasets containing no CSAM, and finally an EU legal analysis.
The paper has three lines: technical review and platform comparison, API experiments, and legal analysis.
Technical classification and platform comparison
- Three categories of methods: real-time image/video analysis (processing streaming data when content is generated or uploaded), image/video classification and tagging (giving a category or risk score for unseen content), and AI behavioral monitoring (analyzing traffic, metadata, and interaction patterns). The authors emphasize that the three can be combined, and that behavioral monitoring is not recommended as a component of the PreventCSA@EU process due to privacy concerns.
- Platform comparison: Table 1 compares 9 platforms across dimensions such as main use, whether CSAM-specific, image/video analysis, OCR, risk score, custom training, and deployment mode: Google Cloud Vision AI, Amazon Rekognition, Microsoft Azure AI Vision & Content Safety, Clarifai, The HIVE AI, Thorn Safer Predict, Google Content Safety API, Salus, and Sightengine. Among these, only Thorn Safer Predict, Google Content Safety API, and Salus are CSAM-specific; Salus performs client-side local processing.
- Integration concept: after a hash check fails to match, material is sent to cloud/API services for supplementary analysis, outputting metadata such as labels, confidence scores, face/object detection, and OCR to assist triage, with human review retained as a necessary step (Figure 2 is an integration schematic drawn by the authors).
Experimental design
- Scenario 1 (sexual content classification): using kshittt/sfw_nsfw_dataset, after manual removal of images with watermarks/third-party marks, 288 images remained (144 in each of two subsets). Outputs from the two platforms were mapped to a unified four-level taxonomy (Table 2: Safe, Suggestive/Partial Nudity, Nudity/Sexual Display, Sexual Activity/Explicit); on the Google side, mapping was based on the adult and racy likelihood paths (Table 3), and on the Sightengine side, on categories such as sexual activity, sexual display, and suggestive. Exact agreement and level differences were compared; because there is no independently verified ground truth, accuracy was not calculated.
- Scenario 2 (age classification): using all 1,002 face images in FG-NET (82 people, ages 0–69), with 18 years as the boundary for CHILD/ADULT, using Sightengine's minor-probability output and default determination; metrics were the confusion matrix, overall accuracy, CHILD precision/recall, ADULT specificity, and F1, analyzed by 5 age groups (0–5, 6–12, 13–17, 18–30, 31+).
- Ethical and compliance design: the experiments contained no known or suspected CSAM; images were submitted as-is without preprocessing; dataset licenses (CC BY-NC 4.0, FG-NET academic conditions) and service providers' contract terms were reviewed in advance, and services without written clarification were excluded.
Legal analysis
- Analyzes the EU AI Act (Annex III high risk, Article 27 FRIA, Article 86 right to explanation), GDPR (Article 22, DPIA), the temporary derogation of Regulation (EU) 2026/1881, and DSA Article 17, discussing how deploying entity and purpose determine applicable obligations.
What experiments did the paper conduct?
Two sets of API experiments: the consistency rate of sexual content grading between the two platforms is 81.3%; Sightengine's age classification is 86.27% overall but only 26.58% for ages 13–17.
Experimental setup
- Services tested: Google Cloud Vision AI (SafeSearch adult/racy likelihood) and Sightengine (Image Moderation API and minor-probability); the age experiment used only Sightengine.
- Datasets: kshittt/sfw_nsfw_dataset (288 images after filtering, 144 in each of two subsets); FG-NET Aging Database (1,002 images, 82 people, ages 0–69, all used).
- Sample sizes: in Scenario 1, 284 images were valid on both platforms (4 failed processing on Sightengine); in Scenario 2, 998 were valid (4 had no detected face).
- Metrics and determination: Scenario 1 used exact agreement and mean/maximum level difference on the four-level normalized taxonomy, with no ground truth and no accuracy calculation; Scenario 2 used the CHILD/ADULT reference classes with 18 years as the boundary, Sightengine's default determination, and computed the confusion matrix and each metric.
- Number of repetitions: not reported in the paper.
Main results
Metric Value Source Exact agreement between the two platforms 231/284, 81.3% Table 5 Mean/maximum level difference 0.20 / 2 Table 5 Sightengine overall accuracy 86.27% (861/998) Table 6 CHILD precision / recall 98.83% (506/512) / 79.43% (506/637) Table 6 ADULT specificity / CHILD F1 98.34% (355/361) / 88.08% Table 6 - The authors state the two platforms' distributions differ (Table 4: Google has more Level 2 and fewer Level 3), but emphasize that this reflects taxonomy and mapping differences and cannot be interpreted as which is more sensitive or stricter.
- The authors state that the main error in the age experiment was classifying minors as adults: 131 of 637 child images were classified as ADULT; another 6 adult images were classified as CHILD.
Age group analysis
- Group accuracy (Table 7): 0–5 years 99.57% (n=231), 6–12 years 94.35% (n=248), 13–17 years 26.58% (n=158, of which 116 were classified as adult), 18–30 years 97.41% (n=232), 31+ years 100.0% (n=129).
- Mean minor probability: decreased from 0.975 at 0–5 years and 0.902 at 6–12 years to 0.292 at 13–17 years; the adult groups were 0.051 and 0.012.
- Authors' interpretation: overall accuracy masks the weakness in the adolescent group; an ADULT prediction should not be regarded as reliable evidence that a person is an adult, and a CHILD prediction is likewise not confirmation of being a minor.
Other ablations and analyses
- Threshold discussion: the authors state that lowering the CHILD determination threshold might recover some missed minors but would increase adult misclassifications; this experiment used only the default threshold and did not perform threshold analysis, PR curves, or ROC analysis.
- Data independence note: FG-NET has only 82 people with multiple images per person; the 998 results should not be regarded as 998 independent observations.
- Scenario 1 distribution details (Table 4): Sightengine classified 142 images as Level 1 and 99 as Level 4; Google classified 122 and 122 respectively (Google total 288).
- Failure cases: 4 images could not be processed by Sightengine (format or size limits), and 4 FG-NET images had no detected face.
What are some points that can be further explored?
The authors note limitations such as data representativeness, threshold analysis, and generalization; the experiments cover only 2 services and 2 public datasets.
Limitations and future directions noted by the authors
- Data representativeness (Section 4.2): FG-NET contains only 82 people, with multiple images of the same person at different ages; the 998 classifications are not independent observations, and the results cannot be generalized to other populations, image conditions, or actual CSAM/CSAE datasets.
- Future evaluation directions (Section 4.2): more diverse datasets and subject-independent testing are needed to draw broader conclusions about operational applicability.
- Lack of threshold analysis (Section 4.2): the experiments used only the default determination rule and did not determine an optimal threshold; the authors state that the full probability distribution should be examined, with confusion matrices at each threshold, precision–recall curves, and appropriate ROC analysis.
- Methodological assumptions of normalization (Section 4.3): the four-level taxonomy facilitates comparison but may mask underlying model differences; normalized results should be read alongside raw outputs.
- Limits of experimental scope (Section 4.3): sample size and dataset composition limit generalization; neither experiment can establish general performance across image types, populations, or operational environments.
- Positioning limits (Sections 2 and 4): the evaluation is not intended to constitute a comprehensive benchmark or service ranking, nor to determine whether a specific image constitutes CSAM.
Scope of experimental coverage
- The services tested were Google Cloud Vision AI and Sightengine, 2 in total; dedicated CSAM tools (Thorn Safer Predict, Google Content Safety API, etc.) were not tested due to access restrictions (Section 4).
- Scenario 1 had 288 samples (284 valid on both platforms); Scenario 2 used all 1,002 FG-NET images (998 valid).
- The age experiment used only Sightengine; no age classification comparison was made with other platforms.
- The experimental data contained no CSAM; Scenario 1 had no independently verified ground truth, and classification accuracy was not calculated.
- The paper did not report the number of repeated experiments, confidence intervals, or statistical tests.
Summarize the main content of the paper
Review plus empirical testing plus legal analysis: AI can assist in detecting unknown CSAM, but age classification fails in the adolescent group, and output can only serve as a supplementary indicator.
A review study on "AI detection of previously unidentified CSAM and its EU legal implications," conducted by FORTH researchers, combining technical review, API experiments, and legal analysis.
- Problem: hash matching can only check known CSAM; new material often means abuse is ongoing, requiring AI means capable of identifying uncatalogued content, but its probabilistic output raises legal and fundamental rights issues.
- Method highlights: AI detection is divided into three categories: real-time visual analysis, classification and tagging, and behavioral monitoring; Table 1 compares 9 platforms (CSAM-specific ones are only Thorn Safer Predict, Google Content Safety API, and Salus); proposes an integration concept in which, after a hash miss, AI services are connected for triage, with human review retained.
- Experimental result 1: on 284 jointly evaluated images, the exact agreement between Sightengine and Google Vision normalized levels was 81.3%, with a mean level difference of 0.20 (Table 5); the authors state the differences stem from taxonomy and mapping and do not indicate superiority or inferiority.
- Experimental result 2: Sightengine achieved an overall accuracy of 86.27% on 998 valid FG-NET images, with CHILD precision 98.83% and recall 79.43% (Table 6); however, accuracy in the 13–17 age group was only 26.58%, with 116/158 adolescents classified as adults (Table 7).
- Legal analysis: the authors state that such systems deployed by private service providers do not automatically fall into the AI Act high-risk category merely because the content is sensitive; deployment by law enforcement agencies may trigger the FRIA under Article 27 if it falls under Annex III (6) purposes; the Article 86 right to explanation may not apply to private deployments, and the scope of the DSA Article 17 explanation obligation differs.
- Authors' conclusion: AI analysis should serve as a supplementary triage and decision-support tool within the hash detection ecosystem (e.g., PreventCSA@EU), and an ADULT prediction should not be treated as reliable evidence that someone is an adult; in an interconnected detection-reporting-investigation ecosystem, ex ante assessments fragmented by deployment context may cause inconsistent protection of fundamental rights.