Algorithmic recourse is the ability of a person who received an unfavorable automated decision to obtain a better outcome by changing actionable features within a reasonable cost, together with the concrete recommendation that tells the person which changes would work. In AI ethics, it turns an explanation into a path to a different result: a rejected loan applicant learns not only why the model said no, but what realistic steps would lead it to say yes.
The concept is also called actionable recourse. It sits between counterfactual explanation, which describes how inputs would have to differ, and contestability, which concerns the right to challenge a decision. Recourse adds the requirement that the proposed changes are feasible, causally sound and durable for the affected individual.
How algorithmic recourse is computed
Recourse is computed as a constrained optimization problem: find the lowest-cost set of feature changes that moves an individual from the rejected side of the decision boundary to the accepted side. The classifier is fixed, and the search runs over the person’s own feature vector, subject to rules about which features may change and in which direction.
Three ingredients define every recourse method. A cost function measures how hard each change is for the person, often weighted by percentiles of the feature distribution so that moving from the 40th to the 50th income percentile costs the same as any other ten-point move. Actionability constraints freeze immutable attributes such as age or birthplace and restrict monotone features, so that education can only increase. A validity condition requires the changed profile to receive the favorable prediction.
The table below summarizes the main components and the role each one plays in the search.
| Component | What it specifies | Typical choice |
|---|---|---|
| Cost function | Effort required for a change | Percentile shift or weighted L1 distance |
| Actionable set | Features the person can alter | Income, savings, debt, skills |
| Immutable set | Features that must stay fixed | Age, race, sex, place of birth |
| Monotone constraints | Allowed direction of change | Education and tenure only increase |
| Validity threshold | Required model outcome | Score above the approval cutoff |
| Plausibility term | Realism of the new profile | Density or distance to real data |
For linear models such as logistic regression, the problem can be solved exactly with integer programming, which also certifies when no recourse exists. For neural networks and tree ensembles, practitioners use gradient-based search, mixed-integer encodings of trees, or genetic algorithms, accepting approximate answers.
Recourse compared with related concepts
Algorithmic recourse is often confused with counterfactual explanation, yet the two answer different questions. A counterfactual explanation states the nearest input that would flip the prediction, even if that input requires changing age or reversing time. Recourse restricts the answer to changes a person can actually make.
| Concept | Main question | Output for the individual |
|---|---|---|
| Counterfactual explanation | What input would change the result | A hypothetical alternative profile |
| Algorithmic recourse | What can I do to change the result | A feasible action plan |
| Feature attribution | Which inputs drove the score | Importance values such as SHAP |
| Contestability | Can I challenge the decision | An appeal or review procedure |
| Individual fairness | Are similar people treated alike | No direct action plan |
A key insight from the research literature is that explaining a decision is not the same as enabling change. A feature attribution may show that debt ratio matters most, yet it does not say how much debt must be repaid. Recourse quantifies that amount and checks that the plan is reachable from the current state.
Causal recourse and why independence fails
Early methods treated features as independent levers, which produces misleading advice. In reality, features influence one another: raising education typically raises income over time, and changing jobs resets employment tenure. Ignoring these links can recommend an action that is impossible or that triggers side effects the model penalizes.
Causal recourse models the problem as interventions on a structural causal model. The recommended action becomes a set of interventions whose downstream consequences are propagated before validity is checked. This makes recommendations cheaper when one action produces several helpful effects, and safer when an action would undo other progress. The main obstacle is that the causal graph is rarely known with confidence, so practitioners use partial graphs or probabilistic versions that average over plausible models.
Properties of good recourse recommendations
A useful recommendation must satisfy several properties at once, and they frequently pull against each other. The table lists the properties most often required in practice and how each one can fail.
| Property | Meaning | Failure if missing |
|---|---|---|
| Feasibility | Achievable by the person | Advice to change age or ethnicity |
| Low cost | Minimal effort or time | Unrealistic income increases |
| Robustness | Still valid after model updates | Approval denied after retraining |
| Diversity | Several alternative plans | Single option the person cannot take |
| Fair cost | Similar burden across groups | Higher recourse cost for minorities |
| Privacy safety | Limited leakage of model internals | Model extraction through queries |
Robustness over time is a central practical concern. Lenders retrain credit models regularly, so a plan that was valid in January may fail in July. Robust recourse methods add a margin beyond the decision boundary or optimize against a set of plausible future models, which raises cost but protects the person who invested effort.
Recourse fairness extends group fairness to the cost of recovery. Two groups may have equal approval rates while one group faces systematically higher recourse cost, meaning its rejected members must work harder to be approved. Auditors therefore compare the distribution of recourse cost across protected groups.
Where recourse applies and how to deploy it
Recourse matters most in high-stakes allocative decisions where the affected person can reasonably change the outcome. Regulation reinforces the need: adverse action notices under United States credit law and the GDPR provisions on automated decision-making both push organizations to explain decisions in terms people can act on.
| Domain | Decision | Common actionable features |
|---|---|---|
| Consumer lending | Loan approval or limit | Debt ratio, savings, payment history |
| Hiring screens | Interview invitation | Certifications, skills, experience |
| Insurance pricing | Premium tier | Safety devices, claims history |
| Public benefits | Eligibility | Documentation, registration status |
| Content moderation | Account restriction | Policy compliance, verification |
A sound deployment combines the optimizer with domain review. Teams define actionable and immutable features with legal and subject experts, calibrate cost functions with real users, present two or three alternative plans, and log the recommendations so they can be honored if the model changes.
Limitations and open problems
- Gaming versus improvement: some recommended actions change the score without improving the underlying qualification, which can erode model accuracy.
- Unknown causal structure: causal recourse depends on assumptions that are hard to verify.
- Cost is subjective: the same change may be easy for one person and impossible for another.
- Infeasible cases: when no recourse exists, the system must say so honestly rather than offer a misleading plan.
- Trade-off with security: detailed recommendations can reveal model logic to adversaries.
Put simply
Algorithmic recourse means a computer that says no should also tell you how to get a yes. The advice must be something you can really do. It should not ask you to be younger or born elsewhere.
Think of a fitness test with a clear pass mark. A good coach does not only report that you failed. The coach says you need to run two minutes faster and suggests a plan. Recourse is that coaching for automated decisions. It works best when the advice stays valid if the test changes later.
In practice
A regional credit union uses a gradient-boosted model to approve personal loans. An applicant earning a steady salary is declined because the debt-to-income ratio of 46 percent exceeds what the model tolerates. The compliance team requires every adverse notice to include feasible improvement options rather than a list of reasons alone.
The recourse engine freezes age and address, allows only reductions in debt and increases in savings, and searches for low-cost changes with a safety margin above the cutoff. It returns two plans: repay 2,400 dollars of card balance to bring the ratio to 39 percent, or add a co-signer with stable income. Both plans are logged and honored for six months even if the model is retrained.
The applicant pays down the balance within four months and is approved on reapplication. The credit union also reviews recourse costs across demographic groups each quarter and finds no significant cost gap, which supports its fair lending documentation.