← Latest papers
🤖 AI

From Profiles to Steering Vectors: Global Sparse Priors and Local Semantic Calibration for Personalized Text Generation

GLASS is a training-free framework that achieves personalized text generation by extracting global user-style priors and local contrastive vectors via sparse autoencoders, which are jointly injected into model layers to enable context-aware style adaptation without retrieval or parameter updates.

Original authors: Liuji Chen, Zeyu Zhang, Xinyuan Zhang, Shuai Nie, Qiang Liu, Shu Wu, Liang Wang

Published 2026-07-27
📖 3 min read☕ Coffee break read

Original authors: Liuji Chen, Zeyu Zhang, Xinyuan Zhang, Shuai Nie, Qiang Liu, Shu Wu, Liang Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a super-smart robot how to write like you. You don't want it to just sound like a generic encyclopedia; you want it to sound like your diary, your funny texts to friends, or your serious emails to a boss. This is the world of personalized text generation, a branch of artificial intelligence where machines try to mimic human writing habits.

To do this, scientists usually try three things. First, they can show the robot examples of your writing (like a teacher showing a student past essays), but this can be slow and cluttered. Second, they can tweak the robot's brain (its internal settings) specifically for you, but this takes a lot of time and memory, like giving every student a custom-made textbook. Third, they can try to nudge the robot's thoughts while it writes, pushing it in the direction of "you" without changing its brain permanently. This "nudging" is called activation steering. It's fast and light, but it has a big problem: it's hard to tell the difference between what the robot is writing (the story) and how it is writing (your style). It's like trying to separate the flavor of a spice from the food it's cooking; often, the robot ends up copying the topic instead of your unique voice.

This paper introduces a new method called GLASS (Global–Local Activation Steering with Sparse priors) to solve that messy separation problem. Think of the robot's brain as a giant, tangled ball of yarn where every thread represents a different idea or feeling. The authors realized that if you could untangle the yarn into neat, separate strands, you could grab just the "style" thread without pulling on the "topic" thread. They use a special tool called a Sparse Autoencoder (SAE) to do this untangling. It's like having a magical sieve that only lets the "style" particles pass through while blocking the "content" dust.

GLASS works in two clever steps. First, it creates a Global Style Profile. Imagine taking all your past writing and running it through that magical sieve to find your "fingerprint"—your average sentence length, your favorite words, and your general tone. This is your "Global" prior, a stable blueprint of who you are. Second, it realizes that you don't write the same way in every situation. You might be formal in an email but silly in a text message. So, GLASS groups your past writing into different Local Clusters (like "Work Mode" vs. "Party Mode") and creates a specific "nudge" for each one.

When the robot needs to write something new, GLASS doesn't need to look up old examples or retrain the robot. Instead, it simply injects the right mix of your "Global Fingerprint" and the "Local Nudge" for the current situation directly into the robot's brain as it thinks. The paper shows that this method works better than the other three approaches. It suggests that by using these "sparse" tools to clean up the robot's thoughts, it can capture your true writing style much more accurately, even when the topic changes or the length of your writing varies. The result is a robot that sounds like you, without the heavy baggage of storing thousands of your old messages or spending hours retraining its brain.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →