Hacker News

ronfriedhaber
Kimi Linear: An Expressive, Efficient Attention Architecture arxiv.org

oakpond4 hours ago

>To support further research, we open-source the KDA kernel and vLLM implementations, and release the pre-trained and instruction-tuned model checkpoints.

This is just awesome.

delichon5 hours ago

If you want to believe that the success of Kimi is about distillation attacks, ignore this.

egeozcan3 hours ago

I'd kindly suggest that we could also stop calling them "distillation attacks".

halJordan11 minutes ago

Why on earth wouldn't you? It's clearly a forcible, aggressive, non-consensual attempt to take something. That's an attack in any other terms. It's totally fair if you approve of the attack, and want the attack to succeed. But your preference doesn't stop it from being what it is.

reilly30003 hours ago

Agreed. I think when it comes to light that Claude has been known to say “I’m DeepSeek” that everyone has had their hand in that cookie jar. Moreover, paying for API calls hardly seems like an attack; ToS violation to be certain but not in the same category of law as criminal activity like hacking.

idiotsecant2 hours ago

wait, is there evidence of this? I've not observed it. It sounds like the kind of thing that I want to be true because it would be hilarious but that makes me suspicious.

petu2 hours ago

LLMs can't reliably answer what they are (w/o getting that info from system prompt/tool call/etc), so yea.

https://xcancel.com/teortaxesTex/status/2026130112685416881

I think I've seen same happening with some European languages as well.

snovv_crashan hour ago

Ask it in Chinese

__MatrixMan__2 hours ago

Agreed, "distilled variants" might be more suitable.

overfeed28 minutes ago

Calling them variants is also inaccurate when the pretrained base and architecture are completely different.

WhitneyLand4 hours ago

False dichotomy right?

Are Chinese labs impressively innovating? Clearly.

However this doesn’t rule out possible gains due to distillation.

I don’t know the degree of the latter but both things could certainly be true.

SirHackalot3 hours ago

Didn't Anthropic train on our collective data just to sell it back to us for $100/month? On top of that, Apple is suing them over alleged IP and trade secret theft by ex-Apple employees. Hard to feel too sympathetic, and I’m not an Anthropic hater in particular…

DashAnimal3 hours ago

That Apple lawsuit is against OpenAi, just for clarity

SirHackalot2 hours ago

Wow, I should never comment first thing in the morning... Thanks for the correction, you’re right. I will see if I can still edit my comment.

hugopuybareau3 hours ago

The only data-related lawsuit Anthropic got was the books nah ? And they paid only a minor part as paid agreement compared to what they would have paid losing the trial

SirHackalot2 hours ago

Yep, that second part of my comment was an article I read about OpenAI and my mind mixed it up with Anthropic. My mistake.

culian hour ago

Fable was available for a few weeks before Kimi K3 came out. If it was a distillation attack, then that's a truly groundbreaking technological feat to distill a model like Fable in 2 weeks

fnord1233 hours ago

Also possibly true: Anthropic is running Kimi locally in their hardware and "distilling" it.

[deleted]an hour agocollapsed

cma3 hours ago

If they can distill fable into a full model post training run in ~15 days without the real thinking traces, yet we know Claude chats degraded with the thinking traces removed (chat resume bug from earlier in the year they reported stripping thinking to shed load as being the cause of degradation), how big can this degree be?

api4 hours ago

“Distillation” is just indirectly pirating the largely pirated training data used to train the original model.

“You stole my warez!”

serial_dev4 hours ago

If we do it, it's training a model. When they do it, it's distillation attack. - Anthropic

esafak3 hours ago

"You are distilling what I have rightfully pirated."

Parfait__4 hours ago

I stil don't understand them. I want the US to "win the AI race" but I have trouble understanding how most of all inventions today aren't "distillations" of past knowledge. Is Anthropic claiming the data they stole as trade secrets?

[deleted]an hour agocollapsed

lukewarm7072 hours ago

i want china to win so that i get access to ai and not restricted and censored.

the chinese models are less censored, you'd better believe it.

try asking claude about its 'guardrails' (restrictions), very high chance anthropic will censor it.

fwip4 hours ago

Anthropic is claiming that training an LLM to mimic another LLM is materially different and worse than slurping up stuff written by humans (even if that material is stolen).

Basically, they want IP protection for Claude. This is a nakedly hypocritical stance, but completely understandable from a company-needs-to-make-money standpoint.

blints4 hours ago

Their claim is even stronger than that, they have complaints about their models being used as a validation step for other model output, which is standard practice in the industry.

koe1233 hours ago

