How blockchain can benefit artificial intelligence

A comprehensive presentation by Pandora Boxchain founder, Maxim Orlovsky.

North Star AI conference, powered by Proekspert featured many industry leaders who came to present their recent research and innovative findings. Respected AI and blockchain expert—and founder of the company Pandora Boxchain—Maxim Orlovsky, began his presentation by noting that “at every conference, these days, there should be at least one person presenting on blockchain.” At North Star AI, he was the one to do it.

Hype in blockchain artficial intelligence

Before delving into the complexities of blockchain, Orlovsky noted that considering the tremendous hype that now surrounds the technology, he would like to focus on its primary criticisms rather than its obvious advantages. And in doing so, to answer the question: How can blockchain be useful to artificial intelligence?

“We know that machine intelligence is not a singular object,” said Orlovsky, “it’s not a big brain in the cloud, it is a multi-agent system.” Some examples of machine intelligence that we use today include the internet of things, a fleet of self-driving cars, or the network of mobile phones that we carry with us daily in our pockets.

Within a matter of years, these technologies will most likely be interacting with each other in new and significant ways. The more these technologies develop, the more people will have to think about the potential risks—how things can go wrong.

Distributed Systems and Byzantine Fault Tolerance

One of the main challenges of AI, said Orlovsky, is Byzantine faults.

What are Byzantine faults?

In general, Byzantine faults occur where a reliable system is composed of unreliable parts. Within a fleet of autonomous vehicles, for example, the cars constantly exchange information about speed, movement, road conditions etc., in real time. A Byzantine car is one that is not following the rules, but is trying to cheat or attack other cars (for example, this could potentially be a terrorist threat). The question is how do we deal with this kind of dangerous information within an otherwise reliable system?

This, said Orlovsky, brings us to Byzantine Fault Tolerance, a field of computer science that has been active since the eighties. For a long while no one had any great solutions for how to deal with Byzantine faults—a major challenge in multi-agent AI systems. It was only when Bitcoin entered the arena that things changed. Bitcoin opened a way to enhance Byzantine tolerance due to economic stimuli and game theory, eventually giving rise to other blockchain technologies.

Blockchain – What Is It?

At its core, blockchain is a trusted persistent data record which appears in a trustless environment. In other words, because it has no central governance, participants are not trusted but the data they provide is trusted because it is secured by economic incentives.

From a technical perspective, Blockchain is a replicative state machine (a type of distributed database) that utilizes asymmetric cryptography to add accountability so that we can say who did what.

Explaining block chain key parameters

The key parameters of Blockchain are A) security, meaning the past history of transactions does not change, and B) liveness, meaning the continual availability to post new transactions (a new state update) which essentially guarantees that the system is censorship-resistant.

Consensus protocol adds rules by which the participants can reach consensus on the current state of the blockchain. This is achieved by adding some economic stimuli such as the possibility of mining rewards, and other specially designed game-theory features. An example of this economic incentivizing is the appearance of cryptocurrency, a value within the network.

Considering these characteristics of blockchain technology—economic incentivizing within a decentralized network—we can conclude that to this day there has been no other solution to Byzantine fault problems. Blockchain is the only one.

Why Blockchain Hasn’t Taken Over the World

When Blockchain technology was first released, it was believed to have tremendous potential. Now, we have to ask ourselves why it has not conquered the world? What is it that is holding this technology back?

“There are a number of problems,” says Orlovsky.

The first set are linked to Smart Contracts, which are used in most blockchains to automate state transition changes according to some rules. There are two types of Smart Contracts: Turing-incomplete and Turing-complete. Turing-incomplete contracts (e.g. Bitcoin and it’s clones) have limited functionality, but are robust and easily formally verifiable. Turing-complete contracts, (e.g. Ethereum and it’s clones) are highly-vulnerable and unscalable because all computations are repeated by each node.

The second set of problems are related to consensus. The primary issue with consensus has to do with updating the state of the blockchain ledger and deciding who has the right to do it.

As of now, there are only two proposed models. First, the decision can be made by randomness, but this would require each node in the decentralized network to have the same random number generator, which would actually negate the randomness. The other option is to have agreement between nodes, but the problem with this model is that it leads to low Byzantine fault tolerance. So far, there are no working implementations of this model in public blockchains. There are some models that utilize a small number of agents to vote, but that is essentially a centralized system and negates the spirit of blockchain.

Bitcoin proposed a way to create randomness and entropy in a decentralized environment without making every node produce the same random number. This is achieved through a process called proof-of-work. It uses computations that require a lot of energy, to produce entropy and make its nodes prove that they have completed the computations which give them the right to sign a block and update the state of the blockchain.

As it stands, Bitcoin’s model is the only decentralized process that is working today. However, it has yet to be tested in a larger environment.

In conclusion, most consensus models have problems with finality, it is impossible to guarantee that the history of the blockchain ledger will not change. In order for blockchain to become ubiquitous and more useful to AI, we need a new solution.

Presenting Pandora Boxchain

At this point in his speech, Orlovsky pivoted to present his own work. He explained that his company, Pandora Boxchain, is trying to build censorship-resistant public consensus which will be more efficient and allow the level of scalability required for decentralized AI computations and machine learning. To achieve this, they utilize a consensus engine called Prometheus.

