<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Eluney Hernandez on Medium]]></title>
        <description><![CDATA[Stories by Eluney Hernandez on Medium]]></description>
        <link>https://medium.com/@miracfence?source=rss-796fff325943------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QMYrMFUBeXqUL-2k7yEwkA.png</url>
            <title>Stories by Eluney Hernandez on Medium</title>
            <link>https://medium.com/@miracfence?source=rss-796fff325943------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 14:30:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miracfence/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Freemium vs Paid in HP AI Studio: What You Get]]></title>
            <link>https://medium.com/@miracfence/freemium-vs-paid-in-hp-ai-studio-what-you-get-1e4a017eb236?source=rss-796fff325943------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e4a017eb236</guid>
            <category><![CDATA[hp]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[z-by-hp]]></category>
            <category><![CDATA[proje]]></category>
            <dc:creator><![CDATA[Eluney Hernandez]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 03:19:49 GMT</pubDate>
            <atom:updated>2025-07-30T03:19:49.315Z</atom:updated>
            <content:encoded><![CDATA[<h3>What Is HP AI Studio?</h3><p><a href="https://www.hp.com/us-en/workstations/ai-studio.html">HP AI Studio</a> is a cloud-native, GPU-powered development platform purpose-built mainly for AI developers and data scientists. Part of HP’s AI Creation Center ecosystem, it streamlines the AI workflow by combining compute, collaboration, and reproducibility in one place, which is extremely useful with the plethora of tools that we manage nowadays.</p><p>Key features include:</p><ul><li>One-click environments for PyTorch, TensorFlow, Hugging Face, Nvidia NGC Models, local LLMs, and more</li><li>Containerized, portable workflows</li><li>Hybrid compute support: local, on-prem, or cloud</li><li>Built-in experiment tracking</li><li>Collaboration capabilities for teams</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wveSIUmmFpUhSmfLnZuHrg.png" /></figure><p>As a tool that supports the entire AI development process, from building an MVP to running large-scale training and deploying models into production, HP AI Studio is designed to assist you. But as denoted from the title, like many platforms, it offers both Free and Pro (Paid) tiers.</p><p>So — how usable is the free version? And when does it make sense to upgrade?</p><h3>What’s Included in the Free Tier</h3><p>HP’s free plan is more capable than most, especially for solo developers, students, or early-stage teams. Here’s what is included in the current version:</p><ul><li><strong>Up to 5 concurrent projects</strong><br> Work on multiple active projects at once, each with its own containerized environment</li><li><strong>Prebuilt AI environments</strong><br> Launch directly into TensorFlow, PyTorch, Hugging Face, and other frameworks without manual setup. As a researcher and engineer, this has helped me to accelerate my processes in a lot of ways, especially since these setups can take a while if you need different environments for multiple purposes</li><li><strong>Automatic experiment tracking</strong><br> Every run, parameter, and artifact is versioned for easy model comparison. This is being done with MLflow, which is currently a very well-known tool in the industry</li><li><strong>Exportable Docker containers</strong><br> Take your project and run it anywhere — locally or in another cloud.</li><li><strong>Access to NVIDIA NGC models</strong><br> Use GPU-optimized, pre-trained models from NVIDIA’s high-performance catalog. This is great if you need models and data straight out of the box.⚡</li><li><strong>Community-based support</strong><br> Documentation and forums are available, currently from <a href="https://community.datascience.hp.com/">https://community.datascience.hp.com/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D5ZbbXfbDopNRKwDwTLK7g.png" /><figcaption>Welcome page (Main UI for projects)</figcaption></figure><h3>Where the Free Tier Falls Short</h3><p>Despite being generous, the free version does have limitations that become apparent in more demanding or team-based settings:</p><ul><li><strong>No guaranteed GPU access</strong><br> You might wait in a queue or get assigned to lower-tier GPUs like NVIDIA T4s.</li><li><strong>Session timeouts and memory caps</strong><br> Longer or larger training jobs may be interrupted or restricted.</li><li><strong>No team collaboration tools</strong><br> Projects can’t be shared with others; no role management or real-time editing.</li><li><strong>No CI/CD integration</strong><br> You can’t automate workflows, sync with GitHub, or run deployment triggers.</li></ul><p>🚧 <strong>In short</strong>: Great for solo devs — but limited for production use or team workflows.</p><h3>What the Pro Plan Unlocks</h3><p>If you’re scaling your AI efforts, working with a team, or heading toward production, the Pro plan addresses the free tier’s gaps:</p><ul><li><strong>Guaranteed access to premium GPUs</strong><br> Get faster training with priority access to GPUs like A100s and H100s. 🚀</li><li><strong>Team collaboration features</strong><br> Invite users, assign roles, and share workspaces securely.</li><li><strong>Scalable, multi-GPU training</strong><br> Run large models, fine-tune LLMs, or distribute workloads across GPUs.</li><li><strong>Enterprise-grade security</strong><br> Includes SSO, encrypted storage, audit logs, and compliance features.</li><li><strong>Full MLOps support</strong><br> Set up CI/CD pipelines, integrate with Git, and connect to model registries.</li><li><strong>Premium technical support</strong><br> Faster troubleshooting and onboarding help from HP’s engineering team.</li></ul><p>🔐<strong> Currently designed for teams and organizations that need performance, security, and reliability when working on larger projects</strong></p><p><strong>HP AI Studio stands out as one of the most thoughtfully built platforms for AI development. It combines the ease of notebooks with the power of containers, GPU acceleration, and secure collaboration — all within a hybrid setup.</strong></p><p>🧠 The Free tier is a fully capable environment that’s ready for real work, so not really for only dummy projects. When your projects grow, the Pro plan is a great addition to your team workflows.</p><p>If you are interested in getting access to any of the versions, go to the next website: <a href="https://www.hp.com/us-en/workstations/ai-studio.html">https://www.hp.com/us-en/workstations/ai-studio.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e4a017eb236" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Boost vs. Local: When Remote GPU Makes Sense]]></title>
            <link>https://medium.com/@miracfence/boost-vs-local-when-remote-gpu-makes-sense-d6f550007476?source=rss-796fff325943------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6f550007476</guid>
            <category><![CDATA[z-by-hp]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[hardware]]></category>
            <dc:creator><![CDATA[Eluney Hernandez]]></dc:creator>
            <pubDate>Mon, 23 Jun 2025 02:59:51 GMT</pubDate>
            <atom:updated>2025-06-23T02:59:51.602Z</atom:updated>
            <content:encoded><![CDATA[<p>In the last few years, the demand for GPU resources has surged in the evolving landscape on par with the development of new AI powered tech. Traditionally, teams have relied on local workstations or cloud services to meet these needs, however, HP’s introduction of <a href="https://www.hp.com/us-en/workstations/z-boost.html"><strong>HP Z Boost</strong></a> offers a compelling alternative: remote access to available GPUs within your organization’s workstation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UDBcFxiyavLtzCoV.jpg" /></figure><h3>The GPU Dilemma: Local or Remote?</h3><p>In the established scenario where you would like to start using this software and you’re Some time ago, if you were either training a large language model, rendering 3D scenes, or fine-tuning a deep learning model for any kind of research or industry project, there was a single question that was constantly raised:</p><blockquote>“Should I invest in a beast GPU, or get some sort of remote power/cloud service?”</blockquote><p>With the arrival of tools like Z by HP Boost, the choice isn’t as black-and-white anymore and you can combine both, and not relying entirely on cloud if you have direct local access to a GPU somehow. I will break down when it makes sense to go remote with Boost – and when sticking to a local GPU is still king.</p><h4>What Is HP Z Boost?</h4><p>In simple terms, Boost turns idle GPUs in a workstation into a shared pool of remote compute power. Anyone in your team can spin up those GPUs on-demand, from anywhere, without physically sitting at the machine. This sort of resembles having a cloud service, but on-premise – secure, fast, and managed by you or your team, which can useful, especially if you don’t want those cloud credits to ramp up within time.</p><p>In the following sections, I will give a couple of reasons on why I would think in which case (either remote with Boost or local) makes sense to go use your resources for AI training or other heavy-duty tasks.</p><h4>When using Boost for remote access makes more sense</h4><ol><li>Sporadic GPU Needs</li></ol><p>Not everyone needs a big GPU 24/7. For occasional heavy workloads – like training a new model, doing experiments (especially if you have time to do so) or rendering final assets – tapping into a remote GPU saves thousands in upfront costs. If this is the case where your team has had the opportunity to invest in one or multiple GPUs, this can be very useful.</p><p>2. Shared Team Resource</p><p>For small and mid-sized teams, buying a high-end GPU for every developer or designer rarely adds up financially. It usually means some machines sit idle while others run at capacity. Sharing a central pool of GPUs helps spread that power around as needed, cuts down on wasted hardware, and delays expensive upgrade cycles.</p><p>3. Constant traveling</p><p>If you’re often working away from your main desk hauling a powerful laptop or an external GPU isn’t practical most cases. With Boost, you can run demanding tasks remotely on your office workstation’s GPU. Your local machine handles the interface; the heavy compute stays behind, saving your battery and your project.</p><p>4️. Protected data</p><p>Unlike cloud solutions, your compute and data stay on-premises. Boost encrypts traffic, so your models and proprietary data don’t float around on public servers or any cloud provider. This is especially useful if you are working with sensitive data and models.</p><p>🏆 Best-Case Remote GPU Scenarios</p><p>✅ Occasional AI training &amp; inference</p><p>✅Constant need to share resources simultaneously</p><p>✅ Constant travelers in need of a GPU</p><p>✅ Companies or teams needing secure on-prem compute, not cloud related</p><h4>When Local still wins</h4><ol><li>Low-Latency Requirements:</li></ol><p>If you’re training very large models or having a huge workload that constantly read and write huge amounts of data, network latency can quickly become a bottleneck. Local GPUs keep computation and data transfer on the same bus, which is hard to beat for speed and consistency.</p><p>2. Always-On Heavy Loads:</p><p>When your models or projects are in constant work, either being real-time inference, or heavy rendering, dedicated local hardware usually makes more financial sense, especially when your team is smaller and you have direct access to the workstation and there’s no need for simultaneous access. In this scenario, the upfront investment pays off faster than paying for shared or remote resources over time.</p><h4>The Hybrid Sweet Spot</h4><p>A lot of teams could thrive with a hybrid approach:</p><p>•	Local GPUs handle everyday heavy lifting.</p><p>• Remote GPUs cover spikes, occassional workloads, travel, or new experiments that have to run</p><p>• Need for low latency for certain projects, while others with not so tight deadlines and lighter workloads can be done simultaneously sharing parts of a GPU or other GPUs</p><h4>🧠 Final Thoughts</h4><p>Z by HP Boost isn’t meant to replace your local GPU entirely — it’s there to fill in the gaps when your local setup isn’t enough or isn’t practical. Think of it as an extra safety net: it helps creative and technical teams avoid overcommitting to expensive hardware that might sit unused for much of the month, while still having extra power on tap when deadlines or big experiments demand it.</p><p>📌 Interested in Z by HP Boost?</p><p>It’s currently rolling out in select markets – you can check HP’s official page or request early access if you want to experiment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6f550007476" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking Medical AI: Our Journey with Fine-Tuned Language Models]]></title>
            <link>https://medium.com/@miracfence/exploring-fine-tuned-medical-llms-cbb42dd4911f?source=rss-796fff325943------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbb42dd4911f</guid>
            <category><![CDATA[ai-for-good]]></category>
            <category><![CDATA[medicine]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Eluney Hernandez]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 03:30:11 GMT</pubDate>
            <atom:updated>2024-10-02T22:29:33.477Z</atom:updated>
            <content:encoded><![CDATA[<h3>Generative Medical AI: A Journey with Fine-Tuned Language Models</h3><p>Imagine a future where doctors can instantly access cutting-edge medical knowledge in any language right at their fingertips. Thanks to AI, that future is closer than ever. In this post, we’ll dive into the fascinating world of fine-tuning large language models (LLMs) for medical applications and explore their action items for their usage with Spanish Datasets, where the potential is unfolding. From diagnosing rare conditions to assisting healthcare professionals in underserved regions, these AI models are poised to reshape how we approach healthcare. Let’s explore how this technology is breaking barriers and bringing innovation to the heart of medicine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GdW77eoLVyWmZ0_z.jpeg" /></figure><h3>Motivation and Initial Setup</h3><p>In today’s rapidly evolving healthcare landscape, the demand for precise and reliable medical information is more critical than ever. Recognizing this need, I have embarked in a journey to develop a project to test and fine-tune medical language models (LLMs). My goal was to get to know ways to create a solution that could assist healthcare professionals in retrieving and processing medical information efficiently while respecting patient confidentiality, and then, in the future, develop a solution in Spanish.</p><p>I began with an initial exploration by starting to use OpenAI’s GPT 4o, which laid the groundwork for this project. However, given the sensitive nature of medical data, I realized the importance of leveraging local LLMs to ensure data privacy and compliance with regional regulations, especially for fine-tuning.</p><p>When continued to explore local solutions or models that have been previously trained or fine-tuned for the sole purpose of entering into a medical space, where their purpose is to assist as much as possible clinicians and patients. I started with <a href="https://huggingface.co/meta-llama/Llama-2-7b-chat-hf">Meta’s Llama 2 model</a>, then with <a href="https://huggingface.co/AdaptLLM/medicine-LLM">AdaptLLM</a>, and then the <a href="https://github.com/epfLLM/meditron?tab=readme-ov-file">Meditron model</a>. This exploration into medical LLMs and the fine-tuning phase is a crucial step to develop a robust solution. The primary purpose of this initial exploration of all available options is to rediscover the possibilities that could potentially be worthy of an initial demo in Spanish. In this post, I also explore the pros and cons of so far in direct usage (this being inference) of each model and their easiness when starting to code a simple prototype with them.</p><p>To support this intensive computational work, I utilized Z by HP’s Z6 G5 A workstation, which provided powerful GPU and CPU resources, which were essential for handling the models&#39; complex processing requirements.</p><h3>Exploring each model</h3><h4>GPT 4o and its assistants</h4><p>As a first instance, I started by exploring the options inside ChatGPT: using the new 4o model available inside the platform as default and then using an already existent assistant, the “Clinical Medicine Handbook” one. Here, we can see the results in each figure for the same prompt on each model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ZccdF3uPziyGJxuzgJmjw.png" /><figcaption>Here, we can see the answer that we got from the GPT 4o default model, which is accurate but also highly summarized.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1hVp2DChfAObL3bvzJ4Dug.png" /><figcaption>The answer from the specialized agent is much better explained and extensive.</figcaption></figure><p>As we can see from the results, the specialized agent may be much better suited for this kind of application. The inference is relatively fast, as it is already well-known in ChatGPT.</p><p>The pros of using this platform rely heavily on the fast inference time and the straightforward possibility of personalizing/creating new assistants, depending on your needs. However, as a con, I have also found that patient privacy is a priority for this kind of system, especially since it will not only be a demo but an actual deployment.</p><h4>Llama 2</h4><p>After concluding that exploring local solutions is the best fit for actual deployment, I delved deeper into what can be used in pre-trained LLM models. As a first iteration, Meta’s Llama 2 was a great start! It’s important to remark that anyone interested in trying this kind of model locally has hardware that is a good fit to train AI (having a decent GPU) since inference time is heavily influenced by this because of the size of the models themselves, the smallest ones coming from even 7 Billion parameters. In the following parts, I will mention parts of the process that are focused more on the code and the inference results rather than configuration from platforms such as Hugging Face; however, here we have a link where you can read about one of the first steps, which is getting your <a href="https://huggingface.co/docs/hub/security-tokens">User Token</a>.</p><p>As a Kickstarter for this, we have the following code using the <a href="https://huggingface.co/docs/transformers/installation">Hugging Face Transformers library (which you also have to install)</a>.</p><pre>from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline, BitsAndBytesConfig<br>import torch<br>from torch import cuda, bfloat16, float16<br><br>model_name = &quot;meta-llama/Llama-2-7b-chat-hf&quot;<br>access_token = &quot;your-hugging-face-token&quot;<br><br># Quantization configuration<br>bnb_config = BitsAndBytesConfig(<br>    load_in_4bit=True,  <br>    bnb_4bit_compute_dtype=torch.float16,  <br>    bnb_4bit_use_double_quant=True,  <br>    bnb_4bit_quant_type=&quot;nf4&quot;  <br>)<br><br># Load the model with quantization configuration<br># Device map is set to &quot;auto&quot; to automatically select the best device for the model<br>model = AutoModelForCausalLM.from_pretrained(<br>    model_name,<br>    use_auth_token=access_token,<br>    quantization_config=bnb_config,<br>    torch_dtype=torch.float16,<br>    device_map=&quot;auto&quot;   <br>)<br><br># Configure the model for text generation<br>model.config.use_cache = False  <br>model.config.pretraining_tp = 1<br>model.config.per_device_batch_size = 1<br><br># Load the tokenizer <br>tokenizer = AutoTokenizer.from_pretrained(model_name)<br><br># Create a pipeline for text generation<br>text_generation_pipeline = pipeline(<br>    &quot;text-generation&quot;,<br>    model=model,<br>    tokenizer=tokenizer,<br>)</pre><p>As you can see in the code block, I have also added a Quantization Configuration, since you will use your GPU to make the model’s inference, loading everything in its memory may take A LOT of space in the first place, making the model smaller (even if it can sacrifice model’s accuracy and metrics) is beneficial, especially for initial prototyping and learn the general usage of these models.</p><p>In order to get a response from the actual model and free memory from the GPU, see the following code:</p><pre>text = &quot;What are the causes of diabetes?&quot;<br><br>#max_length: The maximum length of the generated text<br>#num_workers: The number of workers to use for generation<br>#do_sample: Whether or not to use sampling for generation<br>#temperature: The temperature to use for sampling<br>#top_k: The number of highest probability tokens to keep for sampling<br>#top_p: The cumulative probability of the highest probability tokens to keep for sampling<br><br>output = text_generation_pipeline(text, <br>                                  max_length=500,<br>                                  num_workers=1,<br>                                  do_sample=True,<br>                                  temperature=0.9,<br>                                  top_k=50,<br>                                  top_p=0.95,)<br><br>print(output[0][&quot;generated_text&quot;])<br><br># Free up memory on the GPU<br>torch.cuda.empty_cache()</pre><p>The results:</p><pre>What are the causes of diabetes?<br>Answer: Diabetes is a chronic disease that affects the way the body regulates blood sugar levels. There are several factors that can contribute to the development of diabetes, including:<br><br>1. Genetics: A family history of diabetes can increase a person&#39;s risk of developing the disease.<br>2. Obesity: Being overweight or obese can increase a person&#39;s risk of developing type 2 diabetes, as excess body fat can make it harder for the body to produce and use insulin effectively.<br>3. Physical inactivity: A sedentary lifestyle can increase a person&#39;s risk of developing type 2 diabetes, as regular physical activity helps the body to use insulin more effectively.<br>4. Age: The risk of developing type 2 diabetes increases with age, especially after the age of 45.<br>5. Ethnicity: Certain ethnic groups, such as African Americans, Hispanics/Latinos, and American Indians, are at a higher risk of developing type 2 diabetes.<br>6. History of gestational diabetes: Women who have had gestational diabetes during pregnancy are at a higher risk of developing type 2 diabetes later in life.<br>7. Polycystic ovary syndrome (PCOS): Women with PCOS are at a higher risk of developing insulin resistance and type 2 diabetes.<br>8. Certain medications: Some medications, such as steroids and certain antipsychotic drugs, can increase a person&#39;s risk of developing type 2 diabetes.<br>9. Pancreatic disease: Pancreatitis, pancreatic cancer, or pancreatic surgery can damage the pancreas and increase a person&#39;s risk of developing type 1 diabetes.<br>10. Other medical conditions: Certain medical conditions, such as high blood pressure and high cholesterol, can increase a person&#39;s risk of developing type 2 diabetes.<br><br>It&#39;s important to note that not everyone with these risk factors will develop diabetes, and some people may develop diabetes without any known risk factors. If you have any concerns about your risk for diabetes...</pre><p>This was generated in 25 seconds on my hardware, which is okay, but there may be better inference (adding this to the cons). The pros have already been mentioned before, but having a local model to test this on sensitive data may significantly improve the model and even further fine-tuning. It is also noted that the response is very general and gives answers such as the ones that could be found in a general-purpose LLM.</p><h4>AdaptLLM medicine-LLM</h4><p>As I started exploring more specialized models, I chose this model since it was one of the first that popped up in the Hugging Face’s models search bar. The usage of this model, as previously seen for Llama 2, is very straightforward with the Transformers library, the difference resides in the actual calling of the model and predictions as suggested in the <a href="https://huggingface.co/AdaptLLM/medicine-LLM">model’s page</a>. A very noticeable thing is the huge size of the model itself!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*llHQAvq3Ifi1I2SlF9sHRw.png" /><figcaption>This would be a setback for a lot of users, the internet connection and its speed are key for this to run smoothly in some minutes</figcaption></figure><pre>prompt= &#39;&#39;&#39;Question: What are the causes of diabetes?&#39;&#39;&#39;<br><br>inputs = tokenizer(prompt, return_tensors=&quot;pt&quot;, add_special_tokens=False).input_ids.to(model.device)<br>outputs = model.generate(input_ids=inputs, max_length=2048)[0]<br><br>answer_start = int(inputs.shape[-1])<br>pred = tokenizer.decode(outputs[answer_start:], skip_special_tokens=True)<br><br><br>print(f&#39;### User Input:\n{prompt}\n\n### Assistant Output:\n{pred}&#39;)</pre><p>Some results ended up being surprisingly failing at their core, which is actually answering the question itself.</p><pre>### User Input:<br>Question: What are the causes of diabetes?<br><br>### Assistant Output:<br>How can it be prevented? What are the symptoms of diabetes? How can it be treated? What are the long-term effects of diabetes? How can it be managed? What is the difference between type 1 and type 2 diabetes? What is the difference between insulin-dependent and non-insulin-dependent diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type 1 and type 2 diabetes? What is the difference between type</pre><p>This shows that even if it’s a specialized model for the topic/task, it may not be as good with general questions as the one shown in the code. The inference time was slow (almost 2 minutes), which is a con, especially for the end users. A good idea that would need to be explored is fine-tuning this model for specific necessities, as mentioned on the actual model’s page.</p><h4>Meditron</h4><p>Here we are with another model that seems like a great promise for this purpose! In this, I plan to use it in the same manner to test its capabilities, focusing on the inference time, the quality of the response, and how synthesized/summarized the response may be.</p><p>Here we have the model’s output with a relatively simple question, “Question: Explain the main causes of heart failure.” :</p><pre>### User Input:<br>Question: Explain the main causes of heart failure<br><br>### Assistant Output:<br>Question: Explain the main causes of heart failure and describe the changes in cardiac function that lead to the pathological changes in the heart.Echocardiographic evaluation:<br>• Performed in one of the following protocols:<br>- Evaluation prior to ICD implantaƟon, or 6 months afterward, or:<br>- Evaluation of the device: at an anual review, or (if there is develpaƟon of new symptoms):<br>1- Evaluation prior to ICD reimplantaƟon: -<br>Perform an echocardiogram the day before the intervention.<br>1- Evaluation of the device, at an anual review:<br>- If there are changes in cardiac or valvular function<br>- If there are changes related to ventricular size or function (e.g.:<br>- Changes in the ejection fraction - Tricuspid regurgi taƟon over 3 degrees of severity - Change between ejection fraction before an after CRT.<br>- If there are changes in the presence or severity of valvular heart disease or in the size or function of the ventricular chambers.<br>1- Evaluation of the device, in case of new symptoms:<br>- If there are symptoms that could relate to an increase in arrhythmia burden or ICD delemaƟon.<br>Ideal implant position: ICD position: it should be in the midline of the left side of the chest and the midline inferior region (between the middle of the clavicle and the seventh rib)   Implantable cardioverter-defibrillators: what is new? Indian Cardiovasc, Thakre     Implanted cardioverter defibrillators: an update, Doshi     How to implant an implantable cardioverter defibrillator and cardiac resynchronization therapy defibrillator, Lee     Indication and management of ICD therapies, Biffi .<br>- ICD and transvenous leads should be evaluated, and if they still are working, it can be reimplanted (even it is not necessary to remove the leads).<br>- If there are leads or devices-compatible problems, changes could be done. A transvenous electrophysiological test is necessary to establish the cause for the dislodgement.<br>- If the decision is made to do a pocket revision, it is important to dissect and remove all the old suture, cut the leads and put the suture on the new device.<br>Ventriculoatrial bipolar pacemaker or cardiac defibrillator: in case of device-related issues: - Echo before:<br>- Determine etiology and severity of device dysfunction (cause and severity of dysfunction should be evaluated). - Echo evaluation can be performed by transthoracic echocardiography or transoesophageal echocardiography.<br>- ICD should be reprogrammed: sensitivity (high-sensitive vs. medium sensitive) - If the problem with sensing, lowing the sensing threshold may be enough to solve the problem.<br>- If the problem is with delivery, the ICD will be reprogrammed:<br>- If it is a problem with the detection of ventricular fibrillation (VF)<br>- If there is a lack in ventricular sensing and there is a pacemaker/ventricular function, reprogramming is done to avoid sensing tissue oedema, muscle, etc. - If the problem is with delivery, it is important to change the sensing electrode in case of inappropriate detections due to interference.<br>In case of a cardiac defibrillator, inappropriate shocks are related to cardiac causes - The therapy is inappropriate if they happen outside of patients - In case of myopotential interference, the ICD will be programmed to the antitachycardia (ATP) and/or ICD shock<br>- In case of inappropriate electrical shock due to ectopic ventricular or supraventricular rhythm:<br>- The shock will be programmed to ATP<br>- It is necessary to assess the ICD programming and it is necessary a complete ECG to assess the patient&#39;s clinical state - The programming of the cardioverter-defibrillator should be changed to ATP (in case of ectopics or supraventricular arrhythmias): - Program the device to ATP - The ICD sensitivity will be reprogrammed so it will not detect ectopic rhythms or supraventricular tachycardia unless the atrial arrhythmias are sustained (for example, atrial fibrillation).<br>Reimplantation in case of device malfunction:<br>- It is possible to perform a thoracotomy by laparotomy or left pleural access.<br>A chest tube is important to remove and control the bleeding.<br>- In case of ICD replacement, it is essential to replace the pocket, leads, etc.<br><br># Results<br>We are going to analyse the main causes of heart failure:<br><br>## Ineffective heart muscle contraction (cardiomyopathy)<br>We are going to study some of the main cardiomyopathies (ventricular, dystrophic, dilated, hypertrophic, arrhythmogenic, etc.), their main symptoms, therapies and associated diseases. The first group are heart muscle diseases related to the size (hypertrophy, dilation) and heart rate (arrhythmogenic and dilated cardiomyopathies or HCM-related cardiomyopathies). The second group are heart muscle diseases which are related to muscle activity inhibition (ischemic, infarcted, heart failure, etc.). We are going to focus more in specific pathology: myocarditis, dilated cardiomyopathy and hypertrophic cardio- myopathy. Myocarditis is the inflammation of the myocard.<br><br>## Inflammation in heart muscle (myocarditis):<br>This disease is associated with immune system disorders and heart infections from parasites or bacteria (e.g.<br>Aeromonas, Brucella, E. coli, Salmonella, etc.) or viruses (e.g.<br>Coronavirus-, Herpes-, HIV, Parvovirus, etc.) or fungi (e.g.<br>Candida, Cryptococcus -, Microsporidium, Aspergillus, etc.). There are also associated diseases: heart failure and myocardial fibrosis.<br>There are three main types: - Acute fulminating myocarditis - Chronic or chronic active myocarditis - Myocardiomyelitis (inflammation in the heart and spinal cord).<br>The diagnosis is made via medical history, physical examination and imaging methods (ultrasonography, MRI) and blood tests (CS in particular). Treatments to stop the inflammation process and improve heart performance include corticosteroids and immunosuppressive therapy. A chest X-ray. In case of dyspnoea and fatigue, a chest X-ray can show cardiomegaly, oedema and changes in pulmonary texture in both lungs   Implantable cardioverter-defibrillators: what is new?, Biffi . In case of a dilated heart: there is a dilatation of the blood-filled chambers (ventricular muscle wall thickening, valve insufficiencies and dilated ventricular chamber).<br>Echocardiography: in case of dilated ventricular muscle, the left ventricle diameter is greater than 55 mm. Left ventricular end-diastolic diameter (LVEDD) is measured in mm from mitral valve plane (mimic) of each cardiac cycle from a short axis: LVEDD = mitral hinge distance (from the mimic to the mitral hinge) + distance between mitral plane and apex in end diastole   Implantable cardioverter-defibrillators: what is new?, Doshi .<br>In case of enlarged heart, LVEDD &gt; 40 mm, the diastolic left ventricular dimension will be normal: normal diastolic left ventricular dimension is 22.5 mm   Implanted cardioverter defibrillators: an update, Doshi . The end diastolic left ventricle dimension &gt; 33 mm in an adult man, or &gt; 35 mm in an adult woman and ejection fraction &gt; 45% are diagnostic criteria of cardiomyopathy. Treatment: pharmacological treatment, physical therapy, cardiac resynchronisation therapy, valve replacement and heart transplant   Implantable card</pre><p>Crazy, right? It gave a VERY detailed answer, although it is, it may not be what we actually are looking for since we asked a relatively simple question, and, as users, we would like maybe a more concise answer.</p><p>The model takes a really long time to process this information. However, it is quantized and uses GPU, taking more than 6 minutes, which is a massive concern for deploying the model in a real-world environment.</p><h3>Using the Ollama library and integrating with Gradio</h3><p>A quick option that was discovered was utilizing the <a href="https://ollama.com/">Ollama </a>library for <a href="https://github.com/ollama/ollama-python">Python</a>. This was a great option since it has a very well-balanced number of possibilities for my purpose, and chose the “Medllama2” model for the testing and initial demo. For the usage of the model it is relatively similar to previous ones, however, here, I wanted also to include <a href="https://www.gradio.app/">Gradio</a>, and for fast prototyping, I mainly based the code on the <a href="https://github.com/sunny2309/gradio_chatbot">this repo</a> (big kudos to him for the fantastic and straightforward approach!).</p><pre>import ollama<br><br># You have to download medllama2 model<br>model = &#39;medllama2&#39;<br><br>try:<br>  ollama.chat(model)<br>except ollama.ResponseError as e:<br>  print(&#39;Error:&#39;, e.error)<br>  if e.status_code == 404:<br>    ollama.pull(model)</pre><pre>import gradio as gr<br><br><br>def format_history(msg: str, history: list[list[str, str]], system_prompt: str):<br>    chat_history = [{&quot;role&quot;: &quot;system&quot;, &quot;content&quot;:system_prompt}]<br>    for query, response in history:<br>        chat_history.append({&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: query})<br>        chat_history.append({&quot;role&quot;: &quot;assistant&quot;, &quot;content&quot;: response})  <br>    chat_history.append({&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: msg})<br>    return chat_history<br><br>def generate_response(msg: str, history: list[list[str, str]], system_prompt: str):<br>    chat_history = format_history(msg, history, system_prompt)<br>    response = ollama.chat(model=&#39;medllama2&#39;, stream=True, messages=chat_history)<br>    message = &quot;&quot;<br>    for partial_resp in response:<br>        token = partial_resp[&quot;message&quot;][&quot;content&quot;]<br>        message += token<br>        yield message<br><br>chatbot = gr.ChatInterface(<br>                generate_response,<br>                chatbot=gr.Chatbot(<br>                        height=&quot;64vh&quot;<br>                    ),<br>                additional_inputs=[<br>                    gr.Textbox(<br>                        &quot;Behave as if you are medical doctor providing answers for patients&#39; clinical questions.&quot;,<br>                        label=&quot;System Prompt&quot;<br>                    )<br>                ],<br>                title=&quot;Medical QA Chat&quot;,<br>                description=&quot;Feel free to ask any question to Medllama2 Chatbot.&quot;,<br>                theme=&quot;soft&quot;,<br>                submit_btn=&quot;Send&quot;,<br>                retry_btn=&quot;Regenerate Response&quot;,<br>                undo_btn=&quot;Delete Previous&quot;,<br>                clear_btn=&quot;Clear Chat&quot;<br>)<br><br># Following line is important to queue the messages<br>chatbot.queue()<br># Enable share = True if you want to create a public link for people to use your application<br>chatbot.launch(share = True)</pre><p>Having a result such as the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y62thFLGVUpMdfVqh01uNA.png" /></figure><p>Here, we can see great results in a concise format, and surprisingly, Ollama <strong>only took 2 seconds </strong>to process and give an output! These can be great news for anyone interested in rapid prototyping a LLM chatbot solution with any model, including in medical settings! An advantage that I’ve also found is that the ollama library already implements a streaming functionality, which is especially useful if you want to share a demo like to end users, where responsivity from the UI is very important.</p><p>An obvious concern that is raised here is the personalization for personal needs that the end user may have, for that, an exploration into the fine-tuning process itself would need to be done by also exploring the availability of the languages and the domain, which is, a problem, since the main interest I would have later on is using these models with a Spanish Medical QA Dataset, which by itself is a lot of work to get or create.</p><p>If you would like to use the Transformers library and have a very similar process to what was described before, you can look into this (where … represents the same code that we had previously):</p><pre>import gradio as gr<br>from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig<br>import torch<br><br># Define quantization configuration for better model performance<br>quantization_config = BitsAndBytesConfig(<br>    load_in_4bit=True,  <br>    bnb_4bit_use_double_quant=True,  <br>    bnb_4bit_quant_type=&quot;nf4&quot;,  <br>    bnb_4bit_compute_dtype=torch.float16  <br>)<br><br># Load the tokenizer and model from HF<br>model_name = &quot;llSourcell/medllama2_7b&quot;<br>tokenizer = AutoTokenizer.from_pretrained(model_name)<br><br># Load model with quantization<br>model = AutoModelForCausalLM.from_pretrained(model_name, <br>                                             quantization_config=quantization_config, <br>                                             device_map=&quot;auto&quot;)<br><br><br>...<br><br><br>def generate_response(msg: str, history: list[list[str, str]], system_prompt: str):<br>    chat_history = format_history(msg, history, system_prompt)<br>    <br><br>    inputs = tokenizer(chat_history, return_tensors=&quot;pt&quot;).to(&quot;cuda&quot;)<br>    outputs = model.generate(inputs[&quot;input_ids&quot;], max_length=512, pad_token_id=tokenizer.eos_token_id)<br><br>    response = tokenizer.decode(outputs[:, inputs[&quot;input_ids&quot;].shape[-1]:][0], skip_special_tokens=True)<br>    <br>    yield response<br><br>...</pre><p>You can use the previous walkthrough to generate your own demo, but you can still use a demo hosted in HF Spaces to see how it works! <a href="https://huggingface.co/spaces/miracFence/Medical_QA_Chatbot">https://huggingface.co/spaces/miracFence/Medical_QA_Chatbot</a></p><h3>Recurrent Datasets and their uses</h3><p>If you’re diving into the world of medical AI like us, you’re probably curious about the key datasets driving advancements in medical question answering (QA) and visual question answering (VQA). These can be very helpful if you are looking into fine-tuning your LLMs.</p><p>Here’s a quick list of essential medical datasets for their correspondent purpose:</p><h3>Medical QA Datasets:</h3><ul><li><strong>MedQA</strong>: Based on USMLE exam questions for clinical knowledge testing.</li><li><strong>MedMCQA</strong>: Medical entrance exam questions from India.</li><li><strong>PubMedQA</strong>: Factoid-based QA from PubMed biomedical abstracts.</li><li><strong>BioASQ</strong>: Combines yes/no, factoid, list, and summary questions from biomedical research.</li><li><strong>ClinicalQA</strong>: Real-world clinical questions from doctor-patient interactions.</li><li><strong>MedDialog</strong>: Doctor-patient conversations extracted from medical forums.</li><li><strong>MediQA</strong>: Focuses on clinical inference and natural language understanding.</li></ul><h3>Medical VQA Datasets:</h3><ul><li><strong>VQA-RAD</strong>: Radiology images (e.g., X-rays, MRI) with clinical questions.</li><li><strong>PathVQA</strong>: Questions on pathology images related to tissue and cellular structures.</li><li><strong>VQA-Med</strong>: Medical visual QA across various imaging modalities.</li><li><strong>SLake</strong>: Chinese medical VQA dataset with diverse medical images.</li><li><strong>MedICaT</strong>: A multimodal dataset combining medical images and captions from textbooks.</li></ul><h3>Current Challenges</h3><p>The slow processing speeds observed with several current models have made obvious the need for optimization and efficient resource management during the fine-tuning phase if you would want to make a specialized model. This challenge has motivated me to investigate more ways to optimize the LLM architectures.</p><p>The quest for a robust Spanish dataset suitable for clinical question-answering revealed gaps in available resources online. This experience underscores the importance of community collaboration and data-sharing initiatives to expand access to diverse, high-quality medical AI research datasets, ultimately, this would also require and extensive research period and for the creation/curation of the dataset itself.</p><h3>Learnings and Future Activities</h3><p>All of the following represent a current challenge that is being faced in order to create a robust and precise Medical LLM that could respect patients’ privacy in Spanish. For this, they also point out future activities that need to be done.</p><ol><li><strong>Challenges in Creating a Spanish Dataset</strong>: Developing a high-quality Spanish-language dataset for clinical question-answering proved more complex than anticipated. I found some difficulties sourcing and curating relevant clinical content, ensuring translation accuracy, and addressing linguistic nuances specific to medical terminology. Some of the current datasets or corpus that I can start taking a look into are <a href="https://zenodo.org/records/8403498">MEDDOPLACE</a> and the <a href="https://zenodo.org/records/2560316">Spanish Clinical Corpu</a>s.</li><li><strong>Complexities of Multimodal Integration</strong>: Integrating medical images (although not discussed), such as X-rays and CT scans with textual data presented several technical hurdles, and most models currently do not support it unless you fine-tune.</li><li><strong>Fine-Tuning</strong>: The fine-tuning process requires a lot of time, especially in the curation of proper data for the task, looking forward to research proper data for this purpose to continue on this step.</li></ol><p>This dive into fine-tuning medical LLMs has been quite a journey! By exploring models like GPT-4o, Meta’s Llama 2, AdaptLLM, and Meditron, I’ve learned much about their strengths and challenges in a medical setting. Focusing on a Spanish speaking model for clinical settings also makes connotations on the importance of data privacy and personalization.</p><p>With the power of Z by HP’s workstation, I was able to seamlessly handle the demanding tasks of model training and start the process of fine-tuning. As I continue refining my approach, I’m genuinely excited about the potential of AI to transform healthcare, making it easier for clinicians to access vital information and ultimately improving patient outcomes, especially in Spanish speaking hospital systems. I hope that this journey and the shared code snippets inspire/help others who are passionate about exploring similar applications and advancing AI in healthcare.</p><p>If you would like to discuss to more about this topic, multilingual datasets or anything related to AI, you can find me on: <a href="https://bento.me/miracfence">https://bento.me/miracfence</a>, please hit me up if you find any errors when using the provided code or need further explanations. Thank you for reading!</p><p>* I am provided products by HP for my participation in the HP Ambassador Program.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbb42dd4911f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI for Social Good in the Generative AI Era]]></title>
            <link>https://medium.com/@miracfence/ai-for-social-good-in-the-generative-ai-era-a83ddf186910?source=rss-796fff325943------2</link>
            <guid isPermaLink="false">https://medium.com/p/a83ddf186910</guid>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-for-good]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Eluney Hernandez]]></dc:creator>
            <pubDate>Mon, 15 Jan 2024 03:00:12 GMT</pubDate>
            <atom:updated>2024-01-15T03:00:12.296Z</atom:updated>
            <content:encoded><![CDATA[<p>As an undergraduate student and passionate about artificial intelligence’s potential to positively impact our world, I wanted to share my thoughts on the current state of Generative AI and AI’s applications in healthcare, green technology, and trustworthy machine intelligence. In my article, I hope to inspire readers to explore how AI can be used for the greater good and encourage more people to shape our future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GJ_ZuxsUyPqg46qr.png" /></figure><h3>The Generative AI Landscape</h3><p>The current stars of the show have been present for a while; they’ve totally revamped how we do life and cranked up our productivity. The most prominent in our minds? Most probably it would be <strong>ChatGPT</strong>, developed by OpenAI researchers and engineers.</p><p>When this tech marvel arrived, it shook the world, being available as a digital buddy handling conversations and making it a breath of fresh air due to its intuitive interface and ease of use. <strong>ChatGPT </strong>wasn’t just rewriting the AI landscape; it was turning all people’s heads to a new era where <strong>LLMs (Large Language Models)</strong> dominate the industry. For some time, other tools such as <strong>Github Copilot </strong>were present, making developers’ lives easier and allowing us to write code faster by completing our ideas materialize. Sometime after Microsoft and OpenAI created a strong partnership, <strong>Bing Chat </strong>was integrated into Microsoft Edge to use LLMs in a browser, with the possibility of just asking a simple question and letting the browser do the rest of the work by researching and giving compelling answers. While the narrative initially seemed monopolized by Microsoft and OpenAI, in 2023, Google ventured into the competitive arena, introducing <strong>Bard</strong>, thus being positioned as a counterpart to ChatGPT, mirroring its functionalities, such as assisting users in task completion, answering queries, and managing daily responsibilities. From a user’s standpoint, this narrative unfolds as a series of possibilities, where AI is no longer a distant concept but an accessible and integral part of our daily lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*Gfac3bobEZ3P0ikEi1dptg.png" /><figcaption>Bing Chat, Google Bard, OpenAI’s ChatGPT and Github Copilot</figcaption></figure><p>In late 2023, Google unveiled <a href="https://deepmind.google/technologies/gemini/#introduction"><strong>Gemini</strong></a>, a groundbreaking AI model designed to reason across text, images, video, audio, and even code, thus representing a leap in AI capabilities. Gemini is currently viewed as a solid future competition for OpenAI’s newest GPT iterations. Gemini is said to be built for multimodality, it seamlessly navigates diverse information types, outperforming human experts in tasks like <a href="https://klu.ai/glossary/mmlu-eval">Massive Multitask Language Understanding (MMLU)</a>. This said it’s evident that it’s a key strategic move by Google to consolidate efforts from all AI teams, including DeepMind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*WX_R_RAYGtb_0VmzWTdqQg.png" /><figcaption>Google’s Gemini</figcaption></figure><p>As the number of generative AI tools increases, there’s a growing public concern about the potential usurpation of human creativity and decision-making since the rapid advancements in AI make the general public raise questions about the evolving role of human input and labor. Yet, amid these concerns, there’s a silver lining since <strong>the future of AI for good </strong>holds the pledge that these tools can evolve into extremely valuable collaborators, elevating human capabilities to foster positive societal impacts far beyond routine tasks. <em>It’s not just about technology enhancement anymore; it’s about crafting a future where AI amplifies our collective potential for meaningful and impactful change.</em></p><h3>How can we use AI for social good?</h3><p>In this era, one crucial question has been raised: <em>How can we harness the potential of AI, not just for progress but for the greater good of society?</em> This question propels us into the heart of this article, where we can explore into the current proposals, projects, and ways to get involved. The most prominent fields I will discuss are <strong>healthcare, sustainability/green technology, and the creation of ethical &amp; trustworthy AI</strong>. These fields have been around for a while in terms of research, however, it’s important to note their applications in the following years.</p><h4>Helping to heal with AI</h4><p>The first stop is where I’ve been mainly involved (primarily research in medical imaging). It’s been a long road since computational biology and AI research for healthcare applications have been around for a while. Over time, there have been remarkable applications that seem promising in changing the way we treat patients. These advancements can go from treating medical questions and images to generating new proteins.</p><ul><li><a href="https://sites.research.google/med-palm/"><strong>Google’s Med-PaLM 2</strong></a> is an advanced AI model revolutionizing healthcare by excelling in accurate responses to medical questions and enhancing long-form answers to consumer health queries. Demonstrating human expert-level performance at Google Health’s event, The Check Up, Med-PaLM 2 showcased its potential to transform medical question-answering. With a multimodal version (meaning it can interpret multiple types of inputs, such as text and images), Med-PaLM M extends capabilities beyond language by incorporating information from various sources, such as radiology imagery. When considering ethical considerations, there has been a commitment to rigorous quality assessments for responsible deployment since this technology still has limitations.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*u7VWE59mV9SfDQttPCb79A.png" /><figcaption>Google’s Med-PaLM 2 presentation in 2023</figcaption></figure><ul><li><a href="https://monai.io/">NVIDIA MONAI</a> is an AI technology that helps doctors and researchers analyze medical images such as X-rays and CT scans. It enables physicians to see and act on previously undetectable threats, paving the way for a future of proactive healthcare. This a tool that empowers doctors to make more informed decisions, providing faster and more accurate diagnoses, and developing personalized treatment plans.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*9Q5I3giVtYljTvpFBodl4w.png" /><figcaption>Nvidia’s MONAI reference image</figcaption></figure><ul><li><a href="https://www.salesforce.com/news/stories/salesforce-progen-ai-language-model/"><strong>ProGen</strong></a>, a powerful AI, is changing the game in protein science, a language essential for life. Using Generative AI, this tool can create new proteins, the building blocks of everything in our bodies. Like other AIs, it has been trained on a massive dataset, and with that, it can design structures that could revolutionize medicine, materials, and our environment, the potential applications for these can go from fighting diseases and breaking down plastic waste.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*GuTnJmiDtKOjdGnaj4kuiA.png" /></figure><ul><li>Leveraging AI and machine learning, <a href="https://www.bayer.com/en/pharma/artificial-intelligence-technology-driven-disease-prediction-advance-patient-care"><strong>Bayer </strong>aims to revolutionize healthcare by harnessing the vast potential of 750 thousand terabytes of daily healthcare data</a>. This includes generating meaningful Real World Evidence (RWE) for informed decision-making, implementing practical applications like decentralized clinical trials, and maintaining a patient-centric approach through the fusion of technology and humanity. This is part of another initiative that AI and medical research have focused on in the last couple of years: personalized patient care/treatment.</li></ul><h4>Green Intelligence</h4><p>In this article, I’ve talked about how <strong>Microsoft </strong>is one of the main players in the Generative AI scene, however, even before this, they have putting great efforts in <strong>AI for Good and Sustainability</strong> (going from the AI for Good research lab to AI for Earth endeavors).</p><ul><li><strong>The planetary computer</strong>: this stands as a pivotal initiative, it’s a groundbreaking platform that merges a multi-petabyte environmental data catalog with user-friendly APIs that can be used by anyone, a versatile scientific hub, and practical applications, ultimately this computer empowers conservation stakeholders to address critical sustainability challenges.</li><li>Microsoft not only provides computing power but actively supports agriculture. This last can be seen in tools such as <a href="https://blogs.microsoft.com/eupolicy/2023/03/29/ai-sustainable-farming-future-agriculture-green-deal/"><strong>Project FarmVibes.AI</strong> </a>which predicts optimal resource use, aiding farmers in sustainable practices. Along this, there’s been work around advanced monitoring addresses environmental concerns, which correctly aligns with EU targets. These are also being possible due to innovations like Azure Data Manager for Agriculture, which simplifies reporting while meeting demands for transparency.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nls6BEgc1Q0jGFpxK-J6pg.gif" /></figure><ul><li>In general, <a href="https://www.microsoft.com/es-mx/ai/ai-for-good"><strong>Microsoft’s AI for Good Research lab</strong></a> encompasses multiple initiatives for social good, moreover, focused on our planet, they have AI for Earth, which employs AI and cloud technology to combat climate issues, collaborating with partners like OceanMind to enhance global fishing sustainability. The program provides grants supporting projects revolutionizing natural systems’ monitoring and management.</li><li>Viewing outside the applications, we also need to take a look into the way that AI and tech, in general, is being developed. Microsoft, like many other companies, has embarked on the journey of <a href="https://www.microsoft.com/en-us/research/project/reducing-ais-carbon-footprint/">reducing AI’s Carbon Footprint</a>. Having a smartphone or other devices running AI smoothly without draining excessive power would be not only for the user’s comfort but also for our planet. In partnership with NVIDIA, Microsoft is making strides with methods like<strong> Hardware-Aware Network Transformation (HANT) and AsyMo</strong>. These approaches optimize AI for specific devices, making them more energy-efficient and environmentally friendly. It’s a step toward a greener tech future, aligning with Microsoft’s commitment to sustainability.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*qPzlbRs-lxyh8ECtANVkxg.png" /></figure><p>Microsoft is not the only player around, one organization that has particularly captured my interest in recent years is <a href="https://www.climatechange.ai/"><strong>Climate Change AI (CCAI)</strong></a>. Formed in June 2019 and officially recognized as a US domestic non-profit on 2021, CCAI is a collective of volunteers from academia and industry that firmly believe that addressing climate change demands collaborative societal action, with machine learning playing a pivotal role. CCAI has spearheaded a global movement, uniting a diverse mix of contributors, from researchers and engineers to entrepreneurs, investors, policymakers, companies, and NGOs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*VqvXSrotPKoQuMGhD5vpug.png" /></figure><p>Their mission is clear: catalyze impactful work at the crossroads of climate change and machine learning. CCAI actively builds a community, provides educational resources, addresses critical infrastructure gaps, and fosters discourse to guide meaningful action. <em>Later in this article, I’ll talk about a way anyone can get involved with this particular organization and that promote this field even more!</em></p><h4>Creating ethical &amp; trustworthy AI</h4><p>Diving into this topic is complicated and is has a plethora of information, since trustworthy, safe and ethical AI has been a topic of many years now and is a term that needs to not be taken lightly. More recently, AI Safety has been very well known due to recent concerns in this Generative AI era, due to <a href="https://www.ibm.com/topics/ai-hallucinations">AI hallucinations</a>, misinformation and the <a href="https://medium.com/@singularitynetambassadors/sam-altman-openais-ceo-on-the-future-of-ai-60efca7f96e8">implications of AI for the future.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*hciOcAU79Uck3kXdFjDpdA.png" /><figcaption><a href="https://developer.ibm.com/articles/trustworthy-ai-with-mlops-on-aws/">IBM’s take on trustworthy AI</a></figcaption></figure><p>However, t<strong>here are multiple aspects that researchers and engineers are currently tackling to make the use of AI safer and more trustworthy, </strong>and have been considered a <strong>high priority</strong> in the recent years:</p><ul><li><strong>Privacy</strong>: Preserving individual privacy is a paramount concern in the development and deployment of AI systems. As AI applications increasingly process vast amounts of personal data, it becomes crucial to implement robust privacy measures to safeguard against unauthorized access, misuse, and breaches. I recommend taking a look into the following projects, technologies and companies to become more familiar with the current state of this effort: <a href="https://openmined.org/">OpenMined</a>, Differential Privacy (see for example <a href="https://machinelearning.apple.com/research/learning-with-privacy-at-scale">Apple’s usage</a> in their products), <a href="https://www.private-ai.org/">Private AI Collaborative Research Institute</a>, Google’s Federated Learning (<a href="https://federated.withgoogle.com/">see illustrations and simple explanation</a>).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UTKyHrWEz0jq-ghdDrLL9A.png" /></figure><ul><li><strong>Fairness and Inclusiveness</strong>: Here we can have as examples, such as IBM’s AI Fairness 360, ensuring fairness in models; Inclusiveness projects, such as Google’s Inclusive Images Competition and Microsoft’s accessibility features, promoting diversity and accessibility. We can consider that there’s multiple efforts from the big tech companies to make accessible products for everyone using the power of AI, all by mitigating biases and making fair tech (<a href="https://store.google.com/intl/en/ideas/articles/how-people-with-low-vision-are-using-pixel-6-to-navigate-more-easily/">see a recent example</a>).</li><li><strong>Transparency, accountability and monitoring</strong>: an example I could think of is OpenAI, which is trying to enhance safety and policy guidelines around their main products. Ultimately, this is not the only company trying to make transparent and responsible systems, since <a href="https://www.anthropic.com/">Anthropic </a>is another company that tries to encompass this with their own products.</li><li><strong>Interpretability and Explainability</strong>: alongside transparency, this empowers users to make informed decisions about AI systems, addressing the black box nature of current AI development. Organizations and research labs, such as the <a href="https://poloclub.github.io/">Polo Club Research Lab at Georgia Tech</a>, are innovating to enhance the interpretability and user-friendliness of AI systems. Their tools demystify complex algorithms, fostering trust and improving user understanding with the creation of extraordinary user interfaces. For example, they’ve developed tools that not only enhance visual understanding of neural networks but also streamline the workflow for Machine Learning Engineers. Another notable contributor is <a href="https://pair.withgoogle.com/">Google’s People + AI Research (PAIR)</a>, actively advancing human-AI collaboration through transparent and explainable systems. Together, these efforts strive for a future where AI decisions are not only powerful but also accessible and comprehensible to a broader audience.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*e6jq9CQ6SkmzOiaUplAQFQ.png" /><figcaption>Google PAIR reference image</figcaption></figure><p>As seen in the last bullet points, there are multiple ways that <strong>AI is being developed with safety, responsibility, and transparency as a priority</strong>, as difficult it is for numerous research labs in the industry or academia to stay competent in this field, it’s an effort that produces publications, projects and results every day, that can be reflected in some products that AI is enabling in our smartphones or computers.</p><h3>Where and how can you get involved?</h3><p>Embarking on the journey of making AI safer and better and using it for social good is not an adventure only for companies — it’s a shared exploration awaiting your participation!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5qp7sZiRDD5ePA69z3KqVg.png" /></figure><p>Here, I have a list of multiple ways to get involved with the extensive ecosystem of solutions, companies, organizations, and projects that anyone with an internet connection and a computer can get involved in:</p><p><strong>Research and Industry Labs for any research enthusiasts</strong></p><ul><li>Microsoft’s AI for Good Research Lab</li><li><a href="https://www.latinxinai.org/">LXAI research community for Latinx’s</a> (a community I’m involved in actively and doing AI in healthcare research)</li><li><a href="https://www.ai4sg.org/">AI4SG research lab in National University of Singapore</a></li><li>Google’s PAIR</li><li>MILA research lab (<a href="https://yoshuabengio.org/2021/05/10/when-maximizing-individual-interests-can-make-us-all-lose-usually-some-losing-more-than-others/">you can see Yoshua Bengio’s views and efforts on the topic</a> and explore other researchers’ work)</li></ul><p><strong>Competitions and Grants for anyone</strong></p><ul><li><a href="https://www.spegc.org/formacion-y-eventos/marine-datathon-competicion-analitica-datos/">Marine Datathon from Gran Canaria</a></li><li><a href="https://somosnlp.org/">Somos NLP Competitions</a> and community</li><li>Kaggle’s competitions in regard of this (<a href="https://www.kaggle.com/search?q=climate+in%3Acompetitions">here a link about climate’s related competitions</a>)</li><li><a href="https://www.climatechange.ai/calls/innovation_grants">CCAI challenges and grants</a>, as well as their <a href="https://www.climatechange.ai/events/summer_school2023">summer school</a></li></ul><p><strong>Uploading/Creation of Datasets for anyone</strong></p><p>If you’re eager to dive into the world of datasets, two fantastic places to explore are Kaggle and Hugging Face. <a href="https://www.kaggle.com/">Kaggle </a>is a vibrant hub where data enthusiasts, scientists, and researchers unite to share, explore, and collaborate on a variety of datasets. On the other hand, <a href="https://huggingface.co/">Hugging Face</a> is your go-to spot for NLP datasets and models, offering a central space for the latest in natural language processing. Whether you’re a machine learning enthusiast or passionate about language models, these platforms are treasure troves for dataset collaboration. <em>Another clarification: you don’t have to be a Data Scientist or ML Engineer for the usage of these platforms; anyone can use their educational resources and upload datasets inside these platforms.</em></p><p><strong>Educating ourselves and communities to get involved with:</strong></p><p>Organizations that could be of interest to anyone interested in AI for Social Good and collectively participate in the creation of safer AI and have more knowledge on the topic, I recommend <a href="https://aiforgood.itu.int/">AI for Good organization</a>, <a href="https://www.effectivealtruism.org/">Effective Altruism</a>, <a href="https://aisafety.camp/">AI Safety Camp</a>, as well as a very high regarded YouTube channel called <a href="https://www.youtube.com/@RobertMilesAI">Robert Miles AI Safety</a>. Of course, there are more resources for education on these topics. However, these sources are compelling and have significant information that could be very useful for anyone.</p><p>I invite you to join this conversation and actively participate in shaping the future of AI for Good. Whether you’re a passionate enthusiast, a curious mind, or a seasoned researcher/engineer, there’s a place for you in this collaborative endeavor. I hope all the information in this article has been resourceful and helpful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a83ddf186910" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Las tecnologías que protegen la privacidad de los usuarios de Apple]]></title>
            <link>https://medium.com/ios-lab-up/las-tecnolog%C3%ADas-que-protegen-la-privacidad-de-los-usuarios-de-apple-d2cc2d7f3d39?source=rss-796fff325943------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2cc2d7f3d39</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[faang]]></category>
            <dc:creator><![CDATA[Eluney Hernandez]]></dc:creator>
            <pubDate>Sun, 31 Oct 2021 20:01:11 GMT</pubDate>
            <atom:updated>2021-10-31T20:01:11.984Z</atom:updated>
            <content:encoded><![CDATA[<h4>Criptografía e Inteligencia Artificial</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Q7Uf7aVTrvUiPyiDMBKzwQ.jpeg" /><figcaption>¿Será esto cierto? Si sí, ¿cómo sucede?</figcaption></figure><p>Apple, como todas las empresas de tecnología pertenecientes al sector de empresas “FAANG” y derivados, ha estado encaminada a crear productos que sean de una grata experiencia para sus usuarios, lo cual es una tarea difícil, sin embargo, algo que normalmente se pasa por alto es <strong>cómo</strong> es que las tecnologías que se usan para crear dichos productos <strong>utilizan la información de los usuarios</strong>, ¿realmente hacen buen uso de esos datos? ¿La información del usuario se usa de manera adecuada?</p><h3>¿Por qué es importante la privacidad?</h3><p>En los últimos años, ha habido un gran flujo de información en todos los dispositivos inteligentes, ya sean celulares, computadoras personales, inclusive relojes inteligentes, y esto ha sido parte de la revolución que conllevan las tecnologías como la Inteligencia Artificial (IA) y el Big Data.</p><p>¿Cómo es que estas tecnologías funcionan? En pocas palabras, la IA necesita de <strong>datos </strong>que le ayuden a reconocer patrones, y muchas técnicas, como las <a href="https://www.ibm.com/docs/es/spss-modeler/SaaS?topic=networks-neural-model">Redes Neuronales Artificiales</a>, requieren cada vez más información para poder llevar a cabo estas tareas de manera efectiva sin cometer errores grandes en su proceso de predicción, y mientras que estos algoritmos funcionan para brindar una experiencia personalizada al usuario, ya sea por recomendaciones o publicidad personalizada (en plataformas como YouTube esto es bastante notorio), hay otras tecnologías, como el Big Data, que se encargan de seguir extrayendo datos de los usuarios cuando se hace uso de las plataformas en las que están implementadas. Uno podría creer que en realidad mucha de nuestra actividad no se registraba en las plataformas, y no estábamos conscientes de ello hasta hace algunos años, desde que ocurrieron incidentes como el de <a href="https://www.bbc.com/mundo/noticias-43472797">Cambridge Analytica</a>, donde se observó cómo plataformas gigantescas reciben de nuestro input, pero incluso también influye en la manera en que nos comportamos, gracias a las recomendaciones e información que nos dan las plataformas.</p><p>El impacto que provocan estas compañías y sus productos influyen en la manera en la que percibimos la realidad, y por lo tanto, es responsabilidad de dichas compañías mantener regularizado el uso de sus aplicaciones.</p><h3>Tecnologías que respaldan la privacidad de los usuarios</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*STqqKiCMWBLe9l9XVeyX_Q.jpeg" /></figure><p>Ahora que quedó claro cómo es que la privacidad en los productos tecnológicos ha tomado relevancia en los últimos, podemos empezar a indagar en qué tecnologías se utilizan de manera diaria aunque no nos demos cuenta, y qué otras siguen en desarrollo y en prueba para que puedan llegar a los usuarios en cuanto estén listas:</p><h4><strong><em>TECNOLOGÍAS FUNDAMENTALES</em></strong></h4><ul><li><strong>Criptografía</strong>: es una de las bases más importantes por las cual se mantiene en candado nuestra información, y la manera en que funciona es cifrando la información (como nuestras contraseñas) con el uso de una “llave”, y dicha llave se mantiene oculta para desbloquear dicha información</li><li><strong>VPNs</strong>: Las redes privadas virtuales, son como túneles seguros entre su dispositivo e internet. Cuando usted se conecta a un servidor seguro de VPN, su tráfico de internet fluye por un túnel que está encriptado, y ninguna persona puede “asomarse” al interior de dicho túnel, incluyendo a los hackers, los gobiernos, e incluso su proveedor de servicios de internet.</li><li><strong>On-Device Learning</strong>: La inteligencia artificial, a lo largo de los años, ha requerido de grandes cantidades de datos y de cómputo altamente exigente, llevando así a las empresas a generar una infraestructura lo suficientemente robusta para poder llevar a cabo estos programas de manera eficiente. Los dispositivos, como nuestros celulares se han vuelto cada vez más inteligentes, y esto ha sido gracias a los nuevos procesadores con los que cuentan, que son capaces de adaptarse a tus necesidades según tus acciones pasadas con dicho dispositivo, normalmente haciendo todo esto de manera local</li></ul><h4><strong><em>TECNOLOGÍAS NUEVAS</em></strong></h4><ul><li><strong>Secure Multi-Party Computation (SMPC)</strong>: En términos generales, las técnicas de SMPC son formas para que las partes calculen algo de manera conjunta mientras que todas mantienen dichas partes en secreto. En el caso de la IA, dicho cálculo se realiza de manera que las funciones calculadas pueden ser valores como el “error” de predicción que tiene la IA al dar una inferencia. SMPC a sobrecargarse debido a la forma en la que está diseñada actualmente, pero su ventaja es que los datos de entrada seguirán siendo privados y secretos aunque se busquen.</li><li><strong>Federated Learning</strong>: FL o su significado en español, aprendizaje federado es un algoritmo que permite el entrenamiento de modelos de IA enviando copias de ellas al lugar donde se procesan o residen los datos (tal como los celulares) y realizando los cálculos que necesita la IA en estos dispositivos de manera local, así evitando que se envíen grandes cantidades de datos a los servidores centrales de las compañías que emplean dichos algoritmos. Los datos permanecen en sus dispositivos de origen, también conocidos como clientes, que reciben una copia del modelo global del servidor central. Los valores que necesita la IA para mejorar su predicción se actualizan mediante entrenamiento local y luego la copia local se envía de vuelta al servidor central de manera privada, ya que nunca revela ninguno de los datos sobre los que fue entrenado cada dispositivo</li><li><strong>Differential Privacy</strong>: es la tecnología que permite a ingenieros e investigadores el obtener información sin poder conocer información privada/personal de los datos que analizan, esto por medio de la introducción de “ruido” a la información de manera minuciosa para proteger la privacidad y, sin afectar la integridad de dicha información.</li></ul><h3>Aplicaciones de Apple con privacidad por diseño</h3><h4>Safari</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*E1Ivw1DdsKYdv9ypB7lEgQ.png" /></figure><p>Dentro del famosísimo navegador de Apple, se encuentran características que harán resonar algunos conceptos fundamentales de la privacidad, como el anonimato y la seguridad de la información.</p><p>Algunas de las funcionalidades más destacables de Safari que protegen la privacidad del usuario son:</p><ul><li><strong>Prevención de rastreo de manera inteligente</strong>: cuando uno busca productos en internet, probablemente has notado que dichos productos empiezan a ser publicitados en otros sitios o aplicaciones, como Facebook. Apple ha implementado un sistema en Safari que previene tu rastreo de manera inteligente, por medio de IA integrada de manera local en tu celular o computadora, al igual que oculta tu dirección IP de los rastreadores en la web</li><li><strong>Monitoreo de contraseñas</strong>: cada dispositivo de Apple cuenta con un Llavero que guarda las contraseñas que usas si así lo deseas, y dentro de este Llavero se realizan operaciones de encriptación y derivaciones para comprobar que tus contraseñas sean seguras</li><li><strong>Navegación privada</strong>: Una vez activada (como el modo incógnito de Chrome), Safari no guardará la información que completes como los formularios, y hace uso de bloqueadores de contenido indeseado, como los rastreadores y publicidad</li><li><strong>Reportes de privacidad</strong>: te muestra los rastreadores bloqueados con el sistema de prevención de rastreo inteligente</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*feJ0hIwrrGtcQQO5wKealg.png" /></figure><h4>Fotos</h4><p>Seguramente te habrás dado cuenta que los dispositivos de Apple son capaces de reconocer rostros e identificarlos, pero esto es posible gracias a que hace uso de la inteligencia del dispositivo, y así todo permanezca solamente ahí, además de que posee la capacidad de modificar el acceso de manera limitada a tus fotos por medio de aplicaciones de terceros.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pfPqKtptMG31V6CvCOY60w.png" /></figure><p>Las funcionalidades que son posibles gracias a este tipo de inteligencia local, son: la manera en que se clasifican los álbumes, las búsquedas inteligentes, la edición de fotos y el modo retrato. Además de ello, Apple para brindar una mejor experiencia de usuario, realiza un análisis con algoritmos de manera local en tu dispositivo, para que toda la información pertenezca dentro de tu celular, tablet o computadora.</p><h4>iMessage, FaceTime y Mail</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*7UrXQ52_-NBYwqWM-QFROA.png" /></figure><p>Las aplicaciones que permiten la comunicación de manera nativa en los dispositivos Apple son iMessage, FaceTime y Mail. Estas aplicaciones tienen en común que encriptan los datos enviados de extremo a extremo, y esto significa que es imposible acceder a dichos datos sin una llave que es generada automática al enviar dichos datos (como los mensajes). Estos datos se encriptan en tu dispositivo y no pueden ser leídos por nadie más que tú y el receptor. Además de ello Mail, cuenta con protección de tu información personal al enviar diferentes emails, ya que se oculta tu <a href="https://www.xataka.com/basics/que-es-una-direccion-ip-y-como-puedes-saber-la-tuya">IP</a> y también se oculta si abriste un email o no.</p><p>En FaceTime, además de estar cifrando todo de extremo a extremo, no se almacenan las llamadas realizadas por los usuarios de alguna manera, aparte de que actualmente, gracias a las nuevas actualizaciones, se puede tener la misma privacidad al usar FaceTime con un link en dispositivos de terceros.</p><h4>Siri</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hjcEyEYTB4NNWUUx86M57Q.png" /></figure><p>Toda la información personal en tu dispositivo se mantiene privada cuando realizas búsquedas en el internet. A pesar de que Apple intenta mantener todas las operaciones dentro de tu celular, hay algunas que necesitan de los servidores internos de la compañía, por lo cual, inclusive si Siri le manda esta información a Apple, se protege tu identidad por medio de identificadores aleatorios, y no se usa un Apple ID. Además de esto, al dictarle o darle instrucciones a Siri, toda la información que tiene almacenada del usuario para recomendarle cosas más asertivas y personalizadas al usuario, dicha información se envía encriptada y seguramente a los servidores de Apple.</p><h4>Salud</h4><p>Uno de los aspectos más importantes y privados de nuestra vida diaria, es nuestra salud, por ello el uso de esta información altamente sensible es importante para Apple, y de la manera en que maneja dicha información. Tú decides qué información quieres que aparezca en la app y quiénes pueden acceder a ella. Los datos de Salud guardados en iCloud se mantienen encriptados mientras están en camino a los servidores de Apple. En las últimas versiones de software de los productos Apple, cuando activas la autenticación de dos factores, tus datos de salud y actividad se respaldan de manera tal que ni siquiera Apple no los puede leer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*wR4u4vCesvOOZah3XGeEBg.png" /></figure><p>Todas las tendencias que tienes respecto a tu salud (salud cardiaca, actividad, signos vitales, control de ciclos, ficha médica, etc.) se pueden compartir con otras personas como tu familia de manera privada y tú decides cómo compartes esta información. ResearchKit y CareKit son plataformas de <a href="https://www.ibm.com/mx-es/topics/open-source">código abierto</a> que aprovechan la funcionalidad que tienen los dispositivos de Apple, y esto le permite a los desarrolladores de apps e investigadores médicos recopilar datos fiables y de alto valor para cualquier estudio clínico, y todo bajo el control del usuario.</p><h4>iCloud y iCloud+</h4><p>Todo lo almacenado en iCloud se protege por medio de algoritmos de encriptación, y ningún desarrollador, ni siquiera Apple, tiene acceso a tu información guardada en la nube.</p><p>Se protegen los mensajes de manera que permita a Apple seguir generando funcionalidades de seguridad para que puedas seguir guardando tu información de manera privada, ya que se encuentra protegida por una clave creada a partir de información que se encuentra exclusivamente en tu dispositivo.</p><p>Recientemente algunas funcionalidades han sido añadidas que siguen funcionando de manera privada y bajo tu consentimiento:</p><ul><li><strong>Contactos de recuperación de cuenta</strong>: Se escogen a personas de confianza como contactos de recuperación de cuenta para que te puedan ayudar a restablecer la contraseña y recuperar tu acceso a la cuenta</li><li><strong>Programa Legado Digital</strong>: se designa a alguien como contacto de legado para que pueda acceder a tu información almacenada en el dispositivo y la nube una vez que fallezcas.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*qM6x0k0QaUZ0SW7tPXze-g.png" /></figure><h3>El futuro de Apple y la privacidad en sus productos</h3><p>Es evidente que Apple ha invertido mucho tiempo y dinero en brindar una experiencia de usuario mejorada con el uso de inteligencia y análisis del uso de sus productos, pero esto ha sido tomando en cuenta la privacidad de sus usuarios, por medio de técnicas avanzadas para proteger la información que se requiera. Actualmente, se está trabajando en utilizar <em>Federated Learning</em> y <em>Differential Privacy</em> para generar sistemas a gran escala de análisis para mejorar la experiencia de usuario aun más, sin arriesgar la privacidad de los usuarios. Al ser tecnologías relativamente nuevas, contienen detalles técnicos que aún requieren ser mejorados, sin embargo, con el tiempo se podrá apreciar su uso en futuros productos de Apple de manera total. Algunos artículos científicos emitidos por Apple hablan sobre este tema en particular (como <a href="https://machinelearning.apple.com/research/learning-with-privacy-at-scale">este</a>), que a pesar de ser altamente técnicos, explican de manera breve la importancia y el rol que tienen estas nuevas tecnologías en Apple. La privacidad es un derecho fundamental del humano, y, sin ello no habrían tantas facultades a la hora de realizar mil y un acciones, y empresas como Apple, han entendido que dispositivos inteligentes forman parte de la vida diaria de cualquier persona, donde seguir manteniendo este derecho a flote es importante, por ello, nos encontramos en una etapa donde se puede observar y aprender, que, el futuro de la tecnología es privado.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2cc2d7f3d39" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ios-lab-up/las-tecnolog%C3%ADas-que-protegen-la-privacidad-de-los-usuarios-de-apple-d2cc2d7f3d39">Las tecnologías que protegen la privacidad de los usuarios de Apple</a> was originally published in <a href="https://medium.com/ios-lab-up">iOS Lab UPMX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>