<?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[dexFreight - Medium]]></title>
        <description><![CDATA[Decentralized Fin-Tech enabled logistics market network for carriers, brokers and shippers to handle shipments from booking to payment in one place. Learn more at www.dexfreight.io - Medium]]></description>
        <link>https://medium.com/dexfreight?source=rss----b62513621c97---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>dexFreight - Medium</title>
            <link>https://medium.com/dexfreight?source=rss----b62513621c97---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:09:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/dexfreight" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Revolutionizing Trucking: How Our Optimization Algorithm Cut Operational Costs by 20%]]></title>
            <link>https://medium.com/dexfreight/revolutionizing-trucking-how-our-optimization-algorithm-cut-operational-costs-by-20-55fb4bde41e3?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/55fb4bde41e3</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[trucking]]></category>
            <category><![CDATA[freight-shipping]]></category>
            <category><![CDATA[finite-state-machine]]></category>
            <dc:creator><![CDATA[dexFreight Team]]></dc:creator>
            <pubDate>Tue, 25 Jul 2023 12:56:16 GMT</pubDate>
            <atom:updated>2023-07-25T12:56:16.563Z</atom:updated>
            <content:encoded><![CDATA[<p>Authors: <a href="https://medium.com/u/8b23bbbde8f8">Rajat Rajbhandari, PhD</a>, CIO &amp; Co-founder of dexFreight; <a href="https://medium.com/u/85510d4a4035">Mauro Jimenez Medina</a>, Data Analytics Enginner at dexFreight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9UWnhelsU4sdi3C6NnRgg.png" /></figure><p>In 2022, we had the opportunity to develop an optimization algorithm (prototype) for a trucking company to improve load-driver assignments. The prototype demonstrated it could optimize this operation by reducing deadhead miles by ~20% and non-revenue hours of drivers by ~40%.</p><h4>Assigning Loads Dynamically to Drivers is Not a Trivial Problem</h4><p>We were approached by a large US-based trucking company (with ~ 400 trucks fleet, ~350 drivers) with the following questions:</p><ul><li>Can we <strong>improve the assignment of loads</strong> to the current roster of drivers? Meaning, how to decide which drivers (they have several offices in the country) to assign which set of loads and be able to reduce deadhead miles?</li><li>Can we <strong>accept more shipments</strong> from customers with minimal addition of drivers/trucks?</li><li>Can we <strong>reduce driver turnover</strong> by ensuring they are home for the weekend (for long distances) and every day for regional trips?</li><li>Can we provide freight planners with better tools to create load assignment plans by looking at the holistic set of shipments and driver states rather than first-in, first-out type assignments?</li></ul><p><em>Note: The company’s name can not be revealed due to confidentiality reasons. However, we received approval to release this blog and use Figure 1 below.</em></p><h4>Current State of Load Assignment at the Company</h4><p>The trucking company:</p><ol><li>Transports ~ 5000 shipments per month, clocking mileage of ~3 million miles per month — 1.8 million miles loaded, and the rest are deadhead. Average one-way distance = 370 miles, and deadhead miles = 270 miles.</li><li>The company’s drivers are domiciled in several cities across multiple states.</li><li>The company employs about 10 freight planners located at different offices.</li><li>The company currently assigns shipments to drivers based on the proximity of shipments origin to the driver’s domicile location. The freight planners also assign loads to the drivers in a first in, first out (FIFO) for drivers they are familiar with and the loads assigned to that particular office.</li></ol><p>The company does not have a system/application by which all freight planners can collectively optimize trips assigned to the company. Freight planners collaborate with each other via phones and emails, among others.</p><p>The image below shows the actual origin — destination of runs during the first quarter of 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eJw0-Py9ueBdooeisgG3tQ.png" /><figcaption><em>Map of ~15,000 loads with origin and destination around the country through many regional hubs.</em></figcaption></figure><h4>Key Performance Indicators</h4><p>In order to compare the modeled results versus actuals, we used two key performance indicators (KPIs):</p><ol><li>Deadhead miles % = (TotalMiles — LoadedMiles)/ TotalMiles</li><li>Non-revenue hours % = (TotalDriverHours — DutyHours)/TotalDriverHours</li></ol><p>These KPIs were also selected because of the availability of appropriate fields in the data provided to us by the company.</p><h4>Key Objectives of the Prototype We Built</h4><p>We built the prototype with the following two objectives:</p><ol><li>Verify if using an optimization algorithm (with spatial search) can improve the KPIs of a batch of loads (for a whole week) by comparing them against the historical data.</li><li>Compare load assignments for a set of individual drivers done by the freight planners to that created by the prototype.</li></ol><p>In order to accomplish these objectives, we developed a finite state machine (FSM) that stores the state of the load assignments to drivers at each time step, and changes the state as new information about loads and driver’s destination information from the previous trip becomes available. To select a particular set of loads and reduce deadhead miles, we used progressive geospatial search algorithm with the capability to form trip chains.</p><h4>Use of Finite State Machines and Progressive Geospatial Search</h4><p>We applied the concept of Finite State Machine (FSM) to this problem, in which the current state represents a specific set of loads assigned to drivers at any given time. As new shipments and information about drivers enter the current state, a new state is created. When there is an input to the machine, the machine’s state changes in that the next state depends only on the current state and the input. In other words, the new state depends on the old state and the input.</p><p>The algorithm we developed has a multiprocessing and management unit to handle different queries for tours at the same time and implements a selection of loads to generate a curated list of trips based on the constraints of the drivers. Therefore, multiple load assignments were done at the same time in batches as new shipment requests came in. We used algorithms for the selection of suitable shipment deliveries using a geospatial search algorithm based on Euclidean distance calculations. The prototype also took into consideration the following inputs in the search process:</p><ul><li>List of shipments to be assigned</li><li>Hours of services (HOS)</li><li>Truck availability</li><li>User preferences (Equipment type, Return Date, etc.)</li><li>Trip type (up to three stops)</li></ul><h4>Results Showed Significant KPI Improvement</h4><p>The results from the analysis showed a significant improvement of the two KPIs — ~ 20% decrease in dead head miles and ~ 40% decrease in non-revenue hours. There were also improvements in variation of deadhead % and non-revenue hours by trips without sacrificing the number of drivers used. That means the model did a better job of assigning loads to drivers based on their current location, origin-destination of the load, and pickup/delivery dates.</p><h4>Our Recommendation to the Company</h4><p>We recommended to the trucking company that the freight planners could use a robust optimization model like the one we developed in the following ways:</p><ul><li><strong>Improve Tactical Operations (daily grind). <br></strong>Allows freight planners to perform any post-assignment evaluation using KPIs of what they could have done to make things better. The trucking company in question pointed out that they didn’t conduct such analysis and would be valuable to do so, which we agree.<br>Freight planners can perform load assignments from a wider angle (i.e., include many hubs, load types, office locations) instead of doing so only from their own location.</li><li><strong>Improve Strategic Planning (short and medium-term look ahead)<br></strong>Modify load assignment strategies periodically to meet target KPIs.<br>Optimization models can be fed into “what-if” scenarios to estimate KPIs due to strategic decisions and decide whether to execute the decision. One example of such a scenario is the decision to buy/lease more trucks or hire more drivers to process more loads.</li></ul><p>There is no one-size-fits-all solution here because every trucking company is different, and their needs change constantly. Optimization models must be calibrated frequently with the actual observations from the freight planners. Hence, the implementation of models is an evolving and continuous process that requires a dedicated resource behind it. The good news is that, given the size of savings that the trucking company can realize, we believe the benefit/cost of this tool is in multiples and can be realized in months instead of years.</p><p><strong>Conclusion</strong></p><p>The use of complex analytics to improve driver utilization and optimization is nothing new. Analytics and machine learning algorithms do one thing well: searching for thousands of alternative solutions many times a second, something humans cannot do. Ultimately, drivers/supervisors/fleet managers must decide which driver delivers which shipment. Hence, a tool like the one we developed provides freight managers and dispatchers with enhanced capabilities to make more effective decisions about assigning loads to the drivers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55fb4bde41e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/revolutionizing-trucking-how-our-optimization-algorithm-cut-operational-costs-by-20-55fb4bde41e3">Revolutionizing Trucking: How Our Optimization Algorithm Cut Operational Costs by 20%</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NFTs for Businesses: Understanding the Fundamentals]]></title>
            <link>https://medium.com/dexfreight/nfts-for-businesses-understanding-the-fundamentals-db861b75d059?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/db861b75d059</guid>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[tokenization]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[dexFreight Team]]></dc:creator>
            <pubDate>Wed, 25 Jan 2023 16:26:43 GMT</pubDate>
            <atom:updated>2023-01-25T16:22:42.132Z</atom:updated>
            <content:encoded><![CDATA[<p>Author: <a href="https://medium.com/u/8b23bbbde8f8">Rajat Rajbhandari, PhD</a>, CIO &amp; Co-founder of dexFreight</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VDvMm3614uWXGBHFmX0SFQ.png" /></figure><h3>Stepping back from the NFT craze</h3><p>By now, (almost) everyone has heard about NFTs. Even my 4th grader has heard about it.</p><p>But the thesis of this blog is that NFTs have many potential uses in businesses, beyond the art NFT craze.</p><p>Tokens mean a piece of paper/metal/data that represents something of value or a right bestowed by someone to do something. Ikea gives you a token when you go to return your merchandise. Gaming parlor gives you 100 points printed on a long piece of paper as a reward. The Ikea token gives you a “right” to be in a certain place in the queue. Gaming parlor token gives you the right to buy a lollipop of the same value at the gaming parlor’s store. Casinos in Las Vegas give you a piece of plastic against the dollar. In many ways, a dollar bill we carry is also a token. The bill holder has a right provided by the US government to be used as a legal tender. A credit card provided by a bank is also a token because it has given the card holder a legal right to use it to make purchases wherever it is accepted.</p><p>You see, we’ve been using tokens for a very long time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMWFFdIWjH1cXa5dC764wQ.jpeg" /><figcaption>Examples of physical tokens</figcaption></figure><h3>So, what makes them tokens?</h3><p>If you’ve noticed in the above examples, tokens have two distinct attributes:</p><ul><li>A clearly defined/scoped rights represented by the token.</li><li>An existing entity/person that provides those rights.</li></ul><p>For a token to be useful it must have three other attributes:</p><ul><li>Trust in the provider (we trust Ikea will honor its tokens.)</li><li>Witness to its rights/value (for example, you can walk up to a bank and ask if they will accept the US dollar bill.)</li><li>Verification of the right/value of the token and that there are some established mechanisms for the token holder to verify its rights/value.</li></ul><h3>There are two types of tokens — FTs and NFTs</h3><h4>Fungible Tokens (FTs)</h4><p>Fungible token means you can divide a token into pieces and it still retains its value. For example, a $100 bill can be exchanged for two $50 bills. You can walk up to a bank, exchange a $100 bill to five $20 bills and give each to your five friends. Gaming parlor tokens can be broken into half and you’ll still be able to buy smaller lollipops.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHgpE-U9rDnpUjWCckeC3g.jpeg" /><figcaption>Example of a fungible token. A 100-dollar bill can be easily exchanged with five 20-dollar bills.</figcaption></figure><h4>Non-Fungible Tokens (NFTs)</h4><p>Non-fungible tokens represent rights/values that are difficult to break into pieces. Difficult in the sense that by doing so, it may lose its value significantly and/or is difficult to do so within the boundaries of the law. For example, you can sell your 1-acre land to five of your friends, but by doing so, your friends may lose substantial market value of their individual pieces. Some states/counties may not even allow you to sell such tiny pieces of land, because of existing laws limiting acreage size. In this situation, your only option is to transfer/sell it in whole to another person/entity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*go5ZtgKcoty9K1dWYW3Ouw.jpeg" /><figcaption>First land patent issued in the US in 1834 present day Ohio. First land NFT if you will. It has the attributes to make it useful as a modern NFT.</figcaption></figure><h3>Fast forward to January 2018, NFT was born</h3><p>After Ethereum as a decentralized public blockchain came into existence with the ability to transfer value between two entities using smart contract, ERC20 token standard was proposed by <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-20/">Fabian Vogelsteller in November 2015</a>, as a Fungible Token Standard that implements within Smart Contracts. Then in January 2018, the <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-721/">ERC-721 (Ethereum Request for Comments 721)</a> as a Non-Fungible Token Standard was implemented. This particular standard allowed the creation of NFTs in the Ethereum network. In it, an NFT represents an asset and who owns it. The Ethereum blockchain ensures that both identities (of the asset and the holders) are globally unique and tamper-evident. The same way the land title (above) is globally unique for that particular parcel of land in Ohio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1H1HFOfFpNT33oTQG691dw.png" /><figcaption>Rights for my daughter’s painting are on sale for 10 token holders in OpenSea. <a href="https://opensea.io/assets/matic/0x2953399124f0cbb46d2cbacd8a89cf0599974963/79356902190268137407443048607902878075171838988039035701144376702991071182858">https://opensea.io/assets/matic/0x2953399124f0cbb46d2cbacd8a89cf0599974963/79356902190268137407443048607902878075171838988039035701144376702991071182858</a></figcaption></figure><h3>NFT has use beyond rights to own digital arts</h3><h4>“Art NFTs are not the be all and end all of NFTs.”</h4><p>Art NFTs give you rights to own the art pieces by adding a transaction stating such in an immutable ledger. Art NFTs also provide you a right to perform certain actions on an asset. Digital art is one type of digital asset. In businesses, we create many types of digital assets — invoices, contracts, securities, access to data, data itself, land titles, car titles, and many more. For example, an originator or holder of an invoice asserts a legal right to be paid the amount mentioned in the invoice for the services it provided to a customer. It is a type of token limited in scope/value agreed upon by two transacting entities (i.e., the originator/service provider and the customer.) Invoices are a non-fungible type because it has a unique holder or holders. Also, selling the same invoice to multiple banks would certainly be illegal, and it’s difficult to split it without incurring significant administrative costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Ke5a433W5WAHP-suCbrkA.jpeg" /></figure><h3>NFTs reduce the cost of “administering” digital assets</h3><h4>“Splitting the assets for multiple ownership”</h4><p>There are two challenges in creating multiple ownership of an asset (physical or digital) — 1) it’s not difficult to imagine the administration cost (e.g., legal fees, contracts, negotiations) of breaking an asset and selling pieces to multiple people, and 2) holders of those assets must rely on this third party to be available all the time and provide necessary services that are based on trust.</p><h4>“Transferring ownership of assets”</h4><p>Transferring ownership of assets as it is done in the securities market requires complex contracts and third parties involved. Digitizing such assets on blockchain reduces the need of third parties, which are also a single source of failure.</p><h4>“Verifying chain of custody and existence of assets”</h4><p>One of the key features of blockchain is the traceability of transactions all the way to its genesis (first block). Because permissionless blockchains have a tamper evident feature and immutability, it is easy for parties to trace who owns the asset, whether it was transferred to another party and even querying if the asset exists.</p><p>Because blockchain provides a “trust layer” that was not available to us before, it will certainly reduce the responsibilities of intermediaries and hence reduce the cost of “administering” assets.</p><p><strong>In Part 2…</strong></p><p>Now you’ve understood that art NFTs are just a start, and will ultimately find their way into businesses to create NFTs of various assets; in Part 2, we will explain how NFTs of these assets (like invoices) are created in the blockchain.</p><h4>About dexFreight</h4><p>dexFreight is a logistics market network with FinTech capabilities, for freight companies to handle shipments from booking to payment in one place using smart contracts. dexFreight connects carriers, freight brokers, shippers, and other actors of the supply chain through an open logistics network, built on decentralized protocols. For information, visit <a href="http://dexfreight.io/">www.dexfreight.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db861b75d059" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/nfts-for-businesses-understanding-the-fundamentals-db861b75d059">NFTs for Businesses: Understanding the Fundamentals</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart contracts and wallets will turn trucks to next-generation logistics workhorse]]></title>
            <link>https://medium.com/dexfreight/smart-contracts-and-wallets-will-turn-trucks-to-next-generation-logistics-workhorse-58995771e032?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/58995771e032</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[logistics]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[trucking]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Thu, 12 Aug 2021 13:20:08 GMT</pubDate>
            <atom:updated>2021-08-12T13:20:08.507Z</atom:updated>
            <content:encoded><![CDATA[<p>By Rajat Rajbhandari, PhD (Co-founder, dexFreight)</p><p><strong>Summary</strong></p><p>In this blog post, we argue that automated trucks (especially Levels 4 and 5) will be embedded with digital wallets connected with smart contracts to interact with blockchain to; 1) spend and receive digital payments, 2) be an integral part of artificial intelligence (AI) driven workflow automation, and 3) create business innovations such as fractional asset sharing. At <a href="http://www.dexfreight.io/">dexFreight</a>, we believe the next level of innovation in blockchain technology is the direct participation/integration of physical assets with the underlying ledger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_gV0j4xfLhN7hDv7FnOiog.jpeg" /></figure><p><strong>Introduction</strong></p><p>We can all agree to disagree on the year automated trucks (<a href="https://www.nhtsa.gov/technology-innovation/automated-vehicles-safety">Levels 4 and 5</a>) will be available at a nearby dealer. However, we all can agree that it is not a matter of if, but when it will happen. Level 4/5 means a truck can function without a driver physically present in the cab or in a remote control room. Einride and Volvo are two companies actively testing Level 4/5 automated trucks. At present, the focus of truck manufacturers is to ensure safety features work flawlessly.</p><p>However, driving a truck is not only about going from point A to B safely. A driver performs many non-driving functions to satisfy a contract between shipper and carrier — collecting and sending bills of lading and proof of deliveries, gathering accessorial charges, informing shippers about the truck’s status, paying for fuel and services. These tasks will have to be digitized and automated in order to be truly driverless. We also think when Level 4/5 trucks are ready for the market, AI+sensors will play a major role and potentially take over many digital functions that a driver performs.</p><p>At dexFreight, we believe decentralized identity, wallets, and smart contracts will play a critical role when automated drivers will not have human drivers to perform those non-driving functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T1rXhx_nZxL9VjrR" /></figure><p>Source: Volvo</p><p><strong>What is a smart contract?</strong></p><p>A smart contract is a piece of executable code that resides in blockchain and has the capability to execute/enforce terms and conditions coded and agreed upon by parties to the contract.</p><p>One of the key value propositions of smart contracts in business terms is tamper-evident traceability of events/actions as well as parameters that are required to enforce contracts between parties. This significantly reduces the cost of reconciliation, settlements, and audits.</p><p>Smart contract in its current design plays a role of imperfect executioner and enforcer of the contract terms. Currently, smart contracts’ most pervasive use case is the issuance of tokens in exchange for another token. Although, its use case is rapidly increasing in the supply chain, logistics finance, insurance, etc.</p><p><strong>How does a smart contract work?</strong></p><p>Smart contracts are coded and deployed by a party (or a third party) on a public blockchain using tools like RSK (a Bitcoin sidechain), Ethereum. Let’s say the smart contract is designed to automatically pay for fuel (conventional or electric) services. A computer node and/or a digital wallet inside a truck with a connection to a public blockchain and interact with the smart contract. The node will read the fuel level from the truck’s internal system and pay the fuel service (which has agreed to be paid via the smart contract) agreed upon amount of cryptocurrency. Since both parties (truck and the fueling station) have agreed to transact via a smart contract, they cannot dispute the transaction that has been recorded in the blockchain. All this assumes the truck is capable enough to pull to a fueling station by itself and the fuel station has a tool that connects to the truck’s fueling system.</p><p>In addition to payment transfers, one can imagine the smart contract can be utilized to adjudicate and enforce many other contracts that require odometer readings, location readings, maintenance records, performance levels.</p><p><strong>Use of smart contracts in trucking</strong></p><p><strong>Issuance of crypto payments </strong>— We think smart contracts are suitable for automated trucks to execute the encoded terms with various stakeholders (e.g., freight brokers, shippers, drivers, regulators) and external systems (e.g., toll facilities, parts order, fuel payments). Using in-build wallets, automated trucks can hold funds to buy computing power, fuel, and services and automatically pay to service providers via smart contracts. With AI, trucks not only have a huge amount of computing power, but with wallets, they also have economic power — the power to receive, hold, and transfer money on their own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*9rLlgT_yewn1sy-1" /></figure><p>Source: <a href="https://medium.com/riddle-code/hardware-based-blockchain-car-wallets-to-enable-future-mobility-solutions-11532964c6d6">https://medium.com/riddle-code/hardware-based-blockchain-car-wallets-to-enable-future-mobility-solutions-11532964c6d6</a></p><p><strong>Joint sharing of physical assets </strong>— There is a good chance that Level 4/5 trucks when they roll out of dealers will be so expensive that small trucking companies cannot afford to add to their fleet. In that case, why not share them. Let’s assume 3 small trucking companies decide to jointly own a new shiny Level 4/5 truck. Assuming legalities to do so are sorted out already. All three proud owners will require an immutable tamper-evident ledger that keeps track of odometer readings, have access to wallets, service records, interest payments, insurance payments. What better way to do that than using blockchain as a ledger and utilize smart contracts to enforce terms of the contract between the owners. Using blockchain and smart contracts as an adjudicator will be more cost-effective than paying huge intermediary fees to a company.</p><p><strong>Workflow automation and rapid audits </strong>— We posit that Level 4/5 trucks will be incorporated into a workflow automation. At the moment, shipper and freight broker’s enterprise systems assign shipments for pick up and delivery to a truck (and the driver). If the driver is not there in a Level 4/5 truck, then those systems need to feed the shipment information to the truck’s system. The novel automation applications like <a href="http://www.dexfreight.io/">dexFreight</a> can treat Level 4/5 (or any other trucks) as an integral component of the overall workflow. The smart contract created for moving the shipment can assign a unique identity, create a digital bill of lading (anchored to blockchain) and transfer funds directly to the truck’s digital wallet (at the owner’s request) to purchase fuel and services. This will save the trucking companies (and shippers) the cost of administering fuel cards, reduce credit card transaction fees, etc. and reduce the time required to audit invoices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*UVgH3FEov-G3oFVLWeb53g.jpeg" /><figcaption>Digital wallet in trucks can communicate with smart contracts for various logistics functions.</figcaption></figure><p><strong>Other services — </strong>Prof Bhaskar Krishnamachari from the University of Southern California in this <a href="https://medium.com/@bhaskark2/financially-autonomous-vehicles-7207c65b95f1">blog post</a> calls the concept of autonomous vehicle’s ability to perform financial transactions a financial autonomy of vehicles — the world in which vehicles exchange non-traditional services (beyond driving) with other vehicles using vehicle-to-vehicle financial transactions. Such services can include exchanging battery power, providing data and algorithms to other vehicles.</p><p><strong>What about Levels 1 to 3 trucks?</strong></p><p>Before Level 4/5 trucks roll out of dealers, Level 2/3 automated trucks with drivers in the cab will constitute a significant portion of truck fleets. Deploying smart contracts for trucks doesn’t have to be limited to Level 4/5. These contracts can be deployed now in Level 1 trucks. All they need is a computer with a decent internet connection to connect with public blockchain infrastructure and an agreement between the parties (of shipment) that funds transfer and other information transfers will occur via a smart contract. Companies can do that now with <a href="http://www.dexfreight.io/">dexFreight</a>. For a foreseeable future, drivers and their phones will be the ones interacting with the smart contracts. In the future, electronic logging devices in trucks will connect to the smart contracts, since these devices are better suited for real-time tracking of trucks than phones. In dexFreight, drivers don’t even see smart contracts. Every time they interact with our mobile application, they are feeding variables into the shipment’s smart contract.</p><p><strong>In Conclusion</strong></p><p>We believe Level 4 or 5 trucks will have many non-driving functions to participate in the logistics workflow. These functions will require those trucks to participate by buying and paying for services. In order to do so, we posit that automated trucks should have wallets to interact with blockchain via smart contracts. At dexFreight, we will continue to study the economic benefits of embedding wallets to trucks and participate in the new economy. We also encourage others to do so. For now, we believe there is not enough return on investment to roll out trucks with wallets simply because use cases mentioned previously are still being built and the ecosystem is not yet ready for physical assets to persistently connect with blockchain.</p><p>Feel free to send us your thoughts and comments.</p><p><a href="https://www.startengine.com/dexfreight-incorporated">dexFreight is fundraising via crowdfunding on StartEngine. <strong>Learn more Here!</strong></a></p><p>Follow <a href="https://www.dexfreight.io/"><strong>dexFreight</strong> </a>on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">Newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58995771e032" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/smart-contracts-and-wallets-will-turn-trucks-to-next-generation-logistics-workhorse-58995771e032">Smart contracts and wallets will turn trucks to next-generation logistics workhorse</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We are raising our Seed B round through crowdfunding, here’s why]]></title>
            <link>https://medium.com/dexfreight/we-are-raising-our-seed-b-round-through-crowdfunding-heres-why-30c19e4445fa?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/30c19e4445fa</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[crowdfunding]]></category>
            <category><![CDATA[protocol]]></category>
            <category><![CDATA[logistics]]></category>
            <dc:creator><![CDATA[dexFreight Team]]></dc:creator>
            <pubDate>Mon, 02 Aug 2021 14:04:51 GMT</pubDate>
            <atom:updated>2021-08-02T14:23:05.550Z</atom:updated>
            <content:encoded><![CDATA[<p>By: Founding Team at dexFreight</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HdgWJm2uXapZdCaZ3VYifw.jpeg" /><figcaption>Invest in dexFreight. Crowdfunding now live on StartEngine</figcaption></figure><p>For the last two and half years, we have been working towards our goal of simplifying logistics for a better world. Our thesis identifies the high fragmentation, low level of digitization and lack of liquidity as the root causes of many of the problems of our industry, plagued with manual processes, delayed payments, low visibility, elongated transit times, empty miles with its respective environmental impact, counterparty disputes and lack of trust. We believe we can address these challenges through a shared open logistics network running on decentralized protocols and <a href="https://www.forbes.com/sites/forbestechcouncil/2020/01/06/what-is-web-3-0/?sh=491ff9be58df"><strong>Web 3.0</strong></a> infrastructure, to allow freight companies to exchange real time load and capacity availability, and transact with each other from booking to payment using smart contracts, while preserving data ownership and keeping a fair share of the value they create by participating in the network.</p><p>We started our early days by evangelizing the power and prospects of blockchain technology to the logistics industry. We quickly realized that was not enough, so we decided to build our marketplace using conventional web2 infrastructure as the interface for the users to experience this disruptive technology first hand. Since then, we have received support and validation from multiple thought leaders in both the logistics and blockchain industries.</p><p>As of today, we have raised over $3.2 million from angel and strategic investors, including freight brokers, shippers and trucking companies, who understand first hand the pains and challenges of the industry and the potential of blockchain as the solution through the use of smart contracts.</p><p>With their support, we have launched our full truckload and drayage marketplaces; dexFi, a patent pending alternative to freight invoice factoring to get carriers paid as soon as they deliver. In addition we have developed machine learning algorithms and the underlying protocols that make all of this possible and scalable.</p><p>With a growing network of over 2,700 logistics companies registered, and with freight spend growing at 46% quarter over quarter, we are now entering the next phase of rapid scale up, moving forward with our vision of fair and equitable distribution of network value among those contributing to its success. For this reason, after careful consideration of the current US regulatory environment, we have decided to take advantage of the recent SEC amendments to the Reg CF rules, that allow startups to raise up to $5MM through crowdfunding. This kind of fundraising facilitates non-accredited investors and retail investors, including truckers, dispatchers, supply chain professionals, technology enthusiasts, etc. to have ownership of dexFreight.</p><p>For the specifics regarding the offering, please <strong>visit our </strong><a href="https://www.startengine.com/dexfreight-incorporated"><strong>campaign page</strong></a><strong> on StartEngine.</strong></p><p>Let this be an open invitation not only to those that have supported us from the beginning but also to anyone interested in joining us. Together we will shape the future of global logistics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30c19e4445fa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/we-are-raising-our-seed-b-round-through-crowdfunding-heres-why-30c19e4445fa">We are raising our Seed B round through crowdfunding, here’s why</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[COVID-19 Effects on Price Per Mile of Ground Shipments to and from US Ports]]></title>
            <link>https://medium.com/dexfreight/analysis-of-freight-brokers-price-sentiment-in-response-to-import-export-fluctuations-at-us-ports-dd0d5cfc3ab0?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/dd0d5cfc3ab0</guid>
            <category><![CDATA[freight-shipping]]></category>
            <category><![CDATA[logistics]]></category>
            <category><![CDATA[trade]]></category>
            <category><![CDATA[covid19]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Mon, 12 Apr 2021 16:28:07 GMT</pubDate>
            <atom:updated>2021-04-12T17:06:59.674Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>COVID-19 Effects </strong>on Price Per Mile Offered by Freight Brokers for Ground Shipments to and from US Ports</h3><p>By: Rajat Rajbhandari, PhD, and Mauro Jimenez</p><h3>Summary</h3><p>In this study, we analyzed freight broker’s price sentiments of ground shipments in response to import/export fluctuations at the nine major ports in the United States (US) due to COVID-19 (during the period 2019 and 2020). We define the sentiment as the price they offered in various load boards and other platforms to move ground shipments to and from the ports. We analyzed the correlation between total monthly import and export using <a href="https://en.wikipedia.org/wiki/Twenty-foot_equivalent_unit">Twenty Foot Equivalent</a> (TEU) at the ports and monthly averages of offer price per mile to and from the ports based on over 200,000 shipment data.</p><p>Following are the major findings from the study:</p><ul><li>There was a lag of 2 to 3 when TEU and offer prices dropped at the east coast ports in comparison to the west coast ports.</li><li>We found a strong correlation between changes in TEUs and offer price per mile, especially at larger ports in both east and west coast ports.</li><li>The data showed a sharp drop in offer price per mile at the peak of COVID-19 restrictions (between March-May of 2020.) compared to 2019. This is consistent with a <a href="https://www.ccjdigital.com/business/article/14940173/brokered-freight-market-saw-more-bust-than-boom-in-2020">study</a> performed by McLeod Software and reported in CCJDigital that the freight brokers experienced a drop in profit margins in 2020.</li><li>Distribution of trip distance showed a skewness towards mid-mile trips and a long tail towards long-distance trips.</li><li>The demand during the first three months of 2020 seems to be more focused on the short distances shipments compared to the same period in 2019.</li><li>We found that the average trip distance had dropped significantly in 2020 compared to the same months in 2019 until July. Also, the spread of trip distance within a month has also thinned during 2020.</li></ul><h3>Objectives of the Study</h3><p>COVID-19 pandemic created massive disruptions in the already fragile global supply chains. Disruption due to market shutdowns led to unusual fluctuations in the demand for physical goods. Such disruptions are expected to continue even after vaccines become widely available and market shutdowns become less frequent. We believe it is important to study the effect of such a pandemic in the logistics industry to become better prepared for a next one, or any other disruption that could be caused by natural disasters. In our platform, we saw firsthand unusual fluctuation of the price offered by freight brokers.</p><blockquote><strong><em>The objective of this study was to perform a macroscopic analysis of freight broker’s price sentiments in response to import/export fluctuations at major ports in the US.</em></strong></blockquote><p>We did not analyze causations between the drop in import+export volume at the ports and the broker’s offer price per mile.</p><h3>Study Scope</h3><p>We limited the scope of the study to include 9 major US ports — 3 in the west coast (Ports of <a href="https://www.portoflosangeles.org/">Los Angeles</a>, <a href="https://polb.com/">Long Beach</a>, and <a href="https://www.portofoakland.com/">Oakland</a>), 6 on the east coast (Ports of <a href="https://www.panynj.gov/port/en/index.html">New York/New Jersey</a>, <a href="https://mpa.maryland.gov/pages/default.aspx">Maryland</a>, <a href="https://www.portofvirginia.com/">Virginia</a>, <a href="http://scspa.com/">South Carolina</a>, <a href="https://gaports.com/">Savannah</a>, <a href="https://porthouston.com/">Houston</a>). In the future, we will include more ports. We used offer price per mile as a proxy to freight broker’s sentiment and response to the changing market conditions. In the analysis, we included 216,000 ground shipments with origin and destinations within a 50-mile radius of the nine ports. Figure 1 shows the origin-destination of shipment to and from the ports. We did not segregate the shipments by type of equipment, weight, cargo type mainly due to lack of resources and lack of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*E4us1LlWYmKlxlWFmrUi4g.png" /><figcaption>Figure 1. Origin-destinations of shipments to and from the nine ports in 2019 and 2020. <br>Note: Shipments mapped using Kepler.gl.</figcaption></figure><h3>Impact of COVID on Global Maritime Shipping</h3><p><a href="https://unctad.org/system/files/official-document/dtltlbinf2020d1_en.pdf">UNCTAD</a> published a report describing the immediate impacts of the pandemic on maritime trade flows, ship calls, and liner shipping connectivity in the first half of 2020. The report characterized the pandemic’s effect on global trade flows as “unprecedented in speed and scale.” The agency estimated global merchandise trade to have fallen by almost 5% in the Q1/2020 and expects a deeper contraction of 27%in the second quarter. For the full year, it estimated a drop of 20%. Globally, the number of port calls by ships dropped by 9% and 17% in Q1 and Q2/2020 respectively. It reported that by the end of Q2/2020 ship calls at the North American ports dropped by 21%.</p><h3>Year to Year Change in Import/Export at US Ports</h3><p>We analyzed monthly TEUs imports and exports at nine major US ports for 2019 and 2020. Figure 2 below shows the monthly TEUs volume at 3 west coast ports, Port of Long Beach, Port of Oakland, and Port of Los Angeles. The volume drops in March 2020 at Port of Long Beach and Port of Los Angeles were remarkable, dropping below 2019 during the same month.</p><p>Figures 2 and 3 below show changes in monthly TEUs between 2020 and 2019 at the nine ports. The west coast ports experienced the highest drop of 15% in March compared to 2019. The west coast ports experienced a decline in TEUs at least 2–3 months earlier than the east coast ports. The positive change in west coast ports occurred 2 months prior (in July) than the east coast ports. The recovery in the west coast ports was also stronger than the east coast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/0*iPUHv813XMwQP73m" /><figcaption>Figure 2. Average percentage change in monthly TEUs (imports and exports) at the 3 West Coast ports from 2019 to 2020.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/0*jeOvrXaEMFZx3b9z" /><figcaption>Figure 3. Average percentage change in TEUs (imports and exports) at the 6 East Coast ports from 2019 to 2020.</figcaption></figure><h3>Year to Year Change in Broker’s Offer Price Per Mile in General</h3><p>We analyzed the distribution of offer prices and distances shipments collected in 2019 and 2020 by our logistics platform. Distribution of trip distance shows a skewness towards mid-mile trips and a long tail towards long-distance trips. The difference between the two years is subtle with a slight shift towards medium distance trips in 2020. Additionally, we analyzed the relationship between the trip distance and offer price per mile using time series, as shown in Figure 4. The figure shows that the short spike in the average trip distance during April/May 2020 coincided with the drop in price in the same months.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cVizZaJHZqVPWYSY" /><figcaption>Figure 4. Time series of daily, weekly, and monthly average trip distance and the offer price per mile from 2019 to 2020.</figcaption></figure><p>One of our hypotheses is that the COVID-19 had “broken” the annual seasonality of price and distance. We analyzed the monthly behavior of both trip distance and the offer price per mile using a time series of box plots, as shown in Figure 8. We noticed that the average trip distance had dropped significantly in 2020 compared to the same months in 2019 until July. Also, the spread of trip distance within a month has also thinned during 2020. This indicates brokers were responding to carriers contracting distance they covered. The figure also shows that in 2020, price fluctuations were much higher during the early days of COVID-19 and ultimately smoothing out after July 2020. The demand during the first three months of 2020 seems to be more focused on the short distances shipments compared to the same period in 2019.</p><h3>Year to Year Change in 3PL Offer Price Per Mile For Individual Ports</h3><p>We applied a 50-miles radius geo-spatial search to gather (n=216,245) inbound and outbound ground shipments to and from each port. Figures 5 and 6 below show changes in the monthly average offer price per mile between 2020 and 2019 at the nine ports. The west coast ports experienced a slight drop (3%) in May. But in comparison, the east coast experienced a maximum of 26% drop in May. Both coast ports returned to positive territory in June. In future studies, we will analyze the reason for the difference in price drop at the east and west coast ports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/0*xILKCY2WX3yHDn9V" /><figcaption>Figure 5. Average percentage change in monthly offer price per mile at the 3 west coast ports between 2019 and 2020.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/0*tUqQLucHVVLKXu9c" /><figcaption>Figure 6. Average percentage change in monthly offer price per mile at the 6 east coast ports (including Houston) between 2019 and 2020.</figcaption></figure><h3>Correlation Analysis of TEUs vs Average Offer Price Per Mile</h3><p>Finally, we analyzed the correlation between monthly TEUs of import and export at the ports mentioned previously and the average offer price per mile. We used the Pearson Correlation Coefficient to measure the strength of a linear association between the two variables. Needless to say, that correlation doesn’t mean causation, which requires more extensive study. The results show weaker or none existent correlation at small ports compared to the larger ports. This may be explained by several reasons, one of which is the lesser fluctuation of demand at the ports compared to the larger ports.</p><h3>Future Work</h3><p>The future work will examine the impact of different factors of ground shipments such as equipment type, trip distance, and availability depending on the location of the road in order to achieve a more robust analysis that could explain the cause of fluctuations in the market.</p><p>Furthermore, the addition of more ports to analyze the reason for the difference in price drop at the east and west coast ports. Finally, the addition of traffic status or the broker’s reaction to traffic due to pandemic or unexpected conditions.</p><h3>We Appreciate Your Feedback</h3><p>Feel free to send your thoughts and comments at rajat@dexfreight.io.</p><p>Follow <a href="https://dexfreight.io/"><strong>dexFreight</strong></a> on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">Newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd0d5cfc3ab0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/analysis-of-freight-brokers-price-sentiment-in-response-to-import-export-fluctuations-at-us-ports-dd0d5cfc3ab0">COVID-19 Effects on Price Per Mile of Ground Shipments to and from US Ports</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Content-Based Recommendation Model to Improve the Shipment Selection for Trucking Companies]]></title>
            <link>https://medium.com/dexfreight/content-based-recommendation-model-to-improve-the-shipment-selection-for-trucking-companies-eae34322bbe2?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/eae34322bbe2</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[trucking]]></category>
            <category><![CDATA[logistics]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[freight-shipping]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Thu, 14 Jan 2021 14:12:58 GMT</pubDate>
            <atom:updated>2021-01-14T16:09:35.022Z</atom:updated>
            <content:encoded><![CDATA[<p>by Mauro Jimenez and Rajat Rajbhandari, PhD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ceESt-3r1xVoAWEj4_n5cw.png" /></figure><h3>Summary</h3><p>In this blog, we discuss how we built and tested a recommendation model to present relevant shipments to carriers. On the platform, we receive over 50,000 shipments a day from various sources. Carriers find it time-consuming to filter so many shipments using predefined parameters. Hence, we built a model so that it dynamically assigns weights to shipments that match the carrier’s preferences and past history of similar shipments they have moved. The model then presents numerical matching % to an already filtered set of shipments. The blog post describes the complexity and nuances of building and running these models.</p><h3>Introduction</h3><p>The use of recommendation models can be found in many online marketplaces such as Amazon, Airbnb, and Netflix. These models present users with “recommended” items for purchase or movies based on their usage history as well as their stated preferences. In <a href="https://dexfreight.io/">dexFreight marketplace</a>, everyday trucking companies (referred to as users) are presented with thousands of shipments for booking, which could overwhelm them, and worse they may pass on the opportunities to book those shipments.</p><p>Hence, we built a recommendation model using machine learning to present trucking companies with the most likely candidates of shipments and reduce the time they spend in searching and filtering for shipments. This allows users to spend more time on other essential tasks of moving processing.</p><p>Figure 1 below shows a user interface in the dexFreight marketplace by which users are presented with a curated list of recommended shipments along with matching percentages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ojwzfq_e7AsZM5ud" /><figcaption>Figure 1. List of shipments recommended to carriers along with matching percent.</figcaption></figure><p>The recommendation model utilizes <a href="https://en.wikipedia.org/wiki/Tf%E2%80%93idf">TF IDF</a> and <a href="https://en.wikipedia.org/wiki/Cosine_similarity">Cosine Similarity</a> algorithms to find matching shipments based on the user’s past history. However, we found out that there is a trade-off between how many new input shipments are analyzed as well as how far back users’ historical data is utilized in the model and the model’s execution time.</p><h3>Objectives</h3><p>We present in this blog post a summary of the research we conducted in assessing the previously mentioned trade-off. Our objectives for this research are the following:</p><ul><li>Describe the purpose of the recommendation model in the dexFreight marketplace.</li><li>Understand the components of a recommendation model.</li><li>Develop a model to recommend shipments to users and analyze trade-offs.</li></ul><h3>Brief description of the shipment data</h3><p>In this section, we describe the datasets of over 500,000 records that were used to build the shipment recommendation model. Each record is a shipment offer posted by freight brokers and shippers in the marketplace. Our challenge is to present the users with a set of relevant shipments. Each shipment record has a structure with three levels of attributes as shown in Figure 2. The first level is associated with the main labels, such as mode, origin, destination, trailer size, etc. The second level increases the segmentation of the records with keys related to the first level attributes in a hierarchical structure. For example, second-level attributes related to mode include less than truckload, full truckload, etc. The third level contains values or parameters further segmented from the second level attributes. For example, the third level attributes for flatbeds included the length of the trailer.</p><p>A pre-processing unit was implemented in order to represent the data from the third level attributes in a numeric way. The pre-processing unit is based on the data distribution and the weights associated with the term frequency of each individual attribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*epYzMVVBI_u59Xza" /><figcaption>Figure 2. Hierarchical attributes of shipments.</figcaption></figure><h3>Insights about the learning model</h3><p>In order to understand the learning of the shipment recommendation model and the user’s behavior, we analyzed the shipments that have a similar type of attributes. We considered the output of the recommendation model as a random variable because we have to wait until a new set of shipments are used as an input to perform a recommendation.</p><p>Thus, we created a dictionary for the attributes that are values or parameters from the shipment. These attributes can be considered as indicators from an event, which is the simplest way to describe discrete random variables. This assumption led to a numeric domain composed of indicators (attributes of the shipments), each one of them with two states. Ignoring the frequency of those events, we have two clusters of indicators; the indicators show the occurrence of a load attribute and the absence of a load attribute.</p><p>The reason for using this concept is to consider the uncertainty of those attributes because a probability framework provides a consistent process for the tokenization of attributes and gives us clues for pattern recognition of the shipment data. When combined with decision theory, it allows us to make optimal predictions given all the shipment information available to us, even though that information may be incomplete or ambiguous.</p><p>Although the absence or presence of a shipment attribute gives us the boundaries for the amount of information required for the recommendation model, the frequency of an attribute might provide additional information, but it does not necessarily mean that the most frequent value is the most relevant. Let’s break down the previous statement about the relevance of the frequency with an example:</p><p>Let’s think about a carrier that in the past has booked 4 shipments (Index 1–4 below) using 53&quot; dry van trucks and a broker has posted a load (Index 5 below), which size and weight requires a truck with a Flatbed equipment type.</p><p>The pre-processing unit generates a count matrix with the previous information, after tokenization. Where each row represents a shipment and each column the presence or absence of each attribute of the shipment. This representation into vector space is called embedding. The attributes of the loads are also known as queries.</p><p>If the recommendation model takes into account the attribute frequency in the corpus, in Figure 3, which is the count of the attribute divided by the total of words. The recommendation model would respond with similar percentages ignoring the carrier’s preference.</p><p>The previous issue is compensated using the inverse term frequency (equation below), which means that the recommendation system needs to consider the frequency of the attribute across all records and the shipment itself. The frequency term and the inverse term frequency are directly related to the amount of information the recommendation model can retrieve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/0*4Ytu3tBKs-lhGGIH" /><figcaption>Figure 3. Term frequency equation.</figcaption></figure><p>After the application of the inverse term frequency is possible to observe two things considering the shipments with the highest weight over the equipment type attributes (dry van and flatbed). The equation assigns more weight to less frequently occurring attributes rather than frequently occurring ones.</p><p>Thus, in order to know which attributes are similar between shipments, we applied the cosine similarity which is a measure of the cosine of the angle between two vectors (referring to the shipments) projected in a multidimensional space.</p><h3>Recommendation model architecture</h3><p>The recommendation model architecture includes a generation block that takes into account the user’s stated preferences and filter attributes like the equipment type, origin, and destination and a threshold for the percentage of similarity among the candidate shipments. In the future, we will include a feedback loop regarding the actual selection of shipments by users. Every component in the architecture is shown in Figure 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*PcBXKZzduG-KdPUvqORmrQ.jpeg" /><figcaption>Figure 4. Recommendation model architecture.</figcaption></figure><p>Furthermore, in order to avoid the introduction of systematic bias in the data, a trade-off between the performance with pre-processing filters to reduce the hardware requirements should be considered. Although the proportion of items the recommendation model can recommend is related to the coverage of the amount of information and the percentage of all items that can ever be recommended.</p><h3>Results and validation</h3><p>In order to develop an unbiased recommendation model, we have considered three different types of users based on their shipment data sizes (historic) and user preferences such as equipment type, origin-destination. These preferences can be set by the user or set by historic criteria, like the time of a shipment offer in the market and the percentage of booked shipments selected within a time frame.</p><p>Types of users based on the number of shipments processed in the past:</p><ul><li>With 10, 000+ historic shipment records.</li><li>With 5,000–10.000 historic shipment records.</li><li>With 1,000–5.000 historic shipment records.</li></ul><p>In doing so, we avoid data distribution assumptions to replicate the influence of users’ behavior. Furthermore, to increase the performance of the recommendation model, assumptions about the user’s preference can be considered, but the selection of the respective parameters can introduce a systematic bias. Prior knowledge can correct the bias in the data, but due to the high variance in the logistics industry, this is a design constraint.</p><p>In the future, we will include carriers with a smaller number of historic records to account for bootstrapping problems and the fact that they are new in the market or new in the dexFreight platform.</p><h3><strong>Comparison of model performance based on user-preferences</strong></h3><p>The hypothesis that we wanted to test is related to recommendations for the different types of users and how the model’s execution time is affected by the size of the previously booked shipments (user’s historic shipments) and the number of shipments (batch size) being provided with matching percentage.</p><p>We executed the model with few user-preference attributes in order to achieve a shorter execution time. Analyzing the results we can see a positive correlation between the model’s execution time and the type of user. Figure 5 shows the execution time for the three types of users along with different batch sizes of input shipments. It shows that the number of historic shipments and depth of attributes affect the performance of the model. Figure 5 below shows that the model’s execution time (in the y-axis) is highly dependent on the number of past shipments considered, which is obvious. However, the batch size did not matter. Also, the execution time is not linearly proportional to the number of past shipments (shown in the legend) used in the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/0*2kaS3YMyEeAE5UWH" /><figcaption>Figure 5. Recommendation model performance.</figcaption></figure><p>Furthermore, Figure 6 shows that the average Cosine Similarity score (in the y-axis) is between 0.373 and 0.529 for all three user types with a 95% confidence (higher Cosine Similarity score means a higher level of matching.) This figure implies that the batch size, which consists of a set of shipments randomly selected, is being proposed as a candidate for the recommendation system. The similarity score was not very different between 1000 vs 10,000 historic shipments. However, the score dropped for higher the batch size of input shipments for which matching percentages are to be determined. This shows the higher-level influence of stated user preference in the similarity score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/0*wLt-A5w4GWpTuL7G" /><figcaption>Figure 6. Cosine Similarity for different batch sizes and type of users.</figcaption></figure><h3>In Conclusion</h3><p>We have described our content-based recommendation model system for the dexFreight marketplace, candidate generation, and ranking of the suggested shipments using the Cosine Similarity. We have tested the trade-off of using pre-processing filters. The evaluation of the model was performed offline, thus we cannot directly measure the model’s influence on user behavior. At this stage, the goal of the model is to filter out unnecessary user-preference attributes resulting in a relatively small set of new shipments that might be of interest to the users. Instead of doing 80/20 (training/testing ratio) validation of the model, we created an experiment with a fixed number of new candidate shipments using different batch sizes.</p><p>We are already integrating the user’s feedback loop regarding the actual selection of shipments recommended by the model to fine-tune the recommendation model. By doing so, the model will become more responsive to the user’s actual preferences (which may be different from predefined preferences) and not limited to historic shipments booked by the users or trucking companies.</p><p>Feel free to send your thoughts and comments at rajat@dexfreight.io.</p><p>Follow <a href="https://dexfreight.io/"><strong>dexFreight</strong></a> on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">Newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eae34322bbe2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/content-based-recommendation-model-to-improve-the-shipment-selection-for-trucking-companies-eae34322bbe2">Content-Based Recommendation Model to Improve the Shipment Selection for Trucking Companies</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing dexRate V1.0]]></title>
            <link>https://medium.com/dexfreight/introducing-dexrate-v1-0-b672d7b049ab?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/b672d7b049ab</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[freight]]></category>
            <category><![CDATA[forecasting]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[logistics]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Tue, 15 Sep 2020 19:04:43 GMT</pubDate>
            <atom:updated>2020-09-15T20:31:32.048Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Introducing dexRate V1.0 — Machine Learning Powered Shipment Rate Estimation and Forecasting Tool for Brokers and Carriers</strong></h4><p>By the Data Science Team at dexFreight Inc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IKz8i8JA0GXmk0JogjA8iQ.png" /></figure><p><strong>Summary</strong></p><p>In this blog post, we present dexRate, a novel tool developed by dexFreight for brokers and carriers to estimate and forecast full truckload freight rates in the spot market. The tool uses multiple data sources and machine learning algorithms (e.g., clustering, time series analysis) to estimate and forecast rates for a given origin, destination, and equipment type. Using dexRate, brokers and carriers can discover freight rates in new lanes, understand rate fluctuations, compare rates with peers in the market. We analyzed the rates suggested by the tool to the rates used by two freight brokers. <strong>As described below, we estimated return on investment (ROI) would have been 50% and 165% for two freight brokers if they had used dexRate</strong>.</p><p><strong>Estimating Freight Rates is Tricky</strong></p><p>For brokers/carriers, accurately pricing freight rate of shipments in the spot market involves knowledge of the lane they are moving, market trends, rate details, company’s target margin etc. Knowing all these variables and putting them together to make sense of shipment’s freight rate is not easy. Owner-operators, dispatchers, and the sales team, who typically work on those, use multiple systems, emails, and phones to estimate the right freight rate for a particular load and lane.</p><p><strong>Introducing dexRate V1.0</strong></p><p>dexRate is a Machine Learning-powered tool that makes it easy for the users to instantly discover the freight rate of shipments for a given lane, equipment type, weight, and other factors. The dexRate engine is neutral in the sense that it is not designed to favor one side of the supply and demand. The underlying data may at times be biased depending on where and how much data the engine receives.</p><p>dexRate determines <strong>suggested rates</strong> based on market indicators that consist of offered and invoice data provided by our users as well as third-party data providers. If the shipments are a few days out, then it provides <strong>forecasted rates<em>.</em></strong> We do not forecast the rates beyond 5 days out because the spot rates are so volatile that the models cannot accurately capture such volatility beyond 5 days ahead. dexRate allows users to measure the short and long term performance of their pricing strategies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*bmpUpCHqjvfKBRKr0q4EHw.jpeg" /><figcaption>Users can enter origin, destination, and equipment type to view suggested freight rates, compare with peers, and historic trends.</figcaption></figure><p><strong>Benefits and Value Propositions</strong></p><p>There are obvious benefits to faster rate discovery. Some benefits are subjective and others are quantitative. We analyzed two freight brokers and compared their past shipment rates and revenue. We compared their rate to carriers with dexRate suggested rate. We are performing similar tests with carriers. These benefits are described below:</p><p><strong>Benefit- 1: Eliminate Shipments with Negative Margins</strong></p><p>Freight Broker A (&lt;$100 Million per year top-line revenue) that operates largely in the spot truckload market was chosen for this study. They provided us with individual revenue from shipper and carrier rates for over 7000 shipments. The broker typically negotiates the shipment rates with the shippers and then goes on and hires carriers. There are obvious pros and cons to this practice. Nonetheless, we found that they had 4.6% of shipments with negative margins. <strong>After we ran our rate forecasting model on their shipments, we found that the overall profit margin would have increased from 14.0% to 14.9% by reducing negative margin shipments. With $200/month/seat licensing cost (may vary) and 3 licenses per month, their return on investment for the year would have been 165%.</strong></p><p><strong>Benefit — 2: Reduce Negative Portfolio Returns</strong></p><p>We also analyzed the broker’s annual return using the <a href="https://www.investopedia.com/terms/s/sortinoratio.asp">Sortino Ratio</a>, a common indicator used in algorithmic trading and hedge funds to assess the performance of various portfolios and investment strategies. The higher the ratio, the better it indicates risk-adjusted return in the portfolio. Obviously, we are not trying to compare broker operations with algorithmic trading. However, Sortino Ratio is sensitive to the impact of negative profit and the standard deviation of those returns. Using 10% as a desirable profit margin, we estimated the Sortino Ratio before and after (theoretic) using dexRate. <strong>The Sortino ratio jumped by over 30% from negative to positive territory indicating positive overall returns by using dexRate.</strong></p><p><strong>Benefit — 4: Reduce Lead Times to Quote Customers</strong></p><p>We also worked with Broker B, a small freight broker (&lt; $10 Million per year top-line revenue.) Their practice is different from the first broker. Broker B will receive shipment orders from customers, obtain bids from multiple carriers for those orders, and choose bids that best fit their rate as well as carrier’s reputation and performance. An obvious downside to this practice is that they have to wait for carriers to respond to their bids. By that time, if shippers are in a hurry then they may assign loads to another broker. <strong>dexRate provides users with an opportunity to quickly quote a rate to their customers without waiting to receive bids from carriers (a lot of those bids happen over the phone) and confidently hedge against rate risks.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/0*rpKiqpLH7tJCgRoj" /><figcaption>With dexRate, brokers and carriers don’t have to wait to discover the rates from the market. (Source: Imgur)</figcaption></figure><p><strong>Benefit — 4: Find Rates in New Markets</strong></p><p>If you are entering a new market or bidding on new lanes, then dexRate is a perfect tool for users. One of the difficulties of entering a new market is quoting the rate with high confidence in the absence of adequate historic information. <strong>With dexRate</strong> <strong>, users can look at historic trends of rates in those markets, and then quote a rate. dexRate provides an algorithmic confidence level in the form of relative market position of the rate compared to the peers.</strong></p><p><strong>Benefit — 5: Use Rates with Confidence</strong></p><p>Brokers and carriers can either use the rates suggested by dexFreight or modify it according to their individual needs. When modified, the algorithm compares the modified rates with rates currently available in the market. This allows the users to be lower or increase their rates to be aggressive or conservative against the market trends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*XdT8_MKjhWsMC_ccAtG98A.gif" /><figcaption>Brokers and carriers can compare their customized price with that of their peers.</figcaption></figure><p><strong>Customize Rates for Carriers</strong></p><p>For carriers, total rates can be customized on a per shipment basis before sending bids to a shipment. Users can disaggregate the rate into a number of variables such as fuel, wages, benefits, insurance, tolls, profit margin, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BsDvLhOu-0VHTb-N" /><figcaption>Carriers can customize the suggested rates according to their operational information and use the rate to bid on shipments.</figcaption></figure><p><strong>Integration with TMS and FMS</strong></p><p>Transportation Management Systems (TMS) and Fleet Management Systems (FMS) can request suggested and forecast rates via our open API. The request can be a single o-d or batch thousands of o-d lanes and equipment types. For recurring API pulls, we will charge on the basis number of API pulls.</p><p><strong>In Conclusion</strong></p><p>dexRate is unique among other rate discovery tools in the market because of the fact that it can estimate the probability of rate acceptance by comparing it with market sentiment and also perform short term price forecasting using machine learning algorithms that constantly learn as new data enters the model. The blog post clearly demonstrated ROI for brokers. We will continue to analyze the ROI for carriers of different sizes. dexRate is also a strategic tool within the platform, as it is a building block to future tools we are building including revenue-based optimization algorithms for carriers.</p><p><strong>Contact Us for a Free Trial</strong></p><p>Please click <a href="https://meetings.hubspot.com/aespinosa1/schedule-demo?hsCtaTracking=7f53e620-3859-44ed-8d7d-dea5cd38bbc4%7C62160ca1-f924-4591-b8af-214ed3af8ed2">here</a> for a free demo. Feel free to send us your thoughts and comments at <a href="http://info@dexfreight.io/">info@dexfreight.io</a>.</p><p>Follow <a href="http://www.dexfreight.io/"><strong>dexFreight</strong></a> on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">Newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b672d7b049ab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/introducing-dexrate-v1-0-b672d7b049ab">Introducing dexRate V1.0</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use of Smart Contracts in the dexFreight Platform]]></title>
            <link>https://medium.com/dexfreight/use-of-smart-contracts-in-the-dexfreight-platform-1037abf0f1f2?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/1037abf0f1f2</guid>
            <category><![CDATA[nonfungible-tokens]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[decentralized-finance]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[logistics]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Mon, 29 Jun 2020 16:24:33 GMT</pubDate>
            <atom:updated>2020-06-29T16:24:33.147Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oGiBLw-62rDmdnUYb3-eKg.jpeg" /></figure><h4><strong>Use of Smart Contracts in the dexFreight’s FinTech-Enabled Logistics Market Network</strong></h4><p><strong>How </strong><a href="https://dexfreight.io/"><strong>dexFreight</strong></a><strong> reduces invoice processing and back-office cost as well as provide cheaper liquidity to logistics companies using smart contracts</strong></p><p>By <a href="https://www.linkedin.com/in/rrajbh/">Rajat Rajbhandari</a>, PhD (CIO and Co-founder), and <a href="https://www.linkedin.com/in/adriangiannini/">Adrian Giannini</a> (CTO and Co-founder)</p><p><strong>Summary</strong></p><p>In this blog post, we describe how dexFreight uses smart contracts to enforce terms of contracts between shippers/brokers and carriers with self-executable rate confirmation agreements. Smart contracts are an essential component of dexFreight’s FinTech-enabled logistics market network. Smart contracts enable automated and programmatic transfer of funds between parties involved in the shipment process based on milestones reached in the shipment lifecycle without waiting for invoice reconciliation, as well as the conversion of transactions into non-fungible tokens to source cheaper, faster and programmable liquidity from decentralized finance ecosystems.</p><p><strong>Introduction</strong></p><p>In simple terms, a smart contract is a piece of code that resides in blockchain. Because the code resides in blockchain, the terms of agreement encoded in the smart contract between the parties are immutable and self-executable. On top of that, the underlying blockchain ledger keeps track of changes in transaction variables while parties interact with each other. In dexFreight, smart contracts store contractual information between shippers/brokers/carriers, and trigger automated payments to carriers at the broker/shipper’s choosing, as well as create<a href="https://hackernoon.com/non-fungible-tokens-vs-fungible-tokens-whats-the-difference-part-ii-f4b7e81f5942"> non-fungible tokens</a> (NFTs) from freight invoices to be used as collateral to provide immediate liquidity to the carriers.</p><p><strong>Typical contracting mechanism between logistics users</strong></p><p>dexFreight’s users are carriers (trucking companies), shippers, and freight brokers. Their everyday operational objective is to “process” shipments faster. For brokers, that means onboarding more carriers and negotiating with them to move shipments. For shippers, pushing their products to their customers quickly; for carriers that means ensuring their trucks do not stay idle.</p><p>In a typical spot market (open market), brokers/shippers select carriers through active negotiation, onboard them using the required legal documents (legal authority, insurance, W9, etc.) past performance information, and eventually after executing a “carrier-broker” or “shipper-carrier” agreement, they sign a rate confirmation sheet for each shipment. These documents define the terms and conditions of the shipment. The terms also include origin, destination, equipment type, weight, time and date of pick and delivery, agreed rate, etc. At present, terms are mainly exchanged between parties via email or faxes and are difficult to enforce given that the average transaction is around $1200.</p><p>In dexFreight the previously mentioned process is streamlined, reducing the booking time for all parties while recording all terms and conditions in a smart contract. The smart contract resides in<a href="https://www.rsk.co/"> Rootstock</a>, a side chain of the Bitcoin network that leverages it’s hashing to secure and anchor the transactions in the blockchain. Data from dexFreight’s mobile app and other sources including electronic logging devices and/or GPS in the trucks, telematics devices, <a href="https://en.wikipedia.org/wiki/Fleet_management">Fleet management systems</a> (FMS), etc., inform the smart contract of real-world events during the shipment lifecycle such as proof of pickup and delivery of shipments triggering the execution of agreed terms such as payment right after delivery.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*MC3SEv-CIScfDWWTvft19w.png" /></figure><p><strong>Smart contract use cases</strong></p><p><strong>Invoice-less payments</strong> — Companies lose a substantial amount of money in reconciling invoices before issuing payments after a shipment has been delivered. According to American Quality and Productivity Center, the median cost of processing invoices is 0.08% of revenue and translates to $5.83 per invoice across multiple industries (1). Other sources have mentioned invoice processing costs as high as $40 (2). Once a shipment has been delivered by the carrier, it has to create an invoice and send it to either a broker or shipper, which then reconciles against the agreement they signed along with other fees accrued during the shipment. Since the smart contract holds the terms of the agreement and receives information about the shipment, the broker/shipper doesn’t need to wait for the invoice from the carrier and let the smart contract trigger a bank payment to the carrier. Although the dexFreight platform creates an electronic invoice of shipments for records, automated triggering of payments saves a significant amount of time and resources for both parties.</p><p><strong>Proof of existence of contract component</strong>s — Components of a typical broker/shipper — carrier transaction include bill of ladings and proof of deliveries. Using dexFreight’s mobile app, drivers collect that information, which is hashed and added to<a href="https://tierion.com/"> Tierion</a> that uses Bitcoin infrastructure to anchor digital fingerprints of those documents. This provides users with a guarantee that the contract exists and that the documents haven’t been tampered with.</p><p><strong>dexFI invoice financing</strong> —dexFreight offers a cheaper alternative to traditional freight invoice factoring, enabling carriers to convert their receivables to cash immediately instead of waiting for a payment from the broker/shipper. Basically, the carrier can request an advance against the invoice at a much lower fee. Factoring companies charge an average of 3% for 30-day invoice plus fees to the carrier for the advance. In dexFreight with a single click, invoices are converted into a non-fungible token. The NFT is a unique digital representation of that transaction including all of its details, this digital asset with a defined value amount is then used as collateral to source cheaper liquidity in the form of stable cryptocurrency from the decentralized finance ecosystem and is seamlessly converted to the carrier’s local currency to provide the requested amount. Because the shipment was processed within the dexFreight platform and the smart contract has captured cryptographic signatures of the parties transacting and all the milestones of the shipment lifecycle, the NFT is fully attested.</p><p><strong>In conclusion</strong></p><p>We are excited about using the power of smart contracts to solve some of the more prevalent problems of the logistics industry. However, as with any new technology there are challenges ahead. For example, addressing service exceptions in the form of physical and administrative disputes that arise while moving shipments. We will continue to push the limits of using smart contracts to solve the trust issue between the transacting parties, reduce the back-office costs for our users with workflow automation across multiple companies and to unlock innovative business models much needed in the supply chain.</p><p><strong>References</strong>:</p><ol><li>“Accounts Payable and Expense Reimbursement Performance Assessment”, American Quality and Productivity Center, Accessed January 5 2019. <a href="https://www.apqc.org/benchmarking-portal/osb/accounts-payable-and-expense-reimbursement">https://www.apqc.org/benchmarking-portal/osb/accounts-payable-and-expense-reimbursement</a></li><li>Palmer, M., “The True Cost of an Invoice to Small Business Owners”, Due Inc., September 7 2017, <a href="https://due.com/blog/the-true-cost-of-an-invoice-to-small-business-owners/">https://due.com/blog/the-true-cost-of-an-invoice-to-small-business-owners/</a></li></ol><p>Feel free to send us your thoughts and comments at info@dexfreight.io.</p><p>Follow <a href="https://dexfreight.io/"><strong>dexFreight</strong> </a>on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and subscribe to our <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1037abf0f1f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/use-of-smart-contracts-in-the-dexfreight-platform-1037abf0f1f2">Use of Smart Contracts in the dexFreight Platform</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is blockchain community overlooking interoperability?]]></title>
            <link>https://medium.com/dexfreight/is-blockchain-community-overlooking-interoperability-f9adeb9608f9?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/f9adeb9608f9</guid>
            <category><![CDATA[standards]]></category>
            <category><![CDATA[interoperability]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[logistics]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 14:39:17 GMT</pubDate>
            <atom:updated>2020-01-14T14:48:00.258Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NGZfrcP3IGlQprrgFNrjWA.png" /></figure><p><strong>A view on how this affects logistics and supply chain use cases and potential solutions.</strong></p><p><strong>Introduction</strong></p><p>In this blog, we explain why interoperability is critical in the logistics industry for the widespread adoption of blockchain. We are aware of several projects that are building cross-chain networks. However, we believe that is not enough and hence a call to action from the logistics industry itself, because the industry is highly fragmented and we fear it will stay that way in the foreseeable future. The logistics industry has always used a wide array of applications and vendors and we believe it will continue in that trend adopt multiple flavors of blockchain built on open and enterprise infrastructure. This will exacerbate the adoption of blockchain and slow industry innovation, such as fractional asset sharing, trading freight invoices between parties, and many more.</p><p><strong>Use Cases for Interoperability</strong></p><h3><strong>Use Case 1 — Trading or swapping assets between different blockchains</strong></h3><p>Let’s assume that Alice has X asset in Blockchain A, and Bob has Y asset in Blockchain B. If they want to swap each other’s assets (e.g., liquidated invoices, collaterals), then both Alice and Bob have to use a trusted intermediary or a notary. If both Blockchain A and B were interoperable, Alice and Bob would be able to trade each other’s assets (a process known as a cross-chain swap) without a trusted intermediary. <a href="https://www.coindesk.com/opportunity-interoperable-chains-chains/">Swapping assets</a>, especially tokens across chains, requires using an in-house ledger of centralized exchanges and then withdrawing the new token on a new chain. This process is expensive since both Alice and Bob will have to pay transaction fees to the intermediary. Swapping and trading assets is common in bulk logistics and maritime industry. The ownership of shipments on the way from New York to Hamburg may be traded and swapped many times.</p><h3><strong>Use Case 2 — Communication between blockchains to verify each other’s transactions</strong></h3><p>Alice has ownership of a container full of auto parts. The ownership is registered in a private blockchain application (it can be public as well). The container is transported and delivered to a consignee, Bob, who is an auto manufacturer. Alice registers Bob as the new owner of the container. Bob’s blockchain needs to verify that Alice’s blockchain has confirmed that the container ownership has been transferred to him. Alice’s blockchain needs to do the same at her end. An auto manufacturer like Bob receives parts and orders from hundreds of suppliers spread across the globe. How realistic is it to think that Bob and all his suppliers, who may also supply to other manufacturers, will be on the same blockchain that Alice uses?</p><p>Vitalik Buterin in “<a href="https://static1.squarespace.com/static/55f73743e4b051cfcc0b02cf/t/5886800ecd0f68de303349b1/1485209617040/Chain+Interoperability.pdf">Chain Interoperability</a>” mentioned two other use cases that caught our attention because of their usability in supply chain. They are combined and summarized below as Use Case 3.</p><h3><strong>Use Case 3 — Portability and encumbrance of invoices</strong></h3><p>Alice, a carrier, has an invoice anchored in Ethereum and wants to borrow against it from a bank or DeFi service. The provider agrees to provide finance against the invoice, but the smart contract is in a different blockchain and needs to lock the invoice in Ethereum so that Alice doesn’t go to another bank with the same invoice and double spend it. If not utilized on another chain, then the asset can be moved back to the original chain. Also, the asset in the original chain can be locked by another chain in order to finance it as a collateral. Multiple parties “sharing” blockchain where invoices are stored would reduce fraud in invoice and other trade financings.</p><h3><strong>Use Case 4 — Multiple transfer of asset ownership</strong></h3><p>This use case is an extension of Use Case 2. In the oil and gas industry and container movement across the globe, the ownership of goods/containers can change several times before reaching the consignee, because goods may be traded in mercantile markets during transit. The process is currently handled by multiple intermediaries, legal contracts, and cross border payments. If all the owners use the same blockchain, the problem is solved. A trusted intermediary may force asset owners to use its own blockchain. What if that is not the case? Imagine, assets being transferred from one blockchain to another.</p><p><strong>Potential Solutions</strong></p><h3>Trusted notary mechanism</h3><p>One obvious solution is to utilize a “trusted” intermediary that listens to events (Alice and Bob’s transactions) in both or multiple blockchains and provides digital signatures as proof that those transactions have taken place. Mr. Buterin calls it a “notary mechanism.” An obvious flaw or shortcoming in this approach is the centralized intermediary, which can be improved by creating a Byzantine fault-tolerant decentralized exchange, which would then become a “custodian” to maintain a proof that asset transfer has taken place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xHr_CD76UZHlh_pV" /></figure><h3>Hash lock time contracts</h3><p>Hash lock time contracts do not require knowledge of what’s happening in counterparty’s blockchain. They also remove a requirement of notaries: a conditional transfer of tokens where the condition is enforced by the blockchain native to it. Hash lock time contracts are enforced by the blockchain, so the parties transacting only need to trust the blockchain to correctly execute the contract. It also works well in a payment channel environment. The simplest description of hash lock time contract as described by Mr. Buterin in “Chain Interoperability” is as follows:</p><p>1. Alice generates a random secret <em>s</em>, and computes the hash of the secret, <em>hash(s) = h</em>. Alice sends the hash <em>h</em> to Bob.</p><p>2. Alice and Bob both lock their assets into a smart contract with the following rules (Alice locks first, Bob locks after seeing Alice’s asset successfully locked). On Alice’s side, if the secret is provided within a certain time period, then the token is transferred to Bob, otherwise it is sent back to Alice. On Bob’s side, if the correct secret (i.e. the value whose hash is <em>h</em>) is provided then the token is transferred to Alice, otherwise it is sent back to Bob.</p><p>3. Alice reveals the secret to claim the token from Bob’s contract. However, this ensures that Bob learns the secret allowing him to claim the asset from Alice’s smart contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eCQeDHJaCWk1OcAU" /></figure><h3>Cross chain message relay</h3><p>Instead of relying on a trusted intermediary to pass information between the two blockchains, one of the blockchains (let’s say Blockchain A) takes the block header of Blockchain B to verify transactions and confirm an event or state in Blockchain A. Although, this is more nuanced that it sounds because both blockchains need to use a similar consensus mechanism and structure of ledger. Fahad Shah <a href="https://steemit.com/bitcoin/@shahfahad096/the-opportunity-for-interoperable-chains-of-chains">described</a> cross-chain messaging as basically a query of belief. Mr. Shah questioned how can one design a system to relay messages between blockchains in a situation when one of the chains may be an orphan or forked. It is also conceivable that a message being sent is from a forked or orphan chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XhW3HsOaXrbZoJzL" /></figure><p><strong>In closing</strong></p><p>There are at least <a href="https://www.investinblockchain.com/blockchain-interoperability-projects/">10 projects</a> in this space dealing with the problem of interoperability from multiple angles. For example, Cosmos is creating a hub that connects independent blockchains called “zones.” Aion’s solution is to create a bridge between blockchains and eliminate the need for an intermediary. In addition to these projects, there are alliances and standards bodies such as <a href="https://bita.studio/">Blockchain in Transport Alliance</a>, <a href="https://medium.com/helloiconworld/blockchain-interoperability-alliance-icon-x-aion-x-wanchain-8aeaafb3ebdd">Blockchain Interoperability Alliance</a> trying to define standards and ease the path to interoperability. While there are many projects and initiatives working hard, we hope the interoperability between blockchains will NOT be a “long and grueling battle”.</p><p>Feel free to send me your thoughts and comments.</p><p>Find dexFreight’s white paper <a href="https://dexfreight.io/whitepaper/">here</a>.</p><p>Follow <a href="http://www.dexfreight.io/"><strong>dexFreight</strong></a> on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">Newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9adeb9608f9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/is-blockchain-community-overlooking-interoperability-f9adeb9608f9">Is blockchain community overlooking interoperability?</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science and Machine Learning at dexFreight]]></title>
            <link>https://medium.com/dexfreight/data-science-and-machine-learning-at-dexfreight-684a99ee0d98?source=rss----b62513621c97---4</link>
            <guid isPermaLink="false">https://medium.com/p/684a99ee0d98</guid>
            <category><![CDATA[logistics]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Rajat Rajbhandari, PhD]]></dc:creator>
            <pubDate>Sat, 21 Dec 2019 15:36:00 GMT</pubDate>
            <atom:updated>2019-12-21T15:35:59.968Z</atom:updated>
            <content:encoded><![CDATA[<p>How <a href="http://www.dexfreight.io/">dexFreight</a> is utilizing machine learning to improve logistics operations and reduce data silos.</p><p><strong>Introduction</strong></p><p>At dexFreight, machine learning is the heart and soul of information discovery for ourselves and for our customers. We believe leveraging machine learning early on, serves our interests now and in the future. In many ways, we have been designing dexFreight as a closed-loop complex system that requires persistent feedback from users in order to understand the outside environment that will affect the performance of the marketplace. Otherwise, there is no “learning” in machine learning.</p><p>With a team of engineers, we have begun to build the system. For the past six months, we have been designing, brainstorming, talking to customers about how to pack this “intelligence” in the marketplace.</p><p>We realized that a lot of companies claim to use machine learning, in fact they don’t. They have hardcoded “if-else-then” logic in their system, but they lack the true power of machine learning which is the “learning” part (feedback mechanism). Using machine learning, we are building (some are being deployed) following decision support tools for the users to interact with the marketplace, collaborate with other logistics companies, and increase their efficiency to process shipments.</p><p><strong>Content-based shipment recommendation engine for carriers</strong></p><p>As a marketplace for truckload spot market, we have access to shipments posted by 16,000 freight brokers firms in the US. In order to prevent carriers from being overwhelmed with loads and save them time, we implemented a content-based recommendation engine, which uses <a href="https://en.wikipedia.org/wiki/Tf%E2%80%93idf">TF IDF</a> and <a href="https://en.wikipedia.org/wiki/Cosine_similarity">Cosine similarity</a> algorithms to search for shipments and present the carriers with a small set of shipments with high probability of being accepted by them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*syrsbOsHXslAWX76U1dk6g.jpeg" /></figure><p>As carriers bid on shipments and book them, the information is stored in a large historic state matrix which is then used to “learn” if a carrier will bid on certain types of loads with higher probability. The model then assigns matching percentage and probability that the load will be bid on by carriers and presented to both brokers/shippers and carriers. This reduces the time carriers need to sort through thousands of shipments and also provides brokers with confidence that their shipment will be booked within allocated time window.</p><p>We are modeling the recommendation system in Python/MongoDB and have tested the performance in cloud environment, to ensure optimum historical data is used in the model to balance the trade-off between large input data and performance.</p><p><strong>Pricing strategy for brokers</strong></p><p>Our customers told us that one of the most puzzling (and probably difficult) activities in their daily operation is to price a shipment. At the moment, they have three sources of information to price a shipment — historical price, most recent price, online pricing tools. Even with this information, it turns out they can still end up massively underpricing their shipments. The objective they told us, is to reduce the probability of underpricing their shipments. What they lack is the constant “feedback” or “learning” of how they performed in pricing past shipments, which sets a base for future performance. And that is the niche where they need a better tool. Bigger companies probably have it, but not most small and medium enterprises (SME).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*sWAGcpL9PuxkJ7jIbcTTxQ.jpeg" /></figure><p>The first stage, is to provide the users with a broad view of price swings in the market with 20-day moving averages and other indicators. The second stage is to provide a short term forecast of shipment pricing using <a href="https://en.wikipedia.org/wiki/Autoregressive%E2%80%93moving-average_model">ARMA</a> model. The third stage is to give the users confidence that their price is competitive compared to the market price. The final stage is to create a feedback matrix of recommended price vs offer price as well as offer price vs. booked price by brokers/shippers. This will allow us to test a variety of <a href="https://en.wikipedia.org/wiki/Supervised_learning">supervised learning models</a> to determine the likelihood that the shipment will be booked in a given time window.</p><p><strong>Data asset pricing in Web 3 marketplace</strong></p><p>We are huge believers of <a href="https://medium.com/l4-media/making-sense-of-web-3-c1a9e74dcae">Web 3 movement</a>. We hold a firm belief that users always have the first right to their data and be able to monetize it. This belief has led us to partner with <a href="https://oceanprotocol.com/">Ocean Protocol/BigchainDB</a> and create a much-needed logistics data marketplace powered by smart contracts, whereby companies can buy and sell logistics data at their will and change the “rent seeking” paradigm that has plagued other marketplaces. One of the critical parameters in the data marketplace is pricing or valuation of user (shipment) data.</p><p>The fundamental question that we are trying to answer is, “what is the value of a shipment data?” While there are traditional models such as <a href="https://en.wikipedia.org/wiki/Cost-plus_pricing">cost-plus model</a>, we feel that alone is not enough to determine time-based pricing of the data. Cost-plus model may be enough to set an initial price. However, the value of data decreases over time (like other perishables) and reaches certain non-zero minima. The decreasing function follows some kind of exponential decay curve. This is where machine learning comes in handy, to learn how the market prices the data over time, eventually allowing us to calibrate the price and curve function accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*reEeItR-p1oGJABsnjjY2A.jpeg" /></figure><p><strong>In closing</strong></p><p>We are extremely excited to bring the power of data science and machine learning to our users, especially the SMEs that have limited resources to do on their own. By joining dexFreight, these users constitute a part of the larger network and are able to take advantage of a large pool of data in order to make decisions to move shipments more efficiently.</p><p>Please feel free to send me your thoughts and comments.</p><p>Find dexFreight’s white paper <a href="https://dexfreight.io/whitepaper/">here</a>.</p><p>Follow <a href="http://www.dexfreight.io/"><strong>dexFreight</strong></a> on <a href="https://twitter.com/dexfreight/">Twitter</a>, <a href="https://t.me/dexFreight/">Telegram</a>, <a href="https://www.linkedin.com/company/dexfreight">LinkedIn</a>, and <a href="https://share.hsforms.com/16wXN7IADT_OI3ApvhlWwqg2rxfd">Newsletter</a> for project updates and announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=684a99ee0d98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dexfreight/data-science-and-machine-learning-at-dexfreight-684a99ee0d98">Data Science and Machine Learning at dexFreight</a> was originally published in <a href="https://medium.com/dexfreight">dexFreight</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>