Prometheus is a hybrid consensus which extends smart contracts to generic computing suitable for AI models; it is run in parallel with a trustless decentralized network. While most blockchain based programs such as Bitcoin waste a lot of energy on mining, essentially conducting taxing computations in order to find the right hash values, Prometheus is different. Its computing results are provided by a special proof-of-work consensus where the work being done is actually useful to the real AI models running in the network. Moreover, randomness is created by computing actual models.

Orlovsky argued that Pandora Boxchain’s solution is relevant because it considers issues such as AI regulations. “We would like to show that Economic incentives work better than any kind of regulation,” he said. According to their model, regulations on big data and protecting private data would be replaced with a zero-knowledge protocol. Moreover, the solution would give rise to free and open markets where it would be possible to share (and earn) models, big data, and computing power, which would enable speedy progress in AI development.

A Bit of Futurism

Towards the end of his talk, Orlovsky dedicated a few minutes to ask the question: What can we say about general AI progress today?

“I think that it’s engineering progress,” he said. “Quite a lot of engineering advancements are happening but not a lot of science.” For example, there is little progress in how we understand the cognitive process. In order for AI to develop even further, people need to invest in studying multi-agent systems, distributed decentralized systems, and new biologically-inspired cognitive architectures. Scientific directions need to be explored too, such as game theory, Byzantine fault tolerance, and complexity science.

Why is this research important? According to Orlovsky, if you want AI to evolve you shouldn’t focus on singular AIs but interacting AIs that, like humanity, will develop in a community through language and interaction.

Orlovsky believes that blockchain can play a large role in this development. To build a language for AI we will need consensus (each agent getting the same sense of a signal as others) and persistence (the sense of the signal does not diminish with time). Blockchain is perfect for consensus and persistence, which means it can be the perfect tool for developing a language for future AI.

Contact Us

If you would like to discuss it further, contact us or join our newsletter.

Service design as a tool to rethink your service

Taavi Aher is a digital product designer, and Geroli Peedu is a lead service designer at Proekspert.

Proekspert’s service design project for internet.ee was a nominee for the Estonian Design Award 2018 in the service design category.

As designers we often get approached by friends who ask whether they should keep the existing materials on their site and how to organise it all. Many organisations are familiar with the situation when their web environment, once compact and easy to understand, has grown over time. At some point, the vast quantity of information and materials makes it difficult to quickly find what’s relevant.

We started the design project for the Estonian Internet Foundation with a similar challenge. The Foundation handles the management of Estonia’s top-level domain .ee, its sub-domains, and shares information regarding the .ee country domain. For managing the registration of domain names and sharing information about the domain rules, the Foundation had six different current- and planned web environments gathered under the domain internet.ee.

The foundation wanted to revamp all of its existing services and to unify the user experience. Each of the environments had been developed at a different point in time and therefore were inconsistent in structure and development phase. They needed help in figuring out how everything should work.

We used service design to understand the users and current services, to form new ideas, and validate our design solution.

User study

Once we began working, our first challenge was to define the main user groups. Our goal was to understand who were the real users and which kinds of services they needed. During the co-creation workshop with the client, we mapped all possible user groups, their interests and needs. This turned out to be quite challenging, as we were dealing with a very niche service. We managed to get six clearly defined groups, of which we defined two as main user groups.

This information held great value for us, but we needed to dig deeper. For the design of a supreme user experience, knowledge of what users need is not enough. We needed to understand how users felt and related to things. We wanted to understand the feelings behind the needs.

To gain a deeper understanding of users, the method to be used is personas. Based on client input, we assembled two personas: potential domain registrant and domain registrar. The personas became the focus point of the service design. We used the personas as a tool to discuss design decisions made during development. In addition to the basic information about problems, an important part of the personas were the needs and pain-points of the users.

Untangling the mess in service design

We quickly ran into the next challenge. The information architecture of the current services was incomprehensible. The navigation was full of links which directed users to a variety of different pages where they were met by more links. To gain clear picture of how big our challenge was, we created a comprehensive map of all existing environments.

Untangling the mess

Next, we wanted to understand how users navigate in the environments. So based on the personas we defined main user journeys and conducted user testing with potential domain registrants—75 tests in total.
Before and after: information visibility increased from 30 to 75 percent.

Running user interviews

The test results showed the need to simplify user flows and create a new service map. The situation was improved – information visibility was increased from 30% to 75%. There was still room for improvement, but we had enough insight to further improve the architecture. Finally, we were ready to move on to the idea generation and design stage.

Forming ideas

The basis for our new ideas were insights gathered by conducting user research and untangling the mess of existing services.  Based on that, we defined the following design principles as the basis for further development:

  • Less is more – the fewer environments, the easier to navigate and not to get lost.
  • Simple copywriting – users are not familiar with niche terminology. We must keep the language of service simple to understand for end users.
  • Focus – we gather relevant info to a single page, rather than scattering it across different pages which will confuse users.
  • Highlight important – users want to see what’s important to them first.
Doing on-site analysis

The first design sketches we made on paper. Then we continued wireframing in UXPin, which allows the creation of large-scale and responsive prototypes.

Validation and improvement

We began collecting feedback as soon as the first design’s draft was ready. We contacted 10 online interviews with users chosen based on personas. The interviewer saw video of the user and their screen. At the same time, observers took notes and recorded comments. This kind of on-site analysis method allowed us to save resources and avoid otherwise time-consuming transcription and analysis.

The feedback pointed to the main shortcomings related to terminology and user flows which we could improve in future iterations. Once the prototype was completed, we ran usability testing with seven users. The results proved the clarity and improved satisfaction with the service.

Wireframe examples

Outcomes from the project:

  • Clearly distinguished information directed at two different user groups – domain registrants and registrars.
  • Number of different environments reduced from six to two, which allowed users to navigate more easily and find what’s important to them.
  • New information architecture greatly improved information visibility (success rate increased from 30 to 75 percent).
  • Enhanced convenience and flexibility of service administration.

To summarise – using service design tools

Using service design tools helped us understand who users really were and what they needed from the service. Also, while running the interviews we were able to grow empathy towards the users.

Contact Us

If you would like to discuss it further, contact us or join our newsletter.

Building machines that read and write

A talk by Sean Gourley, CEO at San Francisco-based startup, Primer AI, at North Star AI conference, powered by Proekspert.

Many groundbreaking ideas were presented at North Star AI conference this year. Among them was a technological development that touches on what has been a strictly human endeavor in the past. Sean Gourley, CEO and Founder of Primer AI, showed us how his company is building machine intelligence that can read and write.

Gourley began his presentation by talking about complexity. “We live in a complex world that is difficult for us to understand as humans,” he said. As the challenges we face grow larger and more difficult, we won’t be able to make decisions about the future using the human brain alone—the complexity of the world is too great. By using AI, he argued, we can amplify the way we think and change the complexity of what we understand, ultimately accelerating our ever-increasing knowledge of the world.

“We are automating the generation of intelligence to give humans a leg up in understanding the complexity of the world we live in,” said Gourley.

Reading and writing are essential to understanding. These capacities allow us to observe the world, find insights, and communicate those findings. In Primer’s model, machines will be doing the initial observing and insight-finding, and humans will take on cognition and analysis from there. Concretely, this process means machines monitoring everything that has ever been written and published online.

How Primer Works in Artificial Intelligence and Machines Monitoring

What drives Primer is a set of core analytic engines. These engines allow Primer to configure various techniques that automate the functions of human analysts.

First there is the Structure Engine, which finds the innate structure in a general text. It breaks data down at the sentence level and creates a sort of fingerprint of a document. Second is the Event Engine, which identifies events such as global news or a rumor like “Apple is building a self-driving car.”

Third is the Ensemble Engine, which takes into consideration the fact that information never exists by itself but is often repeated. This engine will find the best, most-reliable,  representation of some piece of information or estimate the mean point of numeric data. It can even find consensus as well as contradictions about a certain topic. Fourth is the Context Engine, which places an event within a timeline, showing how it evolved over time. The Context Engine also has the power to analyze and find supporting evidence for claims, facts, and assertions.

Fifth is the Difference Engine, which allows you to take any two corpuses of information and compare them. This can be types of news, social versus mainstream media, or two different languages. Here, Gourley noted that only fifty percent of information moves from one language to another. Primer allows you to easily access information that is otherwise locked away due to language barriers. After these five stages, there finally comes the sixth Story Engine, which is essentially a machine-generated intelligence briefing. This engine can also generate profiles on people and specific topics, much like Wikipedia articles.

These six Primer engines work together to generate analysis from vast quantities of information. Using Primer to get automated-insights is simple, said Gourley. In some cases, it’s as simple as typing in a query and receiving a comprehensive briefing on any subject. This information can even be augmented by infographics and other visual data representations also generated by Primer’s engines.

One of the use-cases presented by Gourley was the tracking of how various media establishments report on a given event. For example, he noted that Primer can aggregate information (both visual and verbal) that demonstrates how Russian and American media covered the same terrorist attack, providing valuable insight into discrepancies and similarities between the two. This sort of analysis is just the tip of the iceberg when it comes to deriving meaningful information through Primer’s multi-engine process.

Primer is a young startup, but its customers already include GIC (a sovereign wealth fund based in Singapore), Walmart, and IQT (the corporate arm of the US intelligence agencies). These three are very different kinds of corporations but they all share one thing—they have too much data and not enough people to process it. This kind of challenge obviously demands automation.

Concerning Fake News

During his talk Gourley pointed out that if machines are parsing through information available on the internet, they must be aware of content that might be classified as fake news or bots deployed to influence political discourse.

According to Gourley, fake news succeeds today because the political media landscape is very complex and people have a hard time understanding it. For this reason, they are easily manipulated by very primitive technology. “It’s an asymmetric attack vector.” As the technology of fake news becomes more advanced, and the media landscape more complex, it is vital to have machines that can combat this progression.

“We’re sitting in a world that’s more complex than we can understand, we’re being manipulated by technologies that are very primitive but are going to get much more advanced, that’s the bad picture,” said Gourley, “but on the other side we have machines that can teach us about what’s going on in the world, can show us things we haven’t seen but probably should see, and can start to do a lot of that ground work for us. As we look at the next decade coming forward, we’re going to see this battle between manipulation and understanding.”

