Year 4 / Module 27

Designing and evaluating adaptive and intelligent systems

HCI4103 · 15 credits · Level 7

Personalisation, recommenders, conversational agents and large language model interfaces, with evaluation that can be trusted.

Ten units

  1. 1The user model is a defeasible inference, and it fails firstEvery adaptive system acts on a model of the user that is inferred from partial data and that the system itself cannot check, so the design question is not whether to model the user but whether the model can be inspected, corrected and refused; a system that hides its model converts an inference error into a failure the person using it experiences as their own.
  2. 2Adaptive hypermedia built the field's design taxonomy, then stalled on a negative resultAdaptive hypermedia produced the field's only complete taxonomy of adaptation, presentation against navigation, and then its empirical programme found that the benefits of link adaptation were conditional and often small, so recommender systems inherited the taxonomy while leaving behind the authoring discipline and the scrutability constraints that the earlier field had insisted on.
  3. 3The technique family fixes the justification the interface can giveA recommender can only justify itself in terms of the mechanism it was built on, and because collaborative filtering can explain an item by resemblance to other people while content-based and knowledge-based methods can explain it by its own attributes, the explanatory reach of the interface is settled by an algorithmic choice that teams usually make on accuracy grounds alone.
  4. 4Cold start is the product, not a temporary scaffoldThe user with no history is not an edge case on the way to personalisation but the case in which the system reveals the population default it falls back on, and the literature shows that asking a few questions beats imputing preferences, so how a system behaves before it knows you is a statement about which majority the design assumes.
  5. 5Offline accuracy on logged data is not evidence of benefitBecause recommender evaluation fits and scores on data the system itself influenced, the metrics that dominate the field reward agreement with past exposure, and the reproducibility audits and split-protocol studies show that much of the reported progress disappears when the protocol is corrected, so a claim for an adaptive system needs an interventional or business-level measure before it should be believed.
  6. 6Accuracy is a single-stakeholder metric wearing a neutral nameRecommender quality is multi-objective and multi-stakeholder, and the evidence that engagement-shaped accuracy trades against diversity, provider fairness and long-run utility means the metric set a team chooses is a statement about whose interests the system is built to serve rather than a neutral technical default.
  7. 7The filter bubble claim confuses exposure with selectionThe strong claim that personalisation causes narrowing mixes what an interface offers with what a person chooses, and the studies that can separate the two find selection effects larger than curation effects, so the defensible position is that platforms control exposure, that exposure is measurable, and that the claim about algorithms producing polarised beliefs is not carried by the evidence usually cited for it.
  8. 8Adaptation moves the interface, and moving it costs the userAdaptive change to an interface imposes learning and predictability costs that rise with how much of the interface moves, so the literature's positive results come from advisory and user-triggered adaptation while automatic relayout of frequently used controls tends to lose to a stable interface, which makes automating the underlying task and adapting the surface very different propositions.
  9. 9Conversational agents fail at repair, not at languageDialogue gives the interface its only native means of asking what it does not know, yet the deployed record shows conversational agents rarely repair and that the mismatch between the user's conversational expectations and the system's competence ends interactions more often than recognition errors do, so the test for a conversational system is whether the task survives a misunderstanding rather than whether the output sounds natural.
  10. 10Adaptive tutoring is the best-evidenced adaptation, and the effect is smaller than the promiseIntelligent tutoring is the only class of adaptive system with meta-analytic evidence of learning benefit, but the pooled effects are far below Bloom's two-sigma figure and shrink under stricter design, so adaptivity's strongest evidence supports substituting for supervised practice with feedback rather than for teaching, and the two-sigma number describes tutoring rather than adaptivity.

10 of 10 units written. Rows marked in preparation have no body yet.

Code HCI4103Credits 15Level 7Year 4

Specification

Assessment is by coursework unless a row says otherwise.
AssessmentWeightType
Adaptive system design and prototype45%coursework
Generative feature evaluation study40%coursework
Red team report15%coursework

What you will be able to do

  • Design a recommender interface and state the feedback loop it creates.
  • Explain the failure modes of a large language model interface and design a guardrail for each.
  • Evaluate a generative feature with methods that do not assume a single ground truth.
  • Design for uncertainty in a system whose confidence varies.
  • Report an evaluation so that a reader can judge its validity.

The reading this module rests on

  • Jannach, D. et al. Recommender Systems: An Introduction. Cambridge University Press. The technical base, with the evaluation chapter most relevant here.
  • Amershi, S. et al. (2019). Guidelines for human-AI interaction. CHI 2019. Revisited at master's level, with the provenance examined.
  • Horvitz, E. (1999). Principles of mixed-initiative user interfaces. CHI 1999. Still the design vocabulary for shared control.
  • Recent CHI and CSCW papers on large language model interfaces, selected each year by the module leader. The literature moves faster than any textbook; the module teaches the reading method.

Designing and evaluating adaptive and intelligent systems

A system that adapts changes what it shows or does in response to the person using it. That change is a claim about the person, inferred from data, and the system cannot check whether the claim is right. Design and evaluation therefore arrive together. You cannot judge an adaptation without the signal behind it. You cannot judge that signal without watching what the interface does to the data.

The contested question is whether adaptivity earns its cost. One position holds that personalisation reduces overload by removing irrelevant options. The other holds that it removes the information a person needs to notice the system is wrong. The evidence supports something narrower: adaptation changes behaviour, and how much depends on the task and on whether the person can tell what was adapted.

Adaptation is a claim about the user, and the claim can be wrong

Every adaptive system keeps a model of the person, and that model fails first. Preferences can be acquired implicitly, by monitoring what someone views or buys, or asked for explicitly (Jannach et al., 2010). Implicit signals are cheap, continuous and ambiguous. A click is not an endorsement. Opening an article to check claims teaches the system that you like them.

Two failures follow. The cold start: a new user has no history, so the system falls back on population defaults, which personalisation was meant to replace. The feedback loop: what the system shows shapes the behaviour it later learns from. A recommender that offers one kind of item collects the evidence that it was right.

Jannach and colleagues open with a bookstore. A regular visitor there sees a personalised list, because the system remembers their history (Jannach et al., 2010). The list gives no account of itself. Amershi and colleagues codified over 150 design recommendations into 18 guidelines, validated by 49 practitioners against 20 AI-infused products (Amershi et al., 2019). The relevant ones ask a system to make clear what it can do, and how well. They also ask it to learn from behaviour, and to offer a global control.

Two ways to recommend, and the interface each one forces

Collaborative filtering bets on resemblance. If two people agreed in the past, they will probably agree in future. An item one of them has since chosen can then be offered to the other (Jannach et al., 2010). It works where many users rate many of the same things. Its interface consequence is that other people justify the recommendation: the standard label reports that customers who bought this also bought it. That says others like you chose it, not what it is like.

A content-based recommender describes each item by its attributes and matches them to a profile. The interface can then give a reason of the form because you read this (Jannach et al., 2010). That reason is only as good as the metadata, which says what an item is, not whether it is good. Knowledge-based and hybrid methods cover the case where behaviour is too thin to learn from.

The measurement problem sits underneath both: an offline score is computed against choices people made under an earlier version of the system. Jannach and colleagues give a whole chapter to evaluating recommender quality (Jannach et al., 2010, chapter 7).

The filter bubble claim, and what the evidence shows

The strong filter bubble claim is that personalisation narrows exposure and produces an echo chamber. Flaxman, Goel and Rao tested it on browsing histories for 50,000 United States users who regularly read online news (Flaxman, Goel and Rao, 2016). Their findings cut both ways. Social networks and search engines were associated with a rise in the mean ideological distance between individuals. The same channels were also associated with a rise in a person's exposure to the side of the spectrum that they preferred less. Most news consumption was direct visits to favourite mainstream home pages, and the authors call the magnitudes modest.

What the study cannot establish matters as much. It is an association from browsing logs in one country, so it cannot separate what an interface offered from what the person opened. The outcome is the mix of articles reached, not what anyone believed. The firm reading is narrower: the interface controls exposure, and exposure is measurable.

Mixed initiative and the timing of action

Horvitz's 1999 paper founded the idea of shared control. It argues for coupling automation and direct manipulation rather than opposing them (Horvitz, 1999). Its decision-theoretic core is the part to keep: acting under uncertainty compares expected costs and benefits, not model accuracy. When the expected value of acting exceeds the value of waiting, autonomy is warranted. The principles that follow ask a system to reason about the user's goals. They ask it to time interventions against attention, to resolve key uncertainties by dialogue, and to keep a wrong guess cheap.

The worked case is Lookout, a scheduling and meeting assistant. It reads the message on screen and infers whether a meeting is proposed. It then decides whether to offer to add it to the calendar (Horvitz, 1999). The design assumes wrong guesses, so a bad inference still leaves the person near the right point. When confidence falls between the thresholds for dialogue and for action, the system can ask rather than act.

The limit is that this is a position statement built on one prototype with no controlled evaluation. Cite it for the framing, not for an effect size.

Conversational agents fail at repair, not at speech

Luger and Sellen interviewed 14 users of conversational agents about everyday use (Luger and Sellen, 2016). Expectations were dramatically out of step with how the systems worked, particularly about the machine's intelligence, capability and goals. People brought a model of human conversation to the interaction and revised it only through failure, because nothing told them what the system can do. The result is a deep gulf of evaluation. Users were unable to judge how much the system understood. They confirmed visually on all but the simplest tasks and avoided it for complex or sensitive ones.

Reveal capability before failure, not inside a failure message. A person who cannot judge capability blames themselves and drops the task. The paper records where dialogue pays. Its list includes filtering a large set and following a path, plus queries built over several turns. Against that promise it reports recognition errors, unintelligible responses and hard to navigate dialogues. Its sample used the agents hands free, with attention elsewhere.

The test for voice is whether the task survives the failure, not whether the system sounds natural. Voice earns its place in short repeated commands with a small vocabulary, used while the hands are busy. Browsing a list and comparing two options cost the most. So does repairing a mistake. The study is small, mostly male, United Kingdom based and from 2016.

Systems that write: what fluency hides

Prompt text is the interaction surface, and what an assistant remembers of earlier turns is context that shapes the next answer. Bender and colleagues ask whether language models can be too big (Bender et al., 2021). Two points carry into design. These models are not performing natural language understanding and succeed on tasks handled by manipulating linguistic form. And building datasets larger than a team can document creates documentation debt. Nobody can then say what it was trained on, or what it excluded.

Hallucination follows from the first point rather than from a bug. A generator optimised for fluency produces a sentence with no source behind it that reads exactly like a grounded one. People impute meaning where there is none (Bender et al., 2021). The interface duty is separation, so that retrieved text looks different from generated text and a claim carries its source.

Sycophancy arrives through the training signal. Sharma and colleagues found five state-of-the-art assistants showing sycophancy across four free-form generation tasks. They traced it to preference data: answers agreeing with a user's view were more likely to be preferred (Sharma et al., 2023). Human raters and preference models also preferred a convincing sycophantic answer over a correct one a non-negligible fraction of the time. A system tuned on approval is a poor source of disagreement, so the interface needs a route to a second opinion.

The retrieved page is part of the attack surface

Prompt injection is usually described as a text problem, but Greshake and colleagues show it is a boundary problem. Applications built on language models blur the line between data and instruction. An attacker can therefore place instructions in content the system is likely to retrieve, without touching the interface (Greshake et al., 2023). They demonstrated the attacks against deployed systems, including Bing's GPT-4 powered chat, and report that processing retrieved text can amount to arbitrary code execution. They also state that effective mitigations were lacking at the time.

Guardrails follow, and they are design decisions. Treat retrieved content as data, in a channel the model cannot read as instruction. Put a confirmation step before any irreversible action, and scope permissions to the task. Amershi and colleagues reach the same place, with guidelines on scoping a service and on correction (Amershi et al., 2019). These patterns reduce the attack surface, and no source read here claims they close it.

