Index Ai Academy
Glossary · Phase 6 · Modern LLM engineering

Rank-one edit

Also written: rank-one edits, rank-one update

A change to a weight matrix made of one column times one row. It moves what one chosen input maps to, and leaves inputs at right angles to it alone.

Try it now

Then divide every cell by k · k = 5. That is the added matrix of the edit below.

Learn it properly

Editing one fact · A rank-one change to one matrix rewrites what a product is made from; then reliability, generalization, locality, and what breaks after many edits. About 40 minutes.

Other terms from the same lesson

  • locality: Whether an edit to a model left everything it wasn't aimed at unchanged. An edit that fixes one fact and disturbs many others has poor locality.
  • model editing: Changing a specific thing a model knows by rewriting a small part of its weights, without retraining. Judged by reliability, generalization, locality and what else it damages.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 6 · lesson 40 min

Editing one fact

A rank-one change to one matrix rewrites what a product is made from; then reliability, generalization, locality, and what breaks after many edits.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write