Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 20

Shannon's Communication Model

Recommended resources

In our last couple of lessons, we've built a precise, mathematical understanding of information. We started by defining information as "surprisal" and then quantified the average information produced by a source using the concept of entropy. You can now calculate the entropy of a simple system, giving you a number in bits that represents its inherent uncertainty.

This lesson zooms out to place these ideas into their original, powerful context: Claude Shannon's mathematical model of communication. We will explore the architecture of this model, which broke down the complex process of communication into a series of distinct, analyzable stages. Your goal is to describe Shannon's model of a communication system and identify its components. Understanding this model is not just a historical exercise; it provides the fundamental engineering schematic for how information is moved and processed, a cornerstone for analyzing the communication and control loops central to cybernetics.

1. The Engineering Problem

Before diving into the model's components, it's essential to grasp the problem Shannon set out to solve. His goal was not to explain how humans derive meaning from messages, but to solve a much more concrete engineering challenge. This focus is what makes his theory so powerful and universally applicable.

The following video discusses Shannon's original 1948 paper. The hosts begin by reading a crucial passage where Shannon himself defines the scope of his work.

Data Science #3 - "A Mathematical Theory of Communication" (1948), Shannon, C. E. Part - 1

This video discussion directly addresses the foundational premise of Shannon's work, clarifying why aspects like 'meaning' are deliberately set aside in favor of a technical focus.

Watch the segment from "he talks about what he's trying to do". Pay close attention to the distinction Shannon makes between the semantic aspects of communication and the engineering problem.

As Shannon stated, "The fundamental problem of communication is that of reproducing at one point either exactly or approximately a message selected at another point." The significant aspect is that the system must be designed to work for any possible message from a set, not just one specific message. This is the perspective we will maintain as we explore his model.


2. The Anatomy of a Communication System

Shannon proposed that any communication system, whether it's a telephone call, a radio broadcast, or a computer network, can be broken down into a set of essential components. The diagram below, based on the one from his 1948 paper, illustrates this general architecture.

A block diagram of Shannon's model of communication. It shows the linear flow from an Information Source, through a Transmitter, Channel, and Receiver, to a Destination, with a Noise Source interfering with the channel.

This model maps the entire journey of a message. Let's examine each component's role in this process.

The following article, "Shannon & Weaver's Mathematical Model of Communication," provides a clear, component-by-component explanation with useful examples.

Shannon & Weaver's Mathematical Model of Communication

This article clearly defines each part of the communication model and the concept of noise, which is exactly what we need for this lesson's objective.

Please read the section "Model and Its Components," which describes the five primary elements. As you read, try to map each component to a real-world example you are familiar with, like sending an email or streaming a video. Following that, read the section on "Noise," which explains the inevitable problem of signal corruption.

To synthesize and expand on the reading, here is a breakdown of the components, connecting them to concepts from our previous lessons:

  • Information Source: This is where the message originates. It can be a person speaking, a computer file, or any process that produces information. Crucially, in Shannon's framework, the source is characterized by the set of possible messages it can produce and their probabilities. This is where entropy resides. A high-entropy source (like a stream of random, unpredictable characters) produces more information on average than a low-entropy source (like a highly repetitive text).

  • Transmitter (Encoder): The transmitter takes the message from the source and transforms it into a signal—a physical phenomenon that can be sent over the channel. This process is called encoding. For a computer, this means converting data into electrical pulses or light flashes. For your brain, it involves turning a thought into spoken words (sound waves). The discussion in the Data Science Decoded video you watched earlier draws a compelling parallel between this encoder/decoder structure and modern autoencoders in machine learning, which seek to find efficient representations (encodings) of data.

  • Channel: This is the physical medium the signal travels through. It could be a copper wire, the air, a fiber-optic cable, or the vacuum of space. Every channel has physical properties that limit how fast and how accurately signals can be sent.

  • Noise Source: In the real world, no channel is perfect. Noise is anything that randomly alters the signal during its journey from transmitter to receiver. This could be static on a radio, "snow" on a TV screen, or bit errors in a digital transmission. Noise is the primary enemy of reliable communication.

  • Receiver (Decoder): The receiver captures the signal from the channel and performs the inverse operation of the transmitter. It decodes the (now potentially noisy) signal back into a message that the destination can understand. A radio receiver turns radio waves back into sound; a modem turns analog tones back into digital data.

  • Destination: This is the final recipient of the message—the person or device for whom it was intended. The ultimate goal of the entire system is for the message received by the destination to be the same as the message produced by the source.

Let's trace the lesson you are currently reading through this model:

  • Source: My brain, deciding which concepts and words to use.
  • Transmitter: My hands typing on a keyboard, and my computer encoding this text into binary data (0s and 1s).
  • Channel: The internet—a complex web of fiber-optic cables, routers, and servers.
  • Noise: A dropped data packet or a momentary server glitch could corrupt a piece of the data.
  • Receiver: Your computer or phone, which receives the binary data and decodes it back into the text you see on your screen.
  • Destination: You, the learner, reading and interpreting these words.

3. The Three Levels of Communication Problems

Shannon and Weaver’s analysis went further by categorizing the challenges of communication into three distinct levels. This hierarchy helps clarify why their model is designed the way it is and what problems it is meant to solve.

Shannon & Weaver's Mathematical Model of Communication

This section of the article you previously opened provides a clear breakdown of the three levels of problems in communication.

Please read the section titled "Levels of Problem in Communication."

To summarize this important framework:

  1. Level A: The Technical Problem. How accurately can the symbols of communication be transmitted? This is the problem of noise, bandwidth, and encoding.
  2. Level B: The Semantic Problem. How precisely do the transmitted symbols convey the desired meaning? This is the problem of interpretation, ambiguity, and shared understanding.
  3. Level C: The Effectiveness Problem. How effectively does the received meaning affect conduct in the desired way? This is the problem of persuasion, influence, and action.

Shannon's Mathematical Theory of Communication is almost entirely focused on Level A. It provides the tools to measure information (bits, entropy) and channel capacity, and to design codes that can transmit information as efficiently and accurately as possible in the presence of noise. By deliberately ignoring the much messier problems of Levels B and C, Shannon was able to create a universal, mathematical theory that applies to any form of communication, regardless of its meaning or purpose.


4. From Communication to Control: The Cybernetic Link

As presented so far, Shannon's model is linear: information flows in one direction from source to destination. This is a perfect model for a broadcast, but it's an incomplete picture for a conversation or any system that needs to regulate itself. This is where cybernetics comes in.

Norbert Wiener, the father of cybernetics, and his colleagues saw that adding a feedback loop from the destination back to the source transformed Shannon's linear model into a circular, self-regulating system.

The article "Shannon & Weaver's Mathematical Model of Communication" touches on this vital addition.

Shannon & Weaver's Mathematical Model of Communication

This final reading highlights the crucial addition that makes the model relevant to cybernetics.

Please read the short section titled "Feedback."

With feedback, the source can adjust its message based on the response from the destination. If the destination indicates the message was noisy or misunderstood, the source can re-transmit or change its encoding. This transforms a simple communication system into a control system, capable of goal-seeking behavior—the very heart of cybernetics. We will explore the dynamics of feedback loops in great detail later in the course.


Conclusion

In this lesson, we have situated the concepts of information and entropy within Shannon's broader model of a communication system. You can now see how information is not just an abstract quantity but something that is generated, encoded, transmitted, and decoded through a physical process.

Here are the key takeaways:

  • Shannon's model is an engineering framework for reproducing a message from a source at a destination, deliberately ignoring semantic meaning to achieve universal applicability.
  • The core components are the Information Source, Transmitter (Encoder), Channel, Receiver (Decoder), and Destination.
  • Noise is the ever-present adversary, representing any unintended corruption of the signal within the channel.
  • The model's primary focus is on the technical problem (Level A) of communication: transmitting symbols accurately and efficiently.
  • Adding a feedback loop transforms the linear communication model into a circular control system, bridging Shannon's information theory with Wiener's cybernetics.

In our previous lesson, we quantified the uncertainty of a source with entropy. In this lesson, we've identified noise as the primary obstacle to communication. In the next lesson, we will explore the solution: redundancy. You will learn how adding predictable structure to a message is the key to detecting and correcting errors caused by noise, ensuring reliable communication even over imperfect channels.