Skip to content

Raptor code

In computer science, Raptor codes (rapid tornado; see Tornado codes) are the first known class of fountain codes with linear time encoding and decoding.

Version
v2 · 2026-11-14 · History
Domain-specific #
11675
Domain group
Formal Sciences
Origin domain
Information Theory
Subdomains
Coding Theory, Fountain Codes → Information Theory

Core Idea

Raptor code is treated here as the recurring coding theory identity summarized by this source-grounded definition: In computer science, Raptor codes (rapid tornado; see Tornado codes) are the first known class of fountain codes with linear time encoding and decoding. In computer science, Raptor codes (rapid tornado; see Tornado codes) are the first known class of fountain codes with linear time encoding and decoding. They were invented by Amin Shokrollahi in 2000/2001 and were first published in 2004 as an extended abstract.

How would you explain it like I'm…

The Magic Data Fountain

Imagine you want to send a picture made of 10 puzzle pieces, but some pieces get lost on the way. A Raptor code is like a magic fountain that keeps spraying out new mixed-up pieces forever. Catch just a few more than 10 of any of them, and you can almost surely rebuild the whole picture, and quickly.

Catch-Any-Pieces Code

When computers send data, some pieces can get lost. A Raptor code turns a chunk of data made of k pieces into an endless stream of coded pieces. The receiver does not need any particular pieces: once it collects about k of them, or a little more, it can almost always rebuild the original data. Getting just a couple extra pieces makes failure extremely rare. Raptor codes are also fast, because the work to make and unpack the pieces grows only in step with the amount of data.

Linear-Time Fountain Code

A Raptor code is a type of fountain code from coding theory. A fountain code takes a block of k source symbols and can generate a potentially limitless stream of encoding symbols; receiving any k or more of them lets you recover the block with some probability, and that probability gets very close to 1 once you have just slightly more than k. What makes Raptor codes special is that they were the first known fountain codes with linear-time encoding and decoding, meaning the work grows proportionally with the data size. They improved on LT codes, the first practical fountain codes. For example, with the RaptorQ version, decoding fails less than 1% of the time with exactly k symbols and less than one in a million with k+2.

 

Raptor codes (from 'rapid tornado') are the first known class of fountain codes with linear-time encoding and decoding, invented by Amin Shokrollahi around 2000–2001 and first published in 2004. A fountain code encodes a source block of k equal-size source symbols into a potentially limitless sequence of encoding symbols such that receiving any k or more encoding symbols allows recovery with some nonzero probability. For Raptor codes that probability climbs very close to 1 once the number received is only slightly above k. They are a major theoretical and practical improvement over LT codes, the first practical fountain codes. In the RaptorQ generation, the decoding-failure probability is under 1% with k symbols received and under one in a million with k+2. The defining property is the combination of the fountain (rateless) property with linear-time complexity; a code that is merely rateless, or merely erasure-correcting, does not qualify.

Scope of Application

  • Overview. In one approach, each symbol is accompanied with an identifier which can be used as a seed to a pseudo-random number generator to generate this information, with the same process being.

  • Overview. In the case of non-systematic Raptor codes, the source data to be encoded is used as the input to the pre-coding stage.

  • Decoding. In a concatenated approach, the inner code is decoded first, using a belief propagation algorithm, as used for the LT codes.

  • Documented setting. The Raptor codes used in these standards is also defined in IETF .

  • Documented setting. Raptor codes, as with fountain codes in general, encode a given source block of data consisting of a number k of equal size source symbols into a potentially limitless sequence of.

Clarity

A clear use of Raptor code names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In computer science, Raptor codes (rapid tornado; see Tornado codes) are the first known class of fountain codes with linear time encoding and decoding.

Manages Complexity

Raptor code compresses multiple coding theory details into a stable diagnostic relation. The source shows both the central mechanism—raptor codes are formed by the concatenation of two codes.—and the practical consequence—processes which generate the first k output symbols generate an operation which is invertible. This compression makes cases comparable while leaving parameters, conventions, exceptions, and evidential quality explicit.

Abstract Reasoning

  1. Type the carrier. Identify the coding theory entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: In computer science, Raptor codes (rapid tornado; see Tornado codes) are the first known class of fountain codes with linear time encoding and decoding.
  3. Check operation and conditions. This pre-code may itself be a concatenation of multiple codes, for example in the code standardized by 3GPP a high density parity check code derived from the binary Gray sequence is concatenated with a simple regular low.

Knowledge Transfer

Within the home domain. Knowledge about Raptor code transfers literally when a new case preserves the same carrier type, relation, and recognition test. In one approach, each symbol is accompanied with an identifier which can be used as a seed to a pseudo-random number generator to generate this information, with the same process being followed by both sender and receiver. In the case of non-systematic Raptor codes, the source data to be encoded is used as the input to the pre-coding stage. Beyond the home domain. No canonical parent is asserted for Raptor code.

Relationships to Other Abstractions

Local relationship map for Raptor codeParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Raptor codeDOMAINDomain-specific abstraction: Error-Correcting Code — is a kind ofError-CorrectingCodeDOMAIN

Current abstraction Raptor code Domain-specific

Parents (1) — outgoing typed relations

  • Raptor code is a kind of Error-Correcting Code Domain-specific

    Raptor code satisfies the defining boundary of Error-Correcting Code: An error-correcting code is a specified set of valid codewords together with an encoding map, channel or error model, distance or recoverability structure, and decoding rule that introduces controlled redundancy so transmitted or stored information can be detected or reconstructed despite an admissible class of errors or erasures.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Raptor code sits in a sparse region of the domain-specific corpus (75th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14