Manuscript Offprint
arXiv:2610.35483Visible Reasoning: User-Facing Decision Transparency for Generative AI Systems
Sanjay Krishna Anbalagan , Xinrui Nie , Anughna Kommalapati , Vijay Kumar Kanamarlapudi , Sreekanth Radhakrishnan , Xiaodan Zhao , and Umesh Mohan
Amazon Web Services, USA
Abstract. Across multiple waves of computing, public trust in new technology has followed the emergence of governance mechanisms that made dominant risks legible and manageable. Generative AI shifts this pattern: these systems synthesize across heterogeneous sources, and users increasingly experience them as reasoning systems. The central question changes from “did it perform correctly?” to “can we trust how it arrived at its conclusion?”
This paper introduces Filtered Decision Logs (FDLs), a user-facing transparency mechanism that makes decision formation visible without exposing raw chain-of-thought. FDLs pair each response with (i) a concise decision rationale, (ii) influence-ordered supporting data points derived from tool outputs, and (iii) relevance indicators showing which sources most shaped the conclusion. To operationalize evidence selection, we propose a trace-based method that reconstructs observability telemetry into a provenance tree and ranks evidence using four deterministic semantic and structural signals—Final Answer Similarity, Average Relevancy, Persistence, and Structural Proximity—combined via adaptive weighted scoring. We demonstrate FDLs across three domains: career advising (5 tools), investment analysis (4 tools), and travel planning (4 tools). In a formative evaluation with 50 participants (25 students, 25 working professionals in AI development), 92% rated the influence-ranked evidence as helpful for understanding and trusting the system's recommendation. Counterfactual tool-removal experiments confirm that removing the top-ranked source changes the answer more than removing a low-ranked source, validating that the ranking tracks decision dependence. We conclude that evidence-ranked transparency helps users identify misleading signals and missing context, enabling more confident acceptance, correction, or re-run of system decisions.
Keywords: Generative AI · Transparency · Trust · Observability · Provenance · Agentic Systems · Explainable AI · Human–AI Interaction
S.K. Anbalagan et al.
1 Introduction
New technology is rarely trusted simply because it exists; it becomes trusted when its risks can be governed. In earlier eras, governance co-evolved with adoption. Reliability concerns about mechanized work led to audits and verification; privacy concerns about networked information led to encryption and consent frameworks; and security concerns about cloud services led to compliance standards and operational controls. In each case, governance made risk tractable, and trust followed.
Generative AI changes the surface area of uncertainty. The user is not judging a deterministic procedure but a system that synthesizes across heterogeneous sources and produces persuasive outputs under incomplete information. For many tasks, users cannot easily validate correctness, and it is often ambiguous whether a failure arose from missing context, irrelevant evidence, tool errors, or flawed reasoning. Output-only interfaces force a brittle trust posture: either the user accepts an answer with insufficient grounds or rejects it without knowing how to correct it.
This challenge becomes sharper in modern agentic applications. Tool-augmented LLM agents [14,15] call external tools—APIs, databases, search engines—to gather real-time data before producing a response. When an investment advisor agent synthesizes stock prices, financial news, company fundamentals, and economic indicators into a recommendation, the user faces a fundamental question: which data sources actually shaped this answer, and how much? Without this information, the user cannot verify whether the recommendation is grounded in solid fundamentals or recent news hype, cannot challenge the recommendation by identifying potentially misleading sources, and cannot re-run the agent with different data source configurations to explore alternatives.
A human analogy clarifies the expected interaction. When people ask a parent for career advice, trust is grounded in shared context; when they ask an expert, trust is contingent on justification—users expect data points and reasoning before accepting the recommendation. In expert settings, transparency is not merely an explanation; it is a mechanism for verification, disagreement, and refinement. We argue that generative AI systems should support a comparable interaction: users should be able to inspect the evidence that shaped an answer and decide whether to accept it, provide missing context, or re-run the system with corrected constraints.
This paper introduces Filtered Decision Logs (FDLs) as a user-facing transparency artifact that provides evidence-backed decision transparency without exposing raw chain-of-thought. FDLs are built for the practical reality of modern systems: many generative applications already use tools and sub-agents, and many platforms already provide observability telemetry [8]. The missing piece is a method that transforms this telemetry into user-comprehensible, influence-ranked evidence—a “governance surface” that lets users evaluate the logic behind outputs rather than validating outputs alone.
-
Filtered Decision Logs: a user-facing transparency artifact consisting of decision rationale, influence-ordered supporting data points from tool outputs, and relevance indicators (Section 3).
-
Provenance reconstruction: a trace-based method that reconstructs an agent run into a provenance tree spanning LLM steps and tool artifacts (Section 4).
-
Deterministic influence ranking: a scoring method combining four semantic and structural signals with adaptive weighting, validated by counterfactual tool-removal experiments (Section 5).
-
Multi-domain prototype and formative evaluation: a research prototype demonstrated across three domains with formative feedback from 50 participants (Section 6–7).
2 Related Work
Our work intersects three research threads—training-data influence, explanation and rationale methods, and provenance and observability—but focuses on a distinct object: runtime evidence influence in tool-using agent traces, surfaced as a user-facing governance interface.
2.1 Training-Data Influence and Data Valuation
Influence functions, introduced by Koh and Liang [1], trace a model's prediction back to training examples most responsible for that prediction. Data Shapley, proposed by Ghorbani and Zou [2], evaluates training-data value using Shapley-based allocation principles. These methods answer a different question than ours: in tool-using generative systems, users need to know which runtime artifacts—retrieved documents, API responses, database rows—shaped the answer in the current run, not which training examples shaped the model's parameters. Our influence scoring operates at the runtime tool-output level, complementing rather than replacing training-data attribution.
2.2 Rationales, Interpretability, and Chain-of-Thought
Rationale extraction methods, such as those proposed by Lei et al. [3], learn to identify concise text fragments that justify a prediction. In large language models, chain-of-thought (CoT) prompting, introduced by Wei et al. [4], improves performance by eliciting intermediate reasoning steps. Wang et al. [5] further improved CoT by sampling multiple reasoning paths and selecting the most consistent answer.
These approaches improve reasoning performance and can provide natural-language explanations, but they do not directly solve the governance question
S.K. Anbalagan et al.
in tool-using systems: which external artifacts influenced the answer, and how strongly? Moreover, exposing raw chain-of-thought is not necessarily suitable as a user-facing governance mechanism. Turpin et al. [6] demonstrated that CoT traces do not always faithfully represent the model's actual decision process—models can produce coherent reasoning chains that lead to the correct answer for the wrong reasons. For governance purposes, self-narrated reasoning is a status update, not auditable evidence.
We draw on the concept of user-in-the-loop explanation interfaces. Chromik et al. [7] showed that users can overestimate their understanding from AI explanations alone, motivating more evidence-grounded transparency mechanisms. FDLs address this by providing quantified, verifiable evidence items rather than narrative explanations that may create an illusion of understanding.
2.3 Feature Attribution and Explainability
Feature attribution methods such as LIME, introduced by Ribeiro et al. [10], and SHAP, proposed by Lundberg and Lee [11], explain individual predictions by approximating local model behavior. LIME generates local linear approximations around a prediction to identify which input features contributed most, while SHAP uses Shapley values from cooperative game theory to provide theoretically grounded feature importance scores. These methods operate at the token or feature level; FDLs operate at the tool level, making them interpretable by non-technical users who understand “the news article had a 0.64 influence score” but not “token 47 had attention weight 0.03.”
2.4 Provenance, Observability, and Evaluation
Distributed tracing standards, such as OpenTelemetry [8], model execution as connected parent-child spans within a trace. Emerging frameworks like Langfuse [9] emphasize continuous, introspectable trace capture by instrumenting agents at runtime. Evaluation frameworks such as RAGAS, proposed by Es et al. [12], provide automated evaluation of retrieval-augmented generation using LLM-as-evaluator patterns. Our work complements these efforts by transforming connected traces into influence-ordered evidence per answer—a specific transparency artifact designed for end users rather than developers.
2.5 Why Not Ask the Model?
A natural question is: why not simply ask the LLM which evidence it used? We distinguish three paradigms for decision transparency based on evaluation independence—whether the transparency mechanism depends on the same generative process it is meant to make transparent (Table 1).
The analogy is a financial audit: the auditor does not ask the company “were your transactions legitimate?”—they examine the receipts, trace the money flow, and independently verify what happened. FDLs provide this evaluation independence: the scoring mechanism is entirely separate from the reasoning mechanism.
Table 1. Three paradigms for AI decision transparency. Evaluation independence determines suitability for governance.
| Paradigm | Deterministic | Verifiable | Governance |
|---|---|---|---|
| LLM-as-evaluator [12] | No | No | Low |
| Chain-of-thought [4] | No | No | Low |
| FDLs (external measurement) | Yes | Yes | High |
A user can trust the influence score even if they do not trust the recommendation.
3 Filtered Decision Logs as a Governance Interface
We define a Filtered Decision Log (FDL) as a transparency artifact displayed alongside a model response. An FDL answers three user questions: (1) What is the system's conclusion? (2) Why did it reach that conclusion? (3) What evidence most shaped the conclusion?
FDLs operationalize this through three components:
Decision rationale. A concise natural-language summary describing why the answer was produced, anchored in evidence items rather than raw intermediate reasoning.
Supporting data points. Derived from tool outputs—retrieved documents, API responses, database results. Instead of exposing raw JSON traces, the system presents readable evidence statements with semantic descriptions (e.g., “NVIDIA Corporation: Revenue $130.5B, Margin 55.9%”).
Relevance indicators. Categorical labels—High ( 0.70), Medium (0.40–0.70), Low (< 0.40)—grounded in the deterministic scoring method described in Section 5. Color coding provides immediate visual triage.
Interaction pattern: Accept or Re-Run. FDLs support an accept/re-run interaction (Fig. 1). The user inspects the influence ranking, optionally expands signal breakdowns, and if a source appears misleading, excludes it and re-runs the agent. The system generates a new recommendation with fresh influence scores. This transforms governance from a hidden internal process into a collaborative loop.
Important clarification on scores. Influence scores are absolute alignment and proximity measures computed independently for each evidence item. They do not sum to 1.0 or 100%, and they are not causal attribution—a score of 0.70 means “high semantic alignment with the answer and reasoning chain,” not “this source contributed 70% of the answer.” This distinction is critical: the scores indicate how much a source’s content appears in the output, not a causal decomposition of the generative process.
S.K. Anbalagan et al.

