Saved in:
Bibliographic Details
Main Authors: Hao, Yifan, Lu, Yanxin, Zhang, Hanning, Shen, Xinwei, Zhang, Tong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.04690
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918150258294784
author Hao, Yifan
Lu, Yanxin
Zhang, Hanning
Shen, Xinwei
Zhang, Tong
author_facet Hao, Yifan
Lu, Yanxin
Zhang, Hanning
Shen, Xinwei
Zhang, Tong
contents As overparameterized models become increasingly prevalent, training loss alone offers limited insight into generalization performance. While smoothness has been linked to improved generalization across various settings, directly enforcing smoothness in neural networks remains challenging. To address this, we introduce Distributional Input Projection Networks (DIPNet), a novel framework that projects inputs into learnable distributions at each layer. This distributional representation induces a smoother loss landscape with respect to the input, promoting better generalization. We provide theoretical analysis showing that DIPNet reduces both local smoothness measures and the Lipschitz constant of the network, contributing to improved generalization performance. Empirically, we validate DIPNet across a wide range of architectures and tasks, including Vision Transformers (ViTs), Large Language Models (LLMs), ResNet and MLPs. Our method consistently enhances test performance under standard settings, adversarial attacks, out-of-distribution inputs, and reasoning benchmarks. We demonstrate that the proposed input projection strategy can be seamlessly integrated into existing models, providing a general and effective approach for boosting generalization performance in modern deep learning.
format Preprint
id arxiv_https___arxiv_org_abs_2506_04690
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards Better Generalization via Distributional Input Projection Network
Hao, Yifan
Lu, Yanxin
Zhang, Hanning
Shen, Xinwei
Zhang, Tong
Machine Learning
Artificial Intelligence
As overparameterized models become increasingly prevalent, training loss alone offers limited insight into generalization performance. While smoothness has been linked to improved generalization across various settings, directly enforcing smoothness in neural networks remains challenging. To address this, we introduce Distributional Input Projection Networks (DIPNet), a novel framework that projects inputs into learnable distributions at each layer. This distributional representation induces a smoother loss landscape with respect to the input, promoting better generalization. We provide theoretical analysis showing that DIPNet reduces both local smoothness measures and the Lipschitz constant of the network, contributing to improved generalization performance. Empirically, we validate DIPNet across a wide range of architectures and tasks, including Vision Transformers (ViTs), Large Language Models (LLMs), ResNet and MLPs. Our method consistently enhances test performance under standard settings, adversarial attacks, out-of-distribution inputs, and reasoning benchmarks. We demonstrate that the proposed input projection strategy can be seamlessly integrated into existing models, providing a general and effective approach for boosting generalization performance in modern deep learning.
title Towards Better Generalization via Distributional Input Projection Network
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2506.04690