<?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 Mikko Lahdeaho on Medium]]></title>
        <description><![CDATA[Stories by Mikko Lahdeaho on Medium]]></description>
        <link>https://medium.com/@mikko.lahdeaho?source=rss-8d1cd3e4fcef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*JyWp7xjzHXOtJ-F6YCsnEw.jpeg</url>
            <title>Stories by Mikko Lahdeaho on Medium</title>
            <link>https://medium.com/@mikko.lahdeaho?source=rss-8d1cd3e4fcef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:19:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mikko.lahdeaho/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[AI Doesn’t Scale]]></title>
            <link>https://blog.startecon.fi/ai-doesnt-scale-a417e1cbedef?source=rss-8d1cd3e4fcef------2</link>
            <guid isPermaLink="false">https://medium.com/p/a417e1cbedef</guid>
            <category><![CDATA[karpon]]></category>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Mikko Lahdeaho]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 14:16:09 GMT</pubDate>
            <atom:updated>2026-04-17T14:16:59.771Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Why startups developing AI agents are facing a sustainability crisis?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CjGC5s4cQlW4xckP" /><figcaption>Photo by <a href="https://unsplash.com/@nypl?utm_source=medium&amp;utm_medium=referral">The New York Public Library</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>GPUs</h3><p>One day I Googled my own name :) and stumbled upon this <a href="https://www.pcuf.fi/~lahdeaho/">old website</a> I used to maintain in the ’90s.</p><h4>Back to the ‘90s</h4><p><a href="https://en.wikipedia.org/wiki/Graphics_processing_unit">GPU</a> chips had just hit the market. It was a major change for computer games, as games running at 320x240 pixel resolution saw a massive performance boost, which brought stunning image quality and fast refresh rates to the graphics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hbGpBZCYssZZlphOkfciEw.jpeg" /><figcaption>(<a href="https://imgur.com/gallery/3dfx-voodoo-graphics-card-accelerator-advert-from-videogames-magazine-late-90s-pc-loyciHD">source</a>)</figcaption></figure><p>The gaming experience was amazingly great, and those graphics cards weren’t very expensive, since after the recession in Finland, young adults could afford to buy new ones every now and then.</p><p>Back then, people didn’t even think about how much electricity they consumed; high power consumption was more of a source of pride, and the computer kept the house nice and warm. I was extremely proud to own two <strong><em>3dfx Voodoo2</em></strong><em> </em>cards for running games, CAD systems, and multimedia applications.</p><h4>General-Purpose GPUs for AI</h4><p>In addition to gaming, parallel processing technology sparked interest among financial firms on Wall Street, whose pioneering work transformed the role of GPUs in general-purpose computing as well (<a href="https://en.wikipedia.org/wiki/General-purpose_computing_on_graphics_processing_units">GPGPU</a>).</p><p>Today, GPU chips are generally the workhorses of AI services. Millions of these chips are in operation in today’s data centers, and they also consume a great deal of electricity and water, which is beginning to have significant environmental impacts.</p><p>Efforts have been made to significantly reduce the power consumption of GPU chips, and new data centers are adopting new, less water-intensive cooling technologies as well as methods for recycling heat.</p><p>The resource consumption caused by agentic AI appears to be a major cause for concern.</p><h4>Modern AI Architectures</h4><p>Even the old rule-based if-then-else logic still works well in many situations, and probabilistic models are useful for solving complex problems, but they lack explainability and traceability.</p><p>The following image perfectly illustrates how current AI models or architectures are designed to solve increasingly complex problems.</p><figure><img alt="AI Taxonomy: Reactive to Autonomous" src="https://cdn-images-1.medium.com/max/775/1*Qhgd2KcWLP6-M-05-CaHWQ.png" /><figcaption>It’s better to recycle good images than generate costly new ones ;) <a href="https://dev.to/agentsphere/every-ai-agent-needs-a-dedicated-computer-not-just-a-code-executor-4ih0">source</a></figcaption></figure><h3>AI Doesn’t Scale as Traditional Software</h3><p>The current software landscape is undergoing a major shift from traditional, rule-based, task-oriented software toward intelligent AI agent systems based on large language models (<a href="https://en.wikipedia.org/wiki/Large_language_model">LLM</a>s).</p><p>While AI agents offer unprecedented flexibility as they navigate autonomously in ambiguous and unstructured environments, they face fundamental scalability limitations compared to traditional software.</p><p>Unlike traditional software, which scales predictably through linear infrastructure expansion, AI agents require exponentially more computational power to maintain performance, <br>making them notoriously resource-intensive and often less efficient in production environments.</p><h4>The Planet Couldn’t Survive These Visions</h4><p>The current craze surrounding AI-powered agent startups, companies aiming to implement autonomous systems in work processes such as customer service, sales, and data analysis, has created an atmosphere reminiscent of a <strong><em>gold rush</em></strong>.</p><p>However, <a href="https://finance.yahoo.com/news/mit-report-95-generative-ai-105412686.html">different studies</a> suggest that over 90% of these startups are built on a fragile foundation. And it’s worth considering just how significant the environmental impact would be if all of these AI startups’ expansion plans were to come to fruition. The Earth simply doesn’t have enough resources to meet those needs. So, it’s actually a good thing that things are the way they are.</p><p>Their business models promise automated scalability that the underlying technology cannot deliver, while simultaneously operating in an environmentally unsustainable manner. <br>High development costs, a lack of true differentiation, and extreme resource consumption make this wave of AI agent startups exceptionally unsustainable.</p><p>I can’t say that we’re in <strong><em>Startecon </em></strong>immune to this, but in order to survive, we need to find new ways to strengthen our market position and grow our business.</p><h4>The Myth of Scalability</h4><p>Unstable agents and high costs are hidden somewhere in behind the scenes. Startups developing AI agents often market themselves as “intelligent” and autonomous systems. In reality most of them are “thin shells” user interfaces built on top of large foundational models (such as GPT-4o or Claude).</p><p>While these demos impress early-stage investors, they do not scale to production use. A study by <a href="https://arxiv.org/pdf/2412.14161">Carnegie Mellon University</a> found that even state-of-the-art models failed in 70% of cases when performing complex, multi-step office tasks.</p><p>The business model is based on agent scaling, where more users mean higher revenue. In production, however, agents are not static software but iterative, reasoning systems. Agentic AI workflows can consume 10–50 times more tokens, and thus incur 10–50 times higher API costs, than simple chatbots.</p><h4>Environmental Sustainability</h4><p>In addition to economic vulnerability, the startups developing AI agents are not environmentally sustainable. The perception of AI as a “green” technology contradicts the data on its enormous infrastructure requirements.</p><p>Although training a model is a one-time event, reasoning — that is, user interaction with the agent — occurs millions of times a day.</p><p>Studies show that content generation tasks — creating text and images as well as generating summaries, which form the backbone of most agent applications — consume the most energy.</p><p>The environmental footprint of agents is exacerbated by the “embedded impact” of hardware manufacturing, and some estimates suggest that emissions from hardware production are double those associated with energy use.</p><p><a href="https://www.digit.fyi/ai-model-training-guzzles-water-and-spits-out-carbon-mistral-ai-finds/">A 2025 Mistral study</a> found that a model ten times bigger will generate the environmental impact one order of magnitude larger than a smaller model for the same amount of generated tokens for the same task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iACHuK9t7D-Ao2RVTkybpQ.jpeg" /><figcaption>Environmental Impact of LLM (<a href="https://mistral.ai/news/our-contribution-to-a-global-environmental-standard-for-ai">source</a>)</figcaption></figure><p>As agents become increasingly autonomous, they naturally consume more computational power, which increases their ecological footprint per user interaction.</p><h3>Conclusion</h3><p>While AI agents have a future, true sustainability in this space will belong to those who build proprietary data moats and energy-efficient architecture, rather than those merely wrapping AI in a new user interface.</p><h4>More Sustainable Way</h4><p>This <a href="https://research.google/blog/towards-a-science-of-scaling-agent-systems-when-and-why-agent-systems-work/">Google’s study</a> shows how different architectures can make a difference for accurate results as also for energy-efficiency.</p><p>But of course, you need always start design the systems most simplest end and go to more complex solutions even when you have possibility to use AI agent to do things for you, like for example design intelligent data structure, then use simpler machine learning models, and then go to the language models etc. but starting with smallest.</p><p>AI agents perform well in chaos, but it’s also possible to keep order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n0OJd3-dyA5MvS3U" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Vision for AI Scalability</h4><p>AI computing based on GPUs should move to more scalable platform, like we have in computing farms and clusters like <a href="https://en.wikipedia.org/wiki/Apache_Hadoop">Hadoop</a> and <a href="https://en.wikipedia.org/wiki/SQL">SQL</a><strong><em> </em></strong>relational databases. When we can create an environment that supports generative models and enables concurrent use by multiple users — who may number in the millions or billions — we can speak of a scalable system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a417e1cbedef" width="1" height="1" alt=""><hr><p><a href="https://blog.startecon.fi/ai-doesnt-scale-a417e1cbedef">AI Doesn’t Scale</a> was originally published in <a href="https://blog.startecon.fi/">Startecon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Requiring Software Vendors to Report the Sustainability]]></title>
            <link>https://blog.startecon.fi/requiring-software-vendors-to-report-the-sustainability-66320d8055c9?source=rss-8d1cd3e4fcef------2</link>
            <guid isPermaLink="false">https://medium.com/p/66320d8055c9</guid>
            <category><![CDATA[esg]]></category>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[sustainability-reporting]]></category>
            <category><![CDATA[karpon]]></category>
            <dc:creator><![CDATA[Mikko Lahdeaho]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 11:12:05 GMT</pubDate>
            <atom:updated>2026-04-08T11:18:44.532Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>What if your carefully crafted business model actually hides a massive source of emissions?</blockquote><figure><img alt="Landfill and beautiful mountain" src="https://cdn-images-1.medium.com/max/1024/0*pX5zBzmmOwttDJwM" /><figcaption>Photo by <a href="https://unsplash.com/@bweaver?utm_source=medium&amp;utm_medium=referral">Brad Weaver</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Requiring software vendors to report the sustainability of their solutions — covering environmental, social, and governance (<a href="https://en.wikipedia.org/wiki/Environmental,_social,_and_governance">ESG</a>) factors — is increasingly crucial for modern, responsible, and cost-effective procurement. This is often part of <a href="https://en.wikipedia.org/wiki/Green_computing"><strong><em>Green IT</em></strong></a> or sustainable procurement and transforms environmental accountability from a nice-to-have into a core business driver, helping organizations reduce operational costs, manage risks, and ensure regulatory compliance.</p><h4>Accurate Tracking of GHG Scope 3 Emissions</h4><p>One point is addressing Indirect Impact. Supply chains often account for 80%–90% of an organization’s total carbon emissions (<a href="https://en.wikipedia.org/wiki/Carbon_footprint">Scope 3</a>). Since software constitutes a major part of IT procurement, vendor reporting is essential for companies aiming to hit net-zero targets. Current agentic AI pipelines can hide huge emissions behind the scenes.</p><p>Another perspective is precision over estimation. Instead of relying on generic industry estimates, companies receive actual, vendor-specific data on the energy consumption and carbon footprint of their software solutions, ensuring accurate carbon accounting. This is especially beneficial for those who plans wisely their consumption in different AI services.</p><h4>Operational Efficiency and Cost Savings</h4><p>Software that is developed with sustainable practices is often more efficient. Reporting allows buyers to identify software that uses fewer resources as for example data center power, computing power etc. This leads to lower operational costs over the solution’s lifespan. Sustainable software can reduce IT electricity bills and long-term operating costs, often driving down total costs by 5–10%.</p><h4>Future-Proofing and Regulatory Compliance</h4><p>Stricter regulations like the EU’s Corporate Sustainability Reporting Directive (CSRD), require companies to disclose sustainability information about their value chain. It includes IT suppliers also. Vendor reporting ensures that sustainability data is auditable as audit-readiness, consistent, and compliant with recognized frameworks (e.g., <a href="https://en.wikipedia.org/wiki/Global_Reporting_Initiative">GRI</a>, <a href="https://en.wikipedia.org/wiki/Task_Force_on_Climate-related_Financial_Disclosures">TCFD</a>, <a href="https://en.wikipedia.org/wiki/International_Organization_for_Standardization">ISO</a>), allowing companies to avoid penalties and legal exposure.</p><h4>Avoiding Greenwashing and Improving Transparency</h4><p>The European Parliament has restricted vague environmental claims like climate-neutral. Requiring vendor reporting ensures that sustainability claims are backed by data, protecting against misleading <a href="https://en.wikipedia.org/wiki/Greenwashing"><strong><em>greenwashing</em></strong></a>. Transparently managing and reporting the environmental footprint of IT systems enhances a company’s reputation with customers, investors, and stakeholders.</p><h4>Risk Management and Supply Chain Resilience</h4><p>By assessing the sustainability of software partners, organizations can identify potential risks related to data security, labor violations, or energy shortages early. It helps organizations identify and prioritize partners who align with their own environmental and social responsibility (<a href="https://en.wikipedia.org/wiki/Corporate_social_responsibility">CSR</a>) values, reducing the risk of being associated with unethical practices.</p><h4>Supporting Internal Employee Engagement</h4><p>A demonstrated commitment to sustainability, supported by accountable vendor choices, makes a company more attractive to employees and particularly to Millennials and Gen Z.</p><h3>Conclusion</h3><p>By incorporating sustainability reporting requirements into procurement processes companies will contribute to environmental and social improvement, enhance their competitive advantage and ensure long-term responsible growth.</p><p>Customers should also demand the software vendors to provide the sustainability reporting from the services they provide as there might hide huge consumption amount based on the heavy AI agent usage.</p><p>In <a href="https://startecon.fi/">Startecon</a>, we provide <a href="https://karpon.fi/">KARPON </a>sustainability management system which helps both parties — vendor and customer — to manage their sustainability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66320d8055c9" width="1" height="1" alt=""><hr><p><a href="https://blog.startecon.fi/requiring-software-vendors-to-report-the-sustainability-66320d8055c9">Requiring Software Vendors to Report the Sustainability</a> was originally published in <a href="https://blog.startecon.fi/">Startecon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tackling obstacles in Power BI Custom Visual development]]></title>
            <link>https://blog.startecon.fi/tackling-obstacles-in-power-bi-custom-visual-development-9f3572bd4f19?source=rss-8d1cd3e4fcef------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f3572bd4f19</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[custom-visual]]></category>
            <dc:creator><![CDATA[Mikko Lahdeaho]]></dc:creator>
            <pubDate>Fri, 02 Feb 2024 09:53:10 GMT</pubDate>
            <atom:updated>2026-04-08T11:19:01.897Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Why is it so hard to develop good Power BI Custom Visual? Is the problem with the developer or the developer tools? Am I just a bad builder blaming incompetence with the tools?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uci0262GSKV5jRSw" /><figcaption>Photo by <a href="https://unsplash.com/@prvelasco89?utm_source=medium&amp;utm_medium=referral">Pablo Rebolledo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Background</h3><p>I work in a company where we consult and develop solutions for data storage and data analysis.</p><p>One of the work tools we use extensively is Microsoft Power BI, which also enables the development of our own visualization modules under the name Power BI Custom Visual. <br>See the details in the following link: <a href="https://powerbi.microsoft.com/en-us/developers/custom-visualization/">https://powerbi.microsoft.com/en-us/developers/custom-visualization/</a></p><p>These Power BI Custom Visual modules can be used in Power BI Desktop, which is the first tool when the report developer starts creating views from the data. After this, he or she can publish the report for wider use in the cloud Power BI Service, where the views of the data can be shared among different users. In addition, views from the service can be integrated into your own applications or websites using the Power BI Embedded mechanism.</p><p>Power BI Custom Visual development has the tools and developer story to get the job done, but there are still gaps. Similarly, the publishing policies do not yet support all needs.</p><h3>Certification Restrictions</h3><p>In order for companies to use third-party Power BI Custom Visuals without worry, the module should be certified so that the company can be sure of its quality, functionality and data security. I have noticed that almost all of our customer needs related to Power BI Custom Visuals focus on data collected from external data sources, which is an immediate obstacle to certification. <br>See the following link: <a href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/power-bi-custom-visuals-certified#not-allowed">https://learn.microsoft.com/en-us/power-bi/developer/visuals/power-bi-custom-visuals-certified#not-allowed</a></p><p>Of course, non-certified visuals can also be used, but use should be done with caution.</p><h3>Debugging Restriction</h3><p>Another key challenge is the lack of monitoring and debugging tools in the Power BI Desktop tool, which would ensure a high-quality end result. Even though during the development phase the visual in progress can be run in Power BI Service, it does not always correspond to the same environment that Power BI Desktop provides for the visual.</p><p>I have come across some inexplicable situations where the visual is working fine in Power BI, but weird errors are happening in Power BI Desktop. In these situations, it would be extremely important to be able to see and then correct the error that occurs below the surface.</p><p>I have been looking for a way to investigate these issues in Power BI Desktop for a long time until I found the following method. Microsoft has developed a way to remotely debug applications using the WebView2 module, such as Power BI Desktop.<br>The following link describes the development environment prepared for this: <a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/remote-debugging-desktop">https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/remote-debugging-desktop</a></p><h3>Monitoring Problem</h3><p>I finally got everything working with the example apps when I disabled authentication. Next, I started Power BI Desktop and loaded the visual, but for some reason no process appeared ready for viewing. The problem was that WebView2 does not forward data unless it is set to that mode as explained in the link above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pz4GHfqQxultSD-8rsLJPg.png" /><figcaption>Missing Power BI Desktop Services in Edge Inspecting screen (edge://inspect)</figcaption></figure><p>The explanation for the problem was that the settings can be easily set in the your own custom application, but the Power BI Desktop source code cannot be accessed.</p><h3>Solution</h3><p>Then a simple solution came to mind — Let’s temporarily set the value in the environment variable and start the application in the same session, i.e. in the command prompt.</p><pre>rem To Power BI Desktop installation folder<br>cd C:\Program Files\Microsoft Power BI Desktop\bin<br><br>set WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--enable-features=msEdgeDevToolsWdpRemoteDebugging<br>pbidesktop.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bYMZGZyQlQOsJ8wSfTQx2A.png" /><figcaption>Now I see the Power BI Desktop services. Report page (blue box) is the correct page to be monitored and inspected (red box).</figcaption></figure><p>After that, I got the information to flow into Microsoft Edge’s Developer Tools. Wow!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*scEXpJfudvlJIxRTOvZ2Ww.png" /><figcaption>By clicking the inspect button I can inspect the source code, DOM elements and see the console logs.</figcaption></figure><p>I wonder why this is not documented?<br>And especially when there is no tool for this need?<br>Or does this reveal too much of Power BI Desktop’s functionality?</p><p>Environment variables can also be used to adjust other Power BI Desktop settings to improve usage.</p><p>Hope this solution helps someone struggling with the same problem somewhere :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f3572bd4f19" width="1" height="1" alt=""><hr><p><a href="https://blog.startecon.fi/tackling-obstacles-in-power-bi-custom-visual-development-9f3572bd4f19">Tackling obstacles in Power BI Custom Visual development</a> was originally published in <a href="https://blog.startecon.fi/">Startecon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fighting Against Wildfires with Machine Learning]]></title>
            <link>https://medium.com/omdena/fighting-against-wildfires-with-machine-learning-5c72e45b36cf?source=rss-8d1cd3e4fcef------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c72e45b36cf</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[wildfires]]></category>
            <dc:creator><![CDATA[Mikko Lahdeaho]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 15:54:41 GMT</pubDate>
            <atom:updated>2020-02-28T15:54:41.492Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>How to detect fire outbreaks in real-world weather conditions using computer vision.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ZfcYf6csdnecT-bO4XIlA.png" /></figure><h3>The Challenge</h3><p>I’ve got a chance to participate in <strong>Omdena’s wildfire challenge </strong>with mission-driven company <a href="https://sintecsys.com/en/home-en/">Sintecsys</a>.</p><p>The challenge goal was to develop an application to identify fire outbreaks. The end customer will take advantage by integrating the machine learning models in its security camera network; controlling the Brazilian and the Amazon forests.</p><h4>The impact</h4><p>Stopping wildfires is an important task against global warming and climate change, which motivated to join the challenge next to the interesting technology.</p><p>At the beginning of the challenge, we learned right away that we can not benefit from the weather forecasts because fire outbreaks are mostly caused by humans.</p><p>Satellite imagery was also too slow for detecting fire outbreaks in the very beginning.</p><p>We focused on computer vision technologies and used images from real-world cameras from the Brazil forests and suburban areas.</p><h3>How we build the solution through collaboration</h3><p>The challenge was carried out in a team-based project group consisting of about 40 experts and enthusiasts in the field.</p><p>In project management, an interesting self-guided model was used, giving authors the freedom to define phases and tasks to achieve the goal.</p><p>After the initial research phase, sensible subsets began to emerge, which were shaped for more precise tasks and alternative models. This certainly stems from a lot of practitioners’ self-directed and ability to define their own responsibilities.</p><p>In addition, we had regular joint weekly meetings, as well as task-specific meetings.</p><p>Each member may be associated with different tasks, provided that a task is interesting and relevant. I participated in labeling, classification modeling and tasks focusing on improving image quality.</p><p>The experts worked independently, together with the aid of others.</p><p>This was the finest thing in the challenge. I got support and I was able to give it to others too.</p><h3>The process</h3><h4>#1 The challenge briefing</h4><p>We initially received a brief from the Sintecsys’s team including limitations of the implementation, as well as for the training and testing of the images from the cameras.</p><h4>#2 Labeling</h4><p>The image material was not labeled, so we first had to decide the way and level for labeling. Since the need was for different types of modeling, we ended up labeling the smoke images by painting the smoke generated pixels. In this way, the same labeling can be utilized in all the classifications of the image, region in image, or pixel in the image level.</p><p>The <strong>LabelBox</strong> tool is designed for a multi-user environment and has all the necessary features for the task.</p><h4>#3 Data Pipeline</h4><p>Labeled data sets were formed in their own roles as sets for training, validation, and testing. These were still distributed or de-duplicated so that the images captured from the same cameras were only in one set, improving the reliability of the model.</p><p><strong>Smoke or Not?</strong></p><p>The aim of the machine learning model is to distinguish whether there is smoke or not in the image. The fire usually does not appear in the pictures, so smoke detection is more important. No smoke without fire.</p><p>For modeling, I used the large and heavy deep learning models (e.g. ResNet, VGG),<strong> but they did not deliver better results than the corresponding smaller ones.</strong></p><p>I ended up using the pruned version of the 50 layers ResNet model. The number of parameters dropped from about 50 million to 2 million, which helps the large images to be used in the GPU device memory. Images in the data set were Full HD images (1920x1080).</p><p>At first, the modeling left relatively unsatisfying results with about 70–80% accuracy.</p><p>After examining the unsuccessful detection, I found it impossible to say, in some pictures, whether it contains smoke or not. And if I can’t make the difference, can I expect the model to be able to do so?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k80QVAFacuKHf10aGCNcng.png" /><figcaption>Smoke or Not?</figcaption></figure><h4>#4 Label Smoothing</h4><p>In labeling, the separation of smoke from fog and clouds is like “a line drawn in the water”. In between, it is almost impossible to say confidently whether the picture is smoke or not.</p><p>Label smoothing technic to smooth the confident classification model. It can give the label a probability distribution of how certain the image belongs to a specific category.</p><p>By using this technic I improved the results in modeling, but the best possible value remained unsubstantiated. Usually, the value is something like 10–30%, but it varies depending on the data.</p><h4>#5 Image JPEG Quality</h4><p>Some of the images were very heavily compacted (low JPEG quality). They looked really different than others, so it was necessary to help the model to handle these cases.</p><p>I formed extra images from the original images, which was radically lower quality. This forces the model to learn also about the very rough image of smoke. And this resulted in a slight increase in the accuracy of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YX70SfPyT0U2vFNCUTsJHQ.png" /><figcaption>JPEG quality, higher in left, lowest in right</figcaption></figure><h3>Conclusion</h3><p>The project lasted 10 weeks and more than half of that time focused on data preparations. This goes close to the general machine learning working time distribution: 80% data preparations, 20% modeling.</p><p>The data could still have been tuned finer, but I had now a pretty good level. The idea was not to get everything completed, but a proof-of-concept level implementation for the end customer for further testing and development.</p><p>In this time, however, I received a model with more than 90% certainty to recognize smoke from cloudy images.</p><p>Other team members had a little bit better results with different image pre-processing and models, but I’m proud of these results.</p><p>Read the full case study of the challenge <a href="https://omdena.com/challenges/ai-wildfires">here</a>.</p><h3>Further Development</h3><p>At the end of the project, the distribution of the image data to different sets was changed to more stable sets, but it remained untested.</p><p>I hope the results from this challenge help to fight against wildfires and that way prevents climate change.</p><h4>About Omdena</h4><p><strong>Building AI solutions through global collaboration</strong></p><p><strong>Omdena</strong> is a global platform where a community of changemakers builds AI solutions to real-world problems through collaboration.</p><p>Learn more at <a href="http://www.omdena.com/">www.omdena.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c72e45b36cf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omdena/fighting-against-wildfires-with-machine-learning-5c72e45b36cf">Fighting Against Wildfires with Machine Learning</a> was originally published in <a href="https://medium.com/omdena">Omdena</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>