<?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 Pankaj Kohli, Ph.D. on Medium]]></title>
        <description><![CDATA[Stories by Pankaj Kohli, Ph.D. on Medium]]></description>
        <link>https://medium.com/@pkohli01?source=rss-a8ba23f24c1c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XhpfgtXTcctlukfU.jpg</url>
            <title>Stories by Pankaj Kohli, Ph.D. on Medium</title>
            <link>https://medium.com/@pkohli01?source=rss-a8ba23f24c1c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 23:27:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pkohli01/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[Air India Flight AI183 / AI1179 — From Siberia with Love]]></title>
            <link>https://pkohli01.medium.com/air-india-flight-ai183-ai1179-from-siberia-with-love-53864422e3c0?source=rss-a8ba23f24c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/53864422e3c0</guid>
            <category><![CDATA[new-delhi]]></category>
            <category><![CDATA[indian-consulate]]></category>
            <category><![CDATA[air-india]]></category>
            <category><![CDATA[san-francisco]]></category>
            <category><![CDATA[krasnoyarsk]]></category>
            <dc:creator><![CDATA[Pankaj Kohli, Ph.D.]]></dc:creator>
            <pubDate>Tue, 06 Aug 2024 21:56:03 GMT</pubDate>
            <atom:updated>2024-11-11T16:20:08.120Z</atom:updated>
            <content:encoded><![CDATA[<h3>Air India Flight AI183 / AI1179 — From Siberia with Love</h3><h4><em>A personal diary</em></h4><h3>Prologue</h3><p><em>I was on board Air India (AI) flight AI183 that took off from New Delhi on 18 July 2024 afternoon for San Francisco and had to be diverted to Krasnoyarsk, Russia because of aircraft mechanical issues. A relief Air India flight AI1179 then ferried us from Krasnoyarsk to San Francisco. I provide an account of that 41-hour journey below.</em></p><h3>Pre-Boarding</h3><p>I clear the airport security lines roughly 20 minutes before the 2.20 p.m. boarding time for flight AI183 flying from New Delhi to San Francisco (SFO), scheduled to take-off 3.20 p.m. local time.</p><p>I grab a McDonald’s McVeggie sandwich along the way for later consumption, as international AI flights tend to be sparse on served food, in comparison to other international operators such as Emirates.</p><h3>Take-Off</h3><p>Having done an all-nighter the previous night, I am looking forward to catching up on my sleep in the 16-hour direct flight journey.</p><p>I settle down in my assigned aisle seat as the crew prepares to take-off. The travel gods smile at me as I discover that my in-seat entertainment system is working (not always the case in my earlier AI transcontinental flights).</p><h3>The Announcement</h3><p>Roughly five hours into our flight, I hear the announcement that our aircraft has developed technical difficulties and that we will be landing at the nearest airport at Krasnoyarsk, Russia 45 minutes away.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*OvHBMDL0MwmRq5BhgLOFuA.png" /><figcaption>Flight detour to Krasnoyarsk, Russia (Photo: Flightradar24)</figcaption></figure><p>The announcement also notes that the aircraft will be dumping fuel, and we may see some streaks of vaporizing fuel along the aircraft.</p><p>There is no visible reaction or panic from the 225 flight passengers as the crew goes through the landing preparations.</p><h3>Krasnoyarsk, Siberia — Welcome to Russia</h3><p>We land at Krasnoyarsk International Airport between 11.30 p.m. and midnight local time, without any fire or smoke on board.</p><h3>Air India on X (formerly Twitter): &quot;Update #2: Air India Flight AI183Air India flight AI183 of 18 July 2024 operating Delhi to San Francisco made a precautionary landing at Krasnoyarsk International Airport (KJA) in Russia after the cockpit crew detected a potential issue in the cargo hold area. The aircraft... / X&quot;</h3><p>Update #2: Air India Flight AI183Air India flight AI183 of 18 July 2024 operating Delhi to San Francisco made a precautionary landing at Krasnoyarsk International Airport (KJA) in Russia after the cockpit crew detected a potential issue in the cargo hold area. The aircraft...</p><p>As the plane taxis down the tarmac, the crew urges us to prepare to disembark without our hand luggage as soon as possible. Still, many passengers grab their passports as they get ready to get out of the aircraft. Getting down the staircase is hurried but organized.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/kurravkrao/status/1814054570357846464&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/ff18067a506c0f0bdebe36088e160310/href">https://medium.com/media/ff18067a506c0f0bdebe36088e160310/href</a></iframe><p>The waiting bus drives us to the terminal building as the airport engineering staff flashing vehicles zoom in on the aircraft.</p><h3>The Terminal</h3><p>Some walking and an elevator ride take us to the terminal hall roughly the size of a football field. The terminal is sparse with airport lounge chairs in rows and some round dining tables and chairs strewn around. The two coffee/pastry shops bookend a glass wall looking out into the dark night.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EpHhSD0PCfY8A_yOaHgU4Q.jpeg" /><figcaption>View of the terminal</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/BantuPage/status/1814294702255988969&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/98589955565764295351b95c06c14b67/href">https://medium.com/media/98589955565764295351b95c06c14b67/href</a></iframe><p>A wall mosaic reminds us that Krasnoyarsk is located on the Yenisei River in Siberia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Menc7p9KA18FkzuYNAbcrQ.jpeg" /><figcaption>Terminal Wall Mosaic</figcaption></figure><p>My tired body slumps in the lounge chair and I hurriedly pull out my phone to see if it has roaming connectivity in this part of the world.</p><p>Shortly, we are asked to go back to the aircraft to retrieve our hand luggage. By the time we trudge back to the lounge under the vigilance of three Russian cops, it is well past 3 am local time.</p><h3><em>AWOL</em> Air India staff</h3><p>There is no Air India staff at hand to help us navigate through the night at the Krasnoyarsk terminal. <em>Why?</em></p><p>Someone leaves tea bags and coffee premixes at the table next to the water dispenser.</p><p>We struggle with the water dispenser to get hot water. There is no milk to go with the tea bags. In desperation, I use the premix to drink lukewarm coffee. And of course, there is not enough water in the dispenser.</p><p>Credit cards do not work because of US financial sanctions. Some enterprising souls transact informal dollar currency arrangements to get hot beverage of choice from the coffee shop.</p><p>In due course, all of us sprawl across the lounge chairs and on the floor to catch some z’s.</p><p>Sometime later, I learn that two Air India pilots had stopped by and spoken to a small group of passengers, that I was not aware of. Why had the pilots not assembled a bigger gathering so that more of us could have benefitted from the conversation?</p><p>As the night progresses, the mysterious someone strikes back again and leaves gunny sacks with food at one corner of the terminal without any announcements.</p><p>It is left to the passengers to discover the food location and essentially scavenge for food of choice (sandwiches / Indian / veg / non-veg) by searching through the gunny bags, with the food packets strewn around in its aftermath.</p><p>Early scavenging pioneers walk away with more than their share of food and 1 liter juice bottles to tide over future uncertainties of the progressing day. Passengers napping and discovering the existence of food later are left with smaller portions.</p><p>Why could someone not lay the food on the tables in different silos, announce the food availability and oversee an orderly distribution?</p><p><em>Is this a refugee camp? Where is Air India?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*aM28yWq1kk65B_tb602RyQ.png" /><figcaption>Snippet of twitter / X message highlighted earlier</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/kvenkitesh/status/1814136137872736689&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/e774a312bd536e76b21a6b0ac1d709f3/href">https://medium.com/media/e774a312bd536e76b21a6b0ac1d709f3/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/pri_kandpal/status/1814155559672672443&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/892921f594c616e7a5f3486a97117e91/href">https://medium.com/media/892921f594c616e7a5f3486a97117e91/href</a></iframe><h3>A new morning with new possibilities</h3><p>As the day breaks, I can see the runaway and the large green expanse beyond, that was hiding behind the glass wall the previous night.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SegLBmpT6xS0kQbJ06l3qA.jpeg" /><figcaption>View out from the glass wall.</figcaption></figure><p>Mr. Someone has again visited us early morning and has left cheese and ham breakfast sandwiches on the table unannounced.</p><p>Vegetarian passengers are left without breakfast and are not happy with the oversight. Vegetarian sandwiches could have easily been provided by just holding back on ham. <em>Alas!</em></p><p>I see more local passengers boarding flights from our terminal. One Russian lady requests a Sikh passenger for a selfie with her and with her son.</p><p>Things are more encouraging as a jacketed English speaking Russian airport official visits us with his team around 9 am local time and seeks our feedback on the arrangements (<em>more than eight hours after our touchdown at the Krasnoyarsk Airport</em>). He also tells us that three officials from the Indian consulate in Moscow are on their way to look after us.</p><p>The airport official also tells us that visa constraints will require all of us to travel together to the same hotel and that no hotel is available in the city boundaries to cater to 225 passengers.</p><p>Passengers ask for vegetarian breakfast food. I draw his attention to there not being enough water in the water dispenser. Other passengers ask him for blankets.</p><p>The gentleman follows up on these requests promptly and more food and drinks are made available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*Fhmw5AfpPK3yEZdSzaSUgA.png" /><figcaption>Photo: Somdatta Chatterjee</figcaption></figure><p>He asks us if we would be interested in getting our checked-in luggage at the terminal and the passengers are not excited about taking care of their suitcases in the open.</p><p>Only a few of us have the international converters that enable charging of phones at the terminal. A converter combined with a multi-plug extender shared by an off-duty Indigo pilot enables many of us to charge our phones over the day.</p><p>Also, thanks to a fellow passenger, many passengers are able to use the terminal Wi-Fi to connect to the internet and the world at large (twitter/X).</p><h3>Our team from Moscow</h3><p>Deputy Air Attache Wing Cdr. Kiran Ivin, Rajesh Ponnappa, and Kristina Safaryan from the Indian consulate in Moscow reach the terminal in the late morning hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*Z1fio6SsQEDIV-dumW1aYQ.png" /><figcaption>Indian consulate team: Rajesh Ponnappa, Wing Cdr. Ivin, and Kristina Safaryan (Photo: X/@IndEmbMoscow)</figcaption></figure><p>They quickly set up a medical station for the passengers and start addressing their requests and queries. <em>These arrangements start after more than 11 hours of our touchdown at Krasnoyarsk.</em></p><p>Given our disheveled state, the consulate team outlines a plan for passengers to spend two hours in a hotel to freshen up after lunch, with the hotel being located at a one-and-a-half-hour drive from the airport.</p><p>Wing Cdr. Ivin also starts providing periodic updates on mobilizing a relief flight from Mumbai to ferry us out of Krasnoyarsk International Airport, with constant feeds from the consulate.</p><p>He highlights the ongoing efforts to obtain regulatory clearance from US Customs and Border Patrol (with the US Transportation Security Administration clearance already obtained) so that the relief flight can head for the intended destination of San Francisco.</p><p>All the same, he also notes the possibility of the relief aircraft heading back to New Delhi in case the US Border Patrol clearance does not come through in time.</p><p>That possibility causes a lot of anxiety among passengers looking forward to reaching their destination.</p><p>The probability of our heading back to New Delhi is still on the table as Wing Cdr. Kiran Ivin announces that the relief aircraft has taken off from Mumbai around 2.30 p.m. local time.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/airindia/status/1814207793102254265&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d94fb692516b89e48e137a5ab5dacc0/href">https://medium.com/media/6d94fb692516b89e48e137a5ab5dacc0/href</a></iframe><p>The plan to visit offsite hotel is subsequently aborted because of a later than expected 5 p.m. lunch arrival at the terminal (the McVeggie sandwich helps tide over this interregnum).</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/runews/status/1814288699447824703&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d8620c9193fd9e6747394b9a02b0fee/href">https://medium.com/media/4d8620c9193fd9e6747394b9a02b0fee/href</a></iframe><p>The ferry flight (AI1179) lands around 8.30 p.m. local time.</p><h3>Air India on X (formerly Twitter): &quot;UPDATE #6: FLIGHT AI1179 ARRIVES IN SAN FRANCISCOAI1179 landed safely in San Francisco at 2027 Hrs local time (19 July). We thank the DGCA, Government of India, Embassy of India in Russia, the Russian authorities, the Transportation Security Administration (TSA), U.S. Customs... / X&quot;</h3><p>UPDATE #6: FLIGHT AI1179 ARRIVES IN SAN FRANCISCOAI1179 landed safely in San Francisco at 2027 Hrs local time (19 July). We thank the DGCA, Government of India, Embassy of India in Russia, the Russian authorities, the Transportation Security Administration (TSA), U.S. Customs...</p><p>The suspense of passengers possibly heading back to New Delhi is still in the air though many passenger relatives have already called into the Air India phone help line(s) to confirm that the ferry flight is headed to SFO.</p><p>It is only around 9.20 p.m. local time, that Wing Cdr. Ivin confirms that the ferry flight will be headed to SFO and not to New Delhi.</p><p>The passengers heave a sigh of relief and thank Wing Cdr. Ivin and his team.</p><p>The consulate team facilitates our boarding the ferry flight (AI1179) after painstakingly logging in the passport details of all the boarding passengers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NvQYa4o_tzEih_ah-Gqj7Q.jpeg" /><figcaption>Ready for departure.</figcaption></figure><p>We finally take-off July 20 roughly midnight local time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*vN2h2FV3L_QLkOHKLBwF1w.png" /><figcaption>Ferry Air India flight takes off for San Francisco. (Photo: X/@IndEmbMoscow)</figcaption></figure><h3>San Francisco</h3><p>Air India flight AI1179 arrives at San Francisco International Airport July 19 8.30 p.m. local time. <em>It has taken us roughly 41 hours to reach San Francisco after the July 18, 3.20 p.m. flight take-off from New Delhi.</em></p><p>An Air India representative hands us a letter from Air India expressing sincere apologies for the inconvenience undergone and promising to refund journey fare and incrementally providing voucher for future travel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*OC3hd5T7gGdIsVttJYBBSg.png" /></figure><h3>Epilogue</h3><p>In June 2023, an Air India Boeing aircraft on the same New Delhi to San Francisco route was grounded for a day due to a technical problem. The passengers were temporarily accommodated at the remote Magadan airport in Russia before being flown to their final destination by another plane.</p><p>Did Air India leverage any takeaways from that experience for the present journey and arrangements? I am not sure of that.</p><p>First, it is indeed surprising that a second Air India flight encountered technical issues resulting in the grounding of the aircraft on the same route over Russia, following a similar incident 13 months ago, which is considered a relatively short interval in aviation terms.</p><p>Second, we were essentially left to our own devices for <em>more than eight hours after touch down, while the Air India crew headed to the closest hotel because it could. </em>In contrast, we struggled to simply get a hot beverage, sprawled over airport seats or on the floor to get some sleep, hustled to get internet connectivity and charge our phones to reach out to our near ones and sorted through unceremoniously and cluelessly dumped food.</p><p><em>A medical station was established more than 11 hours after touchdown, with the arrival of Indian consulate team.</em></p><p>And then there was the bogey of possibility of passengers returning to New Delhi that was left on the table till 9.20 p.m. local time, much after the relief flight having taken-off from Mumbai around 2.30 p.m. local time and Air India US customer service already confirming the SFO destination. <em>It seemed that the world at large was better informed of our final destination than we were.</em></p><p><em>Come on, Air India. We are rooting for you. But you need to lead more by your heart and what is right and less by middle management dispositions and what one can get away with.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53864422e3c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning, Econometrics, and Time Series]]></title>
            <link>https://pkohli01.medium.com/machine-learning-econometrics-and-time-series-58c4e0c89ba?source=rss-a8ba23f24c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/58c4e0c89ba</guid>
            <category><![CDATA[elasticity]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[econometrics]]></category>
            <category><![CDATA[time-series-analysis]]></category>
            <dc:creator><![CDATA[Pankaj Kohli, Ph.D.]]></dc:creator>
            <pubDate>Fri, 18 Dec 2020 17:49:03 GMT</pubDate>
            <atom:updated>2020-12-18T17:49:03.522Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Machine Learning and causal econometric approaches are being actively leveraged to obtain insights from marketing, finance, and economic data. Both these approaches face subtle challenges when dealing with time series data such as prices, sales, GDP, S&amp;P index etc. However, econometric techniques are able to do a better job in providing robust estimates for such data by leveraging better parametric diagnostics.</p><h3>Machine Learning vs Econometrics</h3><p>Machine Learning techniques are highly scalable and competent in dealing with large datasets with diverse features / explanatory variables. These techniques focus on prediction through non-linear transformations of the inputs. There is a minimal focus on the functional form and the estimated parameters guiding those predictions. The estimation engine is essentially a black box. The model fit is assessed on the basis of cross-validation (CV) or out of sample estimation. Improvements in the CV results are obtained through using competing algorithms or their ensembles and through feature engineering. Many newer machine learning platforms provide automated feature engineering / ensemble selection to make the prediction task easier.</p><p>In contrast, econometric approaches are parametric in nature and besides prediction, also focus on functional form and estimated parameters and their validity that requires domain knowledge. Thus, the estimation engine causality is transparent. Model improvements are made through the selection of functional forms and hierarchical structuring, distributional assumptions, variable transformations and selection by leveraging various parametric diagnostics.</p><p>Parametric estimates and derived elasticities enable policy decisions and optimal allocations. For this reason, econometric techniques continue to be leveraged for critical time series based economic / financial decision making.</p><h3>Simulations</h3><p>Estimating time series relationships can be challenging because of non-stationarity of the time series variables. This leads to models suggesting exaggerated fits even where there is no underlying causality.</p><p>We explores these challenges in a classical simulation.</p><p>We start by generating two independent variables xₜ and yₜ as random walk processes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/191/0*ER5qzl58TuagpcDB" /></figure><p>Then, we estimate two regression equations separately:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*b85MSVof5USfLZqh" /></figure><p>and test for the significance of γ and β using the Student-<em>t</em> significance test. Each estimation is based on a sample of 50 simulated observations. We repeat these estimations 50,000 times.</p><h3>Results</h3><p>Based on these 50,000 iterations we obtain empirical distributions for the <em>t</em> values of the γ and β regression coefficients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*ioBU8Ge-TKrxSjss" /></figure><p>Both the distributions are generally symmetric and anchored at the mean of 0 as expected.</p><p>The first figure on the left shows that, for the uncorrelated times series, 95% of absolute <em>t</em> values for γ are less than 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*6MkZ0JuYRzmhTDKU" /></figure><p>In comparison, the second figure shows that we are likely to accept an estimated coefficient as being significant in 66% of such estimations. Even though yₜ and xₜ were generated independently, introduced trend increases the standard deviation of <em>t</em> values significantly.</p><p>The estimated β coefficients are now :</p><ul><li>larger and suggesting a better fit,</li><li>more diffuse with a greater spread, and</li><li>more likely to produce outliers.</li></ul><p>A summary of the two student-<em>t</em> distributions is provided below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/0*2QFDCdVqbQGU_mmC" /></figure><p>Machine learning algorithms will detect such underlying times series issues through poor prediction on a test sample.</p><p>Econometric techniques can rely on a richer parametric diagnostic toolset to detect such problems and then guide the researcher towards remedial transformations of the modeled data to obtain consistent parameter estimates.</p><h3>Conclusions</h3><p>Time series variables such as dollar sales, advertising spends, GDP, stock price, S&amp;P Index etc. are very often non-stationary. In such cases, we are more likely to see exaggerated causality among these variables that are being driven by a common stochastic trend, often leading to high in-sample fit values and prediction metrics. Algorithmic cross validation metrics can identify the problem but are short on remedial measures. Parametric diagnostics can play a more critical role in guiding towards globally optimal insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58c4e0c89ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is AI Disrupting Online Advertising?]]></title>
            <link>https://pkohli01.medium.com/is-ai-disrupting-online-advertising-7413ef0a70b5?source=rss-a8ba23f24c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7413ef0a70b5</guid>
            <category><![CDATA[return-on-investment]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[convolutional-network]]></category>
            <category><![CDATA[online-advertising]]></category>
            <category><![CDATA[click-through-rate]]></category>
            <dc:creator><![CDATA[Pankaj Kohli, Ph.D.]]></dc:creator>
            <pubDate>Tue, 01 Dec 2020 20:00:08 GMT</pubDate>
            <atom:updated>2020-12-01T20:00:08.788Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*6bLCuIt-0dSi1K9CT-NZJQ.png" /></figure><h3>Introduction</h3><p>Deep learning based artificial intelligence (AI) is disrupting the insurance sector. Can it also disrupt online advertising ?</p><p>We start by reviewing the AI led innovations in the insurance sector. We outline the image based deep learning algorithms or convolutional neural networks (CNNs) that are leading these innovations and enabling us to recognize images in our daily lives. The online advertising business model and its dependence on being able to understand image ads to improve its prediction engine is highlighted. We further explain how CNNs are being trained to decode ads and the challenges of cultural context in these efforts.</p><h3>AI and Insurance</h3><p>A recent New York Times article (<a href="https://www.nytimes.com/2020/09/17/business/car-insurance-claim-estimate-artificial-intelligence.html">link to the article</a>) highlighted how deep learning algorithms were disrupting the insurance sector.</p><p>It described how insurers are in the process of leveraging submitted vehicle damage photographs to automatically generate initial repair estimates. This is in contrast to the established practice of using an adjuster to inspect the damage either through photographs or in person, and then generate those initial estimates.</p><p>Image recognition deep algorithms were used to parse the provided automobile damage photographs to generate those initial estimates. The algorithmic approach reduces the claim settlement cycle considerably by eliminating the role of an adjuster, with it taking only a few seconds now to generate the initial claim estimates.</p><h3>Image Recognition Deep Learning Algorithms</h3><p>These developments highlight how image recognition deep learning algorithms or convolutional neural networks (CNNs) are making significant inroads in our transactional lives.</p><p>CNNs are already enabling us to process images and multi-media videos by leveraging complex interactions through additional layers. They are classifying various objects in images (including recognizing hand written digits and facial expressions).</p><p>As a result, CNNs are at the forefront of making self-driving cars a reality in the near future.</p><p>Similarly, video hosting websites are leveraging CNN to better recognize, index, search, and recommend an increasing number of uploaded videos.</p><p>Many researchers have also started leveraging CNN on breast cancer image data in efforts to improve detection rates through visual inspection. CNN driven apps are also being used to scan X-rays for signs of tuberculosis early on in India in remote locations where qualified radiologists are in short supply.</p><p>Most recently, Microsoft released a free deep learning app Lobe supporting image classification.</p><h4>What is a CNN</h4><p>CNN is basically a classifier that processes an image and classifies it to an image class. For example, CNN may learn from thousands of different labeled tree images to be able to correctly classify an unlabeled tree image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*1Jxg5SX-Oa0vtPLNr8qb-Q.jpeg" /><figcaption>Object Detection with CNN</figcaption></figure><p>In the shown figure (<a href="https://www.pyimagesearch.com/2017/09/11/object-detection-with-deep-learning-and-opencv/">source</a>), the CNN is able to correctly identify the imbedded objects of a dog, a person, a horse and a car after being trained on thousands of such tagged images.</p><p>How does it do that? The algorithm breaks the image into different square pixels of various gradations (i.e., it pixelates the image) and these unique pixels with unique locations serve as predictors for the algorithm.</p><p>In our earlier insurance example, CNN pixelates the provided photographs and is able to recognize the damaged part and its extent of damage and then recommends the claim estimate.</p><h3>Online Advertising Trends</h3><p>Thanks to near universal internet access, digital advertising spends have exceeded the combined offline media spends including TV advertising, print ads, and billboards. Digital advertising now accounts for roughly 55% of the market share in the United States.</p><p>Most of these online advertising spends are devoted to search and display advertising. Roughly $55 billion was spent on search ads and $36 billion on display ads in the US in 2019. By some estimates, over 1700 banner ads are shown to an average consumer in a month with a 50% click through rate (CTR).</p><p>Display ad spending is growing at a faster rate than search ad spends. This is expected since display advertising allows excellent customer targeting and richer multimedia executions in comparison to search advertising.</p><p>These ads play a very important role in generating brand awareness and moving the prospective customer along the discovery stage of the sales funnel.</p><p>Both search and display ads are sold through real time bidding (RTB) auctions where advertisers bid for the placement of their ad at a favored rank / location at the search engine results page, the publisher websites or social network feeds etc.</p><p>Search engines / publishers get paid by advertisers whenever the targeted customer clicks the shown ad and reaches the advertiser website. Therefore, both the search engines and the publishers are interested in showing ads that have a higher probability of the ad being clicked when shown to the target.</p><p>Ad platforms predict and rank the CTR of the available ads and show ads with the highest CTR.</p><p>Better CTR prediction allows the search engines / publishers to show the relevant ad to the target that results in click through behavior and revenue for the advertisers. Displaying a relevant ad also increases web experience.</p><p>Thus, CTR prediction plays an important role in defining the keyword / webpage location and customer profile combination bid price and is considered a core task in ad allocation.</p><h3>How do we predict CTR?</h3><p>Various machine learning algorithms (including logistic regression and decisions trees) are used to predict ad level CTR. These algorithms leverage online behavior related features including:</p><ul><li>keyword actionability (searching for hotels in San Francisco vs San Francisco)</li><li>ads with higher historical CTRs</li><li>display rank</li><li>other contextual features such as text and traffic volume for the landing page.</li><li>target average CTRs across different search ads</li><li>earlier target search / browsing / purchase / reviews behavior where available</li><li>target demographic characteristics such as locations, age, and gender and</li><li>more general constructs such as target interests topics and target intent: browsing, knowledge building, search, or buying.</li></ul><p>Essentially, behavioral targeting (BT) is used to show the most relevant ads or ads with the highest CTR to the targeted consumer. BT leverages the prospective consumer’s past history including searches, pages visited and past purchases.</p><p>Target user interests can also be derived by combining different elements of behavior including websites visited, past searches, and reviews. User interests in combination with demographic details can provide insights to the user profile and underlying segment affiliation. This can enable further customization of the shown advertisement.</p><h3>CNN and CTR</h3><p>Till recently, ad level features had not played a significant role in the crucial task of CTR predictions. Context and user level features including demographics and historical online behavior were generally used to make such predictions.</p><p>Advances in CNN are now helping advertisers leverage ad level features in these CTR predictions.</p><p>It is easy to train a CNN to identify various imbedded objects (and at what location) in a display ad.</p><p>More exploratory analysis can be done by identifying the imbedded objects algorithmically and asking:</p><ul><li>which ads are similar to each other?</li><li>which ads are more text oriented and which ads are more image oriented:</li><li>among the image oriented ads, which ads are focusing on the product and which ads are focusing more on lifestyle?</li><li>what imbedded objects are repeated most across ads in a given product category?</li></ul><p>Most importantly, CNN enables advertisers to understand how ad level features including various imbedded objects in different positions are driving the CTR of an ad. Following common types of ads have been observed from this perspective:</p><ul><li>text ads, in which most of the ads contain mainly text, rather than images;</li><li>models ads, in which images of people are the primary focus of the ad, and in many cases these people are performing various actions or standing in various poses; and</li><li>product ads, in which an image of the product is the focus of the ad, something especially common in ads under the Auto category.</li></ul><h3>Understanding Ads</h3><p>Leveraging CNN to understand persuasiveness of ads or any image is confronted by significant challenges.</p><p>User impression of an image (including ads) is driven by the persuasiveness of that image. Understanding the persuasiveness of an image is a much more challenging task than simply identifying the imbedded objects in that image.</p><p>Persuasiveness of ad images is not defined by the mere presence / absence of different objects and at what location. It is defined by how the imbedded objects, text, and sound (in case of multimedia visuals) interact to make the ad topical and relevant and deliver various emotions / sentiments for the target audience. These latent sentiments / emotions then combine nonlinearly to drive the overarching appeal of those visuals.</p><p>Decoding the causality from the imbedded objects in various rendered forms to the evoked emotions and then from those emotions to the overall appeal is a challenging task for any CNN algorithm. It requires the CNN to be trained on thousands of images that are tagged on various aspects including:</p><ul><li>the imbedded objects</li><li>the sentiments / emotions conveyed by the visual</li><li>symbolism / rhetoric of the visual if any</li><li>the topicality of the visual or what the image is conveying</li><li>what action the visual wants the viewer to take and</li><li>why should the viewer take that action.</li></ul><h3>Visual Examples</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*9ScxckW1oWcHc_xWw9nXpA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*vfYllGVyMgT7s_XwVqIDEg.jpeg" /><figcaption>Two Visual Examples</figcaption></figure><p>Let us take examples of two visuals to motivate the process and challenges of CNN learning.</p><p>The first picture consists of a tree with branches and leaves and a white background.</p><p>The second images shows a boy lying on the beach with a paper boat and moonlit waters in the background.</p><h4>Recognizing imbedded objects</h4><p>The trained CNN algorithm would be able to generally identify the imbedded objects of:</p><ul><li>leaves, branches, and a tree against a grayish background in the first image and</li><li>a seafront, a sleeping boy, a paperboat, and the moon in the second image.</li></ul><h4>What is the ad saying</h4><p>Beyond recognizing the individual objects, CNNs are being trained to convey the description of the image or what the image is saying.</p><p>In our examples, a trained CNN would describe</p><ol><li>the first image as that of a tree and</li><li>the second example as that of a child sleeping on the beach after possibly playing with a paper boat.</li></ol><h4>Sentiments</h4><p>The algorithm needs to understand how the identified objects are interacting to generate different sentiments / emotions.</p><p>Sentiments drive the persuasiveness of the image in combination with its topicality / context.</p><p>Thus, image sentiments can help in understanding the ad beyond the location of the objects or the description of the image. Algorithmic image description can be modified by the sentiments and the rhetoric of the image that are defined by the imbedded objects.</p><p>In our examples, the tree image is evoking the sentiments of quiet, sparseness and gravity. Similarly, the boy on the beach image is conveying the sentiments of stillness, darkness and mystery.</p><h4>Visual Rhetoric</h4><p>Visual rhetoric flows from the choice of how the objects are shown and why they are portrayed so. It can completely change the intent of the imbedded objects and the photorealistic story line. Therefore, the ability to understand ads is critically dependent on the algorithm’s ability to automatically decode this rhetoric.</p><p>In our first example, symbolism is imbedded with the tree being shaped as two lungs of the planet. A deep learning algorithm can understand this symbolism only if it recognizes the branches shaped as lungs and is aware of saving the environment context. With this symbolism, description of the image would be updated as that of trees being portrayed as lungs and life of our planet / environment.</p><p>The algorithm finds it very difficult to understand the symbolism of the second image as the tragedy of boat refugees, since the image was created in response to the disturbing news of a 3-year-old Kurdish boy Aylan Kurdi washed up dead on a Turkish beach. With this symbolism, now the image description becomes that of the tragedy a dead child refugee washed on the shores.</p><h4>Topicality</h4><p>More generally, the algorithm is also being trained to recognize the context or topicality of the ad image that plays a critical role in defining its persuasiveness.</p><p>The topic of the image gains clarity once the visual rhetoric has been decoded.</p><p>The topic context for the first image is that of saving the environment and the plight of refugees in the second image.</p><p>Thus, in the first image, the topic of environment is being combined with the sentiments of urgency and seriousness with trees being portrayed as lungs and life of the environment / planet.</p><p>Similarly, in the second image, the topic of refugees is being paired with the sentiments of tragedy and sadness.</p><h4>What does the ad image want us to do?</h4><p>CNNs will further have to be trained to derive actionability from the combination of the topic and its sentiments.</p><p>The first image is suggesting to us to act on saving the environment. The second image is asking us to develop a better understanding of the tragedy and suffering of the refugees.</p><h3>Conclusions</h3><p>As the New York Times article highlighted, CNNs are disrupting the insurance sector by making it easier to understand the extent of claimed damage without active human intervention.</p><p>Are CNNs ready to disrupt online advertising as it continues to grow on the wings of more multimedia content? That depends on how effectively CNNs can contribute to predicting CTR by understanding the persuasiveness of the image or multimedia content exposed to the target.</p><p>AI and CNN architectures are rapidly evolving in their ability to decode images and multimedia creatives and understand their persuasiveness in eliciting desired targeted response.</p><p>CNNs have obtained excellence in identifying various imbedded objects in their varying degree of presence, e.g., recognizing different objects, recognizing damaged vehicle parts, recognizing cancer disturbance in x-rays etc.</p><p>Thus, CNNs can help CTR prediction incrementally where the presence / absence of objects are relevant to the ad.</p><p>At the same time, CNNs are still not fully evolved in decoding and understanding the persuasiveness of an ad image.</p><p>The biggest challenge CNNs face is to understand how the imbedded objects and rhetoric update different sentiments and topicality and then persuasiveness.</p><p>Decoding rhetoric requires a monumental task for a CNN to understand the cultural context changing over time. This can be seen as a possible problem of <em>underspecification </em>in the training samples with the samples not fully representing our cultural experience.</p><p><em>This suggests that we are a few years away before CNNs may be able to replicate the human eye appreciation of an ad image and its persuasiveness. It is only then that CNNs will be able to contribute significantly in CTR prediction and in impacting the online advertising business model.</em></p><h3>Acknowledgement</h3><p>The editorial contributions of Parvathi Kamath, Ph.D. are gratefully acknowledged. A fuller version of this article can be read <a href="https://www.marketsimulate.com/blog">here.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7413ef0a70b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>