<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Liron Marcus on Medium]]></title>
        <description><![CDATA[Stories by Liron Marcus on Medium]]></description>
        <link>https://medium.com/@liron-marcus?source=rss-c81aa7e1aecb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mfD42-UlX9DTSSj6Fne48w.jpeg</url>
            <title>Stories by Liron Marcus on Medium</title>
            <link>https://medium.com/@liron-marcus?source=rss-c81aa7e1aecb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:36:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@liron-marcus/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Your Field Service Agent Will Confidently Tell You the Wrong Thing]]></title>
            <link>https://medium.com/ifs-tech/why-your-field-service-agent-will-confidently-tell-you-the-wrong-thing-9d4d15fc7528?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d4d15fc7528</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[field-service]]></category>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Wed, 03 Jun 2026 17:27:41 GMT</pubDate>
            <atom:updated>2026-06-16T05:38:55.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*1_dD9LiACP5wQH8iySko6g.png" /></figure><h4>The question is no longer whether your agent has memory. It is whether that memory has governance.</h4><p>Two rooftop units serve the same floor in a mid-size office park. Tech A visits in the first week and logs: “<em>RTU-2 short-cycling, low refrigerant charge, topped up.</em>” Tech B comes twelve days later for a different ticket. While he is already on the roof, he takes a look at RTU-2 and logs: “<em>No refrigerant issue, suspect failing contactor.</em>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rnAFzQi3zsten7nDPkXDxg.png" /></figure><p>Both notes land in the memory store as separate entries: same unit, same question, two unrelated facts. The AI dispatcher agent briefs the third tech, who queries the site history and gets both notes back in a ranked list. Tech A’s note ranks higher. So the agent summarizes from the top result and reports: “<em>Recurring refrigerant issue on RTU-2, monitor charge.</em>”</p><p>The contactor fails on a Friday afternoon. The tenant escalates. The account manager spends Monday explaining how the second tech’s note was right there the whole time, still in memory, still unread, still ranked second.</p><p>If you are not in field service, that scenario is everyday reality: technicians visit customer sites, log notes in dispatch crm software, and the next technician depends on what the previous one wrote. The AI dispatcher agent in this story is the kind of digital employee that field service companies are starting to deploy where one that reads the full site history and briefs the technician before they walk into the next job.</p><p>Human dispatchers have always missed conflicting notes in a thick site history. That is not new. What is new is the way the agent fails. It does not miss the notes. It has both of them. It just has no idea that the two notes are arguing with each other.</p><p>If you are buying or building AI agents for field service, the question is no longer whether the agent has memory. It is whether that memory has governance.</p><blockquote>This is not only a retrieval problem. And it is not solved by a bigger context window, a better embedding model, or a more careful prompt. The facts were there. The agent just did not know what they meant together.</blockquote><p>Imagine a customer casually mentions: <em>“I prefer morning visits.”</em> The goal is for the AI to remember that preference, recognize that it matters, and use it in future scheduling decisions. The diagram below shows the entire lifecycle of that single fact inside the agent’s memory, how it is captured, how it grows into a trusted preference, where it can quietly go wrong, and what governance moves keep it honest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jSwdjDgOwwt-fXhdgQoKrA.png" /></figure><p>A governed memory system does not just store facts. It tracks where they came from, when they became reliable, when they were challenged, and when the agent should ask instead of assume. The rest of the article is about what goes wrong at each point in that lifecycle.</p><h3>The seductive analogy</h3><p>If you’ve read anything about AI agents in the last two years, you’ve seen a version of this table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kffh7bMsmq3vIyyYAsLb9w.png" /></figure><p>One influential version comes from a 2023 Princeton paper called CoALA, which mapped cognitive science memory types onto LLM-based agents. Modern agent-memory frameworks, Mem0, Zep, LangMem, Letta among them, often borrow, echo, or reinvent some version of this mapping.</p><p>In humans, those categories are not clean boxes. They bleed into each other. A customer’s request for morning visits begins as an episodic memory: a specific conversation on a specific day. If it happens repeatedly, it becomes semantic memory: a stable fact about that customer. Eventually it becomes procedural: you stop thinking about it and just book mornings. Human memory performs this promotion quietly. AI agents have to be designed to do it.</p><p>It’s a useful ladder. It’s also how most digital employees in the field today are actually architected. In our field service example, episodic memory becomes a vector store of past tickets. Semantic memory becomes a customer-and-equipment knowledge graph. Procedural memory becomes the skills and tools the agent calls. The analogy is doing real work, and the agents using it are dramatically more useful than the stateless chatbots of two years ago.</p><p>The analogy is useful enough to build with. It’s also wrong enough to fail in the field.</p><h3>Where it holds up</h3><p>When an AI agent recalls that this customer’s compressor was replaced in March, the site has had three callbacks in six months, and the standard procedure for a no-show is to text the customer and re-dispatch, those three recalls are episodic, semantic, and procedural memory doing what they’re supposed to do. For most of what a digital employee does on a normal day, the analogy is enough.</p><p>The problem isn’t the analogy. The problem is what it leaves out.</p><h3>Where it breaks</h3><p>Four memory failures show up in field service over and over, and the human-memory analogy doesn’t tell you how to handle any of them.</p><p><strong>Confidence</strong>. Not all memories deserve equal weight. A customer mentions in passing that “the unit’s been making a noise.” A tech later confirms with a meter that the compressor bearing is failing. A sensor logs a vibration anomaly. In many current memory systems, all three become entries in the store with no native concept of who said it, how they knew, or how sure they were. The fix is boring but real: tag every memory with its source and a confidence score, and treat them differently at retrieval time. A sensor reading and a customer’s offhand remark should not vote with the same weight.</p><p><strong>Contradiction</strong>. Back to the RTU-2 scene. The agent didn’t fail because it lost a memory. It failed because it stored two memories that disagreed and had no mechanism to notice. Some production systems are starting to model this explicitly , Zep’s Graphiti, for instance, treats facts in the knowledge graph as having validity intervals: when a new fact contradicts an old one, the old fact isn’t deleted, it’s marked invalid as of a specific timestamp. The agent can still see what it used to believe and why it changed. Without that, every agent is one ambiguous note away from confident wrongness.</p><p><strong>Decay</strong>. A site contact from 2022 is still in the customer profile. The preferred vendor relationship ended last quarter. Most decay strategies -borrowed from Ebbinghaus-style forgetting curves, handle the forgotten memory well enough. The dangerous case is the frequently retrieved memory that just became wrong. It gets pulled into context every time and gets stronger with use, right up until the moment it’s outdated. This is still an open problem in the field. Recency, frequency, and truth are not the same signal.</p><p><strong>Preference drift.</strong> Preferences shift, and the hard question is whether episodic remarks ever become semantic facts. A property management customer, eleven sites under contract. For two years, the facilities manager wanted detailed PDF service reports. She retires. Her replacement mentions twice in chats with the AI account agent that “the reports are great but honestly we just need to know if anything’s broken.” The agent has both conversations in its episodic memory. It never promotes those remarks into the customer’s semantic profile, which still reads “detailed PDF preferred.” Six months later, at renewal, the new manager tells the account manager the reporting feels “out of touch.” A human account manager might have caught the drift over coffee. The agent had every word of it, indexed and searchable, and missed the signal.</p><h3>What to actually do about it</h3><p>The common thread is that memories are not just records. They are claims with sources, lifetimes, and consequences.</p><p>You don’t need to rebuild your agent’s memory from scratch. Four moves get you most of the way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YMEAhuB9Wlug-cmkVWPf1w.png" /></figure><h3>The ladder</h3><p>Recent research is already moving past the human-memory analogy. A December 2025 survey by Hu et al. (*Memory in the Age of AI Agents*, arXiv:2512.13564) reframes agent memory around forms, functions, and dynamics, not because human memory was a bad starting point, but because in production the question changes. Field service is where that distinction gets billed by the hour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Uz_TsixJCZ4kRg0YPWlgg.png" /></figure><p>The human-memory analogy was a useful ladder. Build with it. Then kick it away.</p><p>Because in production, what matters isn’t whether your agent has “episodic memory like a human.” It’s whether the agent knows when its memory is stale, contested, or wrong.</p><p><strong>The test is simple. Ask your agent what it knows. Then ask it how it knows.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d4d15fc7528" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ifs-tech/why-your-field-service-agent-will-confidently-tell-you-the-wrong-thing-9d4d15fc7528">Why Your Field Service Agent Will Confidently Tell You the Wrong Thing</a> was originally published in <a href="https://medium.com/ifs-tech">IFS Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agentic AI in FSM: Autonomous Multi-Agent Collaboration for Optimized Operations]]></title>
            <link>https://medium.com/ifs-tech/agentic-ai-in-fsm-autonomous-multi-agent-collaboration-for-optimized-operations-f7ca2aa0ffd5?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7ca2aa0ffd5</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ifs-cloud]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Sat, 08 Feb 2025 16:28:30 GMT</pubDate>
            <atom:updated>2025-11-18T02:59:55.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*WEMnQmKfN3DENtEJ-5KuIQ.png" /></figure><h4>The article explores how autonomous AI agents collaborate, make decisions, and refine field service operations without human intervention.</h4><p>Thanks to advances in technology, Field Service Management has increasingly become dependent on strategic operations to optimize the most streamlined manner of performing tasks. Agentic AI is a kind of artificial intelligence that can autonomously perform a specific task. It plays a successful role as a candidate for application in FSM domains. In order to familiarize ourselves with Agentic AI, we will analyze the benefits, as well as its potential for increasing the efficiency of operation.</p><h3>What is Agentic AI and How does it Work?</h3><p>AI is now more than text generation — it’s A<strong>I that can do things</strong>. So how do we get to the point where AI really is intelligent? LLMs played a crucial role in this process. Before the appearance of LLMs, AI couldn’t really understand natural language. It could recognize keywords, though. It had no sense of meaning. Now AI can look at what a sentence means, reason with language, and use it for decision-making (unlike ordinary input). It understands the aims of language use in order to achieve them.</p><blockquote>AI becomes less like a digital assistant but more like a digital strategist. It’s not just for responding, but also planning and action.</blockquote><h4><strong>How It Works — Reasoning &amp; Planning Engine (LLM-Power Layer)</strong></h4><p>It doesn’t just follow a script — it strategizes like a project manager. It breaks down your request into actionable steps, determining the best way to execute it.</p><p><strong>Execution &amp; Specialized Agents (Tool Layer)</strong> — AI gets these done by using the arrow of specialized agents: accessing Databases, running calculations. using predictive models and calling other AI agents who have some expertise.</p><p>But what makes these agents truly powerful is their <strong>ability to learn</strong>.</p><blockquote>Many AI agents reflect on their decisions — comparing outcomes with expectations and adjusting over time.</blockquote><p>This continuous learning and self-improvement happens without human intervention, making them increasingly autonomous and efficient.</p><h3>How Agentic AI Impacts Field Service Management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*lYNTZDSJCyJGWpPiCrKaeg.png" /></figure><p>In FSM, the role of Agentic AI goes beyond simple automation; it enables the management of complex processes across diverse environments, often involving remote operations. Here’s its usefulness:</p><p><strong>Automating Routine Tasks</strong></p><p>Agentic AI can easily handle routine tasks such as scheduling, dispatching, and inventory management. By processing vast amounts of data in real time, it can optimize field technician schedules so that the right skills are matched to the right tasks.</p><p><strong>Enhancing Decision-Making</strong></p><p>With its ability to analyze historical data, real-time inputs, and sensor readings, Agentic AI can make data-driven decisions on behalf of human agents. For example, it can detect anomalies in equipment performance and alert technicians before an issue escalates.</p><p><strong>Boosting Customer Experience</strong></p><p>Agentic AI can enhance the customer experience through personalized interaction and rapid issue resolution. It can automatically send notifications regarding appointment times, delays, or issues that require attention.</p><blockquote>Agents have the capability to proactively engage with other agents, delegating tasks and requesting information to optimize decision-making and workflow efficiency</blockquote><h3>The Hierarchical Multi-agent System Architecture of FSM</h3><p>On the hierarchical level, agent systems have agents working at different levels of abstraction. The agents at a higher level supervise and direct those under them.</p><h4>🟢<strong>Top-Level Agents (Decision-Making and Orchestration)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*3Sq7TCXHFuj_A3H3ZCAQOA.png" /></figure><ul><li><strong>Exe Control Agent</strong>: Ensuring that FSM operations run as planned by coordinating the agents.</li><li><strong>RAG Agent (LLM)</strong>: Usually performs decision synthesis for artificial intelligence.</li></ul><h4><strong>🔵 Mid-Level Agents (Autonomous Problem-Solving and Reflection)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*DjUO2YG0hHOmAv0qX5t3eg.png" /></figure><ul><li><strong>Scheduler Agent</strong>: Field service-oriented dispatch optimization.</li><li><strong>Diagnostic Agent</strong>: Predicts anomalies and failures and refines diagnostic accuracy.</li><li><strong>Compliance Agent</strong>: Ensuring that technicians are in compliance with required job certification.</li></ul><h4><strong>🟠 Low-Level Agents (Task Execution and Data Collection)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*_Ya9dloUF_jLH32BitFsrQ.png" /></figure><ul><li><strong>Sensor &amp; IoT Agents</strong>: Collection of real-time status data (telemetry data) from equipment.</li><li><strong>Technician Assistant Agent</strong>: Using AI techniques to provide intelligent plot routes as well as intelligent field troubleshooting and guidance.</li></ul><h3><strong><em>Scenarios: Predictive Maintenance &amp; Autonomous Decision-Making</em></strong></h3><blockquote>A field service company using Agentic AI to optimize its HVAC maintenance operations. The multi-agent system independently forecasts failures in HVAC systems, manages technician dispatch, and analyzes past repairs.</blockquote><blockquote>A multi-agent system refers to the implementation of a system composed of different and specialized agents which work together. In our scenario we use the following AI agents:</blockquote><blockquote>The agents communicate among themselves continuously, analyze feedback from their experiences in order to build up a store of knowledge. They self-regulate their actions without human intervention since other agents have already been rated able to make more rational decisions than people, and they are more reliable.</blockquote><h4>Step 1: Anomaly Detection &amp; Initial Diagnosis</h4><p>🔵<strong>Input</strong>: The <strong><em>Sensor Agent</em></strong> uses IoT sensor telemetry data and queries the database on historical failures. Abnormal vibrations in an HVAC system are detected using ML models by the Diagnostic Agent. The LLM-powered Knowledge Agent gets a historical case from its knowledge and finds that a similar problem exists. It immediately recommends that the issue be taken care of for attention.</p><p>🟠<strong>Action</strong>: The event is marked as urgent and sent to the <strong><em>Scheduler Agent</em></strong>.</p><h4>Step 2: Automatic Scheduling &amp; Optimization</h4><p><strong><em>Scheduler Agent </em></strong>listens for the alert and then checks to see which technician is closest. It coordinates skill levels, location, and workload. An optimal algorithm is started in order to minimize travel time and downtime. It asks the <strong><em>Compliance Agent</em></strong> for validation before allocating the job.</p><p>🟡<strong>Decision</strong>: The <strong><em>Scheduler Agent</em></strong> assigns a technician.</p><h4>Step 3: Compliance &amp; Resource Allocations</h4><p>The <strong><em>Compliance Agent</em></strong> checks to see if the technician assigned has the correct HVAC certification and is up-to-date on safety training. If the technician is non-compliant, the <strong><em>Scheduler Agent</em></strong> is informed to reassign the job.</p><p>🟡<strong>Decision</strong>: The assigned technician can handle the task directly, but a backup technician is also assigned as support.</p><h4>Step 4: Provides Insights</h4><p>The <strong><em>RAG Agent</em></strong> retrieves historical service logs and best practices for repairing similar HVAC issues. It summarizes troubleshooting steps, etc., and sends them to the Technician Assistant Agent.</p><h4>Step 5: Repair Guidance</h4><p>The <strong><em>Technician Assistant Agent</em></strong> uses a repair playbook to guide the on-site technician. It suggests corrective actions based on real-time diagnostics. If the problem is not resolved, escalate your question to human help.</p><h4>Step 6: Execution &amp; Autonomous Reflection</h4><p>The technician comes, AI-created instructions are followed, and the repair is made. After the repair, all agents review the case: <strong><em>Diagnostic Agent</em></strong> updates failure models using the new data, <strong><em>Scheduler Agent</em></strong> refines job allocation strategies, and the <strong><em>RAG Agent</em></strong> updates its knowledge base with the latest service insights.</p><p>🟣<strong>Reflection</strong>: The energy consumption of the HVAC unit is still higher than optimal levels. The <strong><em>RAG Agent</em></strong> compares this case with similar past repairs and suggests a follow-up inspection is done for long-term efficiency.</p><p>🟢<strong>Corrective Action</strong>: The <strong><em>Scheduler Agent</em></strong> automatically schedules a preventive maintenance check for 12 hours after which to verify system stability. If any further anomalies are detected, it will assign wildcats with instructions.</p><h3>Why Hierarchical Multi-Agent Systems are Important in FSM</h3><ul><li><strong>🛠️ Decentralized Decision-Making</strong>: Each agent has a specific function and is responsible for the tasks needed. Without all these responsibilities in one place (and so close to one another), summative system functions will not be overtaxed.</li><li><strong>🛠️ Autonomous Problem-Solving</strong>: Agents work together without any human intervention, so fault identification and solution happen much faster.</li><li><strong>🛠️ Self-Improving AI Ecosystem</strong>: Through reflection and experience, the continuous adjustable operation of an FSM is guaranteed.</li><li><strong>🛠️ Scalability &amp; Adaptability</strong>: New agents can be added without great pain, to fit the system.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*vqXvydstvOIpUltm8N6dbQ.png" /></figure><h3>A Blueprint for Multi-Agent AI in FSM</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*S0xLuzazbVjfJWqhjrnqMQ.png" /></figure><ol><li><strong>Define Agent Roles &amp; Responsibilities — <br></strong>Have a clear idea of who the key agents are: Scheduler, Diagnostic, Compliance, Optimization, Knowledge, etc. Each has different roles to play within the context of service provision within an organization.<br>Assign specific objectives to each agent.</li><li><strong>Establish Agent Communication Protocols — <br></strong>Use event-driven triggers to make sure that agents interact efficiently. Bring LLM-powered reasoning into play to boost every step of the decision-making process on the part of agents.</li><li><strong>Enable Reflection &amp; Corrective Actions — <br></strong>Inject feedback loops into the system so that any blunders made may be removed one by one in turn. <br>Use Generative AI to evaluate agent decisions and propose improvements.</li><li><strong>Ensure Scalability &amp; Adaptability — </strong>Design the system so that it can become increasingly complex (for example, scaling up to thousands of field service demands). Allow agents to modify themselves spontaneously on the basis of data and experiences.</li></ol><h3>Overcoming Challenges in Applying Agentic AI to FSM</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*GGUX6HnLozJ5x3MO1ySFaQ.png" /></figure><p>In spite of its many potential benefits, if Agentic AI is to be truly effective in FSM, it must surmount a number of problems:</p><h4>Data Privacy and Security</h4><p>The deployment of AI systems makes great demands on data protection, especially in industries where sensitive customer information is involved. It is essential to make sure that AI systems comply with laws and regulations.</p><h4>System Integration</h4><p>In FSM environments, there is often a mix of legacy systems and new technologies. Augmenting Agentic AI into that already diverse mix of systems can pose technical difficulties.</p><h4>Skill Development</h4><p>As organizations take up more complicated AI technologies, ensuring that technicians and managers are adequately trained to work alongside AI systems becomes ever more important.</p><h3>Conclusion</h3><p>Agentic AI designates all those systems that make decisions on the user’s behalf, learns from results, and acts without direct human input. Unlike traditional AI, which usually requires a steady stream of data to maintain itself, Agentic AI is able to act independently, thus speeding up operations and reducing the needed human oversight.</p><p>By allowing every AI agent to make decisions for themselves as well as deliberate on and optimize their behavior, Field Service Management (multi-agent AI technology) can remarkably improve efficiency, reduce downtime, and enhance the reliability of service.</p><p>However, as AI systems become more self-contained, their design is key. They should be: <strong>reliable </strong>— making correct decisions, <strong>safe</strong> — ensuring they do nothing unintended and <strong>transparent </strong>— making sure that people understand and can audit their actions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*QhOPQEBMc72PGqRkytsKIQ.png" /></figure><p>Agentic AI is as much about learning, reasoning, and adapting as it is about carrying out tasks. It’s a future where AI is no longer just responding to us — it’s working with us.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7ca2aa0ffd5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ifs-tech/agentic-ai-in-fsm-autonomous-multi-agent-collaboration-for-optimized-operations-f7ca2aa0ffd5">Agentic AI in FSM: Autonomous Multi-Agent Collaboration for Optimized Operations</a> was originally published in <a href="https://medium.com/ifs-tech">IFS Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LLM Observability: A Key to Enhancing Retrieval-Augmented Generation in Field Service Management]]></title>
            <link>https://liron-marcus.medium.com/llm-observability-a-key-to-enhancing-retrieval-augmented-generation-in-field-service-management-ab7edf3b00ec?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab7edf3b00ec</guid>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 10:30:46 GMT</pubDate>
            <atom:updated>2025-01-02T10:30:46.165Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*QCu_awyMGCRVSVbnF8Y3dQ.png" /></figure><p>Large Language Models (LLMs) have revolutionized how businesses tackle complex problems across various domains, with specialized fields like Field Service Management (FSM) also witnessing this transformation. Well, with the advent of Retrieval-augmented generation (RAG), combining LLMs with knowledge retrieval systems, they are providing a key to connect them for intelligent decisions. Nonetheless, the power of a RAG is hinged on the observation, monitoring and adjusting of its parts. And this is where LLM observability is a foundational pillar.</p><h3>What is LLM Observability?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*NB4XzBdTUPvxhaAAu9RIjA.png" /></figure><p>An LLM observability is the concept of monitoring, measuring, and comprehending the inner workings and results of an LLM system. It encompasses tracking:</p><ul><li><strong>Model Performance:</strong> This includes accuracy, relevance of outputs, and latency.</li><li><strong>Data flow:</strong> This dimension consists of understanding how different forms of input data and retrieved knowledge contribute to the final output.</li><li><strong>Error Analysis:</strong> Error detection such as hallucinating or unrelated results.</li><li><strong>User Feedback:</strong> Tuning system responses based on user interactions.</li><li><strong>Performance Monitoring:</strong> Ensuring the system’s performance through tracking memory utilization, compute resource usage, and latency for scalability and effectiveness.</li></ul><p>Tools supporting observability should extract actionable insights that enable users ranging from developers to business users to validate that large language models (LLMs) will work correctly in practice.</p><h3>The RAG Paradigm and FSM</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*kiLEXlvSl9vg9k2tdxex4w.png" /></figure><p>In FSM, workers and technicians may need to perform tasks quickly and accurately, be it answering a query which helps them troubleshoot an issue, performing routine maintenance or escalating problems with limited information available. RAG is a powerful way to do this through:</p><ol><li><strong>Retrieving Relevant Knowledge:</strong> Querying enterprise knowledge bases, documentation, or historical records.</li><li><strong>Generating Contextual Responses:</strong> Leveraging LLMs to synthesize information and provide actionable insights.</li></ol><p>Industry use cases examples include an FSM application fetching a repair manual and generating step-by-step instructions for an onsite technician. The effectiveness of these interactions relies heavily on the quality and relevance of both the retrieved data and the generated content.</p><p>If you want to delve deeper into this topic, please refer to my article: <a href="https://liron-marcus.medium.com/rag-retrieval-augmented-generation-for-field-service-management-a1316cbea35a">RAG (Retrieval-Augmented Generation) for Field Service Management.</a></p><h3>The Role of Observability in FSM RAG Systems</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*TRn3o_Y3H4X-20mSc29jKA.png" /></figure><p>Observability in FSM RAG systems improves high-quality responses and lessons learnt. Here’s how:</p><h4>Monitoring Retrieval Quality</h4><p><strong>Metrics:</strong> Assess precision, recall, and relevance of retrieved documents. Other metrics include coverage (how much of the relevant corpus is covered by the retrieval) and distinctly (if retrieved data duplicates what has been retrieved before).</p><p><strong>Use case:</strong> Ensure that when a technician asks about a specific machine model, the retrieval system prioritizes correctly the right manual rather than irrelevant data.</p><h4>Measuring How Accurate the Generation Is</h4><p><strong>Metrics:</strong> Find scores on factuality, coherence and adherence to domain-specific and user-reported helpfulness. Add semantic similarity scores to evaluate how close the output is to expected answers.</p><p><strong>Use Case:</strong> Detect hallucinations where the LLM generates steps that deviate from official procedures.</p><h4>Creating Repetitious Feedback Loops for Continuous Learning</h4><p><strong>Action:</strong> Adapt retrieval algorithms and LLM fine-tuning based on user feedback</p><p><strong>Metrics:</strong> How often are people correcting them (what do they actually say)? How were they rated? What is the growth rate of success/fail for different types?</p><p><strong>Use Case:</strong> Utilize technician-reported errors to enhance the relevance and quality of the responses.</p><h4>With Real-Time Alerts and Debugging</h4><p><strong>Feature:</strong> Raise alerts on anomalies like long response times or fallbacks to general answers.</p><p><strong>Metric:</strong> Track rates of anomalies, frequency of fallback on responses, and time taken to resolve detections</p><p><strong>Use Case:</strong> Identify and resolve where the retrieval systems are unable to find the right documents and the technician is left in limbo.</p><h4>Evaluating Latency and Throughput</h4><p><strong>Metrics: </strong>Monitor total (end-to-end) response times and throughput of the system under different loading conditions.</p><p><strong>Real World Example:</strong> The FSM system must never be unresponsive during peak usage times or delays on the FSM side would prevent technicians from performing their tasks.</p><h3>How to Implement LLM Observability for FSM RAG service?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wELfaRxr1Xae8zdXYIIz4Q.png" /></figure><p>Effective observability in Retrieval-Augmented Generation (RAG) systems improves reliability, performance, and continuous improvement. With clear strategies and collaborative efforts spanning the range of disciplines under one roof, organizations can create optimized systems that drive improved results.</p><ol><li>Define Metrics Early: Aspects like retrieval relevance, generation quality, user satisfaction, or latency, and anomaly rates for quality detection should be defined at the very beginning (as KPIs).</li><li>Utilize Observability Platforms: To monitor and visualize performance, deploy tools built for LLM and RAG observability.</li><li>Collaborate Across Teams: Collaboration will involve FSM experts, data scientists, and developers because observability is a cross-cutting concern.</li><li>Gather Incremental Insights: Use observability data to refine retrieval algorithms and LLM models iteratively.</li></ol><h3>Conclusion</h3><p>Observability is not just a technical add-on. It’s a strategic enabler for building robust and efficient FSM systems utilizing RAG. By implementing strong observability practices, organizations can effectively channel LLM powers to equip field technicians with the right data at the right time. As RAG service continues to evolve, observability will remain pivotal in bridging the gap between cutting-edge AI and real-world operational excellence.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab7edf3b00ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RAG (Retrieval-Augmented Generation) for Field Service Management]]></title>
            <link>https://medium.com/ifs-tech/rag-retrieval-augmented-generation-for-field-service-management-a1316cbea35a?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1316cbea35a</guid>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[ifs-cloud]]></category>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 09:02:05 GMT</pubDate>
            <atom:updated>2025-08-14T19:10:02.168Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*tcX5PpALufG8Jf8CnXhBpw.png" /></figure><h4>Exploring Key Information Retrieval Dimensions in Field Service Management with RAG: Relevance, Similarity, Relationship, and Structure.</h4><p>Retrieval-augmented generation (RAG) stands out amongst the growing field of AI-driven solutions as a method combining data retrieval with generative models to give accurate and contextual answers. In industries such as Field Service Management (FSM), where timely and accurate information is crucial for operations, RAG allows field technicians to instantly pull up relevant documentation, historical data, instructional guides, and everything else they might need.</p><p>However, whether RAG has the maximum potential in FSM depends a lot on how able the system is to handle the <strong>retrieval dimensions</strong> of <em>relevance</em>, <em>similarity</em>, <em>relationship</em>, and <em>structure</em>. These dimensions are critical in increasing the system’s likelihood of fetching the best possible information for field techs — thereby increasing problem resolution and FTF (first-time fix) rates.</p><h3>Understanding Key Information Retrieval Dimensions in RAG</h3><p>To fully utilize RAG in FSM, it is essential to focus on optimizing four core information retrieval dimensions:</p><h4>1. Relevance</h4><p>Relevance refers to how closely the retrieved information aligns with the user’s query. For field service technicians, this might mean retrieving the most pertinent maintenance manuals, troubleshooting guides, or repair logs that directly address the problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*CUHEOHWG9qJzDP4jxefnAQ.png" /></figure><p><strong>Best Method</strong>: <strong>BM25 (Best Matching 25)<br></strong>BM25 is ideal for relevance-based retrieval as it ranks documents based on term frequency and inverse document frequency (TF-IDF), delivering highly relevant documents. In FSM, technicians are looking for answers to specific questions, and BM25 ensures that documents with the best matching keywords and content surface first.</p><blockquote><strong>For example,</strong> A Technician might search by problem code. In that case, BM25 will fetch the documents that contain this error code a maximum number of times and sort them by how well they solve the issue.</blockquote><h4>2. Similarity</h4><p>Similarity measures how closely the retrieved information resembles the query in terms of content, allowing the system to find related or semantically similar documents. For FSM, similarity-based retrieval can be crucial when the exact issue or error term isn’t clear, but related information could still be helpful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*8kYcySIApeqDp-sSrJH39Q.png" /></figure><p><strong>Best Method: Cosine Similarity (with Embeddings)<br></strong>Cosine similarity is a powerful technique for retrieving documents that match a query by comparing two vectors — one representing the document and the other representing the query. This method excels at capturing semantic similarity, allowing for effective retrieval of relevant information from a knowledge base (KB), even when the wording may differ.</p><blockquote><strong>For example, </strong>consider an experienced technician who types a query about abnormal machine vibrations. Even if no document explicitly titled with that phrase exists, the system can still retrieve relevant documents related to machine noise or motor issues, as they share semantic similarities. This capability enhances the technician’s ability to find applicable information quickly and efficiently.</blockquote><h4>3. Relationship</h4><p>Links components of information together, including parts dependencies, maintenance history log records, and the relationship between equipment types and service concerns. In FSM, understanding these relationships can help identify patterns, root causes, or solutions that are not immediately obvious.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*OOWCsvNziLrMhKFXU00Lkw.png" /></figure><p><strong>Best Method: Knowledge Graphs<br></strong>Knowledge graphs support relationship-based retrieval by storing entities and their links using knowledge graphs. This might entail, in FSM, whether or not to use a graph available to gather all maintenance histories, part dependencies or manufacturer specifications associated with the instance of an equipment in question.</p><blockquote><strong>For example, </strong>a technician may experience a known issue. A knowledge graph retrieves all prior service history, showing that the problem occurs after a specific part is replaced, highlighting a pattern that might not be immediately apparent.</blockquote><h4>4. Structure</h4><p>Structure focuses on how information is organized and arranged for easy navigation and retrieval. This information is something like maintenance checklists, part catalogs, or step-by-step repair guides that need to be retrieved and displayed in an organized format by the FSM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*rCTL3cm93DsCRAkn0VJ7vQ.png" /></figure><p><strong>Best Method: SQL or XPath/XQuery</strong><br>SQL is one of the best and most suited languages for structured data retrieval from relational databases, where XPath or XQuery are ideal choices for querying hierarchical / semi-structured data. These methods help FSMs collect and format data using predefined schemes like tables, logs, or procedural guides.</p><blockquote><strong>For example,</strong> A technician asks for a particular part to be replaced. The system uses SQL to query a relational database when the part number provides reliable information that can be used for analysis to display the related part numbers in conjunction with their specifications and steps, all of which are presented cleanly and formatted.</blockquote><h3>Applying Retrieval Dimensions in Field Service Management (FSM)</h3><p>In FSM, technicians often work under time constraints and in high-pressure environments. Quicker access to the correct information can make an enormous difference in time and customer satisfaction. By improving on those four aspects of retrieval, RAG can provide technicians with:</p><ul><li><strong>Contextually relevant documentation </strong>that helps them search for their problem.</li><li><strong>Related resources with similar semantic meaning</strong>, alternate solutions, or troubleshooting steps.</li><li><strong>Deep relational insights</strong> from parts, service history, or equipment dependencies expose hidden patterns.</li><li><strong>Step-by-step advice</strong>, such as repair steps or the part numbers that technicians may follow in a systematic way.</li></ul><h3>Optimizing Field Service with RAG</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*iA_7ElOlvt_Q_SuI0kpwmA.png" /></figure><p>Imagine a complex machine breakdown that a field technician has to deal with. Using assistance enabled by RAG, they can query the serial number to obtain pertinent information promptly. <br>The RAG assistant pulls up a manual appropriate for the particular problem code that is shown on the screen. Documentation on related failures in machines with comparable causes is also included; these include failures of particular parts as well as those with somewhat different symptoms but the same underlying problem.</p><p><strong>Conclusions:</strong> The RAG assistant provides the machine’s full-service history, which is driven by an extensive knowledge graph. This allows experts to spot trends, like reoccurring problems, that appear only after changing particular parts.</p><p><strong>Process:</strong> Lastly, the RAG assistant gives the technician a comprehensive handbook that walks them through troubleshooting so they can effectively fix the problem.</p><h3>How RAG Improves the Process</h3><blockquote><strong>Scenario</strong>: A technician is dispatched to a customer site to repair a machine that has entered an error state, specifically, “motor has stopped.” Utilizing a mobile device, the technician inputs the problem code and machine serial number into a RAG-enabled system.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*FHGGZCj6jl6R5QbQHzYQDg.png" /></figure><p><strong>Relevance</strong>: The system searches for the documents most relevant to that error code: documentation about the specific maintenance schedules of the machine, problem-solving instructions or repair logs relevant to that type of error. Meaning the tech gets instant instructions on how to diagnose and replace the motor… saving valuable repair time!</p><p><strong>Similarity </strong>: RAG surfaces related document using its own text semantics. This way even if the error is slightly different, it may still classify similar motor issues even if the exact error code had not been seen before. This could include documents related to “vibration issues” associated with motor performance to determine root causes, for example.</p><p><strong>Relationship</strong>: The RAG system brings up historical service records for the machine, and notes that a recurring pattern motor failure is observed to have happened almost immediately after replacing this single part using knowledge graph. From a relation’s perspective, this provides the operator with an early warning to upcoming issues or another part to change so that they do not have to return again.</p><p><strong>Structure</strong>: The system give you the simple, step-by-step repair information. Structured data pages also feature a related parts catalog with part numbers, which can make it easier for the technician to order replacement components.</p><h4>Impact on FTF Rates:</h4><ul><li><strong>Save time:</strong> Let the technician tap into the most pertinent and contextual information, reducing the search for answers.</li><li><strong>Effectiveness of diagnostics:</strong> When seeing the maintenance records and similar cases, the technician has a better vision of what might be causing the problem, which leads to faster and more effective repairs.</li><li><strong>Reducing repeat visits:</strong> The RAG offers an understanding into what led to the fault, thus helping the technician address not just the current fault but also preventing possible future failures; ensuring a higher first-time fix rate &amp; customer satisfaction.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*-L1hZBhppnTP7-v4X7r5rg.png" /></figure><p>In conclusion, RAG can become a powerful Field Service Management tool by targeting the optimization of retrieval dimensions (relevance, similarity, relationship and structure). By choosing the appropriate retrieval methods (e.g., BM25 for relevance, or cosine similarity for semantic matching) the information retrieved will not only be correct, but also useful in real-world situations.</p><p>By integrating RAG into their workflow, organizations with field operations can boost technician productivity and reduce service delays, providing better customer experiences and optimizing service function in the process.</p><p><strong>Thanks for taking the time to read!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1316cbea35a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ifs-tech/rag-retrieval-augmented-generation-for-field-service-management-a1316cbea35a">RAG (Retrieval-Augmented Generation) for Field Service Management</a> was originally published in <a href="https://medium.com/ifs-tech">IFS Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Field Service Efficiency: The Power of Multimodal Virtual Assistants]]></title>
            <link>https://medium.com/ifs-tech/enhancing-field-service-efficiency-the-power-of-multimodal-virtual-assistants-c68d29de4489?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c68d29de4489</guid>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Sat, 22 Jun 2024 18:55:51 GMT</pubDate>
            <atom:updated>2024-06-23T06:01:40.429Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="www.vecteezy.com" src="https://cdn-images-1.medium.com/max/682/1*kJnZBRbT64PjjSDalUhbxg.png" /></figure><p>In today fast world with many technologies, field service technicians are very important for industries ranging from HVAC to telecommunications. It’s very important they have the right tools and knowledge to do their job well and fast. Here come virtual assistants. These AI helpers make the technician’s work easier by streamlining their workflow. What makes these virtual assistants special is that they can use text, voice, images, and video together. This helps a lot, making the work of the technicians more productive and better service quality.</p><h3>What is Multimodal Functionality?</h3><p>Multimodal functionality means a system that can work with different types of data. For virtual assistants, it means they can understand and use text, voice, images, and video. This ability makes the virtual assistant very useful for field service technicians. They can get step-by-step instructions or share live videos for help, which makes their work easier and better.</p><figure><img alt="Vecteezy.com" src="https://cdn-images-1.medium.com/max/830/1*WsbTlOVr6LSgLSkZKzqKLg.png" /></figure><h3>Why Multimodal Functionality Matters</h3><p>Field service technicians often work in dynamic and challenging environments. Prompt information and hands-free tools can make a significant difference in their work, which is where multimodal functionality comes into play.</p><p>Here are a few examples of how multimodal functionality enhances technicians’ work:</p><h4>1. Text-Based Interaction</h4><p>Technicians can type in queries or commands, making it easy to seek information without speaking out loud, which is helpful in noisy environments.</p><figure><img alt="Vecteezy.com" src="https://cdn-images-1.medium.com/max/240/1*MK6PSKL2PyC8YZZSZyNGpQ.png" /></figure><p>For Example, A technician types, “How do I reset the circuit breaker?” and receives step-by-step text instructions.</p><h4>2. Voice Commands and Responses</h4><p>Hands-free operation allows technicians to keep working while interacting with the assistant.</p><figure><img alt="Vecteezy.comVecteezy.com" src="https://cdn-images-1.medium.com/max/480/1*aPkvjziYUeddt_0F6f7Hhw.png" /></figure><p>For example, the technician says, “<em>Show me how to replace the air filter,</em>” and the assistant provides verbal instructions or plays a video.</p><h4>3. Illustrative aids</h4><p>The AI assistant can display images or play technical videos to provide visual guidance, making complex procedures easier to understand and follow.</p><figure><img alt="Vecteezy.com" src="https://cdn-images-1.medium.com/max/412/1*e-FD5bj6SxL_rdC3dIhS-w.png" /></figure><p>For example, the assistant might display a diagram of an HVAC system or play a video tutorial on how to replace a part.</p><h4>4. Real-Time Image and Video Support</h4><p>Technicians can use their device’s camera to share live video feeds with remote experts for instant support, enhancing problem-solving capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*0RXRvoaj6eWnme2F6nXYEg.png" /></figure><p>For example, the technician shows the equipment’s current state to an expert via video call, and the expert guides them through the repair process.</p><h4>5. Locating Documents and Images</h4><p>Quick access to manuals, schematics, and past service records ensures that technicians have all the necessary information at their fingertips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/105/1*CPDtdRt_M3OcRLK99xgaJQ.png" /></figure><p>For example, the technician asks for the wiring diagram of a specific model, and the assistant retrieves and displays the relevant document.</p><h4>6. Integrated Reporting</h4><p>The ability to take photos and generate reports on the go streamlines documentation and ensures accurate record-keeping.</p><figure><img alt="Vecteezy.com" src="https://cdn-images-1.medium.com/max/373/1*-MUwOid7wSLRi4PvjRVUBA.png" /></figure><p>For example, after completing a repair, the technician photographs the fixed unit, and the assistant automatically includes these images in the job report.</p><h3>Real-World Application: A Day in the Life of a Field Service Technician</h3><p>Imagine a typical day for a field service technician equipped with a multimodal virtual assistant:</p><p><strong>Morning Briefing</strong>:</p><ul><li>The technician checks their schedule via the assistant, which reads the day’s tasks and optimizes routes based on real-time traffic data.</li></ul><p><strong>On-Site Troubleshooting</strong>:</p><ul><li>Arriving at the job site, the technician encounters a malfunctioning HVAC unit. They describe the issue to the assistant, who suggests checking the fan motor and provides a detailed diagram.</li><li>The technician confirms an obstruction in the motor. They ask the assistant for cleaning instructions, and a video tutorial guides them.</li></ul><p><strong>Hands-Free Operation</strong>:</p><ul><li>With their hands full, the technician uses voice commands to log their progress and request a spare part. The assistant notes the request and checks inventory levels.</li></ul><p><strong>Remote Assistance</strong>:</p><ul><li>When faced with a particularly tricky problem, the technician initiates a live video call with a remote expert through the assistant. Together, they diagnose and fix the issue in real-time.</li></ul><p><strong>End-of-Day Reporting</strong>:</p><ul><li>The technician feeds their report to the assistant, who compiles all the notes, images, and videos into a comprehensive service report.</li></ul><h3>The Future of Field Service</h3><p>Virtual assistants are advanced substantially, moving to the technological domain of field servicing. This field is seeing very substantial alterations now. Leveraging diverse modes, there is an enhancement in efficiency and effectiveness for those who work in the field. It’s not the complete extent of the change happening. We now are also seeing the provision of essentially relevant tools. This is for the added benefit of job execution, with swiftness in mind, along with competence and security considerations. Over in the outer realms of Artificial Intelligence (AI), the development cycles are spinning. They’re leading to more next-gen and sophisticated interactions by using so many various input modes.<br>The concept discussed is that a whole era could be streaming up soon, especially in the field servicing industries based on robust arguments. And these interactional modes? They are the ones contributing to all of these massive changes underway.</p><figure><img alt="Vecteezy.com" src="https://cdn-images-1.medium.com/max/309/1*2RX-Yk9OZFJp1lV3YcTjxA.png" /></figure><p>In conclusion, the importance of multimodal virtual assistants outperforms the fantastical. We might envision them as a futuristic idea. Nevertheless, these entities have evidenced themselves as operational in the standard examination of field expedient personnel’s actions. Data diversity and modes of communication bridging are among their resources — they hold the capability, it is remarked, to be supportive partners in such fields. These assistants are at the level of becoming essential allies in the field, providing real-world solutions to real-world problems.</p><p><strong>Thanks for taking the time to read!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c68d29de4489" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ifs-tech/enhancing-field-service-efficiency-the-power-of-multimodal-virtual-assistants-c68d29de4489">Enhancing Field Service Efficiency: The Power of Multimodal Virtual Assistants</a> was originally published in <a href="https://medium.com/ifs-tech">IFS Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using NLP (Natural Language Processing) to Improve Field Service Operations.]]></title>
            <link>https://liron-marcus.medium.com/using-nlp-natural-language-processing-to-improve-field-service-operations-4edeebc1d4b4?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4edeebc1d4b4</guid>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Fri, 12 May 2023 10:21:13 GMT</pubDate>
            <atom:updated>2023-05-12T10:21:13.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*Xa6Ck3TskhtAsIvj.png" /></figure><h4>Making Customer Requests and Service Engineer Reports More Efficiently Using AI NLP Techniques.</h4><p>Field service operations are crucial for delivering timely and high-quality services to customers. However, efficiently managing the inflow of customer requests and effectively analyzing technician reports present challenges for organizations. This article explores how NLP techniques can address these challenges by automating and improving the processing of textual data in the field service domain.</p><h3><strong>Text Classification for Streamlined Workflows</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NUxugpPzc2DJEn84e_L8yA.png" /></figure><p>Text classification is a fundamental NLP technique that categorizes text into predefined classes or categories. In the context of field service operations, text classification can automatically assign labels or tags to customer requests, technician reports, or other textual data. For example, incoming service requests can be classified as equipment malfunction, installation support, or maintenance tasks. This classification facilitates streamlined routing, ensuring service requests are assigned to the appropriate technicians or groups for prompt resolution. By automating the classification process, companies can optimize resource allocation, reduce response times, and enhance overall field service efficiency.</p><pre># Sample dataset<br>dataset = <br>{<br>  &#39;text&#39;: <br>    [ <br>      &#39;The printer is not working&#39;, <br>      &#39;There is a network connectivity issue&#39;, <br>      &#39;The server is down&#39;, <br>      &#39;I need assistance with software installation&#39;<br>    ],<br>    &#39;label&#39;: <br>    [<br>      &#39;equipment&#39;,<br>      &#39;network&#39;,<br>      &#39;equipment&#39;,<br>      &#39;software&#39;<br>     ]<br>}</pre><p>This example has a small dataset with labeled text examples and corresponding categories (‘<em>equipment</em>’, ‘<em>network</em>’, ‘<em>software</em>’). We can use a classifier model that is trained on this dataset and can be used to categorize incoming service requests into different workflow categories, such as <em>equipment</em>, <em>network</em>, or <em>software </em>issues. By automating the classification process, companies can streamline their workflows and route requests to the appropriate teams or technicians, improving efficiency and response times in field service operations.</p><h3><strong>Enhancing Customer Satisfaction through Sentiment Analysis</strong></h3><p>Sentiment analysis aims to determine a text&#39;s sentiment or emotional tone. In the field service domain, sentiment analysis can be applied to customer feedback, reviews, or technician reports to gauge customer satisfaction levels or identify potential issues. Companies can quickly identify negative feedback or dissatisfied customers by analyzing sentiment, allowing them to address concerns and improve service quality proactively. Sentiment analysis can also help prioritize critical or urgent service requests based on the sentiment expressed by customers, ensuring timely resolution and higher customer satisfaction.</p><blockquote>The response time was impressive, and the technician was professional.</blockquote><pre># Sample dataset<br>dataset = <br>{<br>  &#39;text&#39;: <br>    [ <br>      &#39;The technician was very helpful and resolved the issue quickly.&#39;, <br>      &#39;I am extremely dissatisfied with the service provided.&#39;, <br>      &#39;The response time was impressive and the technician was professional.&#39;, <br>      &#39;The equipment is still not working after multiple attempts.&#39;<br>    ]<br>}</pre><p>In this example, we have a small dataset with text examples. We can use a pre-trained sentiment analysis machine model in natural language processing to analyze a text&#39;s sentiment or emotional tone. It assigns a sentiment score to the text, indicating whether it expresses a positive, negative, or neutral sentiment. Based on the sentiment scores, we classify the sentiments as positive or negative. Finally, we evaluate the accuracy of the sentiment analysis predictions and generate a classification report. We can gain insights into text sentiment expressed using the pre-trained model. It helps in understanding the emotional tone of the text, which can be valuable for customer feedback analysis and more.</p><h3><strong>Efficient Data Extraction with Entity Recognition</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_vqIuAXJ1oKZ-8l16ifL3w.png" /></figure><p>Entity recognition, also called named entity recognition (NER), involves identifying and classifying named entities within the text, such as names of people, locations, organizations, or specific equipment. In field service operations, entity recognition can assist in extracting key information from customer requests, technician reports, or service documentation. For example, recognizing equipment names or model numbers mentioned in a technician’s report can facilitate inventory management and ensure the availability of the right parts for repairs. Efficient entity recognition can save time, minimize manual effort, and improve the accuracy of data processing in field service workflows.</p><pre># Sample technician report<br>report = &quot;Michael S. from the south node has replaced the faulty XYZ-123 module <br>          and tested the equipment. The issue was resolved successfully.&quot;</pre><p>In this example, a sample technician report contains information about the equipment and the actions taken. We can process the report using NLP pre-trained models for identifying and classifying named entities within a given text, such as names of people, locations, organizations, dates, or specific products. Based on the example, We can extract entities like “<em>XYZ-123</em>” as the equipment model number and ‘<em>Michael S.</em>’ as the person who performed the job. By automatically identifying and extracting such information, field service operations can streamline processes like inventory management, ensure the availability of the right parts for repairs, and improve overall data processing efficiency.</p><h3>Insights and Decision-Making with Topic Modeling</h3><p>Topic modeling is a technique used to identify latent topics or themes within a collection of documents. In field service operations, topic modeling can help uncover recurring topics or patterns in customer requests, technician reports, or other textual data. By identifying common topics, organizations can gain insights into the most frequent customer issues or the most common tasks performed by technicians. This information can guide decision-making, resource allocation, and training programs. Topic modeling can also facilitate the creation of knowledge bases or FAQs, enabling faster resolution of common issues by technicians or self-service support for customers.</p><pre># Sample dataset<br>dataset = <br>{<br>  &#39;text&#39;: <br>    [ <br>      &#39;The printer is not working&#39;, <br>      &#39;There is a network connectivity issue&#39;, <br>      &#39;The server is down&#39;, <br>      &#39;I need assistance with software installation&#39;<br>    ]<br>}</pre><p>In this example, we have a collection of documents containing a short statement. Topic modeling helps us understand the main themes or topics in these statements without reading each word by word. Topic modeling works by analyzing the words used in the statements and finding patterns. It looks for words that tend to appear together or in similar contexts. In our example, the topic modeling algorithm might identify two main topics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*7Fj8HqeWYhdwMDF6vjGCyA.png" /></figure><p>By analyzing the patterns in the statements, the topic modeling algorithm assigns a probability to each topic for each statement, indicating the likelihood that the statement belongs to that topic. For example, for the statement “<em>The printer is not working,</em>” the algorithm might assign a high probability to the “<strong>Technical Issues</strong>” topic because it contains words like “<em>printer</em>” and “<em>working</em>” that is closely associated with technical problems.</p><p>Similarly, for the statement “I<em> need assistance with software installation,</em>” the algorithm might assign a high probability to the “<strong>Software Assistance</strong>” topic because it contains words like “<em>need,</em>” “<em>assistance,</em>” and “<em>software</em>” that are related to seeking help with software.</p><p>Topic modeling can help field service operations by identifying recurring themes or issues in customer requests and technician reports, allowing companies to prioritize resources, optimize training programs, and proactively address common problems. It also enables the creation of knowledge bases or FAQs based on identified topics, facilitating faster issue resolution, self-service support, and improved customer satisfaction.</p><h3>Conclusion</h3><p>By leveraging these NLP techniques, companies in field service operations can automate and improve the processing of customer requests, technician reports, and other textual data. Text classification enhances routing and prioritization, and sentiment analysis enables proactive customer engagement, entity recognition improves data extraction, and topic modeling provides valuable insights for decision-making.</p><p>Overall, NLP techniques empower companies to optimize their field service workflows, enhance service quality, and deliver outstanding customer experiences.</p><h3>Thank you for reading !!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4edeebc1d4b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative AI — Figuring It Out Through Use Cases in Field Service.]]></title>
            <link>https://liron-marcus.medium.com/generative-ai-figuring-it-out-through-use-cases-in-field-service-8e78d70dbe1f?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e78d70dbe1f</guid>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Sun, 15 Jan 2023 07:05:48 GMT</pubDate>
            <atom:updated>2023-07-02T21:01:57.448Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*Eb3iRuUtSpOxX_XM0jBmsA.jpeg" /></figure><h3>Generative AI — Figuring It Out Through Use Cases in Field Service.</h3><h4>How generative tools like AI chatbots could help companies in the field service industry.</h4><p>Traditional AI applications are built to perform specific tasks. They improve the efficiency and accuracy of existing processes, such as image recognition, (NLP) natural language processing, and decision-making. These AI applications are trained on large sets of labeled data and can accurately complete the designed task.<br>On the other hand, generative AI is designed to create new content or generate original ideas. The models in generative AI are trained on large amounts of unlabeled data and can generate new outputs which aren’t limited by the examples/instances they were trained on.<br>The Generative Pre-trained Transformer-3, aka GPT-3 is a widely recognized example of generative AI. Developed by OpenAI, this language generation model has gained notable distinction for its capability to generate text that closely resembles human writing when prompted. As a result, GPT-3 has been widely applied across various domains, demonstrating its versatility and potential impact.<br>Besides GPT-3, other well-known examples of generative AI are DeepFake, a technology that utilizes advanced algorithms to manipulate or synthesize video and audio content, and StyleGAN, an innovative model that generates highly realistic images by leveraging a vast dataset. <br>Typically, traditional AI systems are designed to execute specific tasks, while generative AI systems excel at fostering creativity and producing fresh content or concepts.</p><h3>Generative AI Example — How can a chatbot assist a field technician?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4XD4FH-uSk1PNVzQ5DzGyg.png" /><figcaption>This image, created by DALL-E, portrays a chatbot conversing with a field technician, brought to life from the text prompt: “Chatbot interacting with a field technician.”</figcaption></figure><p>The following example illustrates a dialog between a chatbot powered by generative AI and a field technician who seeks assistance with a complex issue related to a device’s power supply.</p><ul><li><strong>Chatbot</strong>: “<em>Hello, how can I assist you today?</em>”</li><li><strong>Field Technician</strong>: “<em>Hi, I am facing a complex issue with device D001. I need some advice.</em>”</li><li><strong>Chatbot</strong>: “<em>Certainly, I’m here to help. Please provide me with more details about the problem you’re experiencing.</em>”</li><li><strong>Field Technician</strong>: “<em>The device’s power supply is causing trouble. It’s displaying an error code, E999, and I’m struggling to find a solution.</em>”</li><li><strong>Chatbot</strong>: “<em>I understand the complexity. Let me search our extensive database of similar cases to find a potential solution for you.</em>”</li></ul><p><strong><em>[Chatbot analyzes historical cases and identifies a relevant solution]</em></strong></p><ul><li><strong>Chatbot</strong>: “<em>Based on my analysis of similar cases, it appears that replacing the power supply unit has resolved this error code in most instances.</em>”</li><li><strong>Field Technician</strong>: “<em>That sounds logical. Can you provide me with more guidance on how to proceed with the replacement?</em>”</li><li><strong>Chatbot</strong>: “<em>Absolutely! I have detailed step-by-step instructions for replacing the power supply unit. Here they are:</em></li></ul><p><em>1. Turn off the device and disconnect it from the power source.</em></p><p><em>2. Remove the casing to gain access to the power supply unit.</em></p><p><em>3. Safely disconnect all cables connected to the old unit.</em></p><p><em>4. Replace the old unit with a new one, ensuring secure connections for all cables.</em></p><p><em>5. Return the casing and reconnect the device to the power source.</em></p><p><em>6. Turn on the device and check if the error code has been resolved</em>.”</p><ul><li><strong>Field Technician</strong>: “<em>Thank you so much for the detailed instructions! I’ll follow these steps immediately.</em>”</li><li><strong>Chatbot</strong>: “<em>You’re welcome! Please don’t hesitate to reach out if you have any further questions or need additional assistance.</em>”</li></ul><p>In the previous dialog, the chatbot engages in a conversation, understanding the technician’s problem and providing relevant advice based on its analysis of similar historical cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*hl20y6Y2xXoY9s9OnHhldw.jpeg" /></figure><p>The generative AI model leverages its vast knowledge base and the ability to understand natural language to comprehend the technician’s requests and respond accordingly. It identifies the error code and suggests a standard solution involving replacing the power supply unit.</p><p>The chatbot provides step-by-step instructions for the replacement, demonstrating its capability to generate coherent and contextually appropriate responses. It ensures the technician has a clear understanding of the procedure and offers further assistance if needed.</p><h3>Other examples of use cases for generative AI.</h3><p>There are several other ways in which generative AI can be utilized in the field service industry to reduce costs and enhance customer satisfaction. Here are a few notable examples:</p><h4>Predictive maintenance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/75/1*L_7gNwCUkXh1MU9f1nzO1w.jpeg" /></figure><p>Generative AI can significantly reduce downtime, increase equipment lifespan, and improve overall operational efficiency by predicting equipment failures and suggesting proactive maintenance actions. By analyzing sensor data from equipment, a generative AI model can predict when maintenance will be needed and schedule it proactively, reducing downtime and prolonging the life of the equipment.</p><h4>Dispatch optimization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/67/1*vfNfOT6frwMLugPSJjbz-g.jpeg" /></figure><p>Utilizing the power of generative AI, dispatch operations can be significantly enhanced through a comprehensive analysis of historical service call data, technician availability, and equipment locations. By harnessing these valuable insights, the dispatching process can be optimized with a prime focus on minimizing technician travel time, streamlining operations, and maximizing efficiency.</p><h4>Repair diagnostics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/96/1*s7d0h3DUOQCTTd1-zFLjVw.jpeg" /></figure><p>A generative AI model offers a transformative approach to problem diagnosis by analyzing sensor data and images captured from equipment. This advanced technology enables remote troubleshooting, significantly minimizing technicians’ physical need to visit the site. By leveraging the potential of AI, organizations can attain exceptional levels of efficiency and expedite issue resolution without compromising quality or safety.</p><h4>Documentation generator</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/99/1*Bf_I011pMKbGTrrEoyliFA.jpeg" /></figure><p>Harnessing generative AI for documentation offers several significant benefits. The model can analyze vast amounts of data, including existing manuals, technical specifications, and historical records, to learn patterns, terminology, and best practices. This allows it to generate documentation that aligns with industry standards and company guidelines, minimizing errors and discrepancies.</p><h4>Augmented reality</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/116/1*PSUELEX12s6pe1JabL7aew.jpeg" /></figure><p>A unique capability of generative AI models is their ability to create immersive augmented reality overlays that offer technicians invaluable information directly related to the equipment they are working on. These dynamic overlays go beyond conventional displays by providing real-time troubleshooting steps, comprehensive repair instructions, and contextual insights tailored to the specific task at hand. By seamlessly integrating virtual information into the technician’s physical environment, generative AI empowers them with an enhanced and intuitive user experience, ultimately facilitating more efficient and proper equipment maintenance and repair processes.</p><h4>Inventory management</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/92/1*o_7LJm20QRkEZ8RrU23Qhw.jpeg" /></figure><p>Optimizing inventory management is critical for the success of any business, and generative AI models play a pivotal role in achieving this goal. Utilizing advanced data analysis, these AI models can accurately predict restocking needs based on sales and inventory information. Consequently, this foresight significantly reduces the risk of stockouts, ensuring uninterrupted operations and minimizing costly downtime periods. With generative AI’s ability to precisely anticipate inventory requirements, businesses can maintain optimal stock levels, streamline supply chains, and enhance overall operational efficiency.</p><h3>Conclusion</h3><p>Generative AI enables the chatbot to simulate human-like conversations, understand complex issues, and provide valuable guidance based on historical knowledge and patterns. It showcases the potential of AI-powered virtual assistants to support technicians and users in troubleshooting intricate problems and delivering helpful solutions.</p><ol><li>Start small: Begin by identifying a specific problem or opportunity where generative AI can add value and test it with a pilot project before scaling up.</li><li>Use high-quality data: Generative AI models, like other AI models, are only as good as the data they are trained on, so it’s essential to ensure that the data is accurate, diverse, and representative of the problem you’re trying to solve.</li><li>Monitor and maintain the model: Generative AI models are not set and forgotten. They must be monitored and fine-tuned regularly to ensure theyperform optimally.</li><li>Use domain expert in the loop: Generative AI models can produce outputs unsuitable for the intended use case or contain errors, so it’s essential to use domain expert judgment to review and validate the outputs generated by the model.</li><li>Communicate the limitations: Generative AI models can generate new content or ideas, but they are not perfect and may contain errors. It is important to communicate the limits and potential errors to the stakeholders and customers.</li><li>Continuously train: With the constant evolution of technology, it is essential to keep the model updated by retraining them with new data and adjusting the parameters for better performance.</li><li>Ethical considerations: As with any AI implementation, ethical considerations must be considered, such as ensuring that the model does not discriminate against certain groups and respects individuals&#39; privacy.</li></ol><blockquote>By adopting these best practices, companies can leverage the power of generative AI to drive efficiency, cut costs, and foster innovative ideas within the field service industry.</blockquote><h3>Thank you for reading !!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e78d70dbe1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good Models (on their own) don’t generate sufficient value]]></title>
            <link>https://liron-marcus.medium.com/good-models-on-their-own-dont-generate-sufficient-value-94d854aabed4?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/94d854aabed4</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[field-service-management]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[field-service]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Thu, 09 Jun 2022 14:33:49 GMT</pubDate>
            <atom:updated>2022-06-15T19:24:01.768Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to realize business value from highly performant models, using a case study in the field service industry.</h4><p>The field service industry (like other industries) moves toward automated tasks or augmented existing processes based on AI tools that provide decision support to field technicians. Using machine learning is the key to future success but doing it right is vital to getting the most out of your investment.</p><p>Companies that develop machine learning models assume that if the models provide excellent predictions, all the hard work was done, and now all that is left is the easy part of assimilating the models into the work processes — This assumption is wrong.</p><p>No matter how good the model’s performance is, at the end of each model stands a user who needs to use it, and if the business process flow does not fit well for the user, the model will lose its true meaning.</p><blockquote>Machine learning models must be incorporated with business process flows, and without diving into the depths of that workflow, it is impossible to succeed.</blockquote><p>Before applying a machine learning model to a business process, we first need to ask some questions:</p><ul><li>What part of the business process are we augmenting or automating?</li><li>How can we measure its performance?</li><li>And essentially, How do we expect this use of AI to improve the process?</li></ul><p>In many cases, defining a task will mean breaking down some larger problems into smaller ones.</p><h3>How to utilize a model to reduce multiple visits?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*pBz9V5K4_cR8ifylsKcGEw.png" /></figure><p>In this case study, the application is using machine learning to predict the chance of repeat visits, we will have to answer questions like:</p><ul><li><em>What quantifies the quality of predictions?</em></li><li><em>How should the system and service technicians respond to the model’s prediction — multiple visits vs. single visits?</em></li><li><em>How do we measure the extent of success — is it only by a reduction in repeat visits?</em></li></ul><p>Hence, we need to look at it more closely and ensure that every part of the process flow integrating the machine-learning solution has been considered clearly before beginning implementation.</p><p>Back to the case study, if the model predicts that a particular service order will likely have a repeat visit, the system process flow should recommend ways to prevent it. Only displaying the probability value in the application is not enough. To do this, we need to understand the reasons for multiple visits.</p><h4>What can lead to a repeat visit?</h4><blockquote>A study from the <a href="https://www.concerttech.com/wp-content/uploads/2021/03/Aberdeen-Group-RR-First-Time-Field.pdf">Aberdeen Group</a> broke down the causes of low FTFRs (First Time Fix Rates) as follows:</blockquote><figure><img alt="https://www.expansivefm.com/latest/guide-improving-your-first-time-fix-rate" src="https://cdn-images-1.medium.com/max/1024/1*GzT7zWMJVXrbKqbp_5ytfg.jpeg" /></figure><blockquote>92% of the time, it seems, the cause is poor communication — either the appropriately qualifeid engineer has not been sent, the correct information has not been given to them, or they weren’t able to gain access to the site in the first place.</blockquote><blockquote>Therefore, to improve the process flow, emphasis must be put on improving communication.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*SD4ovYsZkE-Jv_bdrMF0Dg.jpeg" /></figure><h3>Predict repeat visits workflow</h3><p>The below figure illustrates the revised flow that starts when a service order with a high chance of repeat visit is assigned to a technician.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4AiEuVUGpAyMxlS9dxZXA.png" /></figure><h3>Conclusion</h3><p>AI and Machine learning has become an essential tool for companies to automate processes, and many companies seek to adopt algorithms widely. It is crucial to conceive entire business processes that involve machine learning models from beginning to end.</p><p><strong><em>Think end to end — </em></strong>It is required to break apart how work should be done and design the process more conducive to how machine learning models and people operate together.</p><p>Following our case study, a significant challenge in the field service industry is sending technicians to job sites with the right information and equipment to complete the job on the first visit. If the system displays only the probability of a return visit to the technician, he will most likely ignore it, and the model will lose its meaning. Therefore, we need to design a process that <strong>increases technician awareness</strong>. For example, a workflow behaves like a checklist that provides recommendations from similar past incidents or highlights a relevant snippet from technical guidelines.</p><p>The key to success is providing the technicians with up-to-date information and customer service history at the right time so they can arrive at the customer site ready to complete the job.</p><blockquote>Developing a machine learning model can leave value on the table when there is not a suitable workflow realizing the value.</blockquote><h3>Thank you for reading !!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94d854aabed4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Evaluate the impact of prediction models in practice for field service management]]></title>
            <link>https://liron-marcus.medium.com/evaluate-the-impact-of-prediction-models-in-practice-for-field-service-management-4951e184749e?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4951e184749e</guid>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[field-service]]></category>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Sun, 21 Nov 2021 11:34:54 GMT</pubDate>
            <atom:updated>2021-11-24T10:56:35.984Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*ic6uhdL8OVB-WCJLb2gwjQ.png" /></figure><h4>One of the primary objectives in deploying a predictive model is to assess how and whether the model resolves our business problem. However, in many cases, it’s hard to define/quantify the extent of success.<br>In this article, I describe A/B testing as a method by which we can evaluate how effective our model is in practice.</h4><p>A/B testing is a general methodology used online to test a new product or feature. The term “A/B” comes from the fact that two groups are used for the test. In plain English, the idea is to take two similar groups and let one group — Group A be exposed to an existing feature/process and a second group — Group B to a different set, the new version. After running both versions simultaneously, we can check how both groups behave and which version produces better results to determine if the version with the new feature is better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*fHIjGeeAUXkzoTjYX1WNJw.png" /></figure><p>Group A is called the <strong><em>Control Group</em></strong> — this group experiences no change from the current setup, and Group B is called the <strong>T<em>reatment Group</em></strong> — this group is exposed to the feature based on the predictive model.</p><p>In this article, the method is demonstrated with an example of a business problem from the field service industry — How can we <strong>improve First Time Fix</strong> rates?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/258/1*o9IFDV0qdW6X2IyrlALAcg.png" /></figure><p>According to the <a href="https://concerttech.com/wp-content/uploads/2021/03/Aberdeen-Group-RR-First-Time-Field.pdf">Aberdeen Group report</a>, the biggest customer frustration is that the troubleshooting or maintenance cannot be carried out in one go.</p><p>Consider an IT service company that has built a repeat visit prediction model to help address a problem with service technicians that failed to resolve an issue on their first visit that leads to a repeat visit. Before the model was put in place, the company could evaluate if a service call got resolved on the first visit only for calls that were closed for thirty days. Now, the model helps to flag any potential risk of a second visit even before the first visit is conducted.</p><p>The company would like to understand how well the model is helping to address the repeat visit problem. To evaluate this model’s effect on that problem, the company performed a comparative experiment of A/B testing.</p><blockquote>We use the A/B testing not to determine the model’s predictive power but rather to evaluate how good it is at helping with the business problem when it is deployed.</blockquote><h3><strong>Formulate the hypothesis</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*AVFrEDmEmn__E0BFUhJQxw.png" /></figure><p>Before we carry out the A/B experiment, we need to state our null hypothesis and alternative hypothesis. Hypothesis describes, in concrete terms, what we expect will happen in a particular circumstance. <em>The </em><strong><em>null hypothesis</em></strong><em> states that there is </em><strong><em>no</em></strong><em> difference between the control and treatment groups. The</em><strong><em> alternative hypothesis</em></strong><em> states that there </em><strong><em>is</em></strong><em> a difference between the control and variant groups.</em></p><p><strong>Null hypothesis (H0):</strong> There <strong>is no significant difference </strong>in the first-time fix rate between the control and the treatment.<br><strong>Alternative hypothesis (H1):</strong> There <strong>is a significant improvement</strong> in the first-time fix rate for the treatment group compared to the control group.</p><h3>Define the metrics</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*LRljHpJUYsdkQ-Z7T9d_yQ.png" /><figcaption>Aberdeen published this chart showing the major Field Service goals sorted into two categories; those companies with first-time fix rates greater than 71% and those with FTR at or below 70%.</figcaption></figure><p>Choosing which metrics we are going to check is the fundamental essence of our experiment. We need to select metrics that are clear indicators of success or failure. The first-time fix rate directly impacts <strong>customer satisfaction, technician productivity, service profitability, and response time</strong>. Therefore, we would like to assess whether the predictive model significantly influences those KPIs on the treatment group.</p><blockquote>Before we run the test, we need to ask ourselves the following questions:</blockquote><blockquote>1. Do we have a way to get the data/results required to analyze and make a decision?</blockquote><blockquote>2. Is the evaluation period applicable? i.e., take into account influencing factors, such as weekday vs. weekend.</blockquote><blockquote>3. Are we technically able to compare the change of the current version to the new one?</blockquote><h3><strong>Run the experiment</strong></h3><p>The company has selected two homogeneous regions with the same number of technicians, call rate, consistent equipment, problem codes, and request types. One region was assigned as the treatment group and the second region as the control group. For calls in the treatment group, the company applied the process using the predictive model to calculate the probability of a second visit when the first call is coming to the call center. The process included an alert for the technicians regarding a return visit as well as recommendations on how to avoid a repeat visit based on previous cases. Only the predictive model was applied for calls in the control group, but it was invisible for the technicians.</p><blockquote>This implementation helps tell us something about how accurate the prediction model is when comparing Predicted vs. Actual.</blockquote><p>By capturing the predicted results in the control group, we can examine later whether there was a negative impact of the model on the business process. I.e., the model produced lots of incorrect predictions of False Positives (FP) — In our example, a call that was supposed to be a single visit was predicted with a high chance of repeat visits. This issue can lead to over-maintenance, which we would like to prevent.</p><p>This test ran in twelve weeks, and at the end of this period, the company measured the first-time fix rate of all resolved calls within each group.</p><h3><strong>Analyze the result</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*F_t0gzGZ94mmbo0-2wH6Lg.png" /></figure><p>Once the company’s experiment is complete, it was time to analyze the results. The company collected and analyzed the data and performed a comparison between the two regions.</p><p>The experiment results are presented as quantitative information that allows a straightforward comparison (it is desirable to reach statistical significance). However, sometimes there is no significant difference, and it is essential not to rush to conclusions.</p><h3>Conclusion</h3><p>In this article, I have described how A/B testing works and how it can be used to evaluate how well a predictive model resolves a business problem, following an example from the field service industry.<br>We use the A/B testing not to determine the model’s predictive power but rather to evaluate how good it is at helping with the business problem when it is deployed.</p><p>However, we should be aware that A/B experiments do not provide reasons for the findings but only the results. Indeed, there may be cases where a particular change made will affect something else, which in itself will lead to a difference, and therefore may lead us to draw erroneous conclusions (“<strong>mediator variable</strong>”) — for example, the ability/motivation of the technician to resolve the issue on the first visit.</p><h3>Thank you for reading !!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4951e184749e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explainable AI (XAI) in Field Service Management.]]></title>
            <link>https://liron-marcus.medium.com/explainable-ai-xai-in-field-service-management-8465e05a6f8c?source=rss-c81aa7e1aecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8465e05a6f8c</guid>
            <dc:creator><![CDATA[Liron Marcus]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 16:03:54 GMT</pubDate>
            <atom:updated>2021-04-12T11:44:59.257Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>How to explain our machine learning models to the stakeholders, following an example of a model that p</strong>redicts SLA breaches.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*NdhP67EGtscSvDBAtRNy1A.png" /></figure><p>Machine learning models are becoming more and more common in the field service industry. But how and when can we trust them? Is it possible to understand how a model reached its decision? What types of explanations about the model or its behavior can we provide?</p><figure><img alt="XAI Concept by DARPA" src="https://cdn-images-1.medium.com/max/600/0*uO3bFEufp4KjAUU2.png" /><figcaption>XAI Concept presented by DARPA</figcaption></figure><p>Three main factors push this area. First, data scientists want to make sure their model does what they think it does and discover errors or over-fitting situations. Second, managers or clients want to understand the outcomes to draw their policy recommendations from and get a clearer sense of the complex models and their meaning. Third, perhaps the most important factor for change in the field is regulators in the United States and Europe who require firms to explain the models’ results or make sure that the model does not discriminate against specific populations illegally.</p><h3><strong>The Target Audience in Explainbity AI (XAI)</strong></h3><p>The following bullets outline the different purposes of explainability in machine-learning models presented by different audience profiles:</p><ol><li><strong>Domain experts </strong>(e.g., field service managers and data analytics) —<strong> </strong>Help them trust the model itself.</li><li><strong>Users affected by model decisions</strong> (e.g., service technicians) — Understand their situation, verify suitable choices.</li><li><strong>Regulatory entities/agencies</strong> — Certify model compliance with the legislation in force, audits, ext.</li><li><strong>Managers and executive board members —</strong> Assess regulatory compliance, understand corporate AI applications…</li><li><strong>Data scientists, product owners </strong>—Ensure and improve the product’s efficiency.</li></ol><h3>Approaches to Model Explainability</h3><p>Methods for machine learning explainability can be classified according to various criteria.</p><p><strong>Intrinsic and post hoc</strong> — This criterion distinguishes whether interpretability is achieved by restricting the machine learning model&#39;s complexity (intrinsic) or applying methods that analyze the model after training (post hoc). Intrinsic interpretability is achieved by constructing self-explanatory models which incorporate interpretability directly into their structures. This category’s family includes a decision tree, rule-based model, linear model, etc. In contrast, the post hoc one requires creating a second model to provide explanations for an existing model. The main difference between these two groups lies in the trade-off between model accuracy and explanation fidelity.</p><p><strong>Model-specific and model-agnostic</strong> — Model-specific methods are limited to specific model classes. They usually derive explanations by examining internal model structures and parameters. Model-agnostic tools can be used on any machine learning model and are applied after the model has been trained (post hoc). It treats a model as a black-box and does not inspect internal model parameters.</p><p><strong>Local and global —</strong> the local ones focus on individual predictions, while the global explanations try to capture the entire model. Local interpretable models are usually achieved by designing more justified model architectures to explain why a specific decision is made. Unlike the globally interpretable models that offer a certain extent of transparency about what is going on inside a model (e.g., feature importances), locally interpretable models provide users an understandable rationale for a specific prediction.</p><h3>Accuracy vs. Explainability</h3><p>The main assumption is that there is a trade-off between the models’ predictive accuracy and their explainability. This assumption is a general statement and might not always be the case in every single context. By their very nature, some models are more explainable than others. If we try to map the various kinds of a model into an accuracy continuum in one axis and an explainability continuum in another axis, we get an interesting insight, as shown in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*bZyFBkojMPO-aTJwL-7O_g.png" /></figure><p>Based on the figure, we see those explainable models are easily understandable, but their accuracy is not as good as they are simple. On the other hand, accurate models work well but aren’t as explainable as they are complicated.</p><blockquote>Should we need to ‘lower down’ the accuracy of AI algorithms to make them explainable?</blockquote><p>There is not a straight answer. We need to understand the performance objectives, depends on the downside of getting it wrong. In most cases, we have to balance the <em>cost </em>of false negatives vs. the <em>value</em> of false positives. We need to determine the cost of accuracy vs. the business impact of false predictions and avoid models where false predictions are greater than the business can tolerate. We should consider whether the explainability of the model is a requirement or not. If it is, complex methods like deep learning may be unsuitable.</p><h3>Prediction of SLA Breaches</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*EbK9vi48ob5YaNQk.png" /></figure><p>SLA compliance is crucial in companies in the field service industry. This KPI is critical for both customer retention and service profitability. Therefore it is required to have a model that can predict whatever SLA breaches before it happens. Once the model is built and starts predicting, the end-users want to understand how an individual prediction was made.</p><blockquote>“Why did the model predict that I would miss my SLA? I.e., what factors should I change to make the next work order successful?”</blockquote><p>The model can indicate that systemic failures are happening within the company that is making it difficult, for example, for service technicians to be dispatched in a timely fashion.</p><h4>From global explanations to local understanding</h4><p>First, we use the feature importance to understand our global model structure. The Feature importance refers to techniques that assign a score to input features based on how useful they are at predicting a target variable, in our case, the chance to miss an SLA. The relative scores can highlight which features may be most relevant to the target, and the converse, which features are the least relevant. This may be interpreted by a domain expert and could be used as the basis for gathering more or different data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*HLiAk1J5s6LcWI_puDF_Gw.png" /><figcaption>Features Importance</figcaption></figure><p>The above figure shows the default top 4 features ranked according to the explained variance each feature contributes to the model. In this case, the features are plotted against their relative importance, that is the percent importance of the most important feature. As we can notice that the most top feature is <em>spare parts availability</em>.</p><blockquote>As mentioned before, an important distinction is global vs. local. Local measures focus on features for a specific prediction, whereas global measures take all predictions into account. For example, the first relevant is when we want<strong><em> to explain why a particular technician was predicted to not met the work order’s SLA</em></strong>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*QJFA5uJIQ4i2jvrmi2_gwA.png" /></figure><p>One way to do that ​​is to fit a new and simple model that can be explained, such as a linear model or a single tree, in the same observation region. We will use the Local interpretable model-agnostic explanations (LIME) package that implements this idea.</p><p><em>LIME assumes a black-box machine learning model and investigates the relationship between input and output, represented by the model.</em></p><p>First, the user pre-selects the number of variables to be in the simple model. The algorithm then takes samples of the actual model results from the database, weights them according to their proximity to the point you want to explain, and thus fits the simple model around this point. That is, the simple model takes into account observations that are throughout the distribution of variables, but it gives more weight to observations that are around the point that one wants to explain. Below are two parts of the output that explain the model’s prediction on a single work order.</p><p><strong>Prediction probabilities</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*6yw-OpfVYZ3m_Sw85wPszA.png" /><figcaption>The predicted probabilities for specific work order</figcaption></figure><p>The above figure shows that the model predicts a 73% for a specific work order that the technician will miss its SLA.</p><p><strong>Feature importance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rrELf_A2LCZ_rHcpJywQGQ.png" /><figcaption>LIME interpretation</figcaption></figure><p>The above figure shows the features sorted by absolute impact descending for the prediction. It says the reason that the predicted work order was 73% miss is due to those influencers in descending order. In the green are features that have a positive influence on the prediction value, and in red are features that have a negative effect — basically that decrease the predicted chance to miss the SLA. Following this, we know which factors should change to make the next work order successful (e.g., improve technical skills by practical training).</p><h3>The Right to an Explanation</h3><p>There is an <a href="https://academic.oup.com/idpl/article-pdf/doi/10.1093/idpl/ipx005/17932196/ipx005.pdf">academic debate</a> among jurists over the European Privacy Protection Regulation, the GDPR, which ostensibly gives consumers what is called “The right to explanation” — the right to an explanation of algorithmic decisions about them — but does so in a vague and not so binding way. Many are pushing for tighter regulation, and according to various publications, US regulators are also working on the issue vigorously. Suppose the right to explanation becomes standard in the US and Europe. In that case, many organizations using machine learning models will have to incorporate XAI tools as an integral part of their applications. For this reason, large companies such as IBM, Microsoft, Amazon, and others have already set up libraries of explainability services for their customers and their cloud services. It is clear to everyone that this is a necessary stage for the future of machine learning.</p><h3>Conclusion</h3><p>In recent years machine learning has been applied to different domains which among them is the field service. Companies in this field often reach for classical machine learning algorithms to solve decision-making problems. To trust the machine and act on its recommendation, it needs to inspire confidence in us. It is a bit like the trust we seek in an expert consultant in his field. <br>Most algorithms are perceived as a black box, but there are situations where the model needs to be explained to allow user credence.<br>The ability to interpret models and understand their decisions falls under a broad field called Explainable Artificial Intelligence (XAI).<br>In simple words, it answers our question, why a machine learning model is behaving in such a particular way. Essentially, instead of referring to the AI system as a black box, XAI helps us understand what is going on there?</p><h3>Thank you for reading !!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8465e05a6f8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>