Fredrik Carlsson

Uppsala University
2 previous affiliations
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Fredrik Carlsson focuses on natural language processing, representation learning, and controllable text generation. His early work addresses the extraction of semantic representations from deep neural networks and the mitigation of task biases in pre-trained models. His current research investigates the fundamental mechanics of large language models, emphasizing decoding strategies, adversarial training, and the evaluation of complex reasoning capabilities.

Research Trajectory

Carlsson’s research trajectory begins with foundational investigations into how deep neural networks process and represent natural language. A significant challenge in utilizing pre-trained models, such as Transformers, is extracting semantically useful sentence representations. In Semantic Re-tuning with Contrastive Tension, he demonstrated that standard pre-training objectives impose a substantial task bias onto the final layers of these models. By conducting a layer-wise survey of Semantic Textual Similarity correlations across multiple language models, this work highlighted the research direction of Semantic Alignment Decay in Deep Transformer Layers. To counter these biases, he introduced Contrastive Tension (CT), a self-supervised methodology that frames the training objective as a noise-contrastive task between the final layer representations of two independent models. This approach advanced the broader area of Self-Supervised Learning of Universal Sentence Representations and contributed to the study of Semantic Embeddings from Intermediate Transformer Layers.

Building on his work with model representations, Carlsson shifted his focus toward the mechanics of open-ended text generation. The advent of massive causal language models renewed interest in generative tasks, yet controlling the output of these models remained a persistent challenge. In Fine-Grained Controllable Text Generation Using Non-Residual Prompting, he addressed the trade-off between achieving fine-grained control and maintaining the capacity for expressive, high-level instructions. Moving beyond blunt prompting techniques and plug-and-play decoding strategies, he proposed an encoder-decoder architecture designed to accept intermediate text prompts at arbitrary time steps, thereby offering a more resource-efficient method for steering generative processes.

As language models continued to scale, Carlsson’s research began to address the structural flaws inherent in autoregressive generation, such as repetition, looping, and fragility. Rather than relying solely on parameter scaling to mask these issues, he explored architectural and training interventions in smaller models. In Branch-GAN: Improving Text Generation with (not so) Large Language Models, he investigated the root causes of generative failure modes. This work contributed to the area of Bridging the Training and Inference Gap in Sequence Generation and explored research directions such as Adversarial Training for Lexical Diversity in Generative Models to improve the robustness of text generation without requiring hundreds of billions of parameters.

Continuing his investigation into the training dynamics of generative models, Carlsson identified novel behaviors that challenge conventional scaling wisdom. In The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generation, he detailed a counter-intuitive training dynamic where overfitting a pre-trained model on a minimal dataset—until the training loss approaches zero—paradoxically enhances its ability to produce long, diverse, and high-quality text. This "hyperfitting" process sharpens the model’s internal probability space, which directly impacts the area of Achieving Consistency with Zero Temperature Decoding. By stabilizing the probability distribution, the method allows simple greedy decoding to outperform more computationally expensive sampling methods.

Most recently, Carlsson has expanded his focus to the evaluation of complex reasoning and scientific discovery in artificial intelligence. In SEDRAS: Symbolically Evaluated Deep Research And Science, he and his collaborators developed a modular, procedurally generated framework to test whether language models can perform deep research on entirely unseen data. This work revealed that while contemporary models exhibit strong reasoning in static contexts, they suffer from a significant "exploration deficit," often proving less efficient than random sampling when strategically selecting which experiments to run.

Current Directions

Recent work investigates the limits of reasoning, exploration, and generation in large language models. The most recent papers in the evidence address the gap between static reasoning capabilities and dynamic, procedural problem-solving, particularly in the context of scientific discovery. By developing frameworks to symbolically evaluate how models navigate unseen data and select experiments, this research highlights critical bottlenecks in AI exploration strategies. Concurrently, ongoing investigations into training dynamics—such as the hyperfitting phenomenon—seek to stabilize open-ended text generation, aiming to extract highly consistent and diverse outputs from models without relying on complex decoding heuristics.

Profile updated

See something wrong? Report a mistake