Fig. 1. FDL influence panel for the career advisor scenario. Five evidence sources ranked by influence score: social-media-profile 0.74 (High), project-portfolio 0.66, academic-records 0.60, personality-assessment 0.56 (all Medium), and job-market-data 0.37 (Low). Users can expand signal breakdowns or exclude sources for re-asking.
4 System Architecture
The FDL framework consists of two independent pipelines. This separation is the foundation of evaluation independence: the agent never knows it will be evaluated, and the FDL pipeline never influences the agent's reasoning.
4.1 Agent Pipeline
The agent pipeline receives a user query, calls external tools, reasons over the results through multiple iterations, and produces a final answer. The execution trace is recorded as a context tree—a hierarchical data structure where each node represents a pipeline stage. Our prototype uses a tool-augmented LLM agent built on Amazon Bedrock (Claude 3 Sonnet) with the ReAct pattern [14]: the agent iteratively reasons about which tools to call, executes them, observes results, and continues until it produces a final answer.

Fig. 2. The 7-stage FDL influence pipeline. Each stage is a pure function operating on a typed scope. The pipeline uses no generative AI—only embeddings (Stage 4) and deterministic computation.
4.2 FDL Pipeline
The FDL pipeline is a separate 7-stage linear pipeline (Fig. 2) that processes the context tree using no generative AI—only embeddings and deterministic computation:
-
extractDataNodes: Walk the execution trace to identify tool result stages.
-
buildParentPointers: Construct a parent pointer map for upward traversal.
-
extractAncestorChains: For each data node, collect LLM reasoning ancestors with text and depth.
-
embedEvidence: Compute embedding vectors using Amazon Titan Embed Text v2 [13]. A cache prevents redundant API calls.
-
computeInfluenceScores: Calculate four signals and combine into composite scores (Section 5).
-
rankAndSelectTopK: Sort by score descending, select top-K, assign indicators.
-
formatFDLResponse: Produce the final FDL with rationale, ranked evidence, and signal breakdowns.
4.3 Provenance Reconstruction
The pipeline begins by reconstructing a provenance tree from the agent’s execution trace. Modern agent frameworks record execution as connected parent–child
S.K. Anbalagan et al.
spans [8,9]. We walk this tree recursively to identify data nodes—stages whose logs contain tool result data.
A practical challenge is that tool execution often occurs dynamically within a single orchestration stage. We address this with a fallback extraction strategy: when the tree walk finds fewer data nodes than expected, the system extracts tool results directly from the global conversation messages array. This ensures framework-agnostic provenance reconstruction regardless of how the agent structures its execution trace.
5 Deterministic Influence Scoring
Each evidence item is scored on four orthogonal signals computed using cosine similarity between embedding vectors produced by Amazon Titan Embed Text v2 [13], ensuring determinism—the same inputs always produce the same scores. Unlike LLM-as-evaluator approaches [12] where re-running the same evaluation can produce different results, FDL influence scores are reproducible.
5.1 Signal Definitions
Let denote the embedding of data node , the embedding of the final answer, and the embeddings of 's LLM ancestor stages. Let denote cosine similarity.
Final Answer Similarity (FA). Direct semantic overlap between the tool result and the final answer:
This is the strongest signal: if a tool's output appears verbatim or paraphrased in the answer, FA will be high. Conceptually related to faithfulness metrics in RAG evaluation [12], but computed deterministically via embeddings rather than LLM judgment.
Average Relevancy (AVG). Mean semantic similarity between the tool result and each LLM reasoning step:
Captures whether the data was consistently relevant across the agent's reasoning chain.
Persistence (PERSIST). Fraction of ancestor similarities exceeding a threshold T:
Unlike AVG which averages, PERSIST measures breadth of influence. A tool referenced in 4 of 5 reasoning steps (PERSIST = 0.8) scores higher than one referenced intensely in only 1 step. Default T = 0.30. Inspired by the persistence concept in influence functions [1], adapted from training-time to runtime evidence.
Structural Proximity (DEPTH). Inverse of the number of LLM reasoning ancestors:
A direct tool result with no intermediaries gets DEPTH = 1.0. We count only LLM reasoning ancestors (stages with text output), not pipeline plumbing stages, to avoid diluting the signal with framework overhead.
5.2 Composite Score
The four signals are combined with configurable weights:
Default weights: , , , , summing to 1.0. The weights encode a prior: direct semantic similarity (FA) is the strongest signal, followed by consistency across reasoning (AVG), breadth of reference (PERSIST), and structural proximity (DEPTH). This weighted combination is conceptually related to how SHAP [11] combines feature contributions, but operates at the tool level with configurable weights rather than Shapley-value-based allocation.
Scores are not additive. Each evidence item's score is computed independently. Scores do not sum to 1.0 across items and do not represent causal attribution. A score of 0.70 means “high semantic alignment with the answer,” not “this source contributed 70% of the answer.”
5.3 Adaptive Weight Redistribution
The default weights assume a multi-step reasoning pipeline where all four signals contribute. In simpler topologies (e.g., single-tool queries), AVG and PERSIST are structurally zero—not because the tool was uninfluential, but because there are no LLM ancestors to measure against. Without adaptation, scores are capped at .
We address this with per-evidence adaptive redistribution. For data node d with no ancestors :
S.K. Anbalagan et al.
With default weights: , . This preserves the FA-to-DEPTH ratio (4:1) while ensuring the full [0,1] range is utilized. Adaptation is per-evidence-item—in a multi-tool pipeline, some items may use standard weights while others use adapted weights. The UI indicates when adaptation was applied (Fig. 3).

Fig. 3. Signal breakdown for social-media-profile in the career scenario. FA (Answer Relevance) is 68%, DEPTH (Directness) is 100%. AVG and PERSIST are 0% because this tool result had no LLM reasoning ancestors. The weights line now correctly shows the effective adapted weights ( , ), matching the paper's Equation (6).
6 Multi-Domain Demonstration
We demonstrate FDLs across three domains, each chosen to illustrate a different facet of influence transparency. All scenarios use deterministic mock tools returning structured JSON, ensuring reproducible results. Each scenario contains an intentional tension—conflicting signals across data sources—that makes influence scores meaningful and verifiable.
6.1 Scenario 1: Career Advisor (5 tools) — Hero Scenario
An agent synthesizes five data sources about a fictional student “Alex Chen”: social-media-profile (YouTube, Instagram, X activity revealing interests in politics and public policy), academic-records (B.S. Mathematics, GPA 3.42), project-portfolio (coursework projects in statistical modeling and numerical methods), personality-assessment (INTJ type, analytical), and job-market-data (demand, salaries, growth projections).
Designed tension: Social media data signals interest in public policy, while academic records and projects point toward quantitative careers. The FDL sur-faces this: social-media-profile scores 0.74 (High) (Fig. 1), enabling the user to identify it as the primary driver of a policy-oriented recommendation.
Re-ask demonstration: Excluding social-media-profile and re-running shifts the recommendation from “Policy Analyst” to “Data Scientist.” Project-portfolio rises from 0.66 to the top position, and academic-records rises from 0.60 (Fig. 4). This counterfactual confirms that social media data was the primary driver—exactly the kind of insight that enables informed decision-making.

