Spectral Logit Sculpting: Adaptive Low-Rank Logit Transformation for Controlled Text Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Jin, Wang, Zhebo, Lu, Tianliang, Li, Mohan, Xing, Wenpeng, Han, Meng
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912844908331008
author Li, Jin
Wang, Zhebo
Lu, Tianliang
Li, Mohan
Xing, Wenpeng
Han, Meng
author_facet Li, Jin
Wang, Zhebo
Lu, Tianliang
Li, Mohan
Xing, Wenpeng
Han, Meng
contents Entropy-based inference methods have gained traction for improving the reliability of Large Language Models (LLMs). However, many existing approaches, such as entropy minimization techniques, suffer from high computational overhead and fail to leverage historical token context effectively. To address these limitations, we propose Spectral Logit Sculpting (SLS), a lightweight inference-time optimization method that dynamically modulates token distributions using spectral and entropic properties of recent logits. SLS maintains a sliding buffer of top-K logits, performs on-the-fly Singular Value Decomposition (SVD) to identify dominant spectral directions, and adaptively rescales logits based on both entropy and logit gap statistics--only activating when uncertainty is high. Without updating any model parameters, SLS effectively sharpens the output distribution while preserving contextual consistency. Experimental results on multiple public benchmarks demonstrate that SLS consistently outperforms existing baseline methods, achieving superior accuracy in mathematical, coding, and scientific reasoning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2509_25204
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Spectral Logit Sculpting: Adaptive Low-Rank Logit Transformation for Controlled Text Generation
Li, Jin
Wang, Zhebo
Lu, Tianliang
Li, Mohan
Xing, Wenpeng
Han, Meng
Machine Learning
Artificial Intelligence
Computation and Language
Entropy-based inference methods have gained traction for improving the reliability of Large Language Models (LLMs). However, many existing approaches, such as entropy minimization techniques, suffer from high computational overhead and fail to leverage historical token context effectively. To address these limitations, we propose Spectral Logit Sculpting (SLS), a lightweight inference-time optimization method that dynamically modulates token distributions using spectral and entropic properties of recent logits. SLS maintains a sliding buffer of top-K logits, performs on-the-fly Singular Value Decomposition (SVD) to identify dominant spectral directions, and adaptively rescales logits based on both entropy and logit gap statistics--only activating when uncertainty is high. Without updating any model parameters, SLS effectively sharpens the output distribution while preserving contextual consistency. Experimental results on multiple public benchmarks demonstrate that SLS consistently outperforms existing baseline methods, achieving superior accuracy in mathematical, coding, and scientific reasoning tasks.
title Spectral Logit Sculpting: Adaptive Low-Rank Logit Transformation for Controlled Text Generation
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2509.25204