It is clear which side of that battle Primer is on. Gourley noted that the new technology will help people understand better, know more, and safeguard themselves from the kind of manipulation that is already taking affect around the world. It’s new but absolutely vital territory for AI.

Great summer reading for all writers of the future world – for free and without giving up your email address

Hello World – Grab an e-magazine about data, design and development this summer.

Proekspert has been publishing our top stories about our new ideas and great solutions in digital product creation, service design and business discovery. As the paper magazines have been extremely popular, here is finally a free pdf for your e-reader.
Enjoy!

Of course, when you are an enthusiastic reader of our blog, you probably find some of these stories a bit familiar, yet these are not merely  blog articles, they are opinionated pieces with industry insights bunched together in a magazine!

Writers of the Future World – free ebook download

Alert: the book is usable only for those who have the superpower of speaking Estonian.

Want to know how we went from a basement company to tomorrow’s future thinkers?
Proekspert’s Estonian language e-book contains several stories of company life behind one of Estonia’s leading IT companies.

Prior to 2003, Proekspert was a small growing company, today, its walls contain numerous employees each with their stories of life at our offices.

Throughout Proekspert’s 25-year history the company’s experience also include future tech solutions in the fields of data science, artificial intelligence and mixed reality. This success was built on foundations created by the companies adventurous employees.

“I was a little suspicious when l began reading, but it was hilariously funny. The author succeeded in creating a fast-paced and adventurous story with interesting historical aspects. I actually kept reading well into the morning.” – Katariina Roosipuu

The concept behind this book was conceived when the world began to take an interest in the success of the Estonian IT sector. Responding to this spotlight, our team started writing stories of their daily lives to share with the world.

If you are fluent in reading Estonian, you can download this e-Book for free and obtain a taster of life at Proekspert throughout your summer vacation.

Onto Chapter One!

Deep Learning: Training the Technology of the Future

A talk by Sayan Pathak, Principal ML Scientist at Microsoft, at North Star AI conference, powered by Proekspert.

This year’s North Star AI conference in Tallinn invited industry rockstars to present the latest and most radical developments of the field. Among the featured speakers was Sayan Pathak, Principal Machine Learning Scientist at Microsoft, who gave a thorough overview of how the company is utilizing deep learning (DL). Moreover, Pathak ended his speech by encouraging developers to take initiative and join in the effort to build this technology of the future.

Deep learning and neural networks

Neural networks are not new, began Pathak. While the technology itself has been around for some time—and many have had big hopes for it—the fact is that we have not been able to train neural nets well enough to do the things that we would like them to do, let alone to have their own minds (as many AI enthusiasts might hope).

Pathak assured his audience that the process of training these systems is not simple and requires a lot of work. That said, in the last few years we have witnessed several innovations that have enabled neural networks to take their first baby steps to meeting their greater potential. This is the era when we may actually see this technology come to fruition.

The Landscape of Machine Learning

To explain and explore the greater potential of deep learning, Pathak first gave a comprehensive overview of all the places where scalable DL is currently occurring in the industry. He also hinted at how this technology might increasingly infiltrate our daily lives as we move forward.

Examples of where Microsoft Deep Learning Technology is being used:

  • Cortana – uses speech related APIs for transcribing and translating speech in real-time.
  • Bing – uses deep learning to enhance advertising platform and tools.
  • HoloLens – while use cases for this product are still being formed, there are many ways for augmented reality (AR) to integrate and utilize DL technology.
  • Office 2016 – uses deep learning to enhance popular programs such as PowerPoint.

Pathak explained that all of these powerful products have AI components already built into them and are constantly being further enhanced with deep learning capabilities. He also noted that Microsoft’s deep learning tools are being used beyond the Microsoft family of consumer-facing products.

Deep learning model example

For his first example Pathak cited the Chinese startup Airdoc, which provides doctors with powerful tools to help them detect and diagnose life-altering diseases such as diabetic retinopathy—a disease which is rampant in a country with over one hundred million diabetics. Using Microsoft’s Cognitive Toolkit together with Azure GPUs, Airdoc was able to cut down on training time for its own deep learning models and assure data security.

Another example that Pathak pointed to was Microsoft’s speech breakthroughs. With new tools, such as a powerful translator that can translate real-time conversations between people speaking in two different languages, the company is vamping up favorite products such as Skype and PowerPoint. The Asian phone carrier Huawei has also partnered with Microsoft to utilize these capabilities in newer versions of their phones.

These are just a few of the innovative ways that deep learning technology is being leveraged to radically transform useful tools and platforms. In his talk, Pathak noted that it is important for developers from all backgrounds to take part in further building this technology; there is a need for openness and democratization.

While machine learning has not always been accessible to coders with fewer resources—mainly due to the high energy cost and tremendous amounts of data involved in the training process—Microsoft is actively trying to remedy the issue. In fact, Pathak himself offers a free deep learning course online.

How You Can Contribute to the Industry

After providing background on where machine learning is being used today, Pathak turned his attention to some of the tools that Microsoft offers to developers. “We have a role to play” he said in regards to the crucial development of neural nets.

