Saved in:
Bibliographic Details
Main Authors: Chen, Yang, Yang, Long, Liang, Yitao, Lin, Zhouchen
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.08898
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912627741949952
author Chen, Yang
Yang, Long
Liang, Yitao
Lin, Zhouchen
author_facet Chen, Yang
Yang, Long
Liang, Yitao
Lin, Zhouchen
contents Low-Dimension-to-High-Dimension (LDHD) generalization is a special case of Out-of-Distribution (OOD) generalization, where the training data are restricted to a low-dimensional subspace of the high-dimensional testing space. Assuming that each instance is generated from a latent variable and the dimension of the latent variable reflects the problem scale, the inherent scaling challenge in length generalization can be captured by the LDHD generalization in the latent space. We theoretically demonstrate that LDHD generalization is generally unattainable without exploiting prior knowledge to provide appropriate inductive bias. Specifically, we explore LDHD generalization in Boolean functions. We verify that different architectures trained with (S)GD converge to \emph{min-degree interpolators w.r.t. different independent sets}. LDHD generalization is achievable if and only if the target function coincides with this inductive bias. Applying the insights from LDHD generalization to length generalization, we explain the effectiveness of CoT as changing the structure latent space to enable better LDHD generalization. We also propose a principle for position embedding design to handle both the inherent LDHD generalization and the nuisances such as the data format. Following the principle, we propose a novel position embedding called RPE-Square that remedies the RPE for dealing with the data format nuisance.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08898
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Low-Dimension-to-High-Dimension Generalization And Its Implications for Length Generalization
Chen, Yang
Yang, Long
Liang, Yitao
Lin, Zhouchen
Machine Learning
Low-Dimension-to-High-Dimension (LDHD) generalization is a special case of Out-of-Distribution (OOD) generalization, where the training data are restricted to a low-dimensional subspace of the high-dimensional testing space. Assuming that each instance is generated from a latent variable and the dimension of the latent variable reflects the problem scale, the inherent scaling challenge in length generalization can be captured by the LDHD generalization in the latent space. We theoretically demonstrate that LDHD generalization is generally unattainable without exploiting prior knowledge to provide appropriate inductive bias. Specifically, we explore LDHD generalization in Boolean functions. We verify that different architectures trained with (S)GD converge to \emph{min-degree interpolators w.r.t. different independent sets}. LDHD generalization is achievable if and only if the target function coincides with this inductive bias. Applying the insights from LDHD generalization to length generalization, we explain the effectiveness of CoT as changing the structure latent space to enable better LDHD generalization. We also propose a principle for position embedding design to handle both the inherent LDHD generalization and the nuisances such as the data format. Following the principle, we propose a novel position embedding called RPE-Square that remedies the RPE for dealing with the data format nuisance.
title Low-Dimension-to-High-Dimension Generalization And Its Implications for Length Generalization
topic Machine Learning
url https://arxiv.org/abs/2410.08898