Fig. 4. Career advisor re-ask interaction. The user has excluded social-media-profile (shown greyed out with strikethrough). The “Excluded” banner and green “Re-ask” button allow the user to re-run the agent without the excluded source. After re-asking, the recommendation shifts from policy-oriented to quantitative, with project-portfolio and academic-records rising to the top positions.
6.2 Scenario 2: Investment Advisor (4 tools)
An agent analyzes whether to invest in NVIDIA using: stock-price-detail (price 130.5B, +114% YoY, 55.9% net margin, valuation risks), financial-news (mixed—bullish product announcements vs. bearish valuation warnings), and economic-indicators (Fed rate 4.25%, AI subsector P/E 55.8).
Designed tension: Recent news is overwhelmingly bullish while fundamentals show extreme valuation (68× trailing P/E). FDL reveals whether the recommendation was driven by news hype or fundamental analysis. In our runs, company-financials scored 0.70 (High), economic-indicators 0.68, stock-price-detail 0.67, and financial-news 0.66 (Fig. 5)—indicating the agent appropriately weighted fundamentals and macro context over news sentiment.
6.3 Scenario 3: Travel Planner (4 tools)
An agent plans a 5-day trip to Tokyo in late March using: flight-search (5 options, 1,380), hotel-search (budget 620/night), destination-weather (15–18°C, cherry blossoms full bloom March 22–28), and local-events (Ueno Park Cherry Blossom Festival, teamLab Borderless, Sumida River cruise).
Designed tension: Budget-conscious vs. experience-optimized recommendations driven by cherry blossom season. FDL shows whether the itinerary was driven by seasonal events or budget optimization—an intuitive demonstration that any reviewer can immediately understand.
S.K. Anbalagan et al.
6.4 Cross-Domain Observations
Across all three scenarios (Table 2), the FDL pipeline identified the most decision-relevant data source as the highest-influence item, and the designed tensions were surfaced in the influence ranking.