Whether it be individuals or whole startup teams, Microsoft Cognitive Services is an invaluable set of APIs that developers can tap into to complete various tasks related to speech, text, and image-related vision. Instead of building and training machines from scratch, coders can take advantage of this resource and actively start building their own applications.

According to Pathak, the Microsoft Cognitive Toolkit (CNTK) provides low level APIs which offer incredible flexibility. “The distributed framework is one of the easiest ones I have come across,” he said. “I’m biased maybe,” he added with a smirk.

CNTK allows developers to compose arbitrary neural networks into complex computational networks. The toolkit uses graphs to represent neural networks, explained Pathak. Most of these networks have automatic differentiation built into them, which enables the engine to optimize the workflow. With these tools developers can edit the models, clone them, and fine tune them to fit their applications. A major plus of CTNK is that it allows you to have lego-like compositibility for different applications.

Introducing ONNX

One of the challenges of machine learning, said Pathak, is that a variety of toolkits have to operate on all framework/hardware combinations. Moreover, it is not easy to translate from one framework/platform combination to another. Even in a large company like Microsoft, this means increasing fragmentation across teams. The solution, Pathak argued, is an intermediate representation.

Enter ONNX – an online neural network exchange that is an open format to represent deep learning models, supported by CNTK, PyTorch, Caffe 2, and MXNet. Microsoft and Facebook teamed up to create this open ecosystem for AI model interoperability out of the need to homogenize the stack. What’s more, a wide range of partners are already working on this ecosystem.

The strategy, said Pathak, is to drive AI apps and models to be built and run on Microsoft platforms. “From Microsoft’s perspective, the key is to support any popular network. The idea is to provide this IP to the community so that they can build solutions.”

ONNX is an open source intermediate representation of a computation graph with common OPs and semantics. “This is what is driving the AI field for common people who don’t have large access to resources, data, technologies, or software know-how,” said Pathak. As an open source technology, ONNX is opening up a whole realm of opportunities for the community.

“We are looking for contributions from the community. The more the community participates, the more the AI ecosystem will grow better and democratize AI resources and tools,” Pathak explained as his talk drew to a close. To learn more about these technologies, be sure to visit cntk.ai and onnx.ai.

If you want to listen to Sayan Pathak´s speech, check the video:

Manufacturing: How Analytics Unleashes Profitability and Productivity

At our recent Seminar on predictive maintenance and condition monitoring of devices in the manufacturing sector, Proekspert discussed why digitalization doesn’t always mean huge costs or long-lasting projects; and why it is crucial for manufacturing companies to consider the importance of analytics.

“Low growth is forcing manufacturers to squeeze every asset of theirs to obtain maximum value. The next target is their own data.”  – Peeter Meos, Data Science Lead at Proekspert

Summary:

  • Why analytics in manufacturing matters
  • Discussion-based concerns
  • Is digitalization affordable?

Why Analytics in Manufacturing Matters

Most manufacturers have already made the most noticeable changes to enhance their operations, using well-known methods to maximize as much productivity out of their operations as possible.

In a slow-growth environment, companies must search for new ways to boost the productivity and profitability of their manufacturing companies.

However, there is one significant asset that manufacturers have overlooked and not optimized: their data.

Profiting manufacturing industries

Manufacturing industries generate enormous volumes of data, but several have failed to grasp this mountain of potential data intelligence. Historically, manufacturers have lagged compared to other industries in their IT capabilities.

Thanks to the cheaper computational power and rapidly advancing analytics opportunities, manufacturers can make that data more meaningful and work for them. From accumulating information from multiple data sources, or utilizing machine learning and visualization platforms, all processes will unearth new ways to optimize their manufacturing processes.

Recent Discussion with Manufacturing Sector Leaders

At the Analytics in Manufacturing seminar on 24th May 2018, Proekspert invited some select invitees to their offices to discuss the impacts of analytics, of not digitizing quick enough, and how affordable IT services for the sector has become – bedding some myths along the way.

Common concerns that we targeted during the speeches and discussions:

  • Is it easy to adopt?
  • How immediate are results?
  • Why use the ‘Cloud’?
  • Information Security (INFOSEC) is paramount. How is this guaranteed?

Peeter Meos, Data Science Lead at Proekspert discussed that adoption is easy when you target low-hanging fruits, and not consider a vast overhaul of a company’s processes.

Peeter went on to describe that because data science can target these low-hanging fruits, companies quite soon see results by:

  • lower costs to the production processes
  • avoid downtime
  • improved scheduling
  • identify inefficiencies and decrease losses

Lastly, the attendees were reassured that with a customized solution as opposed to using a Cloud option manufacturers are guaranteed that confidentiality and integrity are built into software designs, ensuring data security.

To conclude, Peeter emphasizes that manufacturing organizations should “start now, and start cheap.”

Is Digitalization Affordable?

For many manufacturer organizations, the thought of hiring IT services is daunting. Many are put off by the myth that IT projects have to run into hundreds of thousands of euros and completion takes quite a long time to implement.

It can be challenging to judge how qualified a company like Proekspert is when manufacturing leaders themselves are not well versed in the digital transformation technology. Additionally, several companies are put off by hiring IT specialists internally because salaries can be higher. Hence, it is a good idea to outsource IT to a specialist company.

