Abstract
Recent advancements in Large Language Models (LLMs) have been characterized by a trend toward increasingly high-dimensional text representations. While beneficial for linguistic tasks, this study demonstrates that high dimensionality can be detrimental in noisy regression environments, such as financial market prediction. By employing autoencoders to compress embeddings, we find that aggressive dimensionality reduction serves as a vital regularizer, preventing models from overfitting on noise. Our results suggest that the success of traditional interpretable features like sentiment may be primarily due to their low dimensionality rather than their specific semantic content.
Introduction
The prevailing paradigm in natural language processing involves scaling both model parameters and the dimensionality of hidden representations, often exceeding 16,000 dimensions in state-of-the-art models. While high dimensionality is essential for capturing complex linguistic nuances, it presents a significant challenge for "noisy" downstream regression tasks. In domains like finance, where the causal link between text (e.g., news) and target (e.g., stock returns) is weak, high-dimensional embeddings often lead to overfitting, as models memorize noise rather than learning generalizable patterns. This paper investigates the optimal dimensionality for text embeddings across tasks with varying signal-to-noise ratios.
Methodology
The researchers developed a pipeline to evaluate the performance of text embeddings at various compression levels:
- Text Encoding: Standard 768-dimensional embeddings were generated using the
all-mpnet-base-v2encoder. - Dimensionality Reduction: A simple autoencoder was trained to compress these vectors into a bottleneck latent dimension ($d_z$), ranging from 1 to 512.
- Regression: Compressed embeddings were fed into a Random Forest regressor. This model was chosen for its stability compared to Multi-Layer Perceptrons on noisy data.
- Baselines: Unsupervised latent features were compared against "interpretable" features: sentiment and emotion class probabilities from fine-tuned DistilRoBERTa models.
The Signal-to-Noise Dichotomy
The study evaluated performance across two distinct task profiles: noisy tasks (Stock Returns) and high-signal tasks (Review Scoring and Writing Quality). The results reveal a stark contrast in how dimensionality impacts these domains.
As shown in the figure above, high-signal tasks like essay grading and review scoring exhibit a negative exponential loss curve, where performance improves or plateaus as dimensionality increases. In contrast, the noisy financial returns task follows a U-shaped curve, where both extremely low and high dimensions lead to poor performance.
The Regularizing Effect of Compression and the Sentiment Illusion
For the noisy stock returns task, the optimal compression level was found at $d_z = 8$. Beyond this point, increasing dimensionality led to a significant degradation in performance, confirming that high-dimensional embeddings facilitate overfitting on market noise.
A particularly striking finding concerns the use of sentiment and emotion features. The financial industry has long relied on these features for market prediction. However, this study suggests their efficacy is an "illusion" of dimensionality. When matched for dimensionality, these interpretable features did not outperform the unsupervised autoencoder features. Their success appears to be a byproduct of the massive regularization provided by reducing a 768-dimensional vector to a handful of classes, rather than the intrinsic predictive power of "sentiment" itself.
Conclusion
This research highlights a critical trade-off in LLM application: while high dimensionality drives linguistic competence, it can be a liability in noisy regression tasks. Aggressive compression to an "intrinsic dimension" (often between 8 and 32) provides necessary regularization and computational efficiency without sacrificing significant performance, even in high-signal tasks. Future work should explore adaptive compression methods that dynamically adjust dimensionality based on the observed signal-to-noise ratio of a given dataset.
Summary updated