Fig. 5. FDL influence panel for the investment advisor. Company-financials ranks highest at 0.70 (High), followed by economic-indicators (0.68), stock-price-detail (0.67), and financial-news (0.66). The sorted order reveals that fundamentals and macro context, not news hype, drove the recommendation.
Table 2. Influence scores across three evaluation scenarios. Scores are absolute alignment measures (0–1), not additive percentages.
| Scenario | Top Source | Score | Indicator | Key Tension |
|---|---|---|---|---|
| Career | social-media-profile | 0.74 | High | Policy vs. quantitative |
| Investment | company-financials | 0.70 | High | Fundamentals vs. news |
| Travel | destination-weather | 0.68 | Medium | Season vs. budget |
6.5 Counterfactual Tool-Removal Validation
To validate that influence rankings track actual decision dependence, we performed counterfactual tool-removal experiments. For each scenario, we: (1) ran with all tools and recorded the influence ranking, (2) removed the top-ranked tool and re-ran, (3) removed the bottom-ranked tool and re-ran, and (4) measured answer change using embedding similarity between the original and modified answers.
In all three scenarios (Table 3), removing the top-ranked tool produced a larger answer change (lower similarity to original) than removing the bottom-ranked tool. This confirms that the influence ranking reflects actual decision dependence: sources scored higher by the FDL pipeline are indeed more consequential to the final answer.
Table 3. Counterfactual validation: removing the top-ranked source changes the answer more than removing the bottom-ranked source, confirming that influence rankings track decision dependence.
| Scenario | Answer similarity to original Remove top | Remove bottom | Ranking validated? |
|---|---|---|---|
| Career | 0.72 | 0.91 | Yes |
| Investment | 0.78 | 0.93 | Yes |
| Travel | 0.75 | 0.89 | Yes |
7 Formative Evaluation
We conducted a formative evaluation with 50 participants to assess whether users found the influence-ranked evidence helpful for understanding and trusting the system's recommendations.
7.1 Participants
We recruited 50 participants in two groups:
– 25 working professionals: Software engineers and AI practitioners with experience in chatbot or conversational AI development.
– 25 university students: Graduate and advanced undergraduate students in computer science or related fields with coursework in AI/ML.
7.2 Procedure
Each participant completed guided sessions with the prototype across all three scenarios (career advisor, investment advisor, travel planner). For each scenario, participants:
-
Received an agent recommendation with the FDL influence panel visible.
-
Were asked to inspect the evidence ranking and identify which source they believed most influenced the recommendation.
-
Were encouraged to use the exclude/re-run interaction to explore how removing sources changed the recommendation.
-
Provided feedback via a thumbs-up/thumbs-down rating on the question: "Did the influence-ranked evidence help you understand and trust the system's recommendation?" This single-item measure combines perceived understandability and trustworthiness into one construct, appropriate for formative evaluation. The rating was collected once per participant after completing all three scenarios, reflecting their overall assessment of the FDL mechanism.
-
Optionally provided free-text comments on their experience.
S.K. Anbalagan et al.
Table 4. Formative evaluation results. Participants rated whether influence-ranked evidence helped them understand and trust the recommendation.
| Group | N | Thumbs up | Approval rate |
|---|---|---|---|
| Working professionals | 25 | 25 | 100% |
| University students | 25 | 21 | 84% |
| Overall | 50 | 46 | 92% |
7.3 Results
Overall, 46 of 50 participants (92%) rated the influence-ranked evidence as helpful (Table 4). All 25 working professionals gave a positive rating, while 21 of 25 students did so. The four students who gave negative ratings cited difficulty interpreting the signal breakdown (AVG and PERSIST) rather than objecting to the concept of influence ranking itself.
7.4 Qualitative Observations
Three patterns emerged from participant comments and observed behavior:
Sorted order aids triage. Participants consistently started by examining the top-ranked source, confirming that influence ordering reduces cognitive load. Multiple participants noted that without the ranking, they would have had to read the entire response and mentally reconstruct which sources were used—a cognitively expensive task that the FDL panel automates.
Exclude-and-re-run builds understanding. Several participants spontaneously excluded the top source to “see what happens without it,” demonstrating that the re-ask pattern is intuitive and does not require instruction. In the career scenario, participants who excluded social-media-profile and observed the recommendation shift from policy to quantitative careers reported the highest confidence in their understanding of the system’s reasoning.
Signal breakdown builds confidence in practitioners. Working professionals who expanded the signal breakdown reported higher confidence in the influence score, particularly when FA (Answer Relevance) was high—they could verify that the tool's data appeared in the answer. The 100% approval rate among professionals suggests that practitioners with AI development experience find the transparency mechanism immediately useful for their workflow.
8 Discussion
8.1 What We Claim—and What We Do Not
We do not claim that our four-signal scoring algorithm is optimal for computing influence. The weights are configurable priors, not learned parameters.
Different domains may benefit from different configurations. The scoring method is a concrete, implementable starting point, not a final answer.
What we do claim is that the idea of providing sorted, quantified influence evidence fundamentally changes the user’s relationship with AI recommendations:
-
Sorted order helps users decide: When evidence sources are ranked by influence, users quickly identify which data drove the recommendation and whether that aligns with their expectations.
-
Accept/re-run empowers users: The ability to exclude sources and re-run transforms users from passive consumers (“the AI said X”) into active decision-makers (“the AI said X because of source Y; without Y, it says Z; I prefer Z”).
-
External measurement builds justified trust: Because influence scores are computed by a separate, deterministic pipeline—not self-reported by the LLM [6]—users can trust the scores even when they question the recommendation.
The counterfactual validation (Table 3) provides objective evidence that the ranking tracks something real about decision dependence, and the formative evaluation (Table 4) confirms that users find this transparency useful in practice.
8.2 Evidence-Level Feedback as a Calibration Signal
The exclude/re-run interaction generates a natural feedback signal: which sources users exclude most often, and whether they accept or reject the revised recommendation. This evidence-level feedback could be used to calibrate ranking weights or train a lightweight preference model that learns domain-specific weight profiles. We do not claim to have trained such a model; we note that the interaction pattern produces the data needed to do so.
8.3 Inspiring Further Research
Our goal is to inspire more researchers to explore influence scoring for tool-augmented agents. The design space includes:
– Learned weights: Can influence weights be learned from user feedback?
– Causal influence: Can we move beyond correlation (embedding similarity) to causal attribution via counterfactual agent runs?
– Multi-agent influence: How should influence propagate across agent delegation boundaries?
– Temporal influence: In multi-turn conversations, how does source influence decay or accumulate?
– Domain-specific weighting: Can weight profiles be pre-configured per domain based on expert input?
S.K. Anbalagan et al.
8.4 Limitations
– Embedding-based signals: Cosine similarity captures semantic overlap but not causal influence. A source may be semantically similar to the answer without having caused it—a limitation shared with feature attribution methods like LIME [10] and SHAP [11].
– Deterministic mock data: Evaluation scenarios use deterministic mock tools. Real-world tools produce variable outputs that may affect score stability.
– Single-model evaluation: All experiments use Claude 3 Sonnet via Amazon Bedrock. Different models may exhibit different tool usage patterns.
– Formative evaluation: Our study is formative (guided sessions with thumbs-up/down feedback) rather than summative (controlled experiment with statistical significance testing). A rigorous evaluation agenda is outlined in Section 11.
– Weight sensitivity: Default weights were chosen based on intuition about signal importance, not empirical optimization.
9 Ethical Considerations and Scope
All evaluation scenarios use synthetic mock data and do not constitute real career, financial, or travel advice. The FDL framework is a governance interface, not a correctness guarantee—it helps users inspect evidence, not validate truth. In production deployments, evidence exposure must respect access controls and data redaction policies: not all tool outputs may be appropriate to surface to all users. We note that our investment advisor scenario, while useful for demonstrating influence transparency, should not be interpreted as endorsing AI-generated financial advice without appropriate regulatory compliance and human oversight.
10 Implementation
The prototype is implemented as a TypeScript application:
– Agent backend: Fastify server with tool-augmented LLM agent (Amazon Bedrock, Claude 3 Sonnet). Three scenario endpoints with re-ask support via ignoredTools and systemPromptOverride parameters.
– FDL pipeline: 7-stage linear pipeline using the TreeOffFunctions library for flowchart-based execution. Typed scope carries data between stages. Registered as POST /api/explain.
– Embeddings: Amazon Titan Embed Text v2 [13] with batch processing and stage-ID-keyed cache.
– Frontend: React split-panel layout—chat (60%) and influence panel (40%). Evidence cards with progress bars, semantic descriptions, expandable signal breakdowns, and exclude/re-ask controls.
– Testing: 75+ tests including property-based tests (fast-check) validating scoring invariants, pipeline correctness, and response format stability.
11 Evaluation Agenda
We outline a rigorous evaluation agenda for future work:
-
Controlled user study: Between-subjects design comparing FDL-augmented vs. standard interfaces, measuring trust, understanding, and actionability with statistical significance testing.
-
Score validation: Compare FDL rankings against human expert rankings to measure alignment.
-
Ablation study: Vary the number of signals (FA only, FA+AVG, all four) and measure the effect on user trust.
-
Real-world tools: Replace mock tools with live APIs to evaluate score stability.
-
Cross-model evaluation: Test with multiple LLM providers to assess generalizability.
12 Conclusion
We presented Filtered Decision Logs (FDLs), a user-facing transparency mechanism that makes decision formation visible in tool-augmented generative AI systems. By operating as an external measurement pipeline—separate from the agent's reasoning process—FDLs provide deterministic, verifiable transparency that users can trust independently of the recommendation itself.
Through three evaluation scenarios spanning career advising, investment analysis, and travel planning, we demonstrated that influence scoring with sorted evidence and accept/re-run interaction transforms users from passive consumers into active decision-makers. Counterfactual tool-removal experiments confirm that the influence ranking tracks actual decision dependence, and formative evaluation with 50 participants (92% approval) indicates that practitioners and students find the transparency mechanism useful.
The key contribution is not the specific scoring algorithm but the interaction pattern: showing users which tools influenced the LLM's response, in sorted order, with the ability to exclude sources and re-run. We hope this work inspires further research into influence scoring for tool-augmented agents—a critical capability as AI systems increasingly make recommendations affecting people's careers, finances, and daily lives. Disclosure of Interests. The authors are employed by Amazon Web Services. The FDL framework was developed as a research prototype and does not represent an AWS product or service.
References
- Koh, P.W., Liang, P.: Understanding black-box predictions via influence functions. In: Proceedings of the 34th International Conference on Machine Learning (ICML), pp. 1885–1894. PMLR (2017)
S.K. Anbalagan et al.
-
Ghorbani, A., Zou, J.: Data Shapley: Equitable valuation of data for machine learning. In: Proceedings of the 36th International Conference on Machine Learning (ICML), pp. 2242–2251. PMLR (2019)
-
Lei, T., Barzilay, R., Jaakkola, T.: Rationalizing neural predictions. In: Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 107–117. ACL (2016)
-
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q., Zhou, D.: Chain-of-thought prompting elicits reasoning in large language models. In: Advances in Neural Information Processing Systems (NeurIPS), vol. 35, pp. 24824–24837 (2022)
-
Wang, X., Wei, J., Schuurmans, D., Le, Q., Chi, E., Narang, S., Chowdhery, A., Zhou, D.: Self-consistency improves chain of thought reasoning in language models. In: Proceedings of the 11th International Conference on Learning Representations (ICLR) (2023)
-
Turpin, M., Michael, J., Perez, E., Bowman, S.R.: Language models don’t always say what they think: Unfaithful explanations in chain-of-thought prompting. In: Advances in Neural Information Processing Systems (NeurIPS), vol. 36 (2023)
-
Chromik, M., Eiband, M., Buchner, F., Krüger, A., Butz, A.: I think I get your point, AI! The illusion of explanatory depth in explainable AI. In: Proceedings of the 26th International Conference on Intelligent User Interfaces (IUI), pp. 307–317. ACM (2021)
-
OpenTelemetry Authors: OpenTelemetry specification v1.0. https://opentelemetry.io/docs/specs/otel/ (2024)
-
Langfuse Authors: Langfuse: Open-source LLM engineering platform for traces, evals, and prompt management. https://langfuse.com/ (2024)
-
Ribeiro, M.T., Singh, S., Guestrin, C.: "Why should I trust you?": Explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1135–1144. ACM (2016)
-
Lundberg, S.M., Lee, S.-I.: A unified approach to interpreting model predictions. In: Advances in Neural Information Processing Systems (NeurIPS), vol. 30, pp. 4765–4774 (2017)
-
Es, S., James, J., Espinosa-Anke, L., Schockaert, S.: RAGAS: Automated evaluation of retrieval augmented generation. In: Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (EACL) (2024)
-
Amazon Web Services: Amazon Titan Text Embeddings V2—Amazon Bedrock model documentation. https://docs.aws.amazon.com/bedrock/latest/userguide/titan-embedding-models.html (2024)
-
Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., Cao, Y.: ReAct: Synergizing reasoning and acting in language models. In: Proceedings of the 11th International Conference on Learning Representations (ICLR) (2023)
-
Schick, T., Dwivedi-Yu, J., Dessi, R., Raileanu, R., Lomeli, M., Hambro, E., Zettlemoyer, L., Cancedda, N., Scialom, T.: Toolformer: Language models can teach themselves to use tools. In: Advances in Neural Information Processing Systems (NeurIPS), vol. 36 (2023)