VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Lossy Works | Parameter Sharing — When Many Parts Must Use the Same Weights

Three students study around open books and worksheets in a shared classroom.

Imagine a machine with one hundred rooms.

Each room could have its own specialised tool.

Or all one hundred rooms could share the same tool.

The second design is cheaper.

It is also less free.

Quick Read

Parameter sharing reduces the number of unique learned parameters by reusing the same weights across multiple positions, time steps, layers or tasks. It is fundamental to convolutional networks and recurrent networks, appears in shared input/output embeddings, and can be used deliberately across Transformer layers to reduce model size.

One-sentence answer: parameter sharing is lossy because separate parts of a model give up the freedom to learn independently, forcing multiple computations to pass through one common parameter set.

Why Sharing Saves So Much

If ten layers each contain one million parameters, the model stores ten million unique values.

If those layers share one parameter set, the storage can fall dramatically.

The computation may still occur ten times, but the learned state is no longer ten independent memories.

One learned transformation is reused.

Convolution Is Parameter Sharing Across Space

A convolutional filter slides across an image.

The same filter weights are applied at many spatial locations.

This encodes a powerful assumption: an edge detector useful on the left side of an image may also be useful on the right.

Without sharing, every pixel neighbourhood could require its own local detector. The model would gain freedom and lose statistical efficiency.

Recurrent Networks Share Across Time

A recurrent neural network applies the same transition parameters repeatedly as a sequence unfolds.

The recurrence says, in effect:

Use the same state-update rule at every time step.

That sharing allows a model to process variable-length sequences without allocating a new parameter set to every position.

But it also assumes temporal reuse of the same transformation is appropriate.

Weight Tying Can Connect Input and Output Representations

Language models may use the same or related embedding parameters for reading tokens and producing token scores.

This can reduce parameters and encourage a coherent shared geometry between input and output vocabularies.

The price is reduced independence: the best representation for reading a token is forced to align with the representation used to predict it.

Cross-Layer Sharing Pushes the Idea Further

Transformer-style models can assign different parameters to every layer.

Cross-layer parameter sharing reuses weights across multiple layers.

This can reduce memory dramatically while preserving depth as repeated computation.

The network remains deep in operations but becomes shallower in unique learned state.

Shared Parameters Act Like a Regulariser

Independent parameters can overfit independently.

Shared parameters must satisfy several contexts at once.

That constraint can improve generalisation because the model cannot memorise every location, layer or task with separate weights.

Loss of freedom can become protection against over-specialisation.

But Sharing Can Create Underfitting

Suppose early layers need local pattern extraction while late layers need abstract task reasoning.

Force them to use exactly the same parameters and the shared transformation may become a compromise that is ideal for neither.

The model saves memory by collapsing specialisation.

The Right Sharing Pattern Depends on Symmetry

Parameter sharing works best when the task contains repeated structure.

  • Translation symmetry in images supports shared spatial filters.
  • Repeated sequence processing supports shared temporal updates.
  • Related tasks can sometimes share a common feature extractor.
  • Repeated Transformer blocks may reuse transformations where layer-specific specialisation is not essential.

The system becomes efficient by betting that the same rule should work in more than one place.

Sharing and Pruning Remove Different Freedom

Pruning removes parameters or structures.

Sharing keeps multiple computational positions but forces them to use the same parameter values.

One deletes.

The other identifies.

Sharing and Distillation Are Also Different

Distillation trains a smaller student to imitate a teacher.

Parameter sharing changes the architecture’s internal degrees of freedom directly.

A shared model can be trained from scratch without any teacher.

Sharing Can Preserve Depth While Reducing Memory

This is one of its unusual properties.

A network can apply the same block repeatedly, creating many stages of computation while storing one block’s parameters.

Computation depth and parameter diversity become separate resources.

Dynamic Systems Can Share Most and Specialise a Little

Designs need not choose between total sharing and total independence.

A shared backbone can be combined with small adapters, prompts, expert modules or task-specific heads.

The common structure handles what is reusable. Small specialised components preserve distinctions that sharing would otherwise flatten.

Education: One Method Can Solve Many Problems—Until It Cannot

A student learns one algebraic technique and reuses it across many questions.

This is cognitively efficient.

But a learner who forces every problem through one familiar method eventually underfits the subject.

This is an analogy, not neural-network mechanics. The structural lesson is that reuse saves memory only while the repeated structure is genuinely shared.

A CivDJ View: Share Only Across Stable Symmetries

Forward: does the shared model still solve the main task?

Backward: which specialised behaviours were lost because formerly independent components became one?

Rotate: does the symmetry survive across domains, positions, languages, scales and edge cases?

Parameter sharing is strongest when the invariance exists in the world, not merely in the memory budget.

When Parameter Sharing Is Exactly the Right Loss

Use it when repeated structure is real, unique parameter storage is expensive, the shared transformation generalises across the intended positions, and small specialised exceptions can be preserved where necessary.

When Parameter Sharing Becomes Dangerous

  • Different positions genuinely require different functions.
  • Shared weights create a compromise that underfits every context.
  • Rare specialist behaviour disappears under a dominant common representation.
  • Memory savings are achieved but compute remains unchanged and deployment cost barely improves.
  • The shared model is compared only on average benchmarks rather than specialised tasks.
  • Original unshared baselines are discarded before regression testing is complete.

A Practical Parameter-Sharing Audit

  • Scope: which positions, layers or tasks share weights?
  • Symmetry: what repeated structure justifies the sharing?
  • Capacity: how much unique freedom was removed?
  • Specialisation: which contexts still need separate adapters or heads?
  • Performance: are gains stable across edge cases?
  • Hardware: does parameter reduction create real memory or bandwidth savings?
  • Master: is an unshared reference model retained?

Continue Through eduKateSG

Continue with How Lossy Works | Model Pruning, How Lossy Works | Low-Rank Approximation, and the companion article How Lossy Works | Early Exit.

Final Thought: Sharing Saves Memory by Turning Difference Into Repetition

Parameter sharing is elegant when the repeated structure is real.

It becomes lossy the moment two parts needed to be different and the model no longer lets them be.

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading