Inferensys

Glossary

Recourse Feasibility

The degree to which a counterfactual recommendation respects real-world constraints, such as immutable features, causal relationships, and user capabilities.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
ACTIONABLE EXPLANATIONS

What is Recourse Feasibility?

Recourse feasibility defines the degree to which a counterfactual recommendation respects real-world constraints, ensuring that suggested changes are actually achievable by the end-user.

Recourse feasibility is the technical property that a counterfactual explanation respects immutable features, causal relationships, and user capabilities. It ensures that an algorithmic recourse recommendation—such as 'increase your income by $20,000'—is filtered through an action set to prevent suggesting changes to protected attributes like age or birthplace. Without feasibility constraints, a generated counterfactual is mathematically valid but practically useless.

Feasibility is enforced through hard feasibility constraints encoded into the generation algorithm, often using a causal graph or structural causal model (SCM) to prevent violations of causal monotonicity. This distinguishes actionable recourse from generic counterfactual search by measuring distance only over mutable features, often using the Mahalanobis distance to ensure the recommendation lies within a high-density, plausible region of the data distribution.

ACTIONABILITY CONSTRAINTS

Core Characteristics of Recourse Feasibility

Recourse feasibility defines the boundary between a mathematically valid counterfactual and a practically useful one. It ensures that explanations respect real-world constraints, enabling users to act on recommendations.

01

Immutable Feature Constraints

The foundational rule of feasible recourse: immutable features cannot be changed. A counterfactual suggesting a user alter their age or place of birth is invalid. Algorithms must hard-code these constraints into the optimization process, treating them as non-modifiable axes in the feature space. This transforms the search from an unconstrained perturbation problem into a constrained optimization within a valid action set.

02

Causal Feasibility

Feasibility requires a causal model of the world. Changing a feature like 'education level' should cascade to update dependent features like 'income' according to a Structural Causal Model (SCM). Without causal reasoning, a counterfactual might suggest increasing income without changing education, creating an unrealistic or impossible scenario. Causal constraints ensure the counterfactual respects the data-generating process.

03

Actionable Subset Specification

The action set formally defines the permissible interventions. It specifies:

  • Mutable features: Variables the user can change (e.g., savings amount).
  • Directionality: Whether a feature can only increase (e.g., age) or decrease (e.g., debt).
  • Step size: The granularity of change (e.g., integer constraints for 'number of dependents'). This specification prevents the generation of mathematically minimal but practically useless advice.
04

Plausibility and Data Manifold Adherence

A feasible counterfactual must be plausible, meaning it lies within the high-density region of the training data distribution. Using Mahalanobis distance instead of Euclidean distance helps achieve this by accounting for feature correlations. A counterfactual that crosses the decision boundary but falls in a zero-probability region of the data manifold is an adversarial artifact, not a viable path for recourse.

05

Recourse Robustness

A feasible recommendation must be robust to model retraining. If a user implements a change only to find the updated model still rejects them, the recourse was fragile. Feasibility engineering often involves searching for counterfactuals that are not just on the decision boundary but are deeply embedded within the target class region, ensuring the prediction remains stable across minor model updates.

06

User Capability and Cost Alignment

Feasibility extends beyond mathematical constraints to user-centric capabilities. A recommendation to 'increase capital gains by $50,000' is actionable for some but not all. Advanced feasibility frameworks incorporate personalized cost functions that weigh feature changes by the difficulty or financial burden they impose on a specific individual, ensuring the recourse is not just possible, but practically achievable for the end-user.

RECOURSE FEASIBILITY

Frequently Asked Questions

Addressing the most common technical and strategic questions about ensuring counterfactual recommendations are actionable, realistic, and respect real-world constraints.

Recourse feasibility is the degree to which a counterfactual recommendation respects real-world constraints, ensuring the suggested changes are actually actionable by the end-user. It formally bridges the gap between a mathematically minimal counterfactual and a practically achievable one. A feasible recourse must satisfy an action set—a formal specification of permissible modifications—while holding immutable features constant. For example, a loan application model might suggest 'decrease age by 10 years' as a minimal counterfactual, but this is infeasible. A feasible alternative would instead recommend 'increase annual income by $5,000' and 'reduce credit utilization to 20%', as these are within the applicant's actionable domain. The concept is central to algorithmic recourse, ensuring that explanations translate into genuine empowerment rather than theoretical artifacts.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.