How does anyone justify this? How can you argue this in good faith?

fwip3 hours ago

Snarky answer: “It is difficult to get a man to understand something, when his salary depends on his not understanding it.”

Realer answer: A combination of the above, plus group/bubble effect of all your coworkers saying the same thing. You as a group, conflate a bunch of concerns together (China, no-guardrails-AI, etc), decide that your group will be the responsible stewards of AI, and then anybody "stealing your work" appears dangerous - both to your livelihood and to the human race.

Levitz3 hours ago

>This is a nakedly hypocritical stance, but completely understandable from a company-needs-to-make-money standpoint.

No, it's perfectly reasonable once you get down to reality.

China is not going to care about IP. That's just a fact. So either nobody cares about IP (at the very last in this context) and any AI company can just do whatever with data, or Chinese companies have to be held up to scrutiny.

We don't have the privilege to be able to hold western companies to higher ethical, legal, and environmental standards and not risk competitiveness.

That there is a whole lot of people right now who insist on doing above and still somehow praise China at every turn is something historians or news outlets will have to make sense of in some 5 years time.

nemomarx2 hours ago

Give up IP for end users and people will be pretty okay with giving up on IP for ai companies. You can't have different standards for special companies though.

idiotsecant2 hours ago

why should western AI companies be held to different standards than Chinese ones? Neither of them are your buddy.

creatoan hour ago

They shouldn't be. But the point is, they are. OpenAI and Anthropic are paying many rights holders for access to their data (reddit, NYT, etc.).

So distillation, among other things, allows Chinese labs to indirectly benefit from these arrangements at no cost to them.

verdverm4 hours ago

Google is apparently taking a different stance and offering distillation as a paid product

https://docs.cloud.google.com/gemini-enterprise-agent-platfo...

petuan hour ago

You don't get to take distilled model home, it all stays with Google.

It's "optimize your costs in our garden" product.

verdverman hour ago

yup, strings are certainly attached when dealing with US Big Tech / Ai

I recommend Fireworks as an alternative

behnamoh3 hours ago

But nobody wants to distill Google's models, Gemini is really bad.

verdverm3 hours ago

strong agreement, I've stopped using all closed weight models on principle, but the latest gemini models have increased hallucinations and now talk back, so double reason not to use them

Aurornis4 hours ago

You can’t build a frontier model with one single thing. This is an incremental improvement but it doesn’t explain the entire success of the model. The training set is immensely important, regardless of how you feel about distillation.

EGreg3 hours ago

Reminds me of this btw:

https://www.bbc.com/news/technology-12343597

Microsoft replied that Bing uses “many different signals” —- including cribbing from Google :-)

krlx3 hours ago

I remember 15 years ago or so, one of my first student job was to evaluate Bing results compared to the same query on Google. Didn't know then that I was a distillation attacker.

igleria4 hours ago

The distillation complaints to me sound like when a casino complains about card counting

jeremyjh2 hours ago

It can easily be both. Also, they didn't use this innovation in K3 - K3 pre-training would have started months ago and the paper only mentions a 48B model. The people working at this level may not even be heavily involved in shipping a new iteration of K3, or at least theory contributions to it were done many months or even a year ago and after that it is all engineering.

vikramkr2 hours ago

This paper is from last year

rdtsc3 hours ago

Does one have to exclude the other?

moralestapia4 hours ago

Well said.

The distillation theory does not even make sense as Fable was only around for days (effectively) before Kimi was released.

pooyamo4 hours ago

Does any expert in the field know whether it is really the case that this intelligence we are seeing with frontier models is an "emerging" phenomena, only coming up when the architecture is scaled?

Like isn't it weird that the 1 million parameter model with the same architecture can't solve basic puzzles but suddenly the 1 trillion parameter can conjure up counter-examples for the Jacobian conjecture?

It's unintuitive since, to the best of my knowledge, one of the basic tenants of algorithm development was that you can't just brute-force your way towards a solution for some complex problems, e.g. naive sorting algorithms suddenly won't beat quicksort if you put more processing to them, but in the modern LLM scene it seems people are in a race to scaling up, experimenting empirically and hoping the same algorithm/architecture comes to a solution.

jlamberts4 hours ago

This is actually a well-known phenomenon in ML, called "The Bitter Lesson".

> One thing that should be learned from the bitter lesson is the great power of general purpose methods, of methods that continue to scale with increased computation even as the available computation becomes very great. The two methods that seem to scale arbitrarily in this way are search and learning.

The full essay is worth a read, it's pretty short http://www.incompleteideas.net/IncIdeas/BitterLesson.html

verdverm4 hours ago

