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.
Glossary
Recourse Feasibility

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core concepts that define whether a counterfactual recommendation can be realistically acted upon by an end-user, bridging the gap between mathematical explanations and real-world constraints.
Action Set
A formal specification of the permissible modifications a user can make to each feature, defining the boundary between actionable and non-actionable changes. The action set is the foundational constraint for feasible recourse.
- Components: Per-feature mutability flags, direction of change (increase/decrease), and cost functions
- Example: For loan applications, 'income' may be increasable but 'credit history length' is immutable
- Integration: Encoded directly into counterfactual generation algorithms to ensure output feasibility
Immutable Feature
A protected input attribute that cannot be changed and must be held constant when generating counterfactual explanations. Immutable features are the hard constraints of recourse feasibility.
- Common examples: Age, place of birth, race, gender, historical events
- Causal immutability: Some features are immutable due to temporal logic—you cannot change the past
- Legal immutability: Protected attributes under regulations like GDPR or the EU AI Act must never be used to prescribe changes
Feasibility Constraint
A hard rule encoded into a counterfactual generation algorithm that prevents the modification of immutable features or enforces causal monotonicity. Feasibility constraints ensure generated explanations respect the laws of physics and society.
- Types: Immutability constraints, directional constraints (e.g., age only increases), causal constraints from SCMs
- Enforcement: Applied as optimization constraints or post-hoc filtering during counterfactual search
- Trade-off: Tighter constraints may increase counterfactual distance but guarantee real-world applicability
Recourse Robustness
The property that a counterfactual recommendation remains valid and flips the prediction even after the underlying model is retrained or slightly updated. Recourse robustness addresses the temporal dimension of feasibility.
- Problem: A counterfactual valid today may fail tomorrow if the model is updated
- Measurement: Probability that a recourse action remains valid across model retraining runs
- Mitigation: Robust recourse algorithms generate counterfactuals that cross the decision boundary with sufficient margin, accounting for model uncertainty
Plausible Counterfactual
A counterfactual instance that lies within the high-density region of the training data distribution, ensuring the explanation is realistic and not an adversarial artifact. Plausibility is a critical dimension of feasibility.
- Why it matters: A counterfactual suggesting a 25-year-old earn $500,000/year is mathematically valid but implausible
- Measurement: Density estimation using Gaussian mixture models or autoencoder reconstruction error
- Distance metrics: Mahalanobis distance accounts for feature correlations better than Euclidean distance for plausibility assessment

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us