Rank Suggested Follow-Up Prompts Shown Under ChatGPT Answers

Last updated: November 29, 2026

Quick Overview

After ChatGPT answers, the product shows up to three suggested follow-up questions. A language model can generate many candidates; design how you would rank and choose which three to show, including the training signal, features, and evaluation.

OpenAI
Machine Learning
Machine Learning Engineer
OpenAI
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

0

0 solved


After ChatGPT answers, the product shows up to three suggested follow-up questions. A language model can generate many candidates; design how you would rank and choose which three to show, including the training signal, features, and evaluation.

Suggestion surfaces are a ranking problem layered on generative candidates, and OpenAI cares about whether suggestions help users rather than just attract clicks. The interviewer looks for a sound label, position bias handling, diversity, and an offline to online evaluation plan.

What the Interviewer Expects
  • Separates candidate generation from ranking
  • Chooses a label beyond raw click, such as a click followed by a satisfying turn
  • Corrects for position bias in logged data
  • Enforces diversity across the three slots
  • Defines offline metrics and an online experiment
Key Topics to Cover
learning to rank
position bias
diversity
implicit feedback
NDCG
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you handle a brand new conversation topic with no history of clicks?
  • How would you stop suggestions from steering users toward unsafe topics?
  • Would you personalize suggestions, and what are the privacy concerns?
  • How do you trade off ranking quality against latency, since suggestions appear right after the answer?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Goal: help users go deeper usefully, measured by whether they continue a satisfying conversation, not by click rate alone. Latency budget: suggestions must appear within about a second of the answer f...

Approach
  1. Candidates: a small fast model generates 10 to 20 follow-ups conditioned on the last exchange.
  2. Label: positive if clicked and the next answer is not regenerated or thumbed down; negative...

Submit Your Answer
Markdown supported