Is that page served from a secure domain anywhere?

pachev3 hours ago

Not quite. The Wikipedia page is worth a look through if you don’t want to click on an http page. https://en.wikipedia.org/wiki/Bitter_lesson

IsTom3 hours ago

You could read it through internet archive if it's this important.

verdverm3 hours ago

[deleted]3 hours agocollapsed

zparky3 hours ago

the page is nearly just a .txt file.

verdverm3 hours ago

the reason for https is MITM injection, regardless of original content

zparkyan hour ago

ah, didn't know that. thanks!

verdverm16 minutes ago

If you'd like to dig more into the history, let's encrypt did so much to enable the movement to https by making certs free, and chrome with the red text and warnings in the url bar, which has since graduated to a full on page that requires clicking to still go despite the warnings

hnfong3 hours ago

> one of the basic tenants of algorithm development was that you can't just brute-force your way towards a solution for some complex problems

It's kind of sad that popular CS textbooks often focus on solving precise problems with lowest theoretical complexity bounds while ignoring more practical (but generally applicable) computation techniques.

In machine learning they call it "gradient descent", which in older days had analogies in techniques called "hill climbing", "local search" and "simulated annealing". Basically you have a function you need to optimize for, and you clumsily tweak the parameters so that you get the (locally) max/min value you wanted. These techniques were great at finding approximate, locally maximal solutions without trying all the possibilities at once (which is more akin to the kind of "brute force" in the traditional CS context).

I guess because these techniques were generally applicable yet the outputs were approximate and you couldn't analyze them much (no fancy O(n log n)), the theorists did not find them interesting and thus were not put into the spotlight of student's learning curricula.

In modern machine learning they do this gradient descent thing which is also tweaking the parameters bit by bit to optimize for the loss function, except that the parameters are now in the billions and trillions. The compute required is huge of course, but it's actually quite an "efficient" process, and it's not actually doing much of "brute forcing" at all. During training, the process is essentially, almost equivalent to, compressing the many many trillions of tokens of training data. To me it's quite amazing that they manage to complete such a process within a couple months of training, even if they have hundreds of thousands of GPUs...

neerajk23 minutes ago

There is a Sanjeev Arora paper "A Theory for Emergence of Complex Skills in Language Models" (https://arxiv.org/pdf/2307.15936) on this subject. The key idea is there is cross entropy (how "surprised" the model is with the "correct" next token, lower is better), some of which is inherent in the language and therefore unavoidable, and the rest is model error, and that this portion of the cross entropy is reduced with scaling.

And as scaling reduces a model's excess entropy, the model can become good at combinations of skills much faster than you would expect if it had to separately see and memorize every combination. They call this "slingshot generalization".

IanCal4 hours ago

It might be that what we consider a basic and very hard puzzle are extremely close together on a more absolute scale. The difference is often for us what proportion of humans can solve it. And the low end of that is still quite high up - animals that can solve things that are very basic for the vast majority of humans are pretty rare and known about, yet are capable of quite complex actions and learning and aren’t wildly different in scale of neurons to us.

Going from 1m to 1T params is also a scaling of a million times. It’s like going from a human brain down to one percent in size in each direction or just a few mm.

pornel4 hours ago

IANAMLE, but there is "grokking" that makes models learn to actually generalize, even after you give them enough parameters that would let them memorize the dataset:

https://en.wikipedia.org/wiki/Grokking_(machine_learning)

High-dimensional gradient descent behaves very differently than the simplified 3d visualisations we use to demonstrate it, and has lots of ways out of local minima:

https://www.youtube.com/watch?v=NrO20Jb-hy0

so it seems like there is a benefit to giving models more space to learn in rather than forcing them to compress the knowledge from the start.

CamperBob226 minutes ago

Exactly, I was going to suggest the Welch Labs videos on grokking. Especially the newer one at https://youtu.be/D8GOeCFFby4?si=yLI9zzcjsnEELUqy . They are really well done and really eye-opening.

joefourier2 hours ago

> Like isn't it weird that the 1 million parameter model with the same architecture can't solve basic puzzles but suddenly the 1 trillion parameter can conjure up counter-examples for the Jacobian conjecture?

I'm not sure what you mean? You can see the intelligence of LLMs progress predictably and stably according to scaling laws. LLMs have to encode language in addition to intelligence so there's a minimum bound for them to output sensible text (you can train specialised tiny models to solve basic puzzles without language). Start at around 127M and compare models of increasing parameters and you'll see a clear progression in intelligence.

> It's unintuitive since, to the best of my knowledge, one of the basic tenants of algorithm development was that you can't just brute-force your way towards a solution for some complex problems, e.g. naive sorting algorithms suddenly won't beat quicksort if you put more processing to them

How is that a basic tenet? Simple, easier to parallelise algorithms that have lower memory requirements, or can take better advantage of hardware, or don't hit a plateau the more compute you throw at them, can absolutely beat cleverer algorithms. E.g. brute forcing rendering with Monte Carlo path tracing will give you more physically accurate results than ray tracing or rasterisation algorithms that rely on a bundle of hacks to approximate global illumination, transparency smooth shading, etc.

thomasahle4 hours ago

Here's one way it could happen:

Let's say there's some circuit that does problem solving of the kind we call intelligence.

We dont know what this circuit looks like, but it exists in our brain.

Doing regression on outputs from the brain (e.g. internet text) with enough parameters, we can "fit" our model to this circuit.

But if you try to fit it with fewer parameters than it needs, you're just going to get some linear approximation.

hendiatris4 hours ago

So basically a Nyquist rate type of concept.

lacunary4 hours ago

what is the approximation linear in?

lern_too_spel4 hours ago

In the output of this nonlinear model /s.

mohsen13 hours ago

> one of the basic tenants of algorithm development was that you can't just brute-force your way towards a solution for some complex problems

Mote-Carlo is pretty useful still. Not sure if your statement holds

lacunary4 hours ago

it's certainly not a definite procedure for determining if an arbitrary mathematical statement is true or not. it's more like educated guess and check which definitely scales up

berz012 hours ago

[dead]

senko5 hours ago

Old but relevant: if you read the recently-released Kimi K3 paper[0], you'll see that it's heavily based on Kimi Linear discussed here, scaling it up and adding a bunch more things (like native vision and RL improvements).

[0] https://arxiv.org/abs/2607.24653

bratao4 hours ago

I started creating internal models using it, then the Gated Deltanet 2 came out( https://arxiv.org/abs/2605.22791), and it seems like an evolution of it in expressiveness. And in our tests it is really better than.

iandanforth4 hours ago

Is it just me or does this read like a re-implementation of LSTMs?

muriculaan hour ago

I'm no expert but it seems like a descendent of LSTMs. There's a series of papers which show how to reformulate attention as RNNs which arrives at linear attention. Then they add a decay term to get mamba2. Then they add modified the decay term as like a scale to apply both to the existing state and the new update to get delta net. Then they added a gate matrix on the output to get gated delta net. Then Kimi Linear Attention seems to be gated delta net with a more expressive gate. The Gated DeltaNet paper recaptilulates this evolution decently well. But yeah, it feels like they're starting with the same lego blocks and assembling them in similar shapes to accomplish similar but slightly distinct modules.

jasonjmcghee6 hours ago

(2025)

As it's 9 months old and they just had a major model release

throwa3562625 hours ago

For K3 read this instead: https://arxiv.org/abs/2607.24653

The main contribution of the K3 paper is Stable LatentMoE. Like some other models it compresses data sent between layers, which puts certain requirements on the router. K3 improves performance by using a more balanced expert selection strategy.

mcbuilder5 hours ago

Compared to the Opus 5 "model card", which read like a standard Anthropic set of alignment principles and safety concerns, this presents a plethora of useful technical details that advances the state of the art.

throwa3562625 hours ago

Same with DeepSeek papers, they are a joy to read.

senko5 hours ago

Not an expert, but looks like they did a lot more work on the RL part (9 expert models, full sandbox access for agentic tasks, etc)?

verdverm4 hours ago

most new effort in training comes in the late phase with RL techniques

the pretraining (slurping the internet) only goes so far, the new data being used is from human preferences and agent traces (designed and/or distilled)

cptcobalt5 hours ago

Rather under-discussed back then: https://news.ycombinator.com/item?id=45766937

GaggiX6 hours ago

I believe OP posted it because the new Kimi K3 has 69 KDA layers (the rest are 24 Gated MLA), I think previous large Kimi models had only MLA layers.

yorwba5 hours ago

It's not the same KDA as used in Kimi Linear, though.

GaggiX5 hours ago

What's the difference? They are both called Kimi Delta Attention.

yorwbaan hour ago

The differences are explained in section 2.1.1 of the Kimi K3 technical report: https://arxiv.org/pdf/2607.24653#page=4

imrozim4 hours ago

Any one knows how this holds up on long context retrieval (needle in haystack , ruler) vs same size full attention model? efficiency gains look great but that usually where linear attention hybrids fall apart.

Topology15 hours ago

Another banger from Zhang et. al

hn-front (c) 2024 voximity
source