The path organizations choose should be determined by the type of IT expertise they require, how integral digital technology and data is to their overall business plan, and how large the business is.

Services to manufacturing companies

Proekspert’s team of specialists deliver services to manufacturing companies from at as little as one day to one week, and the cost is not so eye-watering as you would think. Proekspert believes in being flexible and agile – our approach is to examine the business case and utilize the data concerned to create meaningful prototypes that are quickly deployed.

Proekspert understands that it is necessary to overhaul a process entirely – merely expand and enhance the workflow using companies’ data. Like how we helped to find a way how to increase production optimization by 5% or save 10% by optimizing HVAC systems using machine learning and predictive analytics.

In any collaboration with companies Proekspert passionately believe that it is possible to move forward with small steps, validating the business case, cost, and benefit within each step. Our seminar demonstrated how to move forward with these small and cost-effective steps

Analytics needs a foundation that scales. See Proekspert’s data platform engineering.

3 Principles to Foster Great Teamwork

Proekspert’s analyst Andrus Kuus shares stories about being a successful team leader at North Star conference.

When Proekspert’s Andrus Kuus got up to speak at this year’s Northstar AI conference in Tallinn, he entertained the audience with an inventive speech. Having worked in the software industry for over 23 years, Kuus drew on his many experiences—including that of being an analyst at Proekspert—and shared some important insights on teamwork and project management.

“Today I will tell you three stories about the principles I follow in my work,” he began. “I believe that these principles are also relevant in the field of data science. So let’s start.”

Teamwork does not get better by itself.

Kuus’ first story was about his uncle, a woodworker. He explained that his uncle creates unique furniture, and rarely has a waitlist shorter than 6 months. In other words, he’s a busy guy who often has to reject new work because he feels he cannot deliver results within a reasonable timeframe. This uncle, explained Kuus, also has a son who occasionally helps him build furniture. Generally, it makes complete sense for the two of them to collaborate and share the workload. However, they don’t do this often.

When Kuus asked his uncle why, he was told that the two men have different work-styles that do not mesh well. His uncle gets frustrated when he has to work with his son because suddenly his tools are misplaced, the tempo of the work is different, and the two have trouble agreeing on creative decisions.

Why is this relevant?

Kuus said that it is quite safe to assume that within a few years those attending the conference might be working in a team of data scientists. It also quite safe to assume that a lot of their teammates will be people fresh out of university who really don’t have much experience working in a team.

“If you don’t want to end up in a situation like my uncle,” said Kuus, “you have to deal with that problem.” He also went on to say that the first thing that needs to happen is for you to acknowledge that teamwork does not get better by itself. Somebody else cannot solve the problem for you. As it turns out, as a team lead, you have to deliberately spend time on improving the way you work together. To accept this responsibility is an important step.

You need to make a habit of discussing why and how you do things in your team.

Strive for clarity in communication

Kuus’ second story was drawn from his own work experience. In the beginning of the 2000s his team had to take over the development of a system that calculated bonuses for the customers of a large company.

As is usual in these cases, there was a set of project assets that was handed over to the new team. The most important of these assets was the source code, which in this case came from a corporate workstation.

“When we got access to the computer we found the code,” said Kuus. “In fact, we found several versions of source code located in different folders. It was unclear which one of these we have to use. Soon we found out that there was also another workstation that contained code. So eventually we had 7 different folders containing 7 versions of the code.”

Kuus said that the team tried everything. They analysed the code, ran comparative tests, cross referenced the documentation. Unfortunately, it turned out that none of these folders contained the code that was running in the live system. “So we did something quite unusual,” he explained. “We patched the sources together from the content of several folders and added code that we got from decompiling the live system. This code was our best guess. And fortunately it worked!”

This project was no small task, explained Kuus. It took weeks of hard work and brainstorming. He then referenced a quote from Martin Fowler: “Any fool can write code that a computer can understand. Good programmers write code that humans understand.” This principle applies to more than just writing code, argued Kuus. “Strive to make all your work understandable to other people.”

The moral of this story: choose the tools and practices that help you achieve clarity and understandability. Refuse to use the tools and practices that make it harder.

To keep track of things, Kuus recommended using a task management system instead of Excel sheets sent over email. Choose wiki to store documentation and knowledge instead of Word documents that are hard to update. Choose version control over creating multiple copies of folders on corporate workstations. It is important to have clarity of mind when identifying your tools and processes.

Data scientists talk to data?

The final story of Kuus’ presentation—incidentally taking place very close to the lunch hour—had to do with food. “I seldom watch TV nowadays,” said Kuus, “but for some reason it seems like every time I turn on the TV I always end up watching this cooking show called Masterchef. Yes, the one with Gordon Ramsay as one of the judges.” Kuus explained that often the contestants on this show have to cook food using really strange ingredients like testicles, chicken feet, or something similarly obscure.

During one episode in particular, one of the contestants, a girl named Diana, was struggling with tripe, a part of an animal’s stomach. Like any average person, Kuus explained, Diana had never cooked tripe before. Nevertheless she had to do something, so she improvised.

She did her best, and within 45 minutes produced a nice looking menudo from it. For clarification, menudo is a spicy mexican soup made of tripe and corn tomatoes. According to Wikipedia, this dish normally takes from 4 to 7 hours to prepare. However, Diana tried to make it in 45 minutes.

