A Framework for Classifying Movie Networks Using Graph Neural Networks
Abstract
1. Introduction
- We constructed a large dataset comprising 1631 movie character networks by automatically extracting and processing scripts from public repositories. Our approach integrates web-scraping techniques, regular expression, and fine-tuned transformer models (BERT) to accurately identify character names, even in unstructured scripts. Each script is then represented as a weighted undirected graph in which nodes correspond to characters, and edge weights indicate the frequency of their interactions within scenes.
- We address the challenge of FCWMN by reducing the number of edges. We partition the movie network into clusters where an edge is established only between a node i and its k most similar nodes. Neighbor selection was implemented via the algorithm K-Nearest Neighbor (K-NN), where similarity between nodes is determined by a distance measure such as the Laplacian, the NetLSD [23], and the Network Portrait Divergence [22]. As a result, we constructed three Intra-Cluster Weighted Movie Networks (ICWMN), each based on connections defined by one of these distance measures.
- We conducted an exhaustive evaluation of the ICWMN, assessing the classification performance of graph neural network models, such as GAT, GCN, and GraphSAGE. This comparative framework aims to identify the optimal architecture of graph neural networks and the distance measure that most effectively exploit ICWMN to achieve high genre classification accuracy.
2. Background
2.1. Graph Distances
2.1.1. Network Laplacian Spectral Descriptor (NetLSD)
2.1.2. Laplacian Spectra
2.1.3. Portrait Divergence
2.2. Graph Neural Networks
2.2.1. Message Passing
2.2.2. Graph Attention Networks (GAT)
2.2.3. Graph Convolution Networks (GCN)
2.2.4. Graph Sample and Aggregate (GraphSAGE)
3. Proposed Method
- For each movie, a character graph is constructed from its script, where nodes represent characters and edges represent their interactions (see Section 3.1).
- Each character graph is represented by a movie node (Section 3.3.1), associated with a feature vector (Section Movie Node Feature Extraction and Selection) derived from its character graph.
- Edges are established between the most k similar nodes based on K-Nearest Neighbor algorithm and a distance measure (Section 3.3.2).
- Three distance measures are used to compute the distance between nodes, where the resulting distance values are attributed as edge weights.
- Feature selection algorithms are applied to select the proper network properties for ICWMN.
- Finally, GCNs, GATs, and GraphSAGE are applied for movie node classification (Section Graph Neural Networks (GNN)).
3.1. Movie Character Network Construction
3.1.1. Data Retrieval and Pre-Processing
- Data Retrieval: We built custom web-scraping frameworks in Python 3.12.13, employing the BeautifulSoup4 library [32], to automate script retrieval.
- Character Entity Identification: Regular Expressions (RegEx) [33] were used to match uppercase strings to isolate potential character names.
- Entity Cleansing via RegEx: A filtering process is applied to minimize false positives from raw uppercase strings:
- –
- Metadata removing: Systematically removes parenthetical script modifiers often appended to names (e.g., VOICE OVER, CONT’D).
- –
- Technical Indicator Exclusion: Filters out false-positive production commands written in capital letters, explicitly excluding terms such as FADE IN, FADE OUT, FADE TO, INT., and CUT TO.
3.1.2. Entity Refinement via Transformer Model
3.1.3. Character Network Topology and Edge Weighting
- The nodes represent the unique characters identified in the script.
- Edges are established between characters in communication within the same scene.
- The edge weight is determined by the total frequency of interactions between a pair of characters throughout the entire movie, expressing the strength of the connection. The edge weight between the character and is defined as the total number of interactions occurring across all n scenes in the movie. This is formally expressed as:where is a binary or frequency indicator representing the interaction between character i and character j within scene s.
3.2. Feature Vector Extraction
| Algorithm 1 Feature Vector Extraction |
| input: output: feature vector x
|
3.3. Intra-Cluster Weighted Movie Network (ICWMN) Construction
3.3.1. Movie Nodes,
3.3.2. Clustering
3.3.3. Edges,
| Algorithm 2 Intra-Cluster Weighted Movie Network Construction |
input:
|
3.3.4. Weighting,
3.3.5. Node Classification
Movie Node Feature Extraction and Selection
Graph Neural Networks (GNN)
4. Experimental Evaluation
4.1. Database Construction
4.2. Experiment Setup
4.3. Experimental Results
4.3.1. Data Processing and Character Network Scalability
4.3.2. Sensitivity to K
4.3.3. Performance Metrics on the 1631 and 773 Movie Datasets
- In contrast, the Laplacian Network (Figure 8b) forces a highly cohesive, well-bound, and dense structural grouping. The global spectral geometry encoded by the Laplacian matrix effectively forces graphs belonging to structurally homogeneous genre categories into distinct and highly dense neighborhoods within the K-NN topology.
- GAT displays the highest degree of structural stability and dominance in both datasets. It consistently claims the absolute maximum peak across both datasets ( in Table 3 and in Table 4). It maintains tightly bounded high-accuracy scores, rarely dropping below , proving that attention mechanisms effectively weigh structural features regardless of the underlying dataset scale.
- GraphSAGE is identified as the second most effective architecture across both corpora. When deployed on the Laplacian Network representation, GraphSAGE consistently demonstrates strong performance, attaining a maximum accuracy of on the larger corpus (Table 3) and reaching up to on the smaller 773 network corpus (Table 4) when combined with NetLSD edge weights. These results underscore GraphSAGE’s efficiency in using neighborhood sampling techniques to capture robust structural relationships in larger graph distributions.
- GCN, although competitive under certain global configurations, demonstrates inferior performance compared to GAT and GCN models when localized topologies are subject to structural constraints. This is particularly evident within the NetLSD distance framework applied to the smaller corpus (Table 4), where the accuracy drops significantly to . However, standard graph convolutions converge more effectively when supported by the structural properties of the Laplacian Network, resulting in GCN achieving and in Table 3 and Table 4, respectively.
4.3.4. Benchmark Comparison Against the State-of-the-Art
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| GNN | Graph Neural Network |
| GCN | Graph Convolutional Network |
| GAT | Graph Attention Network |
| GraphSAGE | Graph Sample and Aggregate |
| ICWMN | Intra-Cluster Weighted Movie Network |
| FCWMN | Fully Connected Weighted Movie Network |
| NetLSD | Network Laplacian Spectra Descriptor |
| NetMF | Network Matrix Factorization |
| K-NN | K-Nearest Neighbor |
| NND | Network Node Dispersion |
| BERT | Bidirectional Encoder Representations from Transformers |
| NLP | Natural Language Processing |
| RegEx | Regular Expressions |
| XGBoost | Extreme Gradient Boosting |
| RFC | Random Forest Classifier |
| SVM | Support Vector Machine |
| SVC | Support Vector Classifier |
| GPC | Gaussian Process Classifier |
| CNN | Convolutional Neural Network |
| RNN | Recurrence Neural Network |
| LDA | Latent Dirichlet Allocation |
| ELU | Exponential Linear Unit |
| SVD | Singular Value Decomposition |
| CC | Clustering Coefficient |
| BC | Betweenness Centrality |
| Dens | Density |
| Ecc | Eccentricity |
| Probability Distribution Function | |
| KL | Kullback–Leibler |
Appendix A. Network Features
- Statistical Features
- Node degrees: Calculate the total number of connections incident to a node within the graph . It is formally defined as:where denotes an edge existing between vertices and .
- Closeness Centrality: Measures the relative proximity of a node to all other vertices in based on the sum of shortest path distances. It is calculated as:
- Betweenness Centrality: Evaluates the importance of a node by determining how frequently it acts as a bridge along the shortest paths between other node pairs . The metric is defined as:where is the total number of shortest paths between j and k, and is the count of those paths passing through .
- Triangles Count: Identifies the number of adjacent node pairs that are also connected to each other, forming a complete triad with node :where is the adjacency matrix and represents the set of neighbors for .
- Eccentricity: Represents the maximum shortest path distance between a vertex and any other vertex in the network:
- Density: Describes the ratio of actual edges to the total number of possible connections in a graph with nodes:
- Clustering Coefficient: Reflects the overall tendency of nodes in to form tightly knit groups. It is calculated as the mean of the individual local clustering coefficients across all nodes:where is the number of triangles incident to node .
- Core: A node is said to have a coreness (or core number) k if it belongs to the k-core but not to the -core. The k-core is the maximal subgraph where every participating vertex maintains at least k edges connected to other nodes within that same subgraph. The core number of a node is determined by an iterative pruning algorithm. Formally, for a subgraph :where represents the degree of node considering only the edges within the subgraph H.
- Spectral Features
- Adjacency Spectrum (): Computed from the adjacency matrix , this spectrum reflects the connectivity patterns and walk-based properties of the network.where denotes the determinant is the identity matrix.
- Laplacian Spectrum (): Derived from the Laplacian matrix (where is the degree matrix). It provides insights into the graph’s algebraic connectivity and spanning trees.where denotes the determinant is the identity matrix.
- Normalized Laplacian Spectrum (): Derived from the matrix . This representation is particularly useful for comparing graphs of different sizes as its eigenvalues are bounded within the range [0, 2].where denotes the determinant is the identity matrix.
- Network Laplacian Spectra Descriptor (NetLSD) [23]: [defined in Section 2.1].
- Embedding Features
- Network Matrix Factorization (NetMF): [defined in Section 2.1].
- Singular Value Decomposition of Network Portraits: The structural information contained within the network portrait [28], which is a matrix of size , can be compressed and analyzed using Singular Value Decomposition (SVD). This algebraic technique factorizes the portrait matrix into three distinct components:In this formulation, U and represent the left and right singular vectors, respectively, which capture the orthonormal bases of the network’s distance distributions. The diagonal matrix (often denoted as ) contains the singular values, which represent the relative importance or “energy” of each structural pattern identified within the portrait. By extracting these singular values, we obtain a compact, permutation-invariant feature vector that characterizes the global topology of the graph .
References
- Rasheed, Z.; Shah, M. Movie genre classification by exploiting audio-visual features of previews. In Proceedings of the 2002 International Conference on Pattern Recognition; IEEE: New York, NY, USA, 2002; Volume 2, pp. 1086–1089. [Google Scholar]
- Zhou, H.; Hermans, T.; Karandikar, A.V.; Rehg, J.M. Movie genre classification via scene categorization. In Proceedings of the 18th ACM International Conference on Multimedia, Firenze, Italy, 25–29 October 2010; pp. 747–750. [Google Scholar]
- Chu, W.T.; Guo, H.J. Movie genre classification based on poster images with deep neural networks. In Proceedings of the Workshop on Multimodal Understanding of Social, Affective and Subjective Attributes, Mountain View, CA, USA, 27 October 2017; pp. 39–45. [Google Scholar]
- Simões, G.S.; Wehrmann, J.; Barros, R.C.; Ruiz, D.D. Movie genre classification with convolutional neural networks. In Proceedings of the 2016 International Joint Conference on Neural Networks (IJCNN); IEEE: New York, NY, USA, 2016; pp. 259–266. [Google Scholar]
- Behrouzi, T.; Toosi, R.; Akhaee, M.A. Multimodal movie genre classification using recurrent neural network. Multimed. Tools Appl. 2023, 82, 5763–5784. [Google Scholar] [CrossRef]
- Chakrabarti, S.; Dom, B.; Indyk, P. Enhanced hypertext categorization using hyperlinks. Acm Sigmod Rec. 1998, 27, 307–318. [Google Scholar] [CrossRef]
- Zhur, X.; Ghahramani, Z. Learning from labeled and unlabeled data with label propagation. ProQuest Number Inf. All. Users 2002. [Google Scholar]
- Perozzi, B.; Al-Rfou, R.; Skiena, S. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA, 24–27 August 2014; pp. 701–710. [Google Scholar]
- Grover, A.; Leskovec, J. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 855–864. [Google Scholar]
- Bruna, J.; Zaremba, W.; Szlam, A.; LeCun, Y. Spectral networks and locally connected networks on graphs. arXiv 2013, arXiv:1312.6203. [Google Scholar]
- Kipf, T.N.; Welling, M. Semi-supervised classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
- Hamilton, W.; Ying, Z.; Leskovec, J. Inductive representation learning on large graphs. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
- Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Lio, P.; Bengio, Y. Graph attention networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
- Kagan, D.; Chesney, T.; Fire, M. Using data science to understand the film industry’s gender gap. Palgrave Commun. 2020, 6, 92. [Google Scholar] [CrossRef]
- Fei, N.; Zhang, Y. Movie genre classification using TF-IDF and SVM. In Proceedings of the 2019 7th International Conference on Information Technology: IoT and Smart City, Shanghai, China, 20–23 December 2019; pp. 131–136. [Google Scholar]
- Huang, Y.F.; Wang, S.H. Movie genre classification using svm with audio and video features. In Proceedings of the Active Media Technology: 8th International Conference, AMT 2012, Macau, China, 4–7 December 2012; Proceedings 8; Springer: Berlin/Heidelberg, Germany, 2012; pp. 1–10. [Google Scholar]
- Sirattanajakarin, S.; Thusaranon, P. Movie genre in multi-label classification using semantic extraction from only movie poster. In Proceedings of the 7th International Conference on Computer and Communications Management, Bangkok, Thailand, 27–29 July 2019; pp. 23–27. [Google Scholar]
- Lafhel, M.; El Hassouni, M.; Cherifi, H. Learning Character Network Features for Movie Genre Classification. In Proceedings of the 2024 IEEE Thirteenth International Conference on Image Processing Theory, Tools and Applications (IPTA); IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar]
- Perri, V.; Qarkaxhija, L.; Zehe, A.; Hotho, A.; Scholtes, I. One Graph to Rule them All: Using NLP and Graph Neural Networks to analyse Tolkien’s Legendarium. arXiv 2022, arXiv:2210.07871. [Google Scholar]
- Mizvol. Notebook Viewer. 2024. Available online: https://nbviewer.org/ (accessed on 6 June 2024).
- Lafhel, M.; El Hassouni, M.; Cherifi, H. Movie Genre Classification with Graph Convolutional Networks on Fully Connected Weighted Movie Networks. In Proceedings of the France’s International Conference on Complex Systems; Springer: Cham, Switzerland, 2025; pp. 206–217. [Google Scholar]
- Bagrow, J.P.; Bollt, E.M. An information-theoretic, all-scales approach to comparing networks. Appl. Netw. Sci. 2019, 4, 45. [Google Scholar] [CrossRef]
- Tsitsulin, A.; Mottin, D.; Karras, P.; Bronstein, A.; Müller, E. Netlsd: Hearing the shape of a graph. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK, 19–23 August 2018; pp. 2347–2356. [Google Scholar]
- Lafhel, M.; Cherifi, H.; Renoust, B.; El Hassouni, M. Comparison of graph distance measures for movie similarity using a multilayer network model. Entropy 2024, 26, 149. [Google Scholar] [CrossRef]
- Mourchid, Y.; Renoust, B.; Cherifi, H.; El Hassouni, M. Multilayer network model of movie script. In Proceedings of the Complex Networks and Their Applications VII: Volume 1 Proceedings The 7th International Conference on Complex Networks and Their Applications COMPLEX NETWORKS 2018; Springer: Cham, Switzerland, 2019; Volume 1, pp. 782–796. [Google Scholar]
- Qiu, J.; Dong, Y.; Ma, H.; Li, J.; Wang, K.; Tang, J. Network embedding as matrix factorization: Unifying deepwalk and line and pte and node2vec. In Proceedings of the Eleventh ACM International Conference on Web Search and Data Mining, Marina Del Rey, CA, USA, 5–9 February 2018; pp. 459–467. [Google Scholar]
- Schieber, T.A.; Carpi, L.; Díaz-Guilera, A.; Pardalos, P.M.; Masoller, C.; Ravetti, M.G. Quantification of network structural dissimilarities. Nat. Commun. 2017, 8, 13928. [Google Scholar] [CrossRef] [PubMed]
- Bagrow, J.P.; Bollt, E.M.; Skufca, J.D.; Ben-Avraham, D. Portraits of complex networks. Europhys. Lett. 2008, 81, 68004. [Google Scholar] [CrossRef]
- Gilmer, J.; Schoenholz, S.S.; Riley, P.F.; Vinyals, O.; Dahl, G.E. Neural message passing for quantum chemistry. In Proceedings of the International Conference on Machine Learning; PMLR: New York, NY, USA, 2017; pp. 1263–1272. [Google Scholar]
- Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet classification with deep convolutional neural networks. Commun. ACM 2017, 60, 84–90. [Google Scholar] [CrossRef]
- Mourchid, Y.; Renoust, B.; Roupin, O.; Văn, L.; Cherifi, H.; Hassouni, M.E. Movienet: A movie multilayer network model using visual and textual semantic cues. Appl. Netw. Sci. 2019, 4, 121. [Google Scholar] [CrossRef]
- Richardson, L. Beautiful Soup Documentation, version 4.11.2, Computer Software. April 2007. Available online: https://www.crummy.com/software/BeautifulSoup/ (accessed on 7 October 2025).
- Kleene, S.C.; Shannon, C.E.; McCarthy, J. Representation of Events in Nerve Nets and Finite Automata; Princeton University Press: Princeton, NJ, USA, 1956; Volume 34. [Google Scholar]
- Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2019; pp. 4171–4186. [Google Scholar]
- Chiang, W.L.; Liu, X.; Si, S.; Li, Y.; Bengio, S.; Hsieh, C.J. Cluster-gcn: An efficient algorithm for training deep and large graph convolutional networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; pp. 257–266. [Google Scholar]
- Xu, R.; Wunsch, D. Survey of clustering algorithms. IEEE Trans. Neural Netw. 2005, 16, 645–678. [Google Scholar] [CrossRef]
- Kleinberg, J. An impossibility theorem for clustering. Adv. Neural Inf. Process. Syst. 2002, 15, 463–470. [Google Scholar]
- Alamuri, M.; Surampudi, B.R.; Negi, A. A survey of distance/similarity measures for categorical data. In Proceedings of the 2014 International Joint Conference on Neural Networks (IJCNN); IEEE: New York, NY, USA, 2014; pp. 1907–1914. [Google Scholar]
- Balcan, M.F.; Liang, Y.; Gupta, P. Robust hierarchical clustering. J. Mach. Learn. Res. 2014, 15, 3831–3871. [Google Scholar]
- Xu, Z.; Ke, Y.; Wang, Y.; Cheng, H.; Cheng, J. A model-based approach to attributed graph clustering. In Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data, Scottsdale, AZ, USA, 20–24 May 2012; pp. 505–516. [Google Scholar]
- Ruspini, E.H.; Bezdek, J.C.; Keller, J.M. Fuzzy clustering: A historical perspective. IEEE Comput. Intell. Mag. 2019, 14, 45–55. [Google Scholar] [CrossRef]
- Bhatia, N. Survey of nearest neighbor techniques. arXiv 2010, arXiv:1007.0085. [Google Scholar] [CrossRef]
- Cover, T.; Hart, P. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef]
- Bailey, T. A note on distance-weighted k-nearest neighbor rules. Trans. Syst. Man Cybern. 1978, 8, 311–313. [Google Scholar]
- Guo, G.; Wang, H.; Bell, D.; Bi, Y.; Greer, K. KNN model-based approach in classification. In Proceedings of the OTM Confederated International Conferences “On the Move to Meaningful Internet Systems”; Springer: Berlin/Heidelberg, Germany, 2003; pp. 986–996. [Google Scholar]
- Chandrashekar, G.; Sahin, F. A survey on feature selection methods. Comput. Electr. Eng. 2014, 40, 16–28. [Google Scholar] [CrossRef]
- Venkatesh, B.; Anuradha, J. A review of feature selection and its methods. Cybern. Inf. Technol. 2019, 19, 3–26. [Google Scholar] [CrossRef]
- Saeys, Y.; Inza, I.; Larranaga, P. A review of feature selection techniques in bioinformatics. Bioinformatics 2007, 23, 2507–2517. [Google Scholar] [CrossRef]
- Tang, J.; Alelyani, S.; Liu, H. Feature selection for classification: A review. Data Classif. Algorithms Appl. 2014, 37, 1–29. [Google Scholar]
- Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Clevert, D.A.; Unterthiner, T.; Hochreiter, S. Fast and accurate deep network learning by exponential linear units (elus). arXiv 2015, arXiv:1511.07289. [Google Scholar]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Anguita, D.; Ghelardoni, L.; Ghio, A.; Oneto, L.; Ridella, S. The’K’in K-fold Cross Validation. Proc. Esann 2012, 102, 441–446. [Google Scholar]
- Kaminski, J.; Schober, M.; Albaladejo, R.; Zastupailo, O.; Hidalgo, C. Moviegalaxies-Social Networks in Movies. 2012. Available online: https://moviegalaxies.com/ (accessed on 6 June 2024).
- Krogh, A.; Hertz, J. A simple weight decay can improve generalization. Adv. Neural Inf. Process. Syst. 1991, 4, 950–957. [Google Scholar]








| Hyperparameters | GAT | GCN | GraphSAGE |
|---|---|---|---|
| Number of Hidden Layers | 64 | 64 | 64 |
| Number of Attention Heads | 2 | - | - |
| Activation function | ELU | ELU | ELU |
| Dropout | 20% | 20% | 20% |
| Optimizer | Adam | Adam | Adam |
| Weight Decay | |||
| Learning Rate | |||
| Total Training Steps | 7500 | 7500 | 7500 |
| Time (s) | Memory Usage (MB) | |
|---|---|---|
| Train BERT on 18,349 instances | 717.51 | 835.56 |
| Predict labels for 1631 movies (BERT) | 108.14 | 0 |
| 1631 interaction construction | 147.70 | 0 |
| K-NN Distance | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Portrait Div. Network | NetLSD Network | Laplacian Network | ||||||||
| GAT | GCN | SAGE | GAT | GCN | SAGE | GAT | GCN | SAGE | ||
| Edge Weight | Laplacian | 80.73 | 75.00 | 76.82 | 90.04 | 77.68 | 80.85 | 95.00 | 82.56 | 89.02 |
| NetLSD | 79.63 | 74.02 | 76.82 | 89.51 | 76.95 | 80.48 | 93.90 | 81.95 | 88.53 | |
| Portrait Div. | 80.12 | 75.36 | 75.24 | 91.71 | 78.29 | 82.32 | 94.51 | 81.95 | 88.90 | |
| K-NN Distance | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Portrait Div. Network | NetLSD Network | Laplacian Network | ||||||||
| GAT | GCN | SAGE | GAT | GCN | SAGE | GAT | GCN | SAGE | ||
| Edge Weight | Laplacian | 94.86 | 74.59 | 90.27 | 88.38 | 64.05 | 75.68 | 97.30 | 86.76 | 95.14 |
| NetLSD | 97.30 | 74.32 | 91.08 | 85.41 | 70.27 | 73.51 | 97.30 | 75.68 | 96.22 | |
| Portrait Div. | 94.59 | 72.97 | 88.92 | 83.51 | 64.59 | 71.62 | 97.30 | 81.62 | 95.68 | |
| Methods | Accuracy (%) | Precision (%) | Recall (%) | F1-Score (%) |
|---|---|---|---|---|
| Mizvol et al. [20] | 16 | 14 | 17 | 14 |
| Lafhel et al. [18] | 67 | 66.66 | 66.66 | 65.95 |
| FCWMN using GCN [21] | 65.05 | 71.38 | 65.53 | 64.17 |
| ICWMN using GCN | 82.56 | 83.68 | 84.21 | 83.60 |
| ICWMN using GraphSAGE | 89.02 | 90.27 | 90.35 | 89.43 |
| ICWMN using GAT | 95.00 | 95.04 | 95.89 | 95.29 |
| Methods | Accuracy (%) | Precision (%) | Recall (%) | F1-Score (%) |
|---|---|---|---|---|
| Mizvol et al. [20] | 27 | 27 | 27 | 27 |
| Lafhel et al. [18] | 92 | 89 | 89 | 89 |
| FCWMN using GCN [21] | 87 | 93 | 88 | 88 |
| ICWMN using GCN | 86.76 | 86.74 | 85.70 | 85.03 |
| ICWMN using GraphSAGE | 96.22 | 96.11 | 98.00 | 96.63 |
| ICWMN using GAT | 97.30 | 96.42 | 98.57 | 97.20 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Lafhel, M.; El Hassouni, M.; Cherifi, H. A Framework for Classifying Movie Networks Using Graph Neural Networks. Data 2026, 11, 135. https://doi.org/10.3390/data11060135
Lafhel M, El Hassouni M, Cherifi H. A Framework for Classifying Movie Networks Using Graph Neural Networks. Data. 2026; 11(6):135. https://doi.org/10.3390/data11060135
Chicago/Turabian StyleLafhel, Majda, Mohammed El Hassouni, and Hocine Cherifi. 2026. "A Framework for Classifying Movie Networks Using Graph Neural Networks" Data 11, no. 6: 135. https://doi.org/10.3390/data11060135
APA StyleLafhel, M., El Hassouni, M., & Cherifi, H. (2026). A Framework for Classifying Movie Networks Using Graph Neural Networks. Data, 11(6), 135. https://doi.org/10.3390/data11060135

