ArticleslgStudy

science

Sequential decoding

Sequential decoding is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sequential decoding rather than just read about it. In short: Recognised by John Wozencraft, sequential decoding is a limited memory technique for decoding tree codes. Sequential decoding is mainly used as an approximate decoding algorithm for long constraint-length convolutional codes.

Key takeaways

  • Sequential decoding belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sequential decoding to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sequential decoding from memory before moving on to harder problems.

Reference excerpt

Recognised by John Wozencraft, sequential decoding is a limited memory technique for decoding tree codes. Sequential decoding is mainly used as an approximate decoding algorithm for long constraint-length convolutional codes. This approach may not be as accurate as the Viterbi algorithm but can save a substantial amount of computer memory. It was used to decode a convolutional code in 1968 Pioneer 9 mission. Sequential decoding explores the tree code in such a way to try to minimise the computational cost and memory requirements to store the tree. There is a range of sequential decoding approaches based on the choice of metric and algorithm. Metrics include:

Fano metric Zigangirov metric Gallager metric Algorithms include:

Stack algorithm Fano algorithm Creeper algorithm

Fano metric Given a partially explored tree (represented by a set of nodes which are limit of exploration), we would like to know the best node from which to explore further. The Fano metric (named after Robert Fano) allows one to calculate from which is the best node to explore further. This metric is optimal given no other constraints (e.g. memory). For a binary symmetric channel (with error probability p) the Fano metric can be derived via Bayes' theorem. We are interested in following the most likely path Pi given an explored state of the tree X and a received sequence 𝐫. Using the language of probability and Bayes' theorem we want to choose the maximum over i of:

Pr⁡(Pi|X,𝐫)∝Pr⁡(𝐫|Pi,X)Pr⁡(Pi|X) We now introduce the following notation:

N to represent the maximum length of transmission in branches b to represent the number of bits on a branch of the code (the denominator of the code rate, R). di to represent the number of bit errors on path Pi (the Hamming distance between the branch labels and the received sequence) ni to be the length of Pi in branches. We express the likelihood Pr⁡(𝐫|Pi,X) as pdi(1−p)nib−di2−(N−ni)b (by using the binary symmetric channel likelihood for the first nib bits followed by a uniform prior over the remaining bits). We express the prior Pr⁡(Pi|X) in terms of the number of branch choices one has made, ni, and the number of branches from each node, 2Rb. Therefore:

Pr⁡(Pi|X,𝐫)∝pdi(1−p)nib−di2−(N−ni)b2−niRb∝pdi(1−p)nib−di2nib2−niRb We can equivalently maximise the log of this probability, i.e.

dilog2p+(nib−di)log2(1−p)+nib−niRb=di(log2p+1−R)+(nib−di)(log2(1−p)+1−R) This last expression is the Fano metric. The important point to see is that we have two terms here: one based on the number of wrong bits and one based on the number of right bits. We can therefore update the Fano metric simply by adding log2p+1−R for each non-matching bit and log2(1−p)+1−R for each matching bit.

Computational cutoff rate For sequential decoding to be a good choice of decoding algorithm, the number of states explored should remain small (otherwise an algorithm which deliberately explores all states, e.g. the Viterbi algorithm, may be more suitable). For a particular noise level there is a maximum coding rate R0 called the computational cutoff rate where there is a finite backtracking limit. For the binary symmetric channel:

R0=1−log2(1+2p(1−p))

Algorithms

Stack algorithm The simplest algorithm to describe is the "stack algorithm" in which the best N paths found so far are stored. Sequential decoding may introduce an additional error above Viterbi decoding when the correct path has N or more highly scoring paths above it; at this point the best path will drop off the stack and be no longer considered.

Fano algorithm The famous Fano algorithm (named after Robert Fano) has a very low memory requirement and hence is suited to hardware implementations. This algorithm explores backwards and forward from a single point on the tree.

The Fano algorithm is a sequential decoding algorithm that does not require a stack. The Fano algorithm can only operate over a code tree because it cannot examine path merging. At each decoding stage, the Fano algorithm retains the information regarding three paths: the current path, its immediate predecessor path, and one of its successor paths. Based on this information, the Fano algorithm can move from the current path to either its immediate predecessor path or the selected successor path; hence, no stack is required for queuing all examined paths. The movement of the Fano algorithm is guided by a dynamic threshold T that is an integer multiple of a fixed step size Δ. Only the path whose path metric is no less than T can be next visited. According to the algorithm, the process of codeword search continues to move forward along a code path, as long as the Fano metric along the code path remains non-decreasing. Once all the successor path metrics are smaller than T, the algorithm moves backward to the predecessor path if the predecessor path metric beats T; thereafter, threshold examination will be subsequently performed on another successor path of this revisited predecessor. In case the predecessor path metric is also less than T, the threshold T is one-step lowered so that the algorithm is not trapped on the current path. For the Fano algorithm, if a path is revisited, the presently examined dynamic threshold is always lower than the momentary dynamic threshold at the previous visit, guaranteeing that looping in the algorithm does not occur, and that the algorithm can ultimately reach a terminal node of the code tree, and stop.

References John Wozencraft and B. Reiffen, Sequential decoding, ISBN 0-262-23006-2 Rolf Johannesson and Kamil Sh. Zigangirov, Fundamentals of convolutional coding (chapter 6), ISBN 0-470-27683-5

External links "Correction trees" - simulator of correction process using priority queue to choose maximum metric node (called weight)

Worked examples

Example 1 — a first encounter with Sequential decoding

Start with the simplest possible case. Write down what Sequential decoding claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sequential decoding before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sequential decoding ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sequential decoding

In research
Sequential decoding appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sequential decoding in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sequential decoding is common in secondary-school and first-year university syllabi. It links to neighbouring topics Error detection and correction, so understanding it makes those chapters shorter.
In everyday life
Look for Sequential decoding outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Sequential decoding” →

How to study Sequential decoding in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sequential decoding means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sequential decoding out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sequential decoding in simple terms?

Recognised by John Wozencraft, sequential decoding is a limited memory technique for decoding tree codes. Sequential decoding is mainly used as an approximate decoding algorithm for long constraint-length convolutional codes.

Why does Sequential decoding matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sequential decoding?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sequential decoding.

Tags

  • Error detection and correction

Keep exploring