Latest / The Brick Lounge / EP06 | Giuseppe Barbalinardo | VP, Data Science & AI @ Tonal
Transcript
- Daniel Chegwidden: welcome to the Brick Lounge. We have another episode here with Giuseppe from Tonal. So let's see who's on the call today. So I'm Daniel. I'm a solutions architect based out of Australia. and I'm joined by my colleagues Yulia and Shruti. Yulia: I'm Yulia. I'm the account executive that's been supporting Tonal for the last year and a half. Yeah, really excited to be here. Shruti: Hi, I'm Shruit I'm a Solutions Architect here at Databricks based out of Seattle I had the pleasure of supporting Tonal in the past. So I've gotten to work with the account team and excited to be here and to chat with everyone. Giuseppe Barbalinardo: Hi, well Giuseppe Barbalinardo I lead the data science and AI department at Tonal. I am vice president here and I'm in San Francisco as well. I had the pleasure to work with Databricks for a while now. Excited to have a chat about data Yulia: Awesome. Well, to kick things off, Giuseppe would love to hear just a little bit about what tonal actually is. for those who have never heard of what it does, can you tell us a little bit more about it? Giuseppe Barbalinardo: Yeah, I would love to tell you a little bit about Tonal about my journey to get there. I actually have a video I can share with you to explain a little more Yulia: Awesome. Thanks for sharing that, Giuseppe. That looks really cool. And Shruti and I actually just to share a little bit about how we started working with tonal. about a year and a half ago we got a chance to visit your office and got to try tonal machines on ourselves and for me that was incredible. as somebody who I appreciate fitness and working out, I always struggled with figuring out what are the weights that I need to be lifting and how do I know and things like that. I feel like tonal answers those questions for me. So that was a really cool experience at the office. And yeah Shruti, do you have anything to share from that experience? Shruti: Yeah, I think I was mind blown. I always joke that we went there for a Databricks session, but I think I went more about tonal than I probably taught about Databricks when we were in the office. I've never had to work out at a customer's office before, so it was very cool. I felt a little more strong on my way out. So Yulia: Mm-hmm. Shruti: really enjoyed that experience. Awesome. Giuseppe Barbalinardo: It's well first of all I had opportunity to have you both at the office and I was excited to show you a little bit besides the how the machine works the behind the scene. the part that is very difficult to explain about the tonal machine. you saw the 30 seconds video, and it's a little bit of an advertisement. But the reality is that when you press that button, it really happens behind the scenes this technology of up to 250 pounds that get trigger, and you can have this magnetic resistance that is not real resistance, that is designed for you, it's adapting to you not only within your journey, as a long term journey, you're Talking about not the need of deciding your weights or having, for example, if you're doing a hypertrophy program, implemented this progressive overload, but also the opportunity of having an adaptive weight within a single repetition, so maximizing the human performance from that perspective. And I think the really fascinating part that somehow is a strong message that is difficult to explain behind a 2D screen is that really these sensors and these motors play together And only trying the machine as you did when you came to the office, you can really feel that interconnection between all the sensors that are connected together, but really the experience that you have during one workout or one session that you're doing each kind of session and the whole journey is optimized through this sort of feedback loop I would love to show you maybe the sensors that we have behind the scene that run the magic and how you can go in front of the machine and for example every time you're in front of the trainer that's what internally we call the tonal machine you have this personalized experience that knows exactly your journey up to that point, knows exactly your goals and knows how to best Customize, best personalize these experiences. That's done from high-frequency sensors. There's a whole journey that you can do depending on your goal, strength or mobility, or you name it battery compositions and so on. The new part, like the novelty of this last year, is the investments that we're doing in healthcare, and for us it's a fascinating. area. important area both from a regulation perspective how you make sure your data has all these requirements that lineage regulation and and so on and on the other side from a models perspective the kind of uniqueness of the labels that you can collect in these environments really makes this a fun project you have what I call an immersive multimodal system. You've seen a bit in the video that there are some arms and the arms are connected to these smart handles. they are able to measure with great precision. These two arms have a cable that is connected to these smart handles, and we're able to measure with great precision motor sensors like position. which means also, the range of motion, the change of range of motion and so on. Speed, force, acceleration, and all the derived quantities like power and all these important quantities when somebody does on one side you're an athlete and you wanna optimize your performance or you're like somebody like myself, I want to definitely optimize the performances from a data perspective and have at least all the information available there. The IMUs, the smart accessories as well, the smart handles as well, can measure a true inertia. unit the acceleration and the angular momentum through a gyroscope and then there's of course the rich data coming from the camera that is embedded on the device that can be also supplemented by this side view that you can complement with your phone camera and it's really a lot of data points per second you get 50 hertz measurements of the cable data and of the IMUs although to be Honest, the IMUs have been a little bit superseded by the camera, the computer vision measurements, the biomechanical measurements you can get from the camera model. The fifty hertz the motor data with high precision can tell you, for example, changes in the range of motion, and then five hundred points every second each one of the cameras. So very rich data set, plus you can connect with third-party sensors, you can you need heart rate monitors, they can connect and measure actually real time this important physiological data, or standard like Healthkit, Strava and this kind of more standard connectors. On one side is the perfect companion for your journey into being your strongest as we say, or simply living healthy, longevity and doing all activities towards that. And on the other side if you imagine in a physical therapy environment where this precision now the of measurements of mobility, of range of motion and precise biomechanics is next level the experience in the past was more like rubber bands and this more old school let's say techniques while with tonal you get this high accurate report to the sub inch measurements that's something really that excites me and I think also from a scientific perspective is a good driver and makes me want to go to work every day let's say Shruti: That's awesome. And I think Tonal's such a cool product. As you said, you're really collecting all this data. it's such a compact machine for how how big weights can get and you don't need to lug around all these weights and can carry up to you said two fifty pounds, right? So I think it's super cool how it just dynamically adapts to the weights people are trying to pull and it also just changes the weights. So your reps are the same amount of reps that you should probably have as time passes. So I thought what was really cool when I was at the office was, if you're going too slow, tonal notices you're struggling with the weight amount, it'll lower the weight amount. So then how fast you're lifting is consistent. So automatically you're getting stronger over time without overexerting, which I think is super, super important. Giuseppe, you come from a interesting background in chemical physics. I'd love to learn more about how did you transition from a background like that to tonal. What was the thought process? Tell us more about your story. Giuseppe Barbalinardo: yes, very happily. It's actually it seems a little disconnected if you think about tonal today versus physics in the past. But I think there is a story, a journey there and ultimately ends modeling humans somehow. I started doing theoretical physics in Milan, in Italy, at the University of Milan, Bicocca. And then I moved into more applied physics, specifically studying magnetism. I did my thesis and my research in Sweden at Uppsala University where I studied ultrafast magnetism. Basically, it means how do we make new storage, new hard disk. for the future technologies. And then I moved in UC San Diego where I studied quantum information, always from a theoretical and numerical perspective, so always related to high volume data. After UC San Diego Where I got my master, I worked for a few years in Silicon Valley exploring the software development scene and then managing some teams of developers. Then I worked again on some computational chemical physics related projects. Specifically I got the PhD, UC Davis, in something Very interesting that it's very novel in terms of technology because while we develop new chipsets while we we develop new nanotechnologies there's a need to do simulations of these materials before actually creating the chipset or the actual nano technology that you're working on you don't want to create this device and then when you go and producing that it melts. And the reason why it melts is because now we're building devices that are so small that we are in a world that is fully quantum mechanical. So when you do these simulations, you need to have a lot of atoms or a lot of molecules to simulate a small transistor, for example, or a chipset, but you also have a lot of data due to the the quantity of atoms and molecules you want to model, but also a lot of data. Because you want to have this quantum mechanical wave function. So it's a mess and you need to use these supercomputers, huge data storages, huge computes. there's labs here in the Berkeley Lab, Livermore, this area is actually full of those industrial supercomputers and so on. my job there was first of course running the simulations but also optimizing them like using machine learning to optimize. This kind of large-scale simulations. I ended up writing a software that and continued to be used. where I did a postdoc as well on these large-scale simulations and the software then eventually I still have the affiliation with the University of California. This software has been a fun open source project and it allows you to simulate heat transport for quantum mechanical effects if you're curious. fast forward the last five years and a half now, I want to really to go into a more again, I was more member-facing or user-facing experience in the past, but I feel like I wanted to have that feeling on doing something that you get the feedback from people using something that you are creating and tonal was a great opportunity. So the idea there was you're moving from studying this very complex physical system that is transistor transport and so on, studying this other complex physical system that is the human body. And you have all these sensors together that are creating this sort of operating system for the human body. Of course Tonal has certain sensors that are for biomechanics, but if you look at the bigger, broader picture, what we're building where we are In this time of history, we're building the operating system of the human body with all these decentralized sensors that measure, you name it. We measure forces, we measure biomechanics, but you can measure physiology, the heart rate, the changes, the sleep, the information about your sugar, your glucose, any kind of information are now becoming more connected and part of how we live and will be tomorrow part of a new way of living health and living our lives. So for me this has been a very fun journey. I started in the sensor fusion team in designing what was the tonal sensor engine and how to put together these different pipelines and then I ended up covering basically everything that we do, both from AI intelligence and all the technology that we build that needs to run. On the trainer, on the device, real time, on for example, a compact machine learning model, but also on the device, on an algorithm written very quickly in C, because spotter that you were talking about that allows you safely to do a workout at 4 a.m. in the garage needs to be millisecond fast in terms of a reaction. And the autospotter is one of the algorithms that you don't want to have, deep neural network or complex large language model. You wanna have An algorithm that understands the signal and reacts quickly. So you go all the way through the stack from these high frequencies, quick response signals analysis all the way to models that understand your form that need to reply maybe within seconds models that understand your next weight recommendation or your next recommendation in general to longer term planning models that understand how close were you to achieve your weekly goal or to break down long-term Yearly goals into monthly goals into weekly goals and then measure how close you are to that. So there's a beautiful stack that you have from 50 hertz, 50 times per second, all the way to more multi-month programming that you can cover, starting from this feedback loop that you have between your data and how your data is actionable, in the middle. There is us humans and our human performance in terms of being stronger, the tonal headline is be your strongest, and being your strongest means a lot of things, being healthier in a lot of cases, or being more confident, or having the possibility that wanna do a workout and I'm bending my spine, I have a signal that on the screen and a voice generated or a real Coach that tells me, be careful this exercise. You should keep your spine straight. So there's a computer vision that goes through reads the video, does fusion, pass through biomechanics, the biomechanics is processed, and then there's the voice that's a final artifact. So it was a fun challenge, and a lot of our work is on designing the member experience, the healthcare experience Shruti: Definitely. And that's really great insight. it sounds like from what you're saying, there's just a lot of data you're collecting to make the adaptive weights and what makes tonal unique as a workout option versus other options we have. data is such an important part of that, right? I guess I'm curious about how did tonal think about that data journey? how did data help tonal get to where it is today. And when I say data, AI, ML. I'd love to learn more about where things were a few years ago and all the work you guys have done with your data platform, with your ML platform, to see how that has made the product what it is today. Giuseppe Barbalinardo: Yeah, the world has changed a lot in the last few years. And we found ourselves ready for a lot of the AI work that we ended up doing. Last a couple of weeks ago we released TIA, which is our AI coach, to a hundred percent of our members I can give an idea of how much data because you have seen the solo instantaneous how many data points we collect every second, but if you multiply that by the number of seconds and number of people that do workouts, this is what you get. more than three hundred billion pounds lifted, more than a hundred billion sets, different sets performed, more than a hundred billion seconds of workout data that's more than 3,000 years. Multiply those for 1,000 plus points that we were talking about before, every second you understand the size of this data where we needed to collect these valuable sensors data at the same time making sure that they were collected in the right way possibly to traverse, possibly to have the right lineage. These are hundreds of terabytes of motion and performance data that we have and it is valuable. Shruti: Definitely. And and that's so impactful where even health, it's such, tonal working out health. It just it's awesome that you let your customers also trace and track their development over time. and I think the application is really cool because first you have your device with adaptive weights, which is actually the workout, but then you also have the machine learning on your app where people can see are they Doing the workout right, because I know that's something I've always struggled with, where form and just making sure the things we're doing are correct so we don't injure ourselves. so tell me more. where does the machine learning aspects that you guys have been working on fit in? Giuseppe Barbalinardo: Well, there's a lot of intelligence that goes into a single rep but also a single set, a single session and so on. there are models that happen real time or almost real time. For example, your form feedback When you're doing a workout and you have the tonal 2 the newest version of the tonal, there's a camera that you can enable and collects data, there's a algorithm behind that puts together different sensors, but It builds a biomechanical model. And this is interesting because this is not the data that you would have if you build a biomechanical model. Biomechanical means basically understanding muscle and bone, so joints and angles of your movement, but this is a little beyond what you can do if you take videos of people walking on the streets or if you have a self-driving car recording videos of movements. This is beyond because you're measuring the force. You're able to connect that with whatever they are connecting in terms of third party, but also the force in terms of they are pulling certain force through the smart handles or through the ankle straps if they're using legs. So you are measuring beyond the biomechanics, you're measuring also the dynamics, you're measuring the force you have this multimodal data that connects together with the motion of us doing certain movements or doing certain physical therapy sessions, also together with these videos that you can record, you can put together the force data, the torque data, the energy data that you can imagine. You have a very richer multimodal data set that now understands, for example, not only that maybe you have a shoulder injury, but now understands the biomechanics of where these injuries propagating in terms of weaknesses, how does the force and and angles of your movements it's really a physical problem like how to propagate depending on a mechanical structure, biomechanical structure, a muscular skeletal structure to the body certain signals. And this is a problem that I think we are uniquely positioned to solve. Yulia: Absolutely. thanks so much for that background, Giuseppe. I wanted to, shift gears a little bit and jump into what's next for you and the team. what are you trying to accomplish in the next year or so? Giuseppe Barbalinardo: We have a lot of things that we are excited to share with our members and to share of course with the healthcare world. One recent release that I was talking about before is Tia It's been a lot of years, I would say, but let's say three months in the making. years if you include all the models that go to feed into this bigger project but the opportunity here is really to reach more people lower the barrier having more personalization I'm very happy that we released this to 100% of people. Tia will grow in the next months and years because we will build more features on the platform and Tia will be aware of these features as the tools that these intelligent coach will have will grow in as well. But as of now it was a big success this milestone because when you release a chatbot and there are hundreds of AI coaches, maybe thousands of AI coaches in the App Store. And there's a lot of AI is slop The reality is that it's easy to do some prompt engineering or something simple and then put a AI coach on the App Store. what's the difficulty there? What the members see when they use a chatbot is somehow similar. When they use a AI coach is somehow similar. what you need to build and what was the achievement I think that we had with Tia was building the whole under the waterline infrastructure So you have this iceberg picture where you have the tip of the iceberg is the most visible one and all the members are the interfacing with that and then all the pieces that you need to build are prompt versioning before getting the first sentence out Being able to trace that, being able to say okay that broke this specific evaluation with a specific version of the prompt. You need to be able to have evaluation, you need to build then this golden data set. in a place like Tonal where and in general when you talk about health and when you talk about fitness you need to be scientifically accurate and we spend a lot of time in embedding this kind of knowledge in our model. You need to add tracing you need to add monitoring you need to add cost tracking. you need to be smart about tracing, but you need to do certain level of in-depth tracing, data lineage, audit trails. We talked about data lineage, even more in a AI world, in a LLM-based world. You need to have a good tracking of what models you use to feed your AI coach privacy, governance. Of course, you you want to have certain filters. So, really, releasing the first feature I think has a particularly deep value, particularly important value in this AI coach world because it allowed us to build all the underlying infrastructure and we're excited about what you can do today when you download the mobile app and talk with Tia, your assistant, you can ask her, create my next best workout or session or deload session and it really follows your direction, it really gives you the best recommendation. You can search through the whole catalogue, it can tell you your stats, it can tell you your progression and the best recommendation. So we embedded a lot of intelligence and we connected a lot of the old models that we built into this wrapper over the whole intelligence, so all the biomechanics, all the motivational studies and so on are all into Tia. Yulia: Thank you, Giuseppe. That was super helpful. background. well let's shift gears a little bit into a lightning round. so I'll kick it off with the first question. one tool that you cannot live without. Giuseppe Barbalinardo: okay I have two tools a little boring, I would say the reminder app It's just a very simple app and I think I'm a power user probably. I use it like with a bunch of different blocks and different groups and so on plus triggers when events, times or locations happens and I love that it's works great for most of my tasks and works great with AI also you can ask your favorite AI to point there. The other one that I use a lot is the Note app. It's I use Joplin an app that I started using maybe ten years ago and it allows to store markdown basically in an organized way. And that was also very well adapted into this AI, if you have your own chief of staff agent or you want to parse your data, it's good to have it in Markdown or in these semi-organized data structures. Shruti: Nice, good answers. Okay, I'll go to the next question. What's the best career advice you've received? Giuseppe Barbalinardo: good one. The career advice maybe more in the world of physics. I think at the beginning I started very theoretical in terms of kind of physics I was doing and at some point and I was saying maybe higher energy physics where you don't really have a real connection with the experiments. I started getting more and more interested in getting the feedback and feeling from the experimental side and I had I remember this professor telling me it doesn't matter if it's not measurable with an experiment it doesn't matter. Feynman actually also has a famous quote the famous physicist Feynman also had a famous quote saying if it doesn't match with an experiment it's wrong as it should. Shruti: what's a strength training myth that your data has killed? As in what's a strength training thing that Tonal made better, which we don't need to worry about anymore. Giuseppe Barbalinardo: so we presented this topic a couple of years ago at a conference It's about repetitions in reserve and it's a way to measure something very complex basically struggle, fatigue, and while you do a workout you count how many repetitions you are from failure. And the interesting part about this research that the universities and people do and people have done in the past is that You do these measurements with a very specific subset of people. And so when there are these measurements out in these scientific journals, they say, okay, we picked, 40 athletes of the age 20 to 30. they are very specific segments. And During this research, we realized okay, well, our data set has tens and tens of thousands of people of different age groups and different kinds, different types. And so we did a very large scale research on repetition in reserve. This was also useful because understanding struggle Can be the engine for a lot of important things. we're talking about the auto-spotter, but there's also improving ways to do workouts. imagine we have released recently a way that is called drop set that keeps you always as a certain number of repetition in reserves and so on. Well, after this study on twenty thousand people, we were able to measure this signal with 0.94 repetition in reserve, which means that if I tell you you are four. repetition is reserved as a four three two one it's you will fail within 0.94 repetitions that's of course what I mean mean absolute error but before that it was around two the average and of course I would argue it was also very biased in a sense very specific segments. So I wouldn't say this is a myth that we we wanted to kill, but more of an interesting realization about our data that we have numbers of segments of the population that often don't have numbers and so this could be also used in a very positive way. the more like myth that I would like to connect here is that you need to be young to do strength training or you need to be young to to do aerobic training and so on. that's not true. Actually there are a lot of articles, there are a lot of journals that prove that it's never too late. you should do strength training, you can increase your longevity and that's scientifically proven. Shruti: That's amazing. Strength training is for everyone. it doesn't discriminate in age. I think that's awesome. Okay, last Giuseppe Barbalinardo: Yeah. Shruti: question. One prediction for data and AI in the next two years. Where do you think things are headed? Giuseppe Barbalinardo: very interesting. I think data is becoming more and more important so much so that we're starting to think about what model have you used and I think the next question will be what's the underlying data most of the times and and it's becoming something that we care more and more about and this conversation that is happening these days about open weights is definitely an important one. I think the other topic that we touched on and is becoming it is at least for us that for many reasons including the fact that we're dealing with HIPAA and medical data is lineage in every area of AI. Lineage in I'm working with a chatbot like OpenAI GPT 5.6 SOL and I discover a new mathematical theorem. Who is the owner of that discovery? How is the lineage between all the sequence of discoveries? How can I model this discovery in a language How can I connect an experiment with the previous chain of experiments? there are a lot of questions that I think are emerging now and in the past were just questions about having better data now they become ethical because your Claude or your ChatGPT or Gemini whoever you're using is not becoming only your Helper during your daily work is becoming also somebody that you trust, somebody that you ask advice from a business perspective, from a personal perspective, from a financial perspective. So it can definitely affect your decision. And it's important that we know what's behind this entity. And I think it's a very entertaining and good period to see how you know both we use this data, we use this technology, we develop this technology and how the legislation and the conversation around this technology develops. Shruti: Definitely. And I'm excited to see how that develops because I think there'll be a lot more of it given everything's still pretty new. We're still figuring out, how we're using it and how we should use it, So great answer. it's just awesome to see your journey and thank you so much for being on the podcast with us. Giuseppe Barbalinardo: Thank you, thank you. It's been a pleasure and of course if you wanna follow some more of the work that we are doing, there's the engineering blog, I think definitely is a place where we write our most recent articles there but also our LinkedIn and yes, thank you Shruti, thank you Daniel for inviting me here and it's been a pleasure chatting about data with you.