Twitxy Saved

Weiyang Liu

Verified account This account is verified. Learn more

@Besteuler

Directing SphereLab @CUHKofficial. Postdoc @MPI_IS. PhD @Cambridge_Uni & @GeorgiaTech. Previous Intern @Google & @nvidia. All opinions are my own.
wyliu.com Joined May 2009
799 Following 2.6K Followers 1K Posts

Latest posts 5

Weiyang Liu Verified account @Besteuler
Quite interesting project done by Haoquan @Haoquan03. Raw pixel generation could be a useful proxy to assess LLM’s long-context reasoning capability, as generating a long sequence of pixels requires LLMs to be semantically and positionally aware of what they have already generated.

More broadly, this is also related to a series of work from SphereLab: SGP-Bench (sgp-bench.github.io) and SGP-Gen (spherelab.ai/SGP-Gen). PixelBench and these projects are all generating a textual format of visual content, except that pixels can be visualized without any external renderers. Like SVG codes, pixels are a natural verifiable format for images. This can be a useful source of data for improving LLMs.
Haoquan Zhang Verified account @Haoquan03 Nov 3
The era of evaluating multimodal models with QA is over.
Use pixels instead. (0/7)

QA only tests high-level text reasoning. SVG and CAD rely on symbolic shapes rendered by external engines. Neither tells us if a model can directly control or read raw pixels.

We introduce PixelBench: a direct text-to-pixel probe where LLMs and VLMs generate and understand images pixel by pixel.
View quoted post on X
1 replies 4 reposts 24 likes 2.1K views View on X
Weiyang Liu Verified account @Besteuler
Quite interesting findings. It makes sense to me that LR should be designed along with data, as LR can be viewed as a form of data reweighting.
Haodong Wen Verified account @herrywen1 Oct 26
(1/9)Suppose you're training an LLM on web data with limited math data. Should you place all your math data at the end of training, or mix it with web data earlier? The answer flips with the learning rate (LR) schedule!

At fixed compute and mid-training (MT) token budgets, earlier mixing gives lower MT loss when LR decays throughout training. With constant LR, placeing all MT data for the end works better.

We then vary when LR decay begins. The best tested strategy: keep LR high after MT data enters, then decay near the end.

See our new paper: "Data Schedules and Learning Rate Schedules Should Be Designed Together" !
View quoted post on X
0 replies 0 reposts 25 likes 2.2K views View on X
Weiyang Liu Verified account @Besteuler
🚀 Very excited to introduce TTR-Compressor -- A test-time regression framework for sequence compression! I particularly like this work for its fundamentally different perspective on sequence compression.

Unlike popular pooling and projection, TTR-Compressor formulates sequence compression as a test-time regression problem. Instead of directly aggregating tokens, we fit regression keys derived from the input tokens to learnable targets, using the fitted coefficients as the compressed representation.

This leads to a bi-level optimization with an exact closed-form solution to the inner test-time regression. The closed-form solution captures second-order inter-token correlations, allowing TTR-Compressor to reduce redundancy and better preserve distinctive information, going beyond conventional first-order aggregation in pooling and projection.

Strong gains in two applications:
✨ Block-wise sparse attention: +12.24% in RULER retrieval accuracy over attention-based compression.
✨ Visual token merging: Comparable multimodal performance with 55.6% fewer visual tokens than standard MLP merging.

🤔 Takeaway: Sequence compression can be viewed as input-adaptive regression rather than static aggregation. This provides new insights to building more efficient language and multimodal models.

📄 Paper: arxiv.org/abs/2610.31574
🌐 Project: spherelab.ai/ttr-compressor/
💻 Code: github.com/Sphere-AI-Lab/…
Weiyang Liu Verified account @Besteuler
Can LLMs manage their own context natively without any external harness? We are teaching LLMs the ability of Native Context Editing. Our method achieves considerable performance gain on popular long-horizon agentic benchmarks (Terminal-Bench, SWE-bench) while reducing token usage significantly.

🤔 This can be viewed as a form of verbalized context management, which leverages LLMs' inherent capabilities to optimize context. Our prior work, Verbalized Machine Learning (arxiv.org/abs/2406.04344), similarly explores context optimization to enhance downstream task performance.

Project: dengyl20.github.io/native-context…
Paper: arxiv.org/pdf/2610.25550
Code: github.com/dengyl20/nativ…
Weiyang Liu Verified account @Besteuler
It is always inspiring to see great professors who genuinely love what they do and bring such passion to teaching.
Yi Ma Verified account @YiMaTweets Oct 22
The lectures of my new course "Principles of Deep Representation Learning" are now available at the Youtube site: youtube.com/playlist?list=… with new lectures continuing to be added there. I will open-source all the slides later in the textbook website: ma-lab-berkeley.github.io/deep-represent…
View quoted post on X