Sub topic 9
Adapting the Borrowed Solution
This chapter assumes you can already build a mapping between a source domain and a target problem, and that you can transfer relations through it to get candidate claims. If you cannot, review the chapters on structure mapping and inference transfer first. Here the question is what to do after the transfer. You hold a candidate solution that worked somewhere else, and you must make it work in a place with different rules.
Why a borrowed solution rarely fits as it is
A solution is not a free-standing object. It works in its source domain because the surrounding conditions support it: who performs it, what resources it uses, how fast things change, and what rules apply. When you move the solution, you move the steps but not the conditions.
Adaptation is the work of finding which conditions the solution depended on, checking whether the target provides them, and changing the solution where it does not. This is a separate step from evaluating the analogy. Evaluation asks whether the analogy is sound. Adaptation asks what to build, given that the analogy is partly sound.
Sort every element of the solution
Break the borrowed solution into its parts: steps, roles, rules, and numbers. For each part, ask what the source provided that made it work. Then check the target. Each part ends up in one of four groups.
| Decision | Condition | Example from a hospital-to-software transfer |
|---|---|---|
| Keep | The target provides what the part needs. | Rank incoming items by urgency. |
| Modify | The idea holds, but a parameter must change. | A 2-minute assessment becomes a 5-minute review. |
| Replace | The need is real, but the target must meet it a different way. | A dedicated nurse becomes a rotating engineer. |
| Drop | The part depends on something the target lacks and does not need. | Referring patients to another hospital. |
The mistake to avoid is treating the whole solution as one block that you either accept or reject. Most useful adaptations keep the core relation and change the surroundings.
Find constraints the source never had
Your target has constraints that the source domain did not impose, so the source solution was never tested against them. Check these categories explicitly.
- Resources. Money, people, compute, or attention. A source with many cheap workers does not transfer to a team of three.
- Scale. Ants coordinate through local chemical signals, which works across thousands of ants. The same scheme may fail with five agents, or with five million.
- Speed of feedback. A source may give results in seconds while your target gives them in months. A trial-and-error solution then becomes too expensive.
- Rules and costs of error. A source may tolerate failed attempts (evolution discards failures). A target such as a medical device may not.
- People. Humans resist, game, and misunderstand rules. Physical or biological sources have no such behavior.
Write each constraint as a sentence, such as "Feedback arrives only at the end of the quarter." A vague worry cannot be checked against a part of the solution, but a sentence can.
Add what the source did not need
Sometimes the target requires something the source never had. These additions are not part of the analogy, and you must design them yourself without a source to copy.
For example, a source solution may have no way to handle duplicates because the source objects cannot be duplicated. A patient is one person, but a bug report can describe the same defect as ten other reports. A triage system for bug reports needs a merge step that the hospital version lacks. Label such steps as your own additions. This keeps you honest about which parts of the design have the support of a proven source and which are untested.
Worked example: triage applied to a bug backlog
Suppose a small team has 200 open bug reports and no agreed order for fixing them. You borrow emergency-room triage. The mapping is patients to bug reports, the nurse to a reviewer, and urgency categories to severity labels.
The code below records each source element with what it requires from the target and, where one exists, a substitute. The function then produces an adaptation plan. It is a bookkeeping aid. It cannot judge whether a substitute is good, which is still your job.
# Each element: (name, what it needs from the target, substitute or None)
source_elements = [
("rank patients by urgency", {"urgency signal"}, None),
(
"a dedicated nurse assesses every arrival",
{"dedicated assessor"},
"a rotating engineer does a 5-minute review",
),
(
"treat the most urgent patient first",
{"urgency signal", "spare capacity"},
None,
),
(
"refer patients you cannot treat to another hospital",
{"external referral"},
None,
),
]
# What the target (a three-person team) actually provides
provided = {"urgency signal", "spare capacity"}
def adapt(elements, provided):
"""Decide keep / replace / drop for each source element."""
plan = []
for name, requires, substitute in elements:
missing = requires - provided
if not missing:
plan.append(("keep", name))
elif substitute:
plan.append(("replace", substitute))
else:
plan.append(("drop", name))
return plan
for decision, item in adapt(source_elements, provided):
print(f"{decision:8} {item}")Running it prints:
keep rank patients by urgency
replace a rotating engineer does a 5-minute review
keep treat the most urgent patient first
drop refer patients you cannot treat to another hospitalThe plan still has gaps that the code cannot see. First, "treat the most urgent first" has a failure mode in a backlog. In a hospital, patients leave the queue because they are treated or they die. Low-severity bugs sit forever, so a strict urgency rule starves them. You need a rule that the source lacked, such as raising a bug's priority after 60 days without activity. Second, the merge step for duplicates is also an addition. Both go into the design, marked as your own.
The adaptation loop
Adaptation is iterative. You adjust, then check whether the adjusted solution still carries the relation that made the source work. If you have changed so much that the core relation is gone, you no longer have an analogical solution. You have a new design with a borrowed name.
The test at the end of the loop matters most. Ask which relation you originally borrowed, for example "work is ordered by urgency, so scarce attention goes where delay costs most", and check that your adapted design still does that.
Common errors in adaptation
- Copying the numbers. Thresholds, rates, and sizes in the source are tuned to its conditions. Treat them as starting guesses and plan to tune them on the target.
- Dropping the hard part. A step is easy to drop because it is costly in the target. Before you drop it, ask what job it did. The nurse's assessment keeps the queue honest, and removing it leaves an unreliable ranking.
- Adapting until nothing remains. Each change is reasonable, but together they remove the property that made the source work. Run the core-relation check after every few changes, not only at the end.
- Hiding your additions. Design pieces with no source support carry more risk. Keep a short list of them so you know where to test first.
- Adapting to the source's constraints. You may keep rules that exist only because of the source, such as "wait times must be under four hours". Ask whether the target has any such requirement.
Exercises
Exercise
A team borrows "ant colony foraging" (many simple agents leave trails that strengthen on good routes and fade on bad ones) to route 4 delivery vans. List one source element you would keep, one you would replace, and one you would add that the source never needed. Name the core relation the design must still preserve.
Show answer
Keep: reinforcing routes that worked well, because the van team can record delivery times. Replace: thousands of ants exploring in parallel, which a four-van fleet cannot match, so substitute historical route data or simulated trips. Add: handling of road closures and customer time windows, which ants never face. The core relation to preserve is that good routes get reinforced and bad ones fade, so the next choice is guided by accumulated past outcomes. Other answers are acceptable if each element is justified against a stated constraint (here, a very small number of agents).
Exercise
In the triage example, why does "treat the most urgent first" need an added rule when it is moved to a bug backlog, even though the target provides the urgency signal and spare capacity?
Show answer
In the hospital, patients leave the queue because they are treated or die, so low-urgency patients are eventually handled or no longer matter. Bugs do not leave. Low-severity reports stay in the queue and a strict urgency rule never reaches them (starvation). The source never needed a rule against this, so you must add one, such as raising priority after a period without activity.