Federico Fontana
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Federico Fontana has a total of 19 co-authors. Here are the top co-authors by number of shared publications:
- Luigi Cinque
Department of Computer Science, Sapienza University of Rome, Rome, Italy
8 shared publications - Romeo Lanzino
Department of Computer Science, Sapienza University of Rome, Via Salaria 113, Rome 00198, Italy
6 shared publications - Francesco Scarcello
University of Calabria
4 shared publications - Gian Luca Foresti
Department of Mathematics, Computer Science and Physics, University of Udine, Via delle Scienze 206, Udine 33100, Italy
4 shared publications - Anxhelo Diko
Sapienza University of Rome
3 shared publications - Danilo Avola
Department of Computer Science, Sapienza University of Rome, Rome, Italy
3 shared publications
Latest Publications
- Open Access
- 13 June 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Multimedia Computing, Communications, and Applications
- Vol. 22 (9) , 1-23
DualFocusNet: Dual-Stream Spatio-Temporal Transformer for Generalizable Deepfake Detection
The rapid advancement of deep generative models has enabled the creation of highly realistic deepfake videos, posing significant challenges for reliable detection. Existing approaches typically focus either on local spatial artifacts or global temporal inconsistencies, often lacking a unified mechanism to effectively integrate these complementary cues, which limits their generalization across diverse manipulation domains. To address this limitation, we propose DualFocusNet , a dual-branch spatio-temporal transformer designed for robust and generalizable deepfake video detection. The architecture incorporates two specialized attention modules: Short-Range Dependencies Attention ( SRDA ), which captures fine-grained motion and texture inconsistencies in localized facial regions, and Long-Range Dependencies Attention ( LRDA ), which models global structural coherence and long-term temporal dynamics. These complementary representations are adaptively fused through a trainable cross-attention mechanism with dynamic gating, enabling input-dependent integration of local and global cues. Extensive cross-dataset evaluations show that DualFocusNet consistently outperforms state-of-the-art methods under challenging generalization settings. When trained on DFDC-p, it achieves AUC scores of 82.5% (FF++), 86.2% (Celeb-DF), 87.3% (DeeperForensics), and 82.0% (WildDeepfake). When trained on Celeb-DF, it attains 79.8% (FF++), 78.5% (DFDC-p), and 80.9% (DeeperForensics), demonstrating robust performance across unseen datasets. It consistently surpasses strong baselines such as GramNet, Swin Transformer, and CNEDetector, highlighting its superior cross-domain generalization. These results confirm that the proposed dual-scale design captures intrinsic forgery inconsistencies rather than dataset-specific artifacts, making it well-suited for real-world deepfake detection.
- 13 June 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Multimedia Computing, Communications, and Applications
- Vol. 22 (9) , 1-23
Open AccessDualFocusNet: Dual-Stream Spatio-Temporal Transformer for Generalizable Deepfake Detection
The rapid advancement of deep generative models has enabled the creation of highly realistic deepfake videos, posing significant challenges for reliable detection. Existing approaches typically focus either on local spatial artifacts or global temporal inconsistencies, often lacking a unified mechanism to effectively integrate these complementary cues, which limits their generalization across diverse manipulation domains. To address this limitation, we propose DualFocusNet , a dual-branch spatio-temporal transformer designed for robust and generalizable deepfake video detection. The architecture incorporates two specialized attention modules: Short-Range Dependencies Attention ( SRDA ), which captures fine-grained motion and texture inconsistencies in localized facial regions, and Long-Range Dependencies Attention ( LRDA ), which models global structural coherence and long-term temporal dynamics. These complementary representations are adaptively fused through a trainable cross-attention mechanism with dynamic gating, enabling input-dependent integration of local and global cues. Extensive cross-dataset evaluations show that DualFocusNet consistently outperforms state-of-the-art methods under challenging generalization settings. When trained on DFDC-p, it achieves AUC scores of 82.5% (FF++), 86.2% (Celeb-DF), 87.3% (DeeperForensics), and 82.0% (WildDeepfake). When trained on Celeb-DF, it attains 79.8% (FF++), 78.5% (DFDC-p), and 80.9% (DeeperForensics), demonstrating robust performance across unseen datasets. It consistently surpasses strong baselines such as GramNet, Swin Transformer, and CNEDetector, highlighting its superior cross-domain generalization. These results confirm that the proposed dual-scale design captures intrinsic forgery inconsistencies rather than dataset-specific artifacts, making it well-suited for real-world deepfake detection.
- Open Access
- 21 August 2025
- Published by IOP Publishing in Machine Learning: Science and Technology
- Vol. 6 (3) , 035036
BiCrossNet: resource-efficient cross-view geolocalization with binary neural networks
This paper presents BiCrossNet, a novel approach to cross-view geolocalization utilizing binary neural networks to significantly reduce computational complexity while maintaining competitive performance. Key contributions include the development of a Bi-Gradual Unfreezing method to enhance transfer learning, a Bi-Partitioned Optimization strategy to improve training stability, and the use of logit-based knowledge distillation to supplement standard losses. Experimental results on the University-1652 and SUES-200 datasets demonstrate that BiCrossNet establishes a new benchmark in the efficiency-performance trade-off. It achieves up to a 90.87-fold reduction in operations and uses 4.64 times less disk space compared to similar-performing state-of-the-art models on the SUES-200 dataset, and a 30-fold reduction in operations and 5.13 times less disk space on the University-1652 dataset. The code is available at https://anonymous.4open.science/r/BiCrossNet-FB7A/README.md.
- 21 August 2025
- Published by IOP Publishing in Machine Learning: Science and Technology
- Vol. 6 (3) , 035036
Open AccessBiCrossNet: resource-efficient cross-view geolocalization with binary neural networks
This paper presents BiCrossNet, a novel approach to cross-view geolocalization utilizing binary neural networks to significantly reduce computational complexity while maintaining competitive performance. Key contributions include the development of a Bi-Gradual Unfreezing method to enhance transfer learning, a Bi-Partitioned Optimization strategy to improve training stability, and the use of logit-based knowledge distillation to supplement standard losses. Experimental results on the University-1652 and SUES-200 datasets demonstrate that BiCrossNet establishes a new benchmark in the efficiency-performance trade-off. It achieves up to a 90.87-fold reduction in operations and uses 4.64 times less disk space compared to similar-performing state-of-the-art models on the SUES-200 dataset, and a 30-fold reduction in operations and 5.13 times less disk space on the University-1652 dataset. The code is available at https://anonymous.4open.science/r/BiCrossNet-FB7A/README.md.
- 12 May 2025
- Published by Springer Nature
- p. 113-130
CycleBNN: Cyclic Precision Training in Binary Neural Networks
- 12 May 2025
- Published by Springer Nature
- p. 113-130
CycleBNN: Cyclic Precision Training in Binary Neural Networks
- 12 May 2025
- Published by Springer Nature
- p. 53-70
Neural Transcoding Vision Transformers for EEG-to-fMRI Synthesis
- 12 May 2025
- Published by Springer Nature
- p. 53-70
Neural Transcoding Vision Transformers for EEG-to-fMRI Synthesis
- 20 November 2024
- Published by World Scientific Pub Co Pte Ltd in International Journal of Neural Systems
- Vol. 35 (02) , 2550002
SATEER: Subject-Aware Transformer for EEG-Based Emotion Recognition
This study presents a Subject-Aware Transformer-based neural network designed for the Electroencephalogram (EEG) Emotion Recognition task (SATEER), which entails the analysis of EEG signals to classify and interpret human emotional states. SATEER processes the EEG waveforms by transforming them into Mel spectrograms, which can be seen as particular cases of images with the number of channels equal to the number of electrodes used during the recording process; this type of data can thus be processed using a Computer Vision pipeline. Distinct from preceding approaches, this model addresses the variability in individual responses to identical stimuli by incorporating a User Embedder module. This module enables the association of individual profiles with their EEGs, thereby enhancing classification accuracy. The efficacy of the model was rigorously evaluated using four publicly available datasets, demonstrating superior performance over existing methods in all conducted benchmarks. For instance, on the AMIGOS dataset (A dataset for Multimodal research of affect, personality traits, and mood on Individuals and GrOupS), SATEER’s accuracy exceeds 99.8% accuracy across all labels and showcases an improvement of 0.47% over the state of the art. Furthermore, an exhaustive ablation study underscores the pivotal role of the User Embedder module and each other component of the presented model in achieving these advancements.
- 20 November 2024
- Published by World Scientific Pub Co Pte Ltd in International Journal of Neural Systems
- Vol. 35 (02) , 2550002
SATEER: Subject-Aware Transformer for EEG-Based Emotion Recognition
This study presents a Subject-Aware Transformer-based neural network designed for the Electroencephalogram (EEG) Emotion Recognition task (SATEER), which entails the analysis of EEG signals to classify and interpret human emotional states. SATEER processes the EEG waveforms by transforming them into Mel spectrograms, which can be seen as particular cases of images with the number of channels equal to the number of electrodes used during the recording process; this type of data can thus be processed using a Computer Vision pipeline. Distinct from preceding approaches, this model addresses the variability in individual responses to identical stimuli by incorporating a User Embedder module. This module enables the association of individual profiles with their EEGs, thereby enhancing classification accuracy. The efficacy of the model was rigorously evaluated using four publicly available datasets, demonstrating superior performance over existing methods in all conducted benchmarks. For instance, on the AMIGOS dataset (A dataset for Multimodal research of affect, personality traits, and mood on Individuals and GrOupS), SATEER’s accuracy exceeds 99.8% accuracy across all labels and showcases an improvement of 0.47% over the state of the art. Furthermore, an exhaustive ablation study underscores the pivotal role of the User Embedder module and each other component of the presented model in achieving these advancements.
- 31 October 2024
- Published by Springer Nature
- p. 448-466
Semantically Guided Representation Learning For Action Anticipation
- 31 October 2024
- Published by Springer Nature
- p. 448-466
Semantically Guided Representation Learning For Action Anticipation
- Open Access
CycleBNN: Cyclic Precision Training in Binary Neural Networks
This paper works on Binary Neural Networks (BNNs), a promising avenue for efficient deep learning, offering significant reductions in computational overhead and memory footprint to full precision networks. However, the challenge of energy-intensive training and the drop in performance have been persistent issues. Tackling the challenge, prior works focus primarily on task-related inference optimization. Unlike prior works, this study offers an innovative methodology integrating BNNs with cyclic precision training, introducing the CycleBNN. This approach is designed to enhance training efficiency while minimizing the loss in performance. By dynamically adjusting precision in cycles, we achieve a convenient trade-off between training efficiency and model performance. This emphasizes the potential of our method in energy-constrained training scenarios, where data is collected onboard and paves the way for sustainable and efficient deep learning architectures. To gather insights on CycleBNN's efficiency, we conduct experiments on ImageNet, CIFAR-10, and PASCAL-VOC, obtaining competitive performances while using 96.09\% less operations during training on ImageNet, 88.88\% on CIFAR-10 and 96.09\% on PASCAL-VOC. Finally, CycleBNN offers a path towards faster, more accessible training of efficient networks, accelerating the development of practical applications. The PyTorch code is available at \url{https://github.com/fedeloper/CycleBNN/}
Open AccessCycleBNN: Cyclic Precision Training in Binary Neural Networks
This paper works on Binary Neural Networks (BNNs), a promising avenue for efficient deep learning, offering significant reductions in computational overhead and memory footprint to full precision networks. However, the challenge of energy-intensive training and the drop in performance have been persistent issues. Tackling the challenge, prior works focus primarily on task-related inference optimization. Unlike prior works, this study offers an innovative methodology integrating BNNs with cyclic precision training, introducing the CycleBNN. This approach is designed to enhance training efficiency while minimizing the loss in performance. By dynamically adjusting precision in cycles, we achieve a convenient trade-off between training efficiency and model performance. This emphasizes the potential of our method in energy-constrained training scenarios, where data is collected onboard and paves the way for sustainable and efficient deep learning architectures. To gather insights on CycleBNN's efficiency, we conduct experiments on ImageNet, CIFAR-10, and PASCAL-VOC, obtaining competitive performances while using 96.09\% less operations during training on ImageNet, 88.88\% on CIFAR-10 and 96.09\% on PASCAL-VOC. Finally, CycleBNN offers a path towards faster, more accessible training of efficient networks, accelerating the development of practical applications. The PyTorch code is available at \url{https://github.com/fedeloper/CycleBNN/}
- Open Access
NT-ViT: Neural Transcoding Vision Transformers for EEG-to-fMRI Synthesis
This paper introduces the Neural Transcoding Vision Transformer (\modelname), a generative model designed to estimate high-resolution functional Magnetic Resonance Imaging (fMRI) samples from simultaneous Electroencephalography (EEG) data. A key feature of \modelname is its Domain Matching (DM) sub-module which effectively aligns the latent EEG representations with those of fMRI volumes, enhancing the model's accuracy and reliability. Unlike previous methods that tend to struggle with fidelity and reproducibility of images, \modelname addresses these challenges by ensuring methodological integrity and higher-quality reconstructions which we showcase through extensive evaluation on two benchmark datasets; \modelname outperforms the current state-of-the-art by a significant margin in both cases, e.g. achieving a $10\times$ reduction in RMSE and a $3.14\times$ increase in SSIM on the Oddball dataset. An ablation study also provides insights into the contribution of each component to the model's overall effectiveness. This development is critical in offering a new approach to lessen the time and financial constraints typically linked with high-resolution brain imaging, thereby aiding in the swift and precise diagnosis of neurological disorders. Although it is not a replacement for actual fMRI but rather a step towards making such imaging more accessible, we believe that it represents a pivotal advancement in clinical practice and neuroscience research. Code is available at \url{https://github.com/rom42pla/ntvit}.Open AccessNT-ViT: Neural Transcoding Vision Transformers for EEG-to-fMRI Synthesis
This paper introduces the Neural Transcoding Vision Transformer (\modelname), a generative model designed to estimate high-resolution functional Magnetic Resonance Imaging (fMRI) samples from simultaneous Electroencephalography (EEG) data. A key feature of \modelname is its Domain Matching (DM) sub-module which effectively aligns the latent EEG representations with those of fMRI volumes, enhancing the model's accuracy and reliability. Unlike previous methods that tend to struggle with fidelity and reproducibility of images, \modelname addresses these challenges by ensuring methodological integrity and higher-quality reconstructions which we showcase through extensive evaluation on two benchmark datasets; \modelname outperforms the current state-of-the-art by a significant margin in both cases, e.g. achieving a $10\times$ reduction in RMSE and a $3.14\times$ increase in SSIM on the Oddball dataset. An ablation study also provides insights into the contribution of each component to the model's overall effectiveness. This development is critical in offering a new approach to lessen the time and financial constraints typically linked with high-resolution brain imaging, thereby aiding in the swift and precise diagnosis of neurological disorders. Although it is not a replacement for actual fMRI but rather a step towards making such imaging more accessible, we believe that it represents a pivotal advancement in clinical practice and neuroscience research. Code is available at \url{https://github.com/rom42pla/ntvit}. - Open Access
- 25 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-2
BNNAction-Net: Binary Neural Network on Hands Gesture Recognitions
With the rise of wearable technology and real-time gesture recognition, lightweight and efficient models are essential. Traditional approaches struggle with computational demands and power consumption. We present BNNAction-Net, a hand gesture recognition system using Binary Neural Networks (BNNs) to reduce computational complexity. Evaluated on the EgoGesture dataset, our system simulates a real use case with a headset and frontal RGB-D cameras. Optimized with binary layers, pooling, and normalization, it achieves accuracy comparable to floating-point networks with lower resource consumption. Our findings highlight the efficiency of BNNs for wearable devices without significant accuracy loss.
- 25 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-2
Open AccessBNNAction-Net: Binary Neural Network on Hands Gesture Recognitions
With the rise of wearable technology and real-time gesture recognition, lightweight and efficient models are essential. Traditional approaches struggle with computational demands and power consumption. We present BNNAction-Net, a hand gesture recognition system using Binary Neural Networks (BNNs) to reduce computational complexity. Evaluated on the EgoGesture dataset, our system simulates a real use case with a headset and frontal RGB-D cameras. Optimized with binary layers, pooling, and normalization, it achieves accuracy comparable to floating-point networks with lower resource consumption. Our findings highlight the efficiency of BNNs for wearable devices without significant accuracy loss.
- Open Access
- 15 February 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Artificial Intelligence
- Vol. 5 (8) , 4269-4279
Distilled Gradual Pruning With Pruned Fine-Tuning
Neural Networks (NNs) have been driving machine learning progress in recent years, but their larger models present challenges in resource-limited environments. Weight pruning reduces the computational demand, often with performance degradation and long training procedures. This work introduces Distilled Gradual Pruning with Pruned Fine-tuning (DG2PF), a comprehensive algorithm that iteratively prunes pre-trained neural networks using knowledge distillation. We employ a magnitude-based unstructured pruning function that selectively removes a specified proportion of unimportant weights from the network. This function also leads to an efficient compression of the model size while minimizing classification accuracy loss. Additionally, we introduce a simulated pruning strategy with the same effects of weight recovery but while maintaining stable convergence. Furthermore, we propose a multi-step self-knowledge distillation strategy to effectively transfer the knowledge of the full, unpruned network to the pruned counterpart. We validate the performance of our algorithm through extensive experimentation on diverse benchmark datasets, including CIFAR-10 and ImageNet, as well as a set of model architectures. The results highlight how our algorithm prunes and optimizes pre-trained neural networks without substantially degrading their classification accuracy while delivering significantly faster and more compact models.
- 15 February 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Artificial Intelligence
- Vol. 5 (8) , 4269-4279
Open AccessDistilled Gradual Pruning With Pruned Fine-Tuning
Neural Networks (NNs) have been driving machine learning progress in recent years, but their larger models present challenges in resource-limited environments. Weight pruning reduces the computational demand, often with performance degradation and long training procedures. This work introduces Distilled Gradual Pruning with Pruned Fine-tuning (DG2PF), a comprehensive algorithm that iteratively prunes pre-trained neural networks using knowledge distillation. We employ a magnitude-based unstructured pruning function that selectively removes a specified proportion of unimportant weights from the network. This function also leads to an efficient compression of the model size while minimizing classification accuracy loss. Additionally, we introduce a simulated pruning strategy with the same effects of weight recovery but while maintaining stable convergence. Furthermore, we propose a multi-step self-knowledge distillation strategy to effectively transfer the knowledge of the full, unpruned network to the pruned counterpart. We validate the performance of our algorithm through extensive experimentation on diverse benchmark datasets, including CIFAR-10 and ImageNet, as well as a set of model architectures. The results highlight how our algorithm prunes and optimizes pre-trained neural networks without substantially degrading their classification accuracy while delivering significantly faster and more compact models.