Evaluating a system with no single right answer

Benchmarks are built for tasks with one right answer. Zheng and colleagues describe the gap that they filled. Existing benchmarks were inadequate for measuring human preferences about chat assistants (Zheng et al., 2023). They built MT-bench, a multi-turn question set, and Chatbot Arena, a crowdsourced comparison platform, and studied a strong model as judge. A strong judge matched controlled and crowdsourced human preferences with over 80 per cent agreement. The authors call that agreement human-level.

The judge also carries documented biases, including position, verbosity and self-enhancement, and limited reasoning (Zheng et al., 2023). The circularity matters most. A judge from the same family as the system under test is not an independent rater. Sharma and colleagues supply the case. A preference model that favours a convincing sycophantic answer rewards the behaviour the team is trying to reduce (Sharma et al., 2023).

Where benchmarks reach nothing, red teaming is the fallback. Ganguli and colleagues red teamed four model types at three sizes and released the 38,961 attacks they collected. They found that models trained with human feedback grew harder to red team with scale. The other types stayed flat (Ganguli et al., 2022). They publish their methods and are candid about their uncertainty. Two limits follow. Red teaming samples attacks rather than estimating how often harm occurs in use. It also finds what the team thought to look for.

Reporting practice is what lets a reader judge. Name the model version and date, the raters and how they were recruited, the agreement between them, and the failure modes that it cannot see.

Showing what the system does not know, and shipping it anyway

Uncertainty has to be shown at the moment of decision. Horvitz asks a system to reduce the precision of its service as uncertainty rises. His argument is that doing less correctly beats doing more wrongly (Horvitz, 1999). Amershi and colleagues restate it. Make clear how well the system can do what it can do. When in doubt, scope the service (Amershi et al., 2019). A confidence percentage rarely helps: it moves the problem onto the user, who cannot calibrate it. The useful display is a boundary: the cases where the system will not act, and what it does instead.

This assumes that the model stays still, and it does not. A feature is tested against one version and runs against the next, so the evaluation describes a system that no longer exists. Bender and colleagues name documentation debt. They argue for documenting the data behind a model rather than ingesting everything available (Bender et al., 2021). Amershi and colleagues give the interface half: update and adapt cautiously, and notify users about changes (Amershi et al., 2019). One participant in that study reported recommendations that shifted every week with no explanation of what had changed.

The next problem is the display of evidence around the model. Show a person the distribution, the gap and the source instead of one confident answer. Data visualisation and visual analytics continue from there.

Check your understanding & apply it · 7 questions, 2 essays

1A team launches a recommender that learns from what people have bought, and on the first day every new customer sees the same list of popular items. A colleague calls this a bug in the ranking code. Which explanation follows the account of adaptation given here?
2A recommender is evaluated offline against the purchases recorded over the previous two years, and it scores well. What does the material on adaptation and recommenders say about reading that score as evidence of quality?
3Which statement is supported by Flaxman, Goel and Rao's analysis of browsing histories for 50,000 users who regularly read online news?
4An assistant wants to interrupt a person to offer a meeting it has inferred from the message on screen. Applying Horvitz's framing, what should govern the decision to interrupt?
5A voice assistant reads back a short confirmation correctly, but the same interface loses the user when asked to compare three train options. Using Luger and Sellen's findings, which diagnosis fits best?
6A team evaluates its assistant by asking a model from the same family to score the answers, and reports a high score as evidence of quality. Which criticism does the source material support?
7An assistant answers questions by reading pages from the web. A product page contains a line instructing the assistant to send the user's history to another address. Which response matches the material on indirect prompt injection?
8Essay A university library asks you to design a personalised reading recommender for returning students. State what is adapted and on what signal, name the feedback loop your design creates, and say what evidence would show that the loop is harming students rather than helping them.
9Essay You must evaluate a draft generative feature before release, and the team wants a model to act as the judge. Design the evaluation and the report, dealing with the circularity of model-based judging, the limits of red teaming, and the reporting practice that would let a reader judge your result.