“I believe that it comes as no surprise that the first thing Gordon said after tasting the dish was ‘I’ve got some raw tripe here,’’ said Kuus. Consequently, Diana had to admit that she had cut some corners and had therefore failed. Of course this created drama, and Diana was not made the next Masterchef.

“But why am I talking about a TV show?” asked Kuus. “Because you and I are living lives that are sometimes very similar to a TV show.”

We often do things that we have not done before, said Kuus. We usually do these things under time constraints and pressure, and often with limited information at our disposal. But unlike the TV show, where the ability to validate ideas has been artificially limited, in real life we can ask questions and validate our ideas.

“In my experience,” said Kuus, “ we tend not to use this ability and just improvise.” Maybe this happens because we’re afraid to look stupid, or maybe we do not want to bother people. “I don’t know. But the latest Kaggle survey shows that almost 25% of respondents feel that their research results are not used by business. Maybe this is the outcome of that,” concluded Kuus.

The third moral: validate your ideas before spending lots of time working on and fine-tuning them. Communicate. Don’t be afraid to ask.

It is said that the hardest part of data science is asking the right questions. Kuus doubts that anyone can ask the right questions without first asking lots of wrong questions. There is that cliche that data scientists talk to data. “I think this is wrong,” said Kuus, “data scientists should talk to people. Because only then is it possible to create insights that have real value.”

To wrap up, Kuus turned to his own experience once again. “Lately I have had the opportunity to talk to data scientists from several organizations,” said Kuus. From these talks he discovered that a lot of the problems that data science teams are facing today have been relevant in software development for decades. “I think that our experience can help data scientists face these problems more easily,” he said.

The three important principles that Kuus hoped to leave his audience with are:

  • Regularly discuss why and how you do things in your team
  • Choose tools and practices that foster clarity
  • Validate your ideas before spending time fine-tuning them

These principles are obvious, said Kuus. However, as it is often happens with obvious things, they are easily forgotten. “I hope that my talk reminded you to think about them in the future,” concluded Kuus.

Preparing Kids for AI

How Proekspert helps younger generations embrace robotics and make the world ready for AI.

We believe in the importance of understanding one’s tools; a painter should know how to wield his brush, and a surgeon must know how to handle her scalpel. In the dawning age of robotics we must understand our smart tools—which are totally unique to our time. And because the true age of AI will belong to future generations, Proekspert considers it a responsibility to promote robotics education.

Our Beautiful Code Award team Robotex, probably the largest robotics competition in the world.

Proekspert is an active participant and continual backer of Robotex, which recently applied to the Guinness World Records to be listed as the largest robotics competition in the world. With more than 1,300 robots, hundreds of teams, and tens of thousands of participants, the event has had an undeniable impact on robotics education in the Baltics. Our employees are always eager to participate in the competition, helping Robotex teams make their robots smarter. Proekspert has launched the traditional Beautiful Code competition at Robotex to young developers the opportunity to showcase some of their best and most innovative work.

Competitors vary from juniors to seniors – there is no age limit for writing beautiful code!

We also support student robotics teams in competitions and hackathons, offering expert mentorship. We’re actively involved with a variety of robotics clubs across Estonia, and we provide work-shadowing opportunities to the young club members so they may get a first-hand look at how Proekspert develops smart products connected to data science, including machine learning and artificial intelligence.

We’ve found that the benefits of this mentor relationship run both ways: we help kids find their potential in robotics and IT, and the children inspire us with their enthusiasm. Also,  employees who support student teams, mentor young talent, and play around with crazy ideas during hackathons, find that it feeds their own thinking and work in interesting ways. We learn by teaching.

One of our most recent projects was to establish a robotics club for school children on the island of Saaremaa. Proekspert employees run the club, where emphasis is on teaching kids how to build robots and expand their analytical thinking.

The next generation robotics pro-s from Saaremaa.

The more we work with young minds, the more we are motivated in our own work, and the more we’re convinced that the future is bright. With a little effort, the experts of today can pass on their knowledge, preparing a new generation to develop even more innovative tools.

If you’re inspired and would like to join forces to help prepare kids for a world with AI, get in touch: helen.lillep@proekspert.ee

Tähve Lõpp, Proekspert´s Business Developer, mentors at the Smart Industry Hackathon.

24. May, 9.30 Industry seminar: “Predictive maintenance and condition monitoring of machinery”

We are inviting you to a morning seminar on data analytics at Proekspert to share experience from the condition monitoring and predictive maintenance of machinery.

On May 24th, 09:30-12:00 at Proekspert´s Tallinn office Sõpruse 157.

Register here

Schedule

9.30 coffee and snacks
10.00 – 11.30 sharing cases and experience stories

Monitoring the condition of machinery and predictive maintenance

Peeter Meos, Data Science Technical Lead
Peeter will talk about collecting data for the maintenance of machinery and simple and cost-effective means for optimising the monitoring and maintenance of machinery, using examples from coffee machines to space observation devices.

Use of spectrograms in time series

Tanel Peet, Data Scientist
Tanel will show us the inside of a “black box” and talk about developing solutions for the maintenance of machinery from the perspective of a data scientist, using practical examples from bird song to washing machines.

Discussion between practitioners about the daily monitoring of the condition of devices in Estonian companies.

Register here

If you would like to have more information about the seminar, contact kristina.marfeldt@proekspert.ee or use the chatbox at the bottom right corner of the website.

Adventures of a Data Detective

How frog sounds, birdsong, and other real-life exploits of a data scientist resulted in crafting a tool called Kogu.

The data detective has the superpower to predict the future

Being a data scientist often feels like being a detective who needs to find out how and why something happened, much like a police detective. The difference is that data detective’s job can have a more significant impact: the data detective has the superpower to predict the future.

Data detective – The coolest job in the world

The combination of challenging problems, innovation and the potentially significant impact of the work makes detecting data one of the coolest jobs in the world. The awesomeness of being a data detective arouses the Instant Gratification Monkey. These rewards are brought on by the manifestation of creative and innovative work in the form of discoveries or improvements in model accuracy.

For hobby projects done for your gratification, the hunger for quick wins might not be considered a problem.

However, if you are working in a team or have a long-term project on your hands, the quick high you receive from discoveries can cause issues for the Future Data Detective. Like the universe moving towards chaos and disorder, so will your data science projects if you are not willing to put in some additional effort.

Frog sounds and the problem of reproducibility

Deep learning in data science

The first data science project I worked on was to assist a colleague in classifying frog sounds using Deep Learning. My initial detective work went rather well and resulted in a conference paper. I was eager to earn more doses of gratification that the project was offering me, yet this resulted in messy structure and code.

It did not seem to be a problem, as it was a short solo project, so I could vividly remember all the experiments I did, and hyper-parameter sets I tried.

This Present Data Detective was happy.

Fast-forward three months and I are happily working on a new project with my first credited scientific publication. I received an email asking me to share the code for the published paper.

I had forsaken best practices for instant gratification

I located the folder where I kept my code, ran the algorithm, and produced results which weren’t as good as claimed in the conference paper. It took me a half hour to go through the code and understand why it did, the way it did. I was furious at the Past Data Detective in me for not using Version Control System (VCS) and not writing Clean Code.

It turned out that Past Data Detective had introduced changes to the code for testing a couple of new ideas and getting another fix of instant gratification after submitting the paper. As the process of reviewing and publishing the paper took several months, I had moved on and forgotten the changes I had introduced. I had forsaken best practices for instant gratification, leaving the Present Data Detective in a sticky situation.

It took me several days before I could restore the code so that it corresponded to the structure and results I described in the paper.

Birdsongs and learning from failure

My next adventure was to classify birds by their songs, which was a much harder task. However, this time I was prepared: I wrote cleaner code, my project had better structure, and I used VCS more often. It took a more effort on my part and fighting to resist the urge to seek the Instant Gratification Monkey, but still, I ran into unexpected trouble.

The problem was that the experiments were not connected to the code.

There was a long summer between the end of my internship and the time I started to write my thesis. At the summer’s end, I could easily find the code, and I was much happier at how readable it was.

However, there was a problem with the way I logged the results of my various experiments. I used Google Spreadsheets to store some values about pre-processing and training parameters, but I also used free-form text comments.

The problem was that the experiments were not connected to the code, and for most of the experiments, I could not recall what the Past Data Detective’s comments meant. I was not sure what I had already tried, resulting in several days of computing power gone to waste (for example, one training took around eight hours).

Since I had learned from past failures, I wrote a script that would save the logs and all necessary files, including the code files used for the experiment, to a new directory. After completing the training, I then opened a log file, obtained the results and put these in the spreadsheet.

When I began working for Proekspert, I discovered I was not alone in my problem.

Other data scientists were also conflicted between obtaining fast results and having a manageable project. Together, we decided to start automating the annoying parts of our detective work, so we could concentrate on the results that mattered to us.

This drive towards reducing energy and time spent on gaining order in data science projects has resulted in a tool we now call Kogu.

Kogu is born

Kogu – an Estonian word translating as “whole” or “entire” in English – is a unique tool for managing data science experiments. It helps structure projects, giving each a standard structure, allowing users to quickly find relevant data, reports, source code, and figures from a project.

The philosophy behind Kogu is much more visionary.

Kogu enables a variety of versions of code to be managed and can be used to link source code with experiments, giving us reproducible experiments. The results of each experiment can be can be logged together with metadata; like interactive figures, tags and comments. This helps users determine what the Past Data Detective did, plus, it can also be used to check how and what fellow data detectives are doing at present.

On its surface, Kogu is merely another piece of software, but the philosophy behind it is much more visionary. It introduces best practice and processes to fellow data detectives, so we can work on things that matter whilst keeping projects sustainable.

Believing in Kogu is believing in:

Efficiency in data science
Focus on execution and delivery, not on the past. Kogu logs the environment, data, script, parameters, and outputs for you to easier find, compare and reproduce experiments.

Transparency in data science
For data scientists and for managers. Kogu is your single point of truth where you can compare experiments and share them with your team.

Knowledge base
Unified project structure combined with logging of experiments will not replace you, however, will make it easier to make sense out of your work when you are gone.

If you share my vision on organising your data experiments with minimal overheads then collaborate